Hello all,
Iam facing deployment problem for simple Hello
ejb example
. Every thing is fine. Even "verifier" is also shows no errors. but while deploying iam getting file not found exception.
It is refering to a file at
C:\j2sdkee1.3\repository\toshiba-user\gnrtrTMP\HelloWorldApp\
java\examples\ejb\sb\_HelloHome_Stub.class
but the file actually present at
C:\j2sdkee1.3\repository\toshiba-user\gnrtrTMP\HelloWorldApp\org\omg\stub
java\examples\ejb\sb\_HelloHome_Stub.class
Why it is searching there i dont know....do we need to set any thing....
iam using j2sdk1.4.2 and j2ee1.3.
Pls help me in solving this problem. Iam really frustated with this
, as iam struck at the first example only.
pls lookin the server error log.
-rasheed
copied the log error
=====================
C:\j2sdkee1.3\lib\system\cloudscape.jar;C:\j2sdkee1.3\lib\system\tools.jar;C:\j2sdkee1.3\lib\cloudscape\RmiJdbc.jar;C:\j2sdkee1.3\lib\cloudscape\cloudclient.jar;C:\j2sdkee1.3\lib\classes;C:\j2sdkee1.3\classes;C:\j2sdkee1.3\lib\j2ee.jar;C:\j2sdkee1.3\lib\locale;C:\j2sdkee1.3\lib\j2ee.jar;C:\j2sdk1.4.2_07\lib\jhall.jar;ejb10deployment.jar;j2ee-ri-svc.jar;C:\j2sdk1.4.2_07\lib;C:\j2sdk1.4.2_07\lib\tools.jar;C:\j2sdkee1.3\lib\jhall.jar .
J2EE Home Directory has been set to: C:\j2sdkee1.3.
Starting the server in a single VM mode.
java.io.FileNotFoundException: C:\j2sdkee1.3\repository\toshiba-user\gnrtrTMP\HelloWorldApp\java\examples\ejb\sb\_HelloHome_Stub.class (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at com.sun.ejb.codegen.GeneratorDriver.makeJar(GeneratorDriver.java:521)
at com.sun.ejb.codegen.GeneratorDriver.cookJar(GeneratorDriver.java:489)
at com.sun.ejb.codegen.GeneratorDriver.preDeploy(GeneratorDriver.java:926)
at com.sun.enterprise.tools.deployment.backend.JarInstallerImpl.deployEjbs(JarInstallerImpl.java:705)
at com.sun.enterprise.tools.deployment.backend.JarInstallerImpl.deployApplication(JarInstallerImpl.java:209)
at org.omg.stub.com.sun.enterprise.tools.deployment.backend._JarInstallerImpl_Tie._invoke(Unknown Source)
at com.sun.corba.ee.internal.corba.ServerDelegate.dispatch(ServerDelegate.java:355)
at com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:273)
at com.sun.corba.ee.internal.iiop.RequestProcessor.process(RequestProcessor.java:84)
at com.sun.corba.ee.internal.orbutil.ThreadPool$PooledThread.run(ThreadPool.java:99)