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

Problem when deploying beans

 
Ranch Hand
Posts: 1871
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am getting the following exception while trying to deploy a simple stateless Bean with jetace. Any ideas on what it means will help. The problem may be with the -keep option that is there with rmic. That is what i know
Exception:
Deployment[createEJSJar] failed.
EJBDeploy: setupWorkingDir(): Setting up working directory e:\WebSphere\AppServer\deployedEJBs\jet_outWorkingDir
EJBDeploy: open(): Processing jar file e:\WebSphere\AppServer\bin\jet_out.jar
EJBJar: processJar(): Extracting jar file e:\WebSphere\AppServer\bin\jet_out.jar to directory e:\WebSphere\AppServer\deployedEJBs\jet_outWorkingDir\__ejbjar
EJBJar: processJar(): Parsing manifest file for deployment descriptors
Found TestHello.ser
EJBJar: loadJarClasses(): Adding all classes in .jar file to custom class loader
EJBJar: processJar(): Deserializing deployment descriptors
TestHello.ser
EJBDeploy: open(): Verifying EJB HelloBean
EJBDeploy: generateClasses(): Generating home remote implementation class for bean HelloBean
Class name: EJSRemoteHelloHome
EJBDeploy: generateClasses(): Generating home implementation class for session bean HelloBean
Class name: EJSHelloHomeBean
EJBDeploy: generateClasses(): Generating remote implementation class for session bean HelloBean
Class name: EJSRemoteHello
EJBDeploy: compileClasses(): Searching for source files...
Found e:\WebSphere\AppServer\deployedEJBs\jet_outWorkingDir\__ejbjar\EJSHelloHomeBean.java
Found e:\WebSphere\AppServer\deployedEJBs\jet_outWorkingDir\__ejbjar\EJSRemoteHello.java
Found e:\WebSphere\AppServer\deployedEJBs\jet_outWorkingDir\__ejbjar\EJSRemoteHelloHome.java
EJBDeploy: compileClasses(): Compiling generated classes...
javac command line:
javac -d e:\WebSphere\AppServer\deployedEJBs\jet_outWorkingDir\__ejbjar -classpath e:\WebSphere\AppServer\deployedEJBs\jet_outWorkingDir\__ejbjar;e:/WebSphere/AppServer/lib/ibmwebas.jar;e:/WebSphere/AppServer/properties;e:/WebSphere/AppServer/lib/servlet.jar;e:/W ebSphere/AppServer/lib/webtlsrn.jar;e:/WebSphere/AppServer/lib/lotusxsl.jar;e:/WebSphere/AppServer/lib/compat.jar;e:/WebSphere/AppServer/lib/xalan.jar;e:/WebSphere/AppServer/lib/ns .jar;e:/WebSphere/AppServer/lib/ejs.jar;e:/WebSphere/AppServer/lib/ujc.jar;e:/WebSphere/AppServer/lib/idb.jar;e:/WebSphere/AppServer/lib/repository.jar;e:/WebSphere/AppServer/lib/a dmin.jar;e:/WebSphere/AppServer/lib/swingall.jar;e:/WebSphere/AppServer/lib/console.jar;e:/WebSphere/AppServer/lib/was20cm.jar;e:/WebSphere/AppServer/lib/tasks.jar;e:/WebSphere/App Server/lib/xml4j.jar;e:/WebSphere/AppServer/lib/vaprt.jar;e:/WebSphere/AppServer/lib/sslight.jar;e:/WebSphere/AppServer/lib/ibmjndi.jar;e:/WebSphere/AppServer/lib/deployTool.jar;e: /WebSphere/AppServer/lib/databeans.jar;e:/WebSphere/AppServer/classes;e:/WebSphere/AppServer/jdk/lib/tools.jar;e:/WebSphere/AppServer/lib/jsp10.jar;e:/WebSphere/AppServer/lib/dertr jrt.jar;e:/WebSphere/AppServer/lib/derdbpw.jar;e:/WebSphere/AppServer/lib/ivjejb35.jar
e:\WebSphere\AppServer\deployedEJBs\jet_outWorkingDir\__ejbjar\EJSRemoteHello.java
e:\WebSphere\AppServer\deployedEJBs\jet_outWorkingDir\__ejbjar\EJSHelloHomeBean.java
e:\WebSphere\AppServer\deployedEJBs\jet_outWorkingDir\__ejbjar\EJSRemoteHelloHome.java
javac return code = 0
EJBDeploy: generateTies(): Generating ties for implementation classes...
rmic command line:
rmic -classpath e:\WebSphere\AppServer\deployedEJBs\jet_outWorkingDir\__ejbjar;e:/WebSphere/AppServer/lib/ibmwebas.jar;e:/WebSphere/AppServer/properties;e:/WebSphere/AppServer/lib/servlet.jar;e:/W ebSphere/AppServer/lib/webtlsrn.jar;e:/WebSphere/AppServer/lib/lotusxsl.jar;e:/WebSphere/AppServer/lib/compat.jar;e:/WebSphere/AppServer/lib/xalan.jar;e:/WebSphere/AppServer/lib/ns .jar;e:/WebSphere/AppServer/lib/ejs.jar;e:/WebSphere/AppServer/lib/ujc.jar;e:/WebSphere/AppServer/lib/idb.jar;e:/WebSphere/AppServer/lib/repository.jar;e:/WebSphere/AppServer/lib/a dmin.jar;e:/WebSphere/AppServer/lib/swingall.jar;e:/WebSphere/AppServer/lib/console.jar;e:/WebSphere/AppServer/lib/was20cm.jar;e:/WebSphere/AppServer/lib/tasks.jar;e:/WebSphere/App Server/lib/xml4j.jar;e:/WebSphere/AppServer/lib/vaprt.jar;e:/WebSphere/AppServer/lib/sslight.jar;e:/WebSphere/AppServer/lib/ibmjndi.jar;e:/WebSphere/AppServer/lib/deployTool.jar;e: /WebSphere/AppServer/lib/databeans.jar;e:/WebSphere/AppServer/classes;e:/WebSphere/AppServer/jdk/lib/tools.jar;e:/WebSphere/AppServer/lib/jsp10.jar;e:/WebSphere/AppServer/lib/dertr jrt.jar;e:/WebSphere/AppServer/lib/derdbpw.jar;e:/WebSphere/AppServer/lib/ivjejb35.jar -keep -iiop -d e:\WebSphere\AppServer\deployedEJBs\jet_outWorkingDir\__ejbjar .EJSRemoteHelloHome
rmic return code = 1
com.ibm.ejs.sm.exception.DeploymentException: Deployment[createEJSJar] failed.
EJBDeploy: setupWorkingDir(): Setting up working directory e:\WebSphere\AppServer\deployedEJBs\jet_outWorkingDir
EJBDeploy: open(): Processing jar file e:\WebSphere\AppServer\bin\jet_out.jar
EJBJar: processJar(): Extracting jar file e:\WebSphere\AppServer\bin\jet_out.jar to directory e:\WebSphere\AppServer\deployedEJBs\jet_outWorkingDir\__ejbjar
EJBJar: processJar(): Parsing manifest file for deployment descriptors
Found TestHello.ser
EJBJar: loadJarClasses(): Adding all classes in .jar file to custom class loader
EJBJar: processJar(): Deserializing deployment descriptors
TestHello.ser
EJBDeploy: open(): Verifying EJB HelloBean
EJBDeploy: generateClasses(): Generating home remote implementation class for bean HelloBean
Class name: EJSRemoteHelloHome
EJBDeploy: generateClasses(): Generating home implementation class for session bean HelloBean
Class name: EJSHelloHomeBean
EJBDeploy: generateClasses(): Generating remote implementation class for session bean HelloBean
Class name: EJSRemoteHello
EJBDeploy: compileClasses(): Searching for source files...
Found e:\WebSphere\AppServer\deployedEJBs\jet_outWorkingDir\__ejbjar\EJSHelloHomeBean.java
Found e:\WebSphere\AppServer\deployedEJBs\jet_outWorkingDir\__ejbjar\EJSRemoteHello.java
Found e:\WebSphere\AppServer\deployedEJBs\jet_outWorkingDir\__ejbjar\EJSRemoteHelloHome.java
EJBDeploy: compileClasses(): Compiling generated classes...
javac command line:
javac -d e:\WebSphere\AppServer\deployedEJBs\jet_outWorkingDir\__ejbjar -classpath e:\WebSphere\AppServer\deployedEJBs\jet_outWorkingDir\__ejbjar;e:/WebSphere/AppServer/lib/ibmwebas.jar;e:/WebSphere/AppServer/properties;e:/WebSphere/AppServer/lib/servlet.jar;e:/W ebSphere/AppServer/lib/webtlsrn.jar;e:/WebSphere/AppServer/lib/lotusxsl.jar;e:/WebSphere/AppServer/lib/compat.jar;e:/WebSphere/AppServer/lib/xalan.jar;e:/WebSphere/AppServer/lib/ns .jar;e:/WebSphere/AppServer/lib/ejs.jar;e:/WebSphere/AppServer/lib/ujc.jar;e:/WebSphere/AppServer/lib/idb.jar;e:/WebSphere/AppServer/lib/repository.jar;e:/WebSphere/AppServer/lib/a dmin.jar;e:/WebSphere/AppServer/lib/swingall.jar;e:/WebSphere/AppServer/lib/console.jar;e:/WebSphere/AppServer/lib/was20cm.jar;e:/WebSphere/AppServer/lib/tasks.jar;e:/WebSphere/App Server/lib/xml4j.jar;e:/WebSphere/AppServer/lib/vaprt.jar;e:/WebSphere/AppServer/lib/sslight.jar;e:/WebSphere/AppServer/lib/ibmjndi.jar;e:/WebSphere/AppServer/lib/deployTool.jar;e: /WebSphere/AppServer/lib/databeans.jar;e:/WebSphere/AppServer/classes;e:/WebSphere/AppServer/jdk/lib/tools.jar;e:/WebSphere/AppServer/lib/jsp10.jar;e:/WebSphere/AppServer/lib/dertr jrt.jar;e:/WebSphere/AppServer/lib/derdbpw.jar;e:/WebSphere/AppServer/lib/ivjejb35.jar
e:\WebSphere\AppServer\deployedEJBs\jet_outWorkingDir\__ejbjar\EJSRemoteHello.java
e:\WebSphere\AppServer\deployedEJBs\jet_outWorkingDir\__ejbjar\EJSHelloHomeBean.java
e:\WebSphere\AppServer\deployedEJBs\jet_outWorkingDir\__ejbjar\EJSRemoteHelloHome.java
javac return code = 0
EJBDeploy: generateTies(): Generating ties for implementation classes...
rmic command line:
rmic -classpath e:\WebSphere\AppServer\deployedEJBs\jet_outWorkingDir\__ejbjar;e:/WebSphere/AppServer/lib/ibmwebas.jar;e:/WebSphere/AppServer/properties;e:/WebSphere/AppServer/lib/servlet.jar;e:/W ebSphere/AppServer/lib/webtlsrn.jar;e:/WebSphere/AppServer/lib/lotusxsl.jar;e:/WebSphere/AppServer/lib/compat.jar;e:/WebSphere/AppServer/lib/xalan.jar;e:/WebSphere/AppServer/lib/ns .jar;e:/WebSphere/AppServer/lib/ejs.jar;e:/WebSphere/AppServer/lib/ujc.jar;e:/WebSphere/AppServer/lib/idb.jar;e:/WebSphere/AppServer/lib/repository.jar;e:/WebSphere/AppServer/lib/a dmin.jar;e:/WebSphere/AppServer/lib/swingall.jar;e:/WebSphere/AppServer/lib/console.jar;e:/WebSphere/AppServer/lib/was20cm.jar;e:/WebSphere/AppServer/lib/tasks.jar;e:/WebSphere/App Server/lib/xml4j.jar;e:/WebSphere/AppServer/lib/vaprt.jar;e:/WebSphere/AppServer/lib/sslight.jar;e:/WebSphere/AppServer/lib/ibmjndi.jar;e:/WebSphere/AppServer/lib/deployTool.jar;e: /WebSphere/AppServer/lib/databeans.jar;e:/WebSphere/AppServer/classes;e:/WebSphere/AppServer/jdk/lib/tools.jar;e:/WebSphere/AppServer/lib/jsp10.jar;e:/WebSphere/AppServer/lib/dertr jrt.jar;e:/WebSphere/AppServer/lib/derdbpw.jar;e:/WebSphere/AppServer/lib/ivjejb35.jar -keep -iiop -d e:\WebSphere\AppServer\deployedEJBs\jet_outWorkingDir\__ejbjar .EJSRemoteHelloHome
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:282)

[This message has been edited by Rahul Mahindrakar (edited June 06, 2001).]
 
Rahul Mahindrakar
Ranch Hand
Posts: 1871
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mr Suneel Setlur has already discussed this problem here
But still i am not able to solve it.
Suneel where are you now!!!.
 
Rahul Mahindrakar
Ranch Hand
Posts: 1871
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As suneel had stated the '.' in the '.EJSRemoteConverterHome' is creating some problems i do not know why this . turns up
 
Rahul Mahindrakar
Ranch Hand
Posts: 1871
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Got It
Any ejb being deployed needs a package. Hence the '.'
<h3>
If you do not create packages for your ejb's they will not deploy. I tried to use the default package and hence the problem.
<h3>
I guess IBM wants all ejb's in packages.
 
machines help you to do more, but experience less. Experience this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic