Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript 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
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

EJB deployment problems

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
author
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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.
 
Yat Cheung
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic