aspose file tools*
The moose likes Websphere and the fly likes EJB deployment problems Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "EJB deployment problems" Watch "EJB deployment problems" New topic
Author

EJB deployment problems

Yat Cheung
Greenhorn

Joined: Jul 18, 2001
Posts: 15
Hi
I'm having problems deploying EJB's on Websphere 3.5. I have tried deploying the sample code from the book "Enterprise Java Programming with IBM Websphere" by Brown, Craig et al, so I don't think there is a problem with the code. This is the stack trace log that I get:

Exception:
Deployment[createEJSJar] failed.
IVJ0805E: There were errors during generation of stubs/ties for the interface classes.
EJBDeploy: setupWorkingDir(): Setting up working directory D:\WebSphere\AppServer\deployedEJBs\b4-HelloWebSphereWorkingDir
EJBDeploy: setupWorkingDir(): Deleting directory D:\WebSphere\AppServer\deployedEJBs\b4-HelloWebSphereWorkingDir\__ejbjar
EJBDeploy: open(): Processing jar file C:\Development\b4-HelloWebSphere.jar
EJBJar: processJar(): Extracting jar file C:\Development\b4-HelloWebSphere.jar to directory D:\WebSphere\AppServer\deployedEJBs\b4-HelloWebSphereWorkingDir\__ejbjar
EJBJar: processJar(): Parsing manifest file for deployment descriptors
Found b4-HelloWebSphere.ser
EJBJar: loadJarClasses(): Adding all classes in .jar file to custom class loader
EJBJar: processJar(): Deserializing deployment descriptors
b4-HelloWebSphere.ser
EJBDeploy: open(): Verifying EJB HelloWebSphereBean
EJBDeploy: generateClasses(): Generating home remote implementation class for bean HelloWebSphereBean
Class name: EJSRemoteHelloWebSphereHome
EJBDeploy: generateClasses(): Generating home implementation class for session bean HelloWebSphereBean
Class name: EJSHelloWebSphereHomeBean
EJBDeploy: generateClasses(): Generating remote implementation class for session bean HelloWebSphereBean
Class name: EJSRemoteHelloWebSphere
EJBDeploy: compileClasses(): Searching for source files...
Found D:\WebSphere\AppServer\deployedEJBs\b4-HelloWebSphereWorkingDir\__ejbjar\EJSHelloWebSphereHomeBean.java
Found D:\WebSphere\AppServer\deployedEJBs\b4-HelloWebSphereWorkingDir\__ejbjar\EJSRemoteHelloWebSphere.java
Found D:\WebSphere\AppServer\deployedEJBs\b4-HelloWebSphereWorkingDir\__ejbjar\EJSRemoteHelloWebSphereHome.java
EJBDeploy: compileClasses(): Compiling generated classes...
javac command line:
javac -d D:\WebSphere\AppServer\deployedEJBs\b4-HelloWebSphereWorkingDir\__ejbjar -classpath D:\WebSphere\AppServer\deployedEJBs\b4-HelloWebSphereWorkingDir\__ejbjar;D:\WebSphere\AppServer\lib\ibmwebas.jar;D:\WebSphere\AppServer\properties;D:\WebSphere\AppServer\lib\servle t.jar;D:\WebSphere\AppServer\lib\webtlsrn.jar;D:\WebSphere\AppServer\lib\lotusxsl.jar;D:\WebSphere\AppServer\lib\compat.jar;D:\WebSphere\AppServer\lib\xalan.jar;D:\WebSphere\AppSer ver\lib\ns.jar;D:\WebSphere\AppServer\lib\ejs.jar;D:\WebSphere\AppServer\lib\ujc.jar;D:\WebSphere\AppServer\lib\idb.jar;D:\WebSphere\AppServer\lib\repository.jar;D:\WebSphere\AppSe rver\lib\admin.jar;D:\WebSphere\AppServer\lib\console.jar;D:\WebSphere\AppServer\lib\was20cm.jar;D:\WebSphere\AppServer\lib\tasks.jar;D:\WebSphere\AppServer\lib\xml4j.jar;D:\WebSph ere\AppServer\lib\vaprt.jar;D:\WebSphere\AppServer\lib\sslight.jar;D:\WebSphere\AppServer\lib\ibmjndi.jar;D:\WebSphere\AppServer\lib\deployTool.jar;D:\WebSphere\AppServer\lib\datab eans.jar;D:\WebSphere\AppServer\classes;D:\WebSphere\AppServer\jdk\lib\tools.jar;D:\WebSphere\AppServer\lib\bsf.jar;D:\WebSphere\AppServer\lib\dertrjrt.jar;D:\WebSphere\AppServer\l ib\derdbpw.jar;D:\WebSphere\AppServer\lib\ivjejb35.jar;D:\WebSphere\AppServer\lib\js.jar
D:\WebSphere\AppServer\deployedEJBs\b4-HelloWebSphereWorkingDir\__ejbjar\EJSRemoteHelloWebSphereHome.java
D:\WebSphere\AppServer\deployedEJBs\b4-HelloWebSphereWorkingDir\__ejbjar\EJSRemoteHelloWebSphere.java
D:\WebSphere\AppServer\deployedEJBs\b4-HelloWebSphereWorkingDir\__ejbjar\EJSHelloWebSphereHomeBean.java
javac return code = 0
EJBDeploy: generateTies(): Generating ties for implementation classes...
rmic command line:
rmic -classpath D:\WebSphere\AppServer\deployedEJBs\b4-HelloWebSphereWorkingDir\__ejbjar;D:\WebSphere\AppServer\lib\ibmwebas.jar;D:\WebSphere\AppServer\properties;D:\WebSphere\AppServer\lib\servle t.jar;D:\WebSphere\AppServer\lib\webtlsrn.jar;D:\WebSphere\AppServer\lib\lotusxsl.jar;D:\WebSphere\AppServer\lib\compat.jar;D:\WebSphere\AppServer\lib\xalan.jar;D:\WebSphere\AppSer ver\lib\ns.jar;D:\WebSphere\AppServer\lib\ejs.jar;D:\WebSphere\AppServer\lib\ujc.jar;D:\WebSphere\AppServer\lib\idb.jar;D:\WebSphere\AppServer\lib\repository.jar;D:\WebSphere\AppSe rver\lib\admin.jar;D:\WebSphere\AppServer\lib\console.jar;D:\WebSphere\AppServer\lib\was20cm.jar;D:\WebSphere\AppServer\lib\tasks.jar;D:\WebSphere\AppServer\lib\xml4j.jar;D:\WebSph ere\AppServer\lib\vaprt.jar;D:\WebSphere\AppServer\lib\sslight.jar;D:\WebSphere\AppServer\lib\ibmjndi.jar;D:\WebSphere\AppServer\lib\deployTool.jar;D:\WebSphere\AppServer\lib\datab eans.jar;D:\WebSphere\AppServer\classes;D:\WebSphere\AppServer\jdk\lib\tools.jar;D:\WebSphere\AppServer\lib\bsf.jar;D:\WebSphere\AppServer\lib\dertrjrt.jar;D:\WebSphere\AppServer\l ib\derdbpw.jar;D:\WebSphere\AppServer\lib\ivjejb35.jar;D:\WebSphere\AppServer\lib\js.jar -keep -iiop -d D:\WebSphere\AppServer\deployedEJBs\b4-HelloWebSphereWorkingDir\__ejbjar .EJSRemoteHelloWebSphereHome
rmic return code = 1
com.ibm.ejs.sm.exception.DeploymentException: Deployment[createEJSJar] failed.
IVJ0805E: There were errors during generation of stubs/ties for the interface classes.
EJBDeploy: setupWorkingDir(): Setting up working directory D:\WebSphere\AppServer\deployedEJBs\b4-HelloWebSphereWorkingDir
EJBDeploy: setupWorkingDir(): Deleting directory D:\WebSphere\AppServer\deployedEJBs\b4-HelloWebSphereWorkingDir\__ejbjar
EJBDeploy: open(): Processing jar file C:\Development\b4-HelloWebSphere.jar
EJBJar: processJar(): Extracting jar file C:\Development\b4-HelloWebSphere.jar to directory D:\WebSphere\AppServer\deployedEJBs\b4-HelloWebSphereWorkingDir\__ejbjar
EJBJar: processJar(): Parsing manifest file for deployment descriptors
Found b4-HelloWebSphere.ser
EJBJar: loadJarClasses(): Adding all classes in .jar file to custom class loader
EJBJar: processJar(): Deserializing deployment descriptors
b4-HelloWebSphere.ser
EJBDeploy: open(): Verifying EJB HelloWebSphereBean
EJBDeploy: generateClasses(): Generating home remote implementation class for bean HelloWebSphereBean
Class name: EJSRemoteHelloWebSphereHome
EJBDeploy: generateClasses(): Generating home implementation class for session bean HelloWebSphereBean
Class name: EJSHelloWebSphereHomeBean
EJBDeploy: generateClasses(): Generating remote implementation class for session bean HelloWebSphereBean
Class name: EJSRemoteHelloWebSphere
EJBDeploy: compileClasses(): Searching for source files...
Found D:\WebSphere\AppServer\deployedEJBs\b4-HelloWebSphereWorkingDir\__ejbjar\EJSHelloWebSphereHomeBean.java
Found D:\WebSphere\AppServer\deployedEJBs\b4-HelloWebSphereWorkingDir\__ejbjar\EJSRemoteHelloWebSphere.java
Found D:\WebSphere\AppServer\deployedEJBs\b4-HelloWebSphereWorkingDir\__ejbjar\EJSRemoteHelloWebSphereHome.java
EJBDeploy: compileClasses(): Compiling generated classes...
javac command line:
javac -d D:\WebSphere\AppServer\deployedEJBs\b4-HelloWebSphereWorkingDir\__ejbjar -classpath D:\WebSphere\AppServer\deployedEJBs\b4-HelloWebSphereWorkingDir\__ejbjar;D:\WebSphere\AppServer\lib\ibmwebas.jar;D:\WebSphere\AppServer\properties;D:\WebSphere\AppServer\lib\servle t.jar;D:\WebSphere\AppServer\lib\webtlsrn.jar;D:\WebSphere\AppServer\lib\lotusxsl.jar;D:\WebSphere\AppServer\lib\compat.jar;D:\WebSphere\AppServer\lib\xalan.jar;D:\WebSphere\AppSer ver\lib\ns.jar;D:\WebSphere\AppServer\lib\ejs.jar;D:\WebSphere\AppServer\lib\ujc.jar;D:\WebSphere\AppServer\lib\idb.jar;D:\WebSphere\AppServer\lib\repository.jar;D:\WebSphere\AppSe rver\lib\admin.jar;D:\WebSphere\AppServer\lib\console.jar;D:\WebSphere\AppServer\lib\was20cm.jar;D:\WebSphere\AppServer\lib\tasks.jar;D:\WebSphere\AppServer\lib\xml4j.jar;D:\WebSph ere\AppServer\lib\vaprt.jar;D:\WebSphere\AppServer\lib\sslight.jar;D:\WebSphere\AppServer\lib\ibmjndi.jar;D:\WebSphere\AppServer\lib\deployTool.jar;D:\WebSphere\AppServer\lib\datab eans.jar;D:\WebSphere\AppServer\classes;D:\WebSphere\AppServer\jdk\lib\tools.jar;D:\WebSphere\AppServer\lib\bsf.jar;D:\WebSphere\AppServer\lib\dertrjrt.jar;D:\WebSphere\AppServer\l ib\derdbpw.jar;D:\WebSphere\AppServer\lib\ivjejb35.jar;D:\WebSphere\AppServer\lib\js.jar
D:\WebSphere\AppServer\deployedEJBs\b4-HelloWebSphereWorkingDir\__ejbjar\EJSRemoteHelloWebSphereHome.java
D:\WebSphere\AppServer\deployedEJBs\b4-HelloWebSphereWorkingDir\__ejbjar\EJSRemoteHelloWebSphere.java
D:\WebSphere\AppServer\deployedEJBs\b4-HelloWebSphereWorkingDir\__ejbjar\EJSHelloWebSphereHomeBean.java
javac return code = 0
EJBDeploy: generateTies(): Generating ties for implementation classes...
rmic command line:
rmic -classpath D:\WebSphere\AppServer\deployedEJBs\b4-HelloWebSphereWorkingDir\__ejbjar;D:\WebSphere\AppServer\lib\ibmwebas.jar;D:\WebSphere\AppServer\properties;D:\WebSphere\AppServer\lib\servle t.jar;D:\WebSphere\AppServer\lib\webtlsrn.jar;D:\WebSphere\AppServer\lib\lotusxsl.jar;D:\WebSphere\AppServer\lib\compat.jar;D:\WebSphere\AppServer\lib\xalan.jar;D:\WebSphere\AppSer ver\lib\ns.jar;D:\WebSphere\AppServer\lib\ejs.jar;D:\WebSphere\AppServer\lib\ujc.jar;D:\WebSphere\AppServer\lib\idb.jar;D:\WebSphere\AppServer\lib\repository.jar;D:\WebSphere\AppSe rver\lib\admin.jar;D:\WebSphere\AppServer\lib\console.jar;D:\WebSphere\AppServer\lib\was20cm.jar;D:\WebSphere\AppServer\lib\tasks.jar;D:\WebSphere\AppServer\lib\xml4j.jar;D:\WebSph ere\AppServer\lib\vaprt.jar;D:\WebSphere\AppServer\lib\sslight.jar;D:\WebSphere\AppServer\lib\ibmjndi.jar;D:\WebSphere\AppServer\lib\deployTool.jar;D:\WebSphere\AppServer\lib\datab eans.jar;D:\WebSphere\AppServer\classes;D:\WebSphere\AppServer\jdk\lib\tools.jar;D:\WebSphere\AppServer\lib\bsf.jar;D:\WebSphere\AppServer\lib\dertrjrt.jar;D:\WebSphere\AppServer\l ib\derdbpw.jar;D:\WebSphere\AppServer\lib\ivjejb35.jar;D:\WebSphere\AppServer\lib\js.jar -keep -iiop -d D:\WebSphere\AppServer\deployedEJBs\b4-HelloWebSphereWorkingDir\__ejbjar .EJSRemoteHelloWebSphereHome
rmic return code = 1
--------
com.ibm.ejs.sm.client.command.ExecutionException: Error during deploying jar file.
at com.ibm.ejs.sm.client.RepositoryOpException.<init>(RepositoryOpException.java:51)
at com.ibm.ejs.sm.client.command.ExecutionException.<init>(ExecutionException.java:63)
at com.ibm.ejs.sm.client.command.DeployJarCommand.execute(DeployJarCommand.java:86)
at com.ibm.ejs.sm.client.command.CommandManager$ExecutionThread.run(CommandManager.java:270)
at com.ibm.ejs.sm.client.command.ThreadPool$PooledThread.run(ThreadPool.java(Compiled Code))

It seems there is a problem generating the stub classes. Does anyone have any ideas about this??
Incidentally, I'm not using VAJ - I had to use the Jetace tool to create the .ser file and deployable .jar file
Any help would be greatly appreciated
Thanks
Maysc
Kyle Brown
author
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
    
    5
Originally posted by maysc che:
Hi
I'm having problems deploying EJB's on Websphere 3.5. I have tried deploying the sample code from the book "Enterprise Java Programming with IBM Websphere" by Brown, Craig et al, so I don't think there is a problem with the code. This is the stack trace log that I get:

Exception:
Deployment[createEJSJar] failed.
IVJ0805E: There were errors during generation of stubs/ties for the interface classes.
EJBDeploy: setupWorkingDir(): Setting up working directory D:\WebSphere\AppServer\deployedEJBs\b4-HelloWebSphereWorkingDir
EJBDeploy: setupWorkingDir(): Deleting directory D:\WebSphere\AppServer\deployedEJBs\b4-HelloWebSphereWorkingDir\__ejbjar
EJBDeploy: open(): Processing jar file C:\Development\b4-HelloWebSphere.jar
EJBJar: processJar(): Extracting jar file C:\Development\b4-HelloWebSphere.jar to directory D:\WebSphere\AppServer\deployedEJBs\b4-HelloWebSphereWorkingDir\__ejbjar
EJBJar: processJar(): Parsing manifest file for deployment descriptors
Found b4-HelloWebSphere.ser
EJBJar: loadJarClasses(): Adding all classes in .jar file to custom class loader
EJBJar: processJar(): Deserializing deployment descriptors
b4-HelloWebSphere.ser
EJBDeploy: open(): Verifying EJB HelloWebSphereBean
EJBDeploy: generateClasses(): Generating home remote implementation class for bean HelloWebSphereBean
Class name: EJSRemoteHelloWebSphereHome
EJBDeploy: generateClasses(): Generating home implementation class for session bean HelloWebSphereBean
Class name: EJSHelloWebSphereHomeBean
EJBDeploy: generateClasses(): Generating remote implementation class for session bean HelloWebSphereBean
Class name: EJSRemoteHelloWebSphere
EJBDeploy: compileClasses(): Searching for source files...
Found D:\WebSphere\AppServer\deployedEJBs\b4-HelloWebSphereWorkingDir\__ejbjar\EJSHelloWebSphereHomeBean.java
Found D:\WebSphere\AppServer\deployedEJBs\b4-HelloWebSphereWorkingDir\__ejbjar\EJSRemoteHelloWebSphere.java
Found D:\WebSphere\AppServer\deployedEJBs\b4-HelloWebSphereWorkingDir\__ejbjar\EJSRemoteHelloWebSphereHome.java
EJBDeploy: compileClasses(): Compiling generated classes...
javac command line:
javac -d D:\WebSphere\AppServer\deployedEJBs\b4-HelloWebSphereWorkingDir\__ejbjar -classpath D:\WebSphere\AppServer\deployedEJBs\b4-HelloWebSphereWorkingDir\__ejbjar;D:\WebSphere\AppServer\lib\ibmwebas.jar;D:\WebSphere\AppServer\properties;D:\WebSphere\AppServer\lib\servle t.jar;D:\WebSphere\AppServer\lib\webtlsrn.jar;D:\WebSphere\AppServer\lib\lotusxsl.jar;D:\WebSphere\AppServer\lib\compat.jar;D:\WebSphere\AppServer\lib\xalan.jar;D:\WebSphere\AppSer ver\lib\ns.jar;D:\WebSphere\AppServer\lib\ejs.jar;D:\WebSphere\AppServer\lib\ujc.jar;D:\WebSphere\AppServer\lib\idb.jar;D:\WebSphere\AppServer\lib\repository.jar;D:\WebSphere\AppSe rver\lib\admin.jar;D:\WebSphere\AppServer\lib\console.jar;D:\WebSphere\AppServer\lib\was20cm.jar;D:\WebSphere\AppServer\lib\tasks.jar;D:\WebSphere\AppServer\lib\xml4j.jar;D:\WebSph ere\AppServer\lib\vaprt.jar;D:\WebSphere\AppServer\lib\sslight.jar;D:\WebSphere\AppServer\lib\ibmjndi.jar;D:\WebSphere\AppServer\lib\deployTool.jar;D:\WebSphere\AppServer\lib\datab eans.jar;D:\WebSphere\AppServer\classes;D:\WebSphere\AppServer\jdk\lib\tools.jar;D:\WebSphere\AppServer\lib\bsf.jar;D:\WebSphere\AppServer\lib\dertrjrt.jar;D:\WebSphere\AppServer\l ib\derdbpw.jar;D:\WebSphere\AppServer\lib\ivjejb35.jar;D:\WebSphere\AppServer\lib\js.jar
D:\WebSphere\AppServer\deployedEJBs\b4-HelloWebSphereWorkingDir\__ejbjar\EJSRemoteHelloWebSphereHome.java
D:\WebSphere\AppServer\deployedEJBs\b4-HelloWebSphereWorkingDir\__ejbjar\EJSRemoteHelloWebSphere.java
D:\WebSphere\AppServer\deployedEJBs\b4-HelloWebSphereWorkingDir\__ejbjar\EJSHelloWebSphereHomeBean.java
javac return code = 0
EJBDeploy: generateTies(): Generating ties for implementation classes...
rmic command line:
rmic -classpath D:\WebSphere\AppServer\deployedEJBs\b4-HelloWebSphereWorkingDir\__ejbjar;D:\WebSphere\AppServer\lib\ibmwebas.jar;D:\WebSphere\AppServer\properties;D:\WebSphere\AppServer\lib\servle t.jar;D:\WebSphere\AppServer\lib\webtlsrn.jar;D:\WebSphere\AppServer\lib\lotusxsl.jar;D:\WebSphere\AppServer\lib\compat.jar;D:\WebSphere\AppServer\lib\xalan.jar;D:\WebSphere\AppSer ver\lib\ns.jar;D:\WebSphere\AppServer\lib\ejs.jar;D:\WebSphere\AppServer\lib\ujc.jar;D:\WebSphere\AppServer\lib\idb.jar;D:\WebSphere\AppServer\lib\repository.jar;D:\WebSphere\AppSe rver\lib\admin.jar;D:\WebSphere\AppServer\lib\console.jar;D:\WebSphere\AppServer\lib\was20cm.jar;D:\WebSphere\AppServer\lib\tasks.jar;D:\WebSphere\AppServer\lib\xml4j.jar;D:\WebSph ere\AppServer\lib\vaprt.jar;D:\WebSphere\AppServer\lib\sslight.jar;D:\WebSphere\AppServer\lib\ibmjndi.jar;D:\WebSphere\AppServer\lib\deployTool.jar;D:\WebSphere\AppServer\lib\datab eans.jar;D:\WebSphere\AppServer\classes;D:\WebSphere\AppServer\jdk\lib\tools.jar;D:\WebSphere\AppServer\lib\bsf.jar;D:\WebSphere\AppServer\lib\dertrjrt.jar;D:\WebSphere\AppServer\l ib\derdbpw.jar;D:\WebSphere\AppServer\lib\ivjejb35.jar;D:\WebSphere\AppServer\lib\js.jar -keep -iiop -d D:\WebSphere\AppServer\deployedEJBs\b4-HelloWebSphereWorkingDir\__ejbjar .EJSRemoteHelloWebSphereHome
rmic return code = 1
com.ibm.ejs.sm.exception.DeploymentException: Deployment[createEJSJar] failed.
IVJ0805E: There were errors during generation of stubs/ties for the interface classes.
EJBDeploy: setupWorkingDir(): Setting up working directory D:\WebSphere\AppServer\deployedEJBs\b4-HelloWebSphereWorkingDir
EJBDeploy: setupWorkingDir(): Deleting directory D:\WebSphere\AppServer\deployedEJBs\b4-HelloWebSphereWorkingDir\__ejbjar
EJBDeploy: open(): Processing jar file C:\Development\b4-HelloWebSphere.jar
EJBJar: processJar(): Extracting jar file C:\Development\b4-HelloWebSphere.jar to directory D:\WebSphere\AppServer\deployedEJBs\b4-HelloWebSphereWorkingDir\__ejbjar
EJBJar: processJar(): Parsing manifest file for deployment descriptors
Found b4-HelloWebSphere.ser
EJBJar: loadJarClasses(): Adding all classes in .jar file to custom class loader
EJBJar: processJar(): Deserializing deployment descriptors
b4-HelloWebSphere.ser
EJBDeploy: open(): Verifying EJB HelloWebSphereBean
EJBDeploy: generateClasses(): Generating home remote implementation class for bean HelloWebSphereBean
Class name: EJSRemoteHelloWebSphereHome
EJBDeploy: generateClasses(): Generating home implementation class for session bean HelloWebSphereBean
Class name: EJSHelloWebSphereHomeBean
EJBDeploy: generateClasses(): Generating remote implementation class for session bean HelloWebSphereBean
Class name: EJSRemoteHelloWebSphere
EJBDeploy: compileClasses(): Searching for source files...
Found D:\WebSphere\AppServer\deployedEJBs\b4-HelloWebSphereWorkingDir\__ejbjar\EJSHelloWebSphereHomeBean.java
Found D:\WebSphere\AppServer\deployedEJBs\b4-HelloWebSphereWorkingDir\__ejbjar\EJSRemoteHelloWebSphere.java
Found D:\WebSphere\AppServer\deployedEJBs\b4-HelloWebSphereWorkingDir\__ejbjar\EJSRemoteHelloWebSphereHome.java
EJBDeploy: compileClasses(): Compiling generated classes...
javac command line:
javac -d D:\WebSphere\AppServer\deployedEJBs\b4-HelloWebSphereWorkingDir\__ejbjar -classpath D:\WebSphere\AppServer\deployedEJBs\b4-HelloWebSphereWorkingDir\__ejbjar;D:\WebSphere\AppServer\lib\ibmwebas.jar;D:\WebSphere\AppServer\properties;D:\WebSphere\AppServer\lib\servle t.jar;D:\WebSphere\AppServer\lib\webtlsrn.jar;D:\WebSphere\AppServer\lib\lotusxsl.jar;D:\WebSphere\AppServer\lib\compat.jar;D:\WebSphere\AppServer\lib\xalan.jar;D:\WebSphere\AppSer ver\lib\ns.jar;D:\WebSphere\AppServer\lib\ejs.jar;D:\WebSphere\AppServer\lib\ujc.jar;D:\WebSphere\AppServer\lib\idb.jar;D:\WebSphere\AppServer\lib\repository.jar;D:\WebSphere\AppSe rver\lib\admin.jar;D:\WebSphere\AppServer\lib\console.jar;D:\WebSphere\AppServer\lib\was20cm.jar;D:\WebSphere\AppServer\lib\tasks.jar;D:\WebSphere\AppServer\lib\xml4j.jar;D:\WebSph ere\AppServer\lib\vaprt.jar;D:\WebSphere\AppServer\lib\sslight.jar;D:\WebSphere\AppServer\lib\ibmjndi.jar;D:\WebSphere\AppServer\lib\deployTool.jar;D:\WebSphere\AppServer\lib\datab eans.jar;D:\WebSphere\AppServer\classes;D:\WebSphere\AppServer\jdk\lib\tools.jar;D:\WebSphere\AppServer\lib\bsf.jar;D:\WebSphere\AppServer\lib\dertrjrt.jar;D:\WebSphere\AppServer\l ib\derdbpw.jar;D:\WebSphere\AppServer\lib\ivjejb35.jar;D:\WebSphere\AppServer\lib\js.jar
D:\WebSphere\AppServer\deployedEJBs\b4-HelloWebSphereWorkingDir\__ejbjar\EJSRemoteHelloWebSphereHome.java
D:\WebSphere\AppServer\deployedEJBs\b4-HelloWebSphereWorkingDir\__ejbjar\EJSRemoteHelloWebSphere.java
D:\WebSphere\AppServer\deployedEJBs\b4-HelloWebSphereWorkingDir\__ejbjar\EJSHelloWebSphereHomeBean.java
javac return code = 0
EJBDeploy: generateTies(): Generating ties for implementation classes...
rmic command line:
rmic -classpath D:\WebSphere\AppServer\deployedEJBs\b4-HelloWebSphereWorkingDir\__ejbjar;D:\WebSphere\AppServer\lib\ibmwebas.jar;D:\WebSphere\AppServer\properties;D:\WebSphere\AppServer\lib\servle t.jar;D:\WebSphere\AppServer\lib\webtlsrn.jar;D:\WebSphere\AppServer\lib\lotusxsl.jar;D:\WebSphere\AppServer\lib\compat.jar;D:\WebSphere\AppServer\lib\xalan.jar;D:\WebSphere\AppSer ver\lib\ns.jar;D:\WebSphere\AppServer\lib\ejs.jar;D:\WebSphere\AppServer\lib\ujc.jar;D:\WebSphere\AppServer\lib\idb.jar;D:\WebSphere\AppServer\lib\repository.jar;D:\WebSphere\AppSe rver\lib\admin.jar;D:\WebSphere\AppServer\lib\console.jar;D:\WebSphere\AppServer\lib\was20cm.jar;D:\WebSphere\AppServer\lib\tasks.jar;D:\WebSphere\AppServer\lib\xml4j.jar;D:\WebSph ere\AppServer\lib\vaprt.jar;D:\WebSphere\AppServer\lib\sslight.jar;D:\WebSphere\AppServer\lib\ibmjndi.jar;D:\WebSphere\AppServer\lib\deployTool.jar;D:\WebSphere\AppServer\lib\datab eans.jar;D:\WebSphere\AppServer\classes;D:\WebSphere\AppServer\jdk\lib\tools.jar;D:\WebSphere\AppServer\lib\bsf.jar;D:\WebSphere\AppServer\lib\dertrjrt.jar;D:\WebSphere\AppServer\l ib\derdbpw.jar;D:\WebSphere\AppServer\lib\ivjejb35.jar;D:\WebSphere\AppServer\lib\js.jar -keep -iiop -d D:\WebSphere\AppServer\deployedEJBs\b4-HelloWebSphereWorkingDir\__ejbjar .EJSRemoteHelloWebSphereHome
rmic return code = 1
--------
com.ibm.ejs.sm.client.command.ExecutionException: Error during deploying jar file.
at com.ibm.ejs.sm.client.RepositoryOpException.<init>(RepositoryOpException.java:51)
at com.ibm.ejs.sm.client.command.ExecutionException.<init>(ExecutionException.java:63)
at com.ibm.ejs.sm.client.command.DeployJarCommand.execute(DeployJarCommand.java:86)
at com.ibm.ejs.sm.client.command.CommandManager$ExecutionThread.run(CommandManager.java:270)
at com.ibm.ejs.sm.client.command.ThreadPool$PooledThread.run(ThreadPool.java(Compiled Code))

It seems there is a problem generating the stub classes. Does anyone have any ideas about this??
Incidentally, I'm not using VAJ - I had to use the Jetace tool to create the .ser file and deployable .jar file
Any help would be greatly appreciated
Thanks
Maysc


Eek. Maysc, I never anticipated anyone NOT using VAJ with the book. I've never even tried it with JetAce. If I get a chance, I'll try it myself later in the week and get back to you.
Kyle

------------------
Kyle Brown,
Author of Enterprise Java (tm) Programming with IBM Websphere
See my homepage at http://members.aol.com/kgb1001001 for other WebSphere information.


Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
Yat Cheung
Greenhorn

Joined: Jul 18, 2001
Posts: 15
Hi Kyle
Thanks for the offer of help but I seem to have solved the problem. I put the EJB files into a package and they deployed fine!! I've read on other newsgroups that WebSphere doesn't like it when the classes aren't in a package....not sure if this is true or not but it solved my problem :-)
Maysc
Kyle Brown
author
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
    
    5
That is in fact, true. It almost insists that they be in a package, in fact
Kyle
------------------
Kyle Brown,
Author of Enterprise Java (tm) Programming with IBM Websphere
See my homepage at http://members.aol.com/kgb1001001 for other WebSphere information.
Venkatesh Babu Oblaa
Greenhorn

Joined: Nov 09, 2002
Posts: 1
Hi Kyle,
Even i am also facing the same problem, But all ejb beans are in a package. can u plz help me out to solve this problem.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: EJB deployment problems