NOTE: Please back up the files before you modify them.
Step #1 : Edit the server.xml (for example $WAS_HOME/profiles/AppSrv01/config/cells/AppSrv01/nodes/AppSrv01/servers/server1/server.xml). Find the processDefinitions element and look for the jvmEntries under it. A typical entry looks like this:
<processDefinitions xmi:type="processexec:JavaProcessDef"
xmi:id="JavaProcessDef_1183122130078"
workingDirectory="${USER_INSTALL_ROOT}"
executableTargetKind="JAVA_CLASS"
executableTarget="com.ibm.ws.runtime.WsServer">
<execution xmi:id="ProcessExecution_1183122130078"
processPriority="20"
runAsUser=""
runAsGroup=""/>
<ioRedirect xmi:id="OutputRedirect_1183122130078"
stdoutFilename="${SERVER_LOG_ROOT}/native_stdout.log"
stderrFilename="${SERVER_LOG_ROOT}/native_stderr.log"/>
<monitoringPolicy xmi:id="MonitoringPolicy_1183122130078"
maximumStartupAttempts="3" pingInterval="60"
pingTimeout="300" autoRestart="true"
nodeRestartState="STOPPED"/>
<jvmEntries xmi:id="JavaVirtualMachine_1183122130078"
verboseModeClass="false"
verboseModeGarbageCollection="false"
verboseModeJNI="false" runHProf="false"
hprofArguments=""
debugMode="false"
debugArgs="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=7777"
genericJvmArguments="">
<systemProperties xmi:id="Property_1" name="com.ibm.security.jgss.debug" value="off" required="false"/>
<systemProperties xmi:id="Property_2" name="com.ibm.security.krb5.Krb5Debug" value="off" required="false"/>
</jvmEntries>
</processDefinitions>
Step #2: Do you see the debugMode in the jvmEntries section? switch it from false to true and save the file.
debugMode="true"
Step #3: Restart the server as usual using say the command line
root@dims-desktop:/opt/WAS70/profiles/AppSrv01/bin# ./startServer.sh server1
ADMU0116I: Tool information is being logged in file
/opt/WAS70/profiles/AppSrv01/logs/server1/startServer.log
ADMU0128I: Starting tool with the AppSrv01 profile
ADMU3100I: Reading configuration for server: server1
ADMU3200I: Server launched. Waiting for initialization status.
ADMU3000I: Server server1 open for e-business; process id is 6913
Step #4: Using latest IntelliJ or Eclipse, you can use Remote debugging to attach to the running Websphere server. Please specify the same port ("7777" in example above) as mentioned in the server.xml. Here are screen shots from Eclipse and Intellij on how to set up the debug configuration.


Step #5: Use the debug configuration created in the previous step, set up break points in your application and attach to the running Websphere process.


That's it!
The Apache Wink team is proud to announce the availability of Apache Wink 0.1
Apache Wink is a framework for building RESTful Web services.
It is comprised of a Server module and a Client module for developing
and consuming RESTful Web services.
Disclaimer: Apache Wink is an effort undergoing incubation at The
Apache Software Foundation (ASF), sponsored by the Incubator PMC.
Incubation is required of all newly accepted projects until a further
review indicates that the infrastructure, communications, and decision
making process have stabilized in a manner consistent with other
successful ASF projects. While incubation status is not necessarily a
reflection of the completeness or stability of the code, it does
indicate that the project has yet to be fully endorsed by the ASF.
The Wink distribution is available at
http://www.apache.org/dyn/closer.cgi/incubator/wink/0.1-incubating/
The Wink web site is available at
http://incubator.apache.org/wink/
The Wink 0.1 source code repository is available at
http://svn.apache.org/repos/asf/incubator/wink/tags/wink-0.1-incubating/
For questions, please contact the Wink developers mailing list at
wink-dev@incubator.apache.org
To subscribe to the wink-dev@ mailing list, send an email to
wink-dev-subsribe@incubator.apache.org
You can also use Wink users mailing list if you are not interested in
developers information (e.g. JIRA issues, commits etc.)
wink-user@incubator.apache.org
To subscribe to the wink-user@ mailing list, send an email to
wink-user-subsribe@incubator.apache.org
Enjoy,
-The Wink team
I tweeted this a couple of weeks ago…Now it looks like they have added a few more in the videos in the series that discusses the benefits of IBM WebSphere Application Server (WAS) V7 over JBoss AS 5.
Download for development and testing from here. Forums for help are here.
Invite posted on WAS forum:
http://www.ibm.com/developerworks/forums/thread.jspa?threadID=260362&tstart=0
On 13 May 2009 at 11:00 AM EDT, a WebSphere Support Technical Exchange presentation on Crash Analysis/Diagnostics of IBM SDKs (1.5 & 1.6) for WebSphere Application Server will be delivered by Giribabu Paramkusham, Ajay Bhalodia & Daniel Julin, subject matter experts. An open question and answer session will follow the presentation.
This exchange will include topics on setting up system to gather data required for debugging and analyzing the crash, common crash scenarios, analysis of javacore/system core file, and a review of DumpAnalyzer features to analyze the core file. Presentation will be limited to IBM Java on AIX, Linux and Windows.
Level of Difficulty: Intermediate
Plan to join the meeting 10 minutes early. Presentations typically last for 30-45 minutes followed by a question and answer session. For more information and details on how to participate in this and other free WebSphere Support Technical Exchanges click here.
Date: May 13, 2009
Time: 11:00 AM EDT
For dial-in numbers and web conferencing information, please visit:
[http://www.ibm.com/software/websphere/support/TE/techex_K449908F79981V00.html]
We look forward to seeing you on the webcast.