Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to integrate eclpse and Websphere Application server 6.0

 
priya pillai
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
 
Amit Kumar Ghosh
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic