• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

How to integrate eclpse and Websphere Application server 6.0

 
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi friends,

i want to do j2ee programs .i am familer with eclipse and jsp servlet programming using tomcat.Now i want to learn with websphere.

I tried with google and when i try to start websphere server i am getting error of

The java class is not found: Files/IBM/WebSphere/AppServer/java/jre/lib/ext/ibmorb/jar;C:/Program
ibmorb

ibmorb.jar is located at the directory D;\priya\IBM\java\jre\lib and D:\priya\IBM\_jvm\jre\lib where d:\priya\IBM is where websphere is located.

Websphere is starting with console.

Please help

Thanks in advance
 
priya pillai
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I tried again and integrate and try to run a simple jsp program . I got the error of


[7/23/09 16:46:59:875 SGT] 0000000a WsServerImpl E WSVR0100W: An error occurred initializing, com.ibm.ws.runtime.config.BaseServerConfigLocator@37959420
com.ibm.ws.exception.ConfigurationError: java.io.FileNotFoundException: D:\priya\IBM\config\cells\[cell]\nodes\[Node]\servers\server1\server.xml (The system cannot find the path specified)
at com.ibm.ws.runtime.config.BaseServerConfigLocator.initialize(BaseServerConfigLocator.java:30)
at com.ibm.ws.runtime.WsServerImpl.bootConfigLocators(WsServerImpl.java:272)
at com.ibm.ws.runtime.WsServerImpl.start(WsServerImpl.java:102)
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:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:190)
Caused by: java.io.FileNotFoundException: D:\priya\IBM\config\cells\[cell]\nodes\[Node]\servers\server1\server.xml (The system cannot find the path specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:129)
at org.eclipse.emf.ecore.resource.impl.URIConverterImpl.createFileInputStream(URIConverterImpl.java:423)
at org.eclipse.emf.ecore.resource.impl.URIConverterImpl.createInputStream(URIConverterImpl.java:394)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:738)
at com.ibm.ws.runtime.service.ConfigRootImpl.getResource(ConfigRootImpl.java:288)
at com.ibm.ws.runtime.service.ConfigRootImpl.getResource(ConfigRootImpl.java:270)
at com.ibm.ws.runtime.config.BaseServerConfigLocator.initialize(BaseServerConfigLocator.java:28)
... 10 more

[7/23/09 16:47:00:281 SGT] 0000000a WsServerImpl E WSVR0009E: Error occurred during startup
META-INF/ws-server-components.xml
[7/23/09 16:47:00:281 SGT] 0000000a WsServerImpl E WSVR0009E: Error occurred during startup
com.ibm.ws.exception.ConfigurationError: java.io.FileNotFoundException: D:\priya\IBM\config\cells\[cell]\nodes\[Node]\servers\server1\server.xml (The system cannot find the path specified)
at com.ibm.ws.runtime.config.BaseServerConfigLocator.initialize(BaseServerConfigLocator.java:30)
at com.ibm.ws.runtime.WsServerImpl.bootConfigLocators(WsServerImpl.java:272)
at com.ibm.ws.runtime.WsServerImpl.start(WsServerImpl.java:102)
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:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:190)
Caused by: java.io.FileNotFoundException: D:\priya\IBM\config\cells\[cell]\nodes\[Node]\servers\server1\server.xml (The system cannot find the path specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:129)
at org.eclipse.emf.ecore.resource.impl.URIConverterImpl.createFileInputStream(URIConverterImpl.java:423)
at org.eclipse.emf.ecore.resource.impl.URIConverterImpl.createInputStream(URIConverterImpl.java:394)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:738)
at com.ibm.ws.runtime.service.ConfigRootImpl.getResource(ConfigRootImpl.java:288)
at com.ibm.ws.runtime.service.ConfigRootImpl.getResource(ConfigRootImpl.java:270)
at com.ibm.ws.runtime.config.BaseServerConfigLocator.initialize(BaseServerConfigLocator.java:28)
... 10 more

com.ibm.ws.exception.ConfigurationError: java.io.FileNotFoundException: D:\priya\IBM\config\cells\[cell]\nodes\[Node]\servers\server1\server.xml (The system cannot find the path specified)
at com.ibm.ws.runtime.config.BaseServerConfigLocator.initialize(BaseServerConfigLocator.java:30)
at com.ibm.ws.runtime.WsServerImpl.bootConfigLocators(WsServerImpl.java:272)
at com.ibm.ws.runtime.WsServerImpl.start(WsServerImpl.java:102)
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:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:190)
Caused by: java.io.FileNotFoundException: D:\priya\IBM\config\cells\[cell]\nodes\[Node]\servers\server1\server.xml (The system cannot find the path specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:129)
at org.eclipse.emf.ecore.resource.impl.URIConverterImpl.createFileInputStream(URIConverterImpl.java:423)
at org.eclipse.emf.ecore.resource.impl.URIConverterImpl.createInputStream(URIConverterImpl.java:394)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:738)
at com.ibm.ws.runtime.service.ConfigRootImpl.getResource(ConfigRootImpl.java:288)
at com.ibm.ws.runtime.service.ConfigRootImpl.getResource(ConfigRootImpl.java:270)
at com.ibm.ws.runtime.config.BaseServerConfigLocator.initialize(BaseServerConfigLocator.java:28)
... 10 more
Please help

Thanks in advance
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Server view --> right click --> new --> IBM --> websphere 6.0 --> Enter Nodename and cellname that is provided while profile creation in websphere.

Double click websphere server in server view of eclipse.Open Launch configuration --> Go to Arguments tab --> VM arguments --> Delete -Xbootpath along with pointing all jar files(points 2 jar files).

Now Go to classpath tab --> Add External jar files --> Browse and add ibmorb.jar file.--> Apply.
Also increase timeout in websphere properties after double clicking websphere in server view.

**************************************************8

This works perfectly(saw logs also), server starts wiothout error but closed automatically after start timeout interval.
 
I'm not dead! I feel happy! I'd like to go for a walk! I'll even read a tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic