This discussion is archived
4 Replies Latest reply: Feb 9, 2009 8:18 PM by 843810 RSS

Need help startng websphere server in eclipse for debugging porpose

843810 Newbie
Currently Being Moderated
I am using Eclipse Sdk Version: 3.1.2
IBM websphere 6.0
JDK 1.4

I set debug value to "true" in my application.xml

I have a .ear file of my application deployed on the websphere appserver. Currently I can test my application in nobebug mode.

values of environment variables are -
JAVA_HOME - C:\DEV\IBMJDK142; C:\Program Files\Java\jre1.6.0_03
PATH - C:\DEV\IBMJDK142\bin; C:\Program Files\IBM\WebSphere MQ\Java\lib;C:\DEV\IBMJDK142\bin;%SystemRoot%\system32;%SystemRoot%;

I want to test the application in debug mode.

I am using default server on websphere, which is server1.

In Admin-console of webshere I went to
server-->Application server-->choose server1-->Debugging Service ---->checked the checkbox "Enable service at server startup"

Here value of my JVM debug port is 7777.

next In Eclipse env I chose Run---->Debug....--->Remote Java Application ----> created a new application with the name of my application and set the connection properties to -
Host - localhost

Eclipse----> Windows----->Preferences---->Server----->Installed Runtime---->Add---->selected values such as -
JRE - default JRE(JDK 1.4)
IBM Websphere Installation Directory - C:/DEV/WebSphere/AppServer
saved it.

Now in debug perspective, I created a new server with selection/values such as -
IBM--->IBM Websphere v6---->
port - 9081
server profile directory - C:/DEV/WebSphere/AppServer/profiles/default
cell - GCWSNTRANode01Cell
node - GCWSNTRANode01
server - server1
Next---->Added the project to configured project ----->FINISH

Closed Eclipse to save env settings.
Started the default server (server1)
opened eclipse - desired project--->debug perspective ---->choose server--->Right Click----Start/Debug

mesg "Starting ServerI BM Websphere 6 - IBM Websphere 6 failed to start"

can some one please tell me what I am missing here.