facebook

cannot run websphere application server 5 under my eclipse

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #223082 Reply

    olgcoop
    Member

    hey, I setup the websphere app. sever 5 and then when i was starting the server in eclipse it ran like the following:

    :
    :
    :
    [Loaded com.ibm.websphere.pmi.WebServicesPerf]
    [Loaded com.ibm.ws.pmi.server.PmiRegistry]
    [Loaded com.ibm.ws.pmi.wire.WpdCollection]
    [Loaded com.ibm.websphere.management.statistics.Stats]
    [Loaded com.ibm.websphere.pmi.stat.Stats]
    [Loaded com.ibm.ws.wlm.service.ClusterMemberStartup]
    [Loaded com.ibm.ws.runtime.service.WLM]
    [Loaded com.ibm.ws.wlm.component.ClusterMemberStartupImpl]
    [Loaded com.ibm.ws.wlm.WLMServiceContextListener]
    [Loaded com.ibm.ws.wlm.WLMServiceContextNotifier]
    [Loaded com.ibm.ws.wlm.server.WLMServerRequestInterceptor]
    [Loaded com.ibm.ws.wlm.configuration.ConfigurationManager]
    [Loaded com.ibm.ws.wlm.server.configuration.ServerConfigurationManager]
    [Loaded com.ibm.ws.wlm.WLMTemplate]
    [Loaded com.ibm.ws.wlm.configuration.LSDAddress]
    [Loaded com.ibm.ws.management.service.ConfigChangeListener]
    [Loaded com.ibm.ws.naming.bootstrap.NameServerImpl]
    [Loaded com.ibm.ws.naming.distcos.NameSpaceConstructionException]
    [Loaded com.ibm.ws.naming.distcos.NameSpaceBuilder]
    [Loaded com.ibm.ws.naming.distcos.NSBSingleAppSvr]
    [Loaded com.ibm.ws.naming.distcos.NSBManagedAppSvr]
    [Loaded com.ibm.ws.naming.distcos.NSBNodeAgent]
    [Loaded com.ibm.ws.naming.distcos.NSBCellManager]
    [Loaded com.ibm.ws.naming.bootstrap.SecurityServiceListenerImpl]
    [Loaded com.ibm.websphere.csi.ServantManager]
    [Loaded com.ibm.ws.naming.cosbase.ServantManager]
    [Loaded com.ibm.ws.naming.distcos.ConfigDiff]
    [Loaded com.ibm.ws.naming.distcos.ConfigInfo]
    [Loaded com.ibm.ws.naming.bootstrap.ConfigInfoBuilder]
    [Loaded com.ibm.ws.naming.distcos.ConfiguredBindingInfo]
    [Loaded com.ibm.ws.naming.distcos.NameSpaceConfigurationException]
    [Loaded com.ibm.ws.naming.bootstrap.ConfigInfoImpl]
    [Loaded com.ibm.ws.runtime.service.ConfigRootImpl$1]
    [Loaded com.ibm.ws.management.repository.ConfigStructureHelper]
    [Loaded com.ibm.ws.ffdc.ExceptionEntry]
    [Loaded com.ibm.ws.ffdc.FFDCHelper$5]
    [Loaded com.ibm.ws.ffdc.FFDCHelper$8]
    [Loaded com.ibm.ws.ffdc.FFDCHelper$14]
    [Loaded com.ibm.ws.ffdc.FFDCHelper$13]
    [Loaded com.ibm.ws.ffdc.FFDCHelper$1]
    [Loaded com.ibm.ws.ffdc.IncidentStreamImpl]
    [Loaded com.ibm.ejs.ras.Untraceable]
    [Loaded com.ibm.ejs.ras.Traceable]
    [Loaded com.ibm.ejs.ras.TraceException]
    [Loaded com.ibm.ws.runtime.runtime]
    [Loaded com.ibm.ws.runtime.runtime_en]

    until this line then it just stoped, can anyone help me with this? thanks

    #223085

    Riyad Kalla
    Member

    Can you please post all the information we request in the [URL=http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-393.html]Posting Guidelines[/URL] thread at the top of this forum? That will give us some context so that we can determine if this is an installation issue, a configuration problem, or a bug. Thanks.

    #223086

    olgcoop
    Member

    What operating system and version are you running: windows 2000 sp4
    What Eclipse version and build id are you using? (Help > About Eclipse Platform) :Version: 3.0.1 Build id: 200409161125
    – Was Eclipse freshly installed for MyEclipse: Yes
    – Are any other external plugins installed: no
    – How many plugins in the <eclipse>/plugins directory are like org.eclipse.pde.* : 8 of them
    What MyEclipse version are you using? (Help > About Eclipse Platform > Features) : version 3.8.3
    What JDK version are you using to run Eclipse? (java -version) : j2sdk1.4.2_06
    What JDK version are you using to launch your application server : the one that came with WAS 5
    What steps did you take that resulted in the issue: just installed everything and for was 5 i updated with fp2
    What application server are you using: was5 with fp2 update
    Are there any exceptions in the Eclipse log file? (<workspace>/.metadata/.log) : no, the application just stoped and the top of the console says
    ” <terminated> websphere5server [remote java application] c:\prog file\websphere\appserver\java\bin\javaw.exe(jan 19, 2005 11:11:23 am)

    hope this helps

    #223089

    Riyad Kalla
    Member

    It will be very hard to figure out what is going on until you have logging setup properly, please follow this tutorial to figure out hwo to get it working correctly:
    http://www.myeclipseide.com/Articles/WebSphere5.1LogConfiguration/WAS5.1LogConfiguration.html

    #223097

    olgcoop
    Member

    ok i have done the configuration, and now i am getting the following
    :
    :
    :
    [Loaded com.ibm.ejs.ras.TraceException]
    [Loaded com.ibm.ws.runtime.runtime]
    [Loaded com.ibm.ws.runtime.runtime_en]
    [1/19/05 12:12:58:024 EST] 4d8d3b87 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.runtime.WsServer.start(WsServer.java:124)
    at com.ibm.ws.runtime.WsServer.main(WsServer.java:225)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94)
    at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:98)
    —- Begin backtrace for nested exception
    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:421)
    at com.ibm.ws.naming.bootstrap.NameServerImpl.initialize(NameServerImpl.java:265)
    at com.ibm.ws.runtime.component.ContainerImpl.initializeComponent(ContainerImpl.java:706)
    at com.ibm.ws.runtime.component.ContainerImpl.initializeComponents(ContainerImpl.java:643)
    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 java.lang.reflect.Method.invoke(Native Method)
    at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94)

    [1/19/05 12:12:58:134 EST] 4d8d3b87 WsServer E WSVR0009E: Error occurred during startup

    thank you so much for helping!!

    #223099

    Riyad Kalla
    Member

    Does the app server start/run when you run it outside of MyEclipse? Also from your error it looks like the server “server1” is trying to be started but was never configured…

    #223101

    olgcoop
    Member

    if i run the servr from the start menu under websphere’s folder then yes it will start.

    #223102

    olgcoop
    Member

    also what configuration do i need to do?? i thought the default server1 is already configurated.

    #223104

    Riyad Kalla
    Member

    Then this problem is likely as simple a sadding a missing resource to the classpath or library path so WS can correctly configure itself. I appologize I’m not more specific, I have never used WS before and don’t have an install of it anywhere to even test out.

    #223107

    olgcoop
    Member

    ok i will see if i can figure it out from here.. thanx for the help.

    #223122

    Scott Anderson
    Participant

    com.ibm.ws.naming.distcos.NameSpaceConfigurationException: Server information for this server (servername=server1) was not found in the serverindex.xml configuration file.

    Actually, it looks like you’ve simply specified a different server name in the connector than is used externally to start your WebSphere instance. Check the directory names under the config/cells/<hostname>/nodes/<hostname>/servers to find configured servers and hostnames.

    Over the past year, a lot has been written on the support forums about configuring WebSphere so if the above advice doesn’t help, please see:
    http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-4315-highlight-websphere.html
    http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-4237-highlight-websphere.html
    http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-1552-highlight-websphere.html
    http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-3611-highlight-websphere.html
    http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-833-highlight-websphere.html
    http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-3251-highlight-websphere.html

    #223129

    olgcoop
    Member

    its alright.. the problem was sloved, I was missing a dll file, but now the problem is i cant directly depoly my appliation from eclipse, it would make a folder in the right place, but Websphere will not depoly it, is there any configurations i need to do??

    #223130

    Riyad Kalla
    Member

    WS requires that you deployed the application using the admin console. Once you have done that (and it has exploded the application) you can go back into ME, remove the packaged deployment and then add a new deployment of time “Exploded”, it will “overlay” the existing running one and WS should reload changed files as you make changes in MyEclipse real-time.

    #223143

    olgcoop
    Member

    thank you it is up and running now.

Viewing 14 posts - 1 through 14 (of 14 total)
Reply To: cannot run websphere application server 5 under my eclipse

You must be logged in to post in the forum log in