This week's book giveaway is in the Reactive Progamming forum.
We're giving away four copies of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams and have Adam Davis on-line!
See this thread for details.
Win a copy of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams this week in the Reactive Progamming forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

How to integrate eclpse and Websphere Application server 6.0

 
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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.
 
My honeysuckle is blooming this year! Now to fertilize this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!