- This topic has 12 replies, 4 voices, and was last updated 20 years, 5 months ago by
mijail.
-
AuthorPosts
-
mijailMemberHello,
I’m runnig eclipse 3.0.1 with MyEclipse plugin 3.8.3 on windows XP. I have a problem trying to launch WebSphere 4 from the workbench. I’ve configured the JDK from the WebSphere instalation (version 1.3.1) in the preferences -> MyEclipse -> Aplication Servers -> WebSphere 4
I have generated the server-cfg.xml file exporting from the WAS Admin console. Is that correct? Because I haven’t found any other server config file.Launching WAS from the workbech I get the following exception in the console window:
[4/02/05 17:30:21:719 CET] 6c9f3950 StandardServe F WSVR0008E: Se ha producido un error al leer C:\WebSphere\AppServer\config\server-cfg.xml
java.lang.NullPointerException
at com.ibm.xmi.base.impl.XMIFactoryImpl.load(XMIFactoryImpl.java:259)
at com.ibm.etools.emf.resource.impl.ResourceFactoryImpl.load(ResourceFactoryImpl.java:91)
at com.ibm.etools.emf.resource.impl.ResourceFactoryImpl.load(ResourceFactoryImpl.java:79)
at com.ibm.etools.emf.resource.impl.ResourceSetImpl.load(ResourceSetImpl.java:225)
at com.ibm.ws.runtime.StandardServer.readConfig(StandardServer.java:463)
at com.ibm.ws.runtime.StandardServer.readConfig(StandardServer.java:247)
at com.ibm.ws.runtime.StandardServer.parseCommandLine(StandardServer.java:234)
at com.ibm.ws.runtime.StandardServer.parseConfig(StandardServer.java:152)
at com.ibm.ws.runtime.StandardServer.main(StandardServer.java:516)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:158)Any help appreciated.
Javier Salado
February 4, 2005 at 6:16 pm #224488
Riyad KallaMemberC:\WebSphere\AppServer\config\server-cfg.xml
Does this file exist?
[4/02/05 17:30:21:719 CET] 6c9f3950 StandardServe F WSVR0008E: Se ha producido un error al leer
What does this mean?
February 7, 2005 at 6:17 am #224541
mijailMemberRiyad, Thaks for your ansewer,
Yes, the file exists, is the one I’ve exported from the WAS administration console.
Sorry for not translating the message. It means “An error ocurred while reading the file” Where ‘file’ is server-cfg.xml.
Any clues? Thanks again.
Javier Salado
February 7, 2005 at 7:20 am #224542
sergeverborghMemberHi Javier,
I am encountering the same problem
Were you able to solve this?Tx
February 7, 2005 at 7:21 am #224543
sergeverborghMemberhi
February 7, 2005 at 7:31 am #224545
Riyad KallaMemberGuys, can you tell me what all your settings for WebSpehere 4 are? Do they look similar to this one? http://www.myeclipseide.com/FAQ+index-myfaq-yes-id_cat-20.html#14
February 7, 2005 at 1:27 pm #224613
mijailMemberRiyad,
yes, my settings are exactly those of the link yuo-ve posted.
Thanks
February 7, 2005 at 1:31 pm #224617
Riyad KallaMemberDoes WS run correctly when you launch it standalone using it’s own scripts?
February 7, 2005 at 1:38 pm #224619
mijailMemberRiyad,
I’ve only launched WS from the admin console I’ve been tryinf to look for those scripts in the WS bin directory but I haven’t found anything. Any ideas?
February 7, 2005 at 1:54 pm #224621
Riyad KallaMemberWhat version of WS4 are you using? Isn’t there an Advaced Server, Lite Server, and other editions of it?
February 7, 2005 at 2:09 pm #224623
mijailMemberAdvanced server edition for multiplatform
Javier Salado
February 7, 2005 at 2:34 pm #224628
Scott AndersonParticipantJavier,
The advanced server editition is typicall configured using a database, which is why you didn’t have a native server-cfg.xml file. Creating one for the admin console may or may not work. We only support launching and debugging with the single CPU, base version of WebSphere, not the Advanced Server edition. In order to debug your applications, you’ll probably need to launch WebSphere externally and set it up for remote debugging. Then you can use our remote debugging support for your applications as described in our Remote Debugging Quickstart in the documentation section here: http://www.myeclipseide.com/ContentExpress-display-ceid-67.html
February 8, 2005 at 2:54 am #224668
mijailMemberThank you very much Riyad.
I’ll probably ‘downgrade’ to the single server edition for developing purposes
Javier Salado
-
AuthorPosts