This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Websphere and the fly likes How to integrate eclpse and Websphere Application server 6.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "How to integrate eclpse and Websphere Application server 6.0" Watch "How to integrate eclpse and Websphere Application server 6.0" New topic
Author

How to integrate eclpse and Websphere Application server 6.0

priya pillai
Ranch Hand

Joined: Sep 12, 2007
Posts: 57
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

Joined: Sep 12, 2007
Posts: 57
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
Amit Kumar Ghosh
Greenhorn

Joined: Dec 14, 2010
Posts: 3
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 agree. Here's the link: http://aspose.com/file-tools
 
subject: How to integrate eclpse and Websphere Application server 6.0
 
Similar Threads
Error: Integration of Websphere Application Server V 6.0 in Eclipse 3.4 or MyEclipse
How to use Eclipe with WebSphere6.1 or WebLogic 10
importing a certificate with keytool - effects of "trust this certificate"?
java.lang.NoClassDefFoundError: error when try to start websphere server
Starting Websphere 6.0 in Eclipse3.3