Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 327257 - Error Configuring Websphere 6.1
Summary: Error Configuring Websphere 6.1
Status: RESOLVED NOT_ECLIPSE
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Runtime (show other bugs)
Version: 4.1   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: platform-runtime-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-07 12:57 EDT by Bhanu CLA
Modified: 2010-10-08 06:46 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bhanu CLA 2010-10-07 12:57:37 EDT
Build Identifier: Eclipse 3.3.0

I get the below mentioned error when I try to start Websphere from eclipse. It starts fine when I try to start it as an independent server.

[10/6/10 22:50:25:485 IST] 0000000a WsServerImpl E WSVR0008E: Error encountered reading META-INF/ws-server-components.xml

com.ibm.ws.exception.ConfigurationError: couldnt register ComponentManager

at com.ibm.ws.runtime.WsServerImpl.bootComponentManager(WsServerImpl.java:282)

at com.ibm.ws.runtime.WsServerImpl.start(WsServerImpl.java:135)

at com.ibm.ws.runtime.WsServerImpl.main(WsServerImpl.java:460)

at com.ibm.ws.runtime.WsServer.main(WsServer.java:59)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:615)

at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:263)

Caused by: java.lang.Exception: Cannot find BundleContext for service com.ibm.ws.runtime.service.ComponentManagerImpl

at com.ibm.wsspi.runtime.service.WsServiceRegistry.addService(WsServiceRegistry.java:77)

at com.ibm.ws.runtime.WsServerImpl.bootComponentManager(WsServerImpl.java:279)

... 8 more


[10/6/10 22:50:25:516 IST] 0000000a WsServerImpl E WSVR0009E: Error occurred during startup

META-INF/ws-server-components.xml

[10/6/10 22:50:25:547 IST] 0000000a WsServerImpl E WSVR0009E: Error occurred during startup

com.ibm.ws.exception.ConfigurationError: couldnt register ComponentManager

at com.ibm.ws.runtime.WsServerImpl.bootComponentManager(WsServerImpl.java:282)

at com.ibm.ws.runtime.WsServerImpl.start(WsServerImpl.java:135)

at com.ibm.ws.runtime.WsServerImpl.main(WsServerImpl.java:460)

at com.ibm.ws.runtime.WsServer.main(WsServer.java:59)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:615)

at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:263)

Caused by: java.lang.Exception: Cannot find BundleContext for service com.ibm.ws.runtime.service.ComponentManagerImpl

at com.ibm.wsspi.runtime.service.WsServiceRegistry.addService(WsServiceRegistry.java:77)

at com.ibm.ws.runtime.WsServerImpl.bootComponentManager(WsServerImpl.java:279)

... 8 more


com.ibm.ws.exception.ConfigurationError: couldnt register ComponentManager

at com.ibm.ws.runtime.WsServerImpl.bootComponentManager(WsServerImpl.java:282)

at com.ibm.ws.runtime.WsServerImpl.start(WsServerImpl.java:135)

at com.ibm.ws.runtime.WsServerImpl.main(WsServerImpl.java:460)

at com.ibm.ws.runtime.WsServer.main(WsServer.java:59)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:615)

at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:263)

Caused by: java.lang.Exception: Cannot find BundleContext for service com.ibm.ws.runtime.service.ComponentManagerImpl

at com.ibm.wsspi.runtime.service.WsServiceRegistry.addService(WsServiceRegistry.java:77)

at com.ibm.ws.runtime.WsServerImpl.bootComponentManager(WsServerImpl.java:279)

... 8 more



I have configured Websphere JDK when declaring the server instance but it still doesn't help.
Please suggest.

Reproducible: Always

Steps to Reproduce:
1. Cofigure websphere 6.1 with Eclipse 3.3.0
2. Try to start the server.
3.
Comment 1 DJ Houghton CLA 2010-10-07 13:52:00 EDT
This error seems to be coming from WebSphere. 
You should contact their support for help.
Comment 2 Bhanu CLA 2010-10-08 06:22:04 EDT
I don't think so...as I am able to start the server from outside eclipse...
Comment 3 DJ Houghton CLA 2010-10-08 06:27:40 EDT
The WebSphere support team should be able to help you with issues related to their integration with Eclipse. If there is an Eclipse problem identified, then we can help you out. We have no idea how WebSphere or other products integrate with Eclipse or what they do in their code.
Comment 4 Bhanu CLA 2010-10-08 06:36:33 EDT
I don't think so...as I am able to start the server from outside eclipse...
Comment 5 Bhanu CLA 2010-10-08 06:38:04 EDT
All rt...thanks for ur help man... can you share a link of any of there forums...
Comment 6 DJ Houghton CLA 2010-10-08 06:46:21 EDT
No idea. Look in the documentation that came with the product or check the web site where you downloaded it.