Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General 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
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

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.
 
"Don't believe every tiny ad you see on the internet. But this one is rock solid." - George Washington
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic