- This topic has 39 replies, 6 voices, and was last updated 20 years ago by Scott Anderson.
-
AuthorPosts
-
Jeffrey MorganMemberI am trying to setup the WebSphere 5 connector and am running into
problems. I am using WebSphere 5.1 with the IBM JDK under the
WebSphere directory structure. I am also using Eclipse 3.0 RC1 with
the latest MyEclipse release.When I attempt to start WebSphere there are no errors reported on
the console but the applications server is not started. If I look in
the WebSphere SystemOut.log file I see the following:[6/3/04 8:48:59:392 EDT] 3f8f096f WsServer E WSVR0003E: Server server1 failed to start
com.ibm.ws.exception.ConfigurationError: Exception encountered while extracting configuration information for the Name Space
at com.ibm.ws.naming.bootstrap.NameServerImpl.initialize(NameServerImpl.java:277)
at com.ibm.ws.runtime.component.ContainerImpl.initializeComponent(ContainerImpl.java:713)
at com.ibm.ws.runtime.component.ContainerImpl.initializeComponents(ContainerImpl.java:659)
at com.ibm.ws.runtime.component.ServerImpl.initialize(ServerImpl.java:96)
at com.ibm.ws.runtime.WsServer.start(WsServer.java:119)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:225)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:41)
at java.lang.reflect.Method.invoke(Method.java:386)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94)
Caused by: com.ibm.ws.naming.distcos.NameSpaceConfigurationException: Server information for this server (servername=server1) was not found in the serverindex.xml configuration file.
at com.ibm.ws.naming.bootstrap.ConfigInfoImpl.validateConfiguration(ConfigInfoImpl.java:415)
at com.ibm.ws.naming.bootstrap.NameServerImpl.initialize(NameServerImpl.java:266)
… 10 moreWhat am I doing wrong?
-Jeff
Scott AndersonParticipantJeff,
It looks like your domain isn’t set up correctly from this:
Caused by: com.ibm.ws.naming.distcos.NameSpaceConfigurationException: Server information for this server (servername=server1) was not found in the serverindex.xml configuration file
How did you create your domain? It appears that you’re trying to start ‘server1’ and you don’t have one.
Open the serverindex.xml file for the domain you’re trying to start and look for a line that looks like this to see what the server name really is:
<serverEntries xmi:id="ServerEntry_1" serverDisplayName="server1" serverName="server1" serverType="APPLICATION_SERVER">
Jeffrey MorganMemberI do have a server1. I installed with all of the default options and am
able to start websphere outside of eclipse. In my serverIndex.xml file
I do see the definition of server1. To make sure there was nothing
wrong with my installation I uninstalled and reinstalled WebSphere.
Scott AndersonParticipantWhat are *all* the settings (all pages) you’re using for the WebSphere connector? Also, can you additionally post the answers to the questions we ask in the “Posting Guidelines” thread at the top of this forum? That will give us better context from which to start.
Jeffrey MorganMemberHere is my information:
OS – Windows XP Professional
Eclipse Version – 3.0 RC1 build id 200405290105
Eclipse Installation – I reinstalled a fresh copy from the zip file
Plugins – There are no additional plugins
JDK version – Sun JDK 1.4.1
JDK launcher version – The JDK that shipped with WAS 5.1 (IBM 1.4.1)There are no errors in my .log file.
Here are the settings for my WebSphere connector:
WebSphere Server – enabled
WebSphere Home Directory – c:\tools\WebSphere\AppServer
Host Name – bw007007
Server Name – server1
Output Encoding – console
Debug Messages – checked
Is WebSphere Version 5.1 – checked
Optional Program Arguments – blank
Optional Shutdown Arguments – blankJDK – specifies the JDK under the WebSphere installation directory
Optional Java VM Arguments – -Xmx256MLaunch Mode – Debug mode
All paths are empty
Scott AndersonParticipantDo you have a directory called bw007007 at <websphere-home>/config/cells? If not, your server name is probably incorrect.
Jeffrey MorganMemberYes. That directory exists.
Under <WAS_HOME>/config/cells/bw007007/nodes/bw007007 is
my serverindex.xml file which contains:<serverEntries xmi:id=”ServerEntry_1″ serverDisplayName=”server1″ serverName=”server1″ serverType=”APPLICATION_SERVER”>
This is where server1 is defined.
Scott AndersonParticipantAre all the host attributes of the <endpoint/> nodes in the file set to bw007007? Can you start this instance from the commandline?
Jeffrey MorganMemberI can start from the commandline.
Scott AndersonParticipantUnder <WAS_HOME>/config/cells/bw007007/nodes/bw007007 is
my serverindex.xmlIs there a serverindex.xml under <WAS_HOME>/config/cells/bw007007, directly? My installation has one there also.
Jeffrey MorganMemberI do not have the file in that location. If I start WebSphere from the commandline and
start the administrative console everything looks file. I can run the example applications
that are distributed with WebSphere.
Scott AndersonParticipantCan you try this: start the server and admin console from the commandline and create a new server. Call it server2 or something and don’t forget to save it. Then, shutdown WAS. Next, in MyEclipse change the connector over to start server2. Does that work?
Jeffrey MorganMemberI created server2 and got the same error.
Riyad KallaMemberCan you try copying your serverindex.xml file into your <WAS_HOME>/config/cells/bw007007 directory (to mirror Scott’s) and then try and start it?
Scott AndersonParticipantActually, don’t do that. I mistyped when I said I had a serverindex.xml file at that level. My serverindex.xml file is contained at <WAS_HOME>/config/cells/<hostname>/nodes/<hostname>/serverindex.xml. Then, I have a ‘servers’ directory below that that contains server1 and server2 subdirectories. So, I think our setups are basically identical.
-
AuthorPosts