I just downloaded a trial version of WebSphere Application Server 6.0 to try out integrated development with Eclipse.
I'm using Eclipse 3.1.2 with Web Tools Platform (WTP) plugin 1.0 and trying to connect to WAS 6.0. I can define a new Server Runtime but I can't start the server from Eclipse. It aborts without any error message on the Eclipse console, but when I check the Server logs (SystemOut and SystemErr files), I can see the following exception:
_____________________________________________________________
[4/3/06 11:57:12:562 GMT+05:30] 0000000a SystemErr R org.xml.sax.SAXNotRecognizedException: Feature: http://apache.org/xml/features/nonvalidating/load-external-dtd
at org.apache.crimson.parser.XMLReaderImpl.setFeature(XMLReaderImpl.java:219)
at com.ibm.ws.management.descriptor.MBeanDescriptorLoader.loadDescriptor(MBeanDescriptorLoader.java:148)
at com.ibm.ws.management.descriptor.MBeanDescriptorManager.loadDescriptorFile(MBeanDescriptorManager.java:319)
at com.ibm.ws.management.descriptor.MBeanDescriptorManager.getDescriptor(MBeanDescriptorManager.java:133)
at com.ibm.ws.management.MBeanFactoryImpl.activateMBean(MBeanFactoryImpl.java:375)
at com.ibm.ws.management.MBeanFactoryImpl.activateMBean(MBeanFactoryImpl.java:348)
at com.ibm.ws.management.component.AdminImpl.initialize(AdminImpl.java:350)
at com.ibm.ws.runtime.component.ContainerImpl.initializeComponent(ContainerImpl.java:1161)
at com.ibm.ws.runtime.component.ContainerImpl.initializeComponents(ContainerImpl.java:1015)
at com.ibm.ws.runtime.component.ServerImpl.initialize(ServerImpl.java:245)
at com.ibm.ws.runtime.WsServerImpl.bootServerContainer(WsServerImpl.java:157)
at com.ibm.ws.runtime.WsServerImpl.start(WsServerImpl.java:120)
at com.ibm.ws.runtime.WsServerImpl.main(WsServerImpl.java:378)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:50)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:190)
[4/3/06 11:57:12:562 GMT+05:30] 0000000a SystemErr R at org.apache.crimson.parser.XMLReaderImpl.setFeature(XMLReaderImpl.java:219)
[4/3/06 11:57:12:578 GMT+05:30] 0000000a SystemErr R at com.ibm.ws.management.descriptor.MBeanDescriptorLoader.loadDescriptor(MBeanDescriptorLoader.java:148)
[4/3/06 11:57:12:578 GMT+05:30] 0000000a SystemErr R at com.ibm.ws.management.descriptor.MBeanDescriptorManager.loadDescriptorFile(MBeanDescriptorManager.java:319)
[4/3/06 11:57:12:578 GMT+05:30] 0000000a SystemErr R at com.ibm.ws.management.descriptor.MBeanDescriptorManager.getDescriptor(MBeanDescriptorManager.java:133)
[4/3/06 11:57:12:578 GMT+05:30] 0000000a SystemErr R at com.ibm.ws.management.MBeanFactoryImpl.activateMBean(MBeanFactoryImpl.java:375)
[4/3/06 11:57:12:578 GMT+05:30] 0000000a SystemErr R at com.ibm.ws.management.MBeanFactoryImpl.activateMBean(MBeanFactoryImpl.java:348)
[4/3/06 11:57:12:578 GMT+05:30] 0000000a SystemErr R at com.ibm.ws.management.component.AdminImpl.initialize(AdminImpl.java:350)
[4/3/06 11:57:12:578 GMT+05:30] 0000000a SystemErr R at com.ibm.ws.runtime.component.ContainerImpl.initializeComponent(ContainerImpl.java:1161)
[4/3/06 11:57:12:578 GMT+05:30] 0000000a SystemErr R at com.ibm.ws.runtime.component.ContainerImpl.initializeComponents(ContainerImpl.java:1015)
[4/3/06 11:57:12:578 GMT+05:30] 0000000a SystemErr R at com.ibm.ws.runtime.component.ServerImpl.initialize(ServerImpl.java:245)
[4/3/06 11:57:12:578 GMT+05:30] 0000000a SystemErr R at com.ibm.ws.runtime.WsServerImpl.bootServerContainer(WsServerImpl.java:157)
[4/3/06 11:57:12:578 GMT+05:30] 0000000a SystemErr R at com.ibm.ws.runtime.WsServerImpl.start(WsServerImpl.java:120)
[4/3/06 11:57:12:578 GMT+05:30] 0000000a SystemErr R at com.ibm.ws.runtime.WsServerImpl.main(WsServerImpl.java:378)
[4/3/06 11:57:12:578 GMT+05:30] 0000000a SystemErr R at com.ibm.ws.runtime.WsServer.main(WsServer.java:50)
[4/3/06 11:57:12:578 GMT+05:30] 0000000a SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[4/3/06 11:57:12:578 GMT+05:30] 0000000a SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[4/3/06 11:57:12:578 GMT+05:30] 0000000a SystemErr R at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[4/3/06 11:57:12:578 GMT+05:30] 0000000a SystemErr R at java.lang.reflect.Method.invoke(Method.java:324)
[4/3/06 11:57:12:578 GMT+05:30] 0000000a SystemErr R at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:190)
[4/3/06 11:57:12:609 GMT+05:30] 0000000a SystemErr R com.ibm.ws.exception.ConfigurationError: Problem initializing AdminImpl:
at com.ibm.ws.management.component.AdminImpl.initialize(AdminImpl.java:697)
at com.ibm.ws.runtime.component.ContainerImpl.initializeComponent(ContainerImpl.java:1161)
at com.ibm.ws.runtime.component.ContainerImpl.initializeComponents(ContainerImpl.java:1015)
at com.ibm.ws.runtime.component.ServerImpl.initialize(ServerImpl.java:245)
at com.ibm.ws.runtime.WsServerImpl.bootServerContainer(WsServerImpl.java:157)
at com.ibm.ws.runtime.WsServerImpl.start(WsServerImpl.java:120)
at com.ibm.ws.runtime.WsServerImpl.main(WsServerImpl.java:378)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:50)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:190)
Caused by: com.ibm.ws.exception.ConfigurationWarning: Problem registering JVM MBean.
at com.ibm.ws.management.component.AdminImpl.initialize(AdminImpl.java:361)
... 12 more
Caused by: com.ibm.websphere.management.exception.AdminException: ADMN0005E: The service is unable to activate MBean: type JVM, collaborator com.ibm.ws.management.component.JVMMBean@1bcfbeb, configuration ID JVM, descriptor null.
at com.ibm.ws.management.MBeanFactoryImpl.activateMBean(MBeanFactoryImpl.java:600)
at com.ibm.ws.management.MBeanFactoryImpl.activateMBean(MBeanFactoryImpl.java:348)
at com.ibm.ws.management.component.AdminImpl.initialize(AdminImpl.java:350)
... 12 more
Caused by: com.ibm.websphere.management.exception.DescriptorParseException: ADMN0001W: The service is unable to parse the MBean descriptor file com/ibm/ws/management/descriptor/xml/JVM.xml.
at com.ibm.ws.management.descriptor.MBeanDescriptorLoader.loadDescriptor(MBeanDescriptorLoader.java:164)
at com.ibm.ws.management.descriptor.MBeanDescriptorManager.loadDescriptorFile(MBeanDescriptorManager.java:319)
at com.ibm.ws.management.descriptor.MBeanDescriptorManager.getDescriptor(MBeanDescriptorManager.java:133)
at com.ibm.ws.management.MBeanFactoryImpl.activateMBean(MBeanFactoryImpl.java:375)
... 14 more
_______________________________________________________________________
Probably the problem is that some file called JVM.xml doesn't confirm to strict syntax. I tried searching the installation directory of WAS, even looking inside JARs and ZIPs but couldn't find any file called JVM.xml. I tried reinstalling WAS, also tried on another machine, but got the same error.
I've no idea how to resolve the issue. I would appreciate any help on this matter.
Thanks in advance.
-Parag
Juanma Martínez
-Parag
-Parag
I had the same problem and solved using the IBM JVM that was installed by WebSphere.
Att.
Sabino
-Parag