Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error with QueueElement when deploying EJB's

 
Greg Brouelette
Ranch Hand
Posts: 144
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi folks:
I'm running into a problem that is stumping me. Hope you can help.
I can deploy several EJB's into WebSphere (3.5.2) via Ant. (Kyle, Thank you very much for your help in getting me this far)
However, I have 2 EJB's that will not deploy. When in the rmic part of the deployment I get a "return code =1" error. So I copy the RMIC command line and attempt to run it in a DOS window. That gives me this error:
error: Could not load class com.ibm.ejs.util.QueueElement.
AHA! An actual error. So I start looking at the classpath. The actual rmic command line is:
rmic -classpath C:\WebSphere\AppServer\deployedEJBs\XMLToBeanParserEJBWorkingDir\__ejbjar;[lots of classpath jars removed for clarity];C:/WebSphere/AppServer/lib/ujc.jar;[more classpath jars removed for clarity] -keep -iiop -d C:\WebSphere\AppServer\deployedEJBs\XMLToBeanParserEJBWorkingDir\__ejbjar com.uboc.ofx.ejb.xmlbeanparser.EJSRemoteXMLToBeanParserHome
The key item here is that ujc.jar is part of the classpath. Because in that jar is the com.ibm.ejs.util.QueueElement class.
So for some reason this particular jar seems to need that class and EVEN THOUGH it's explicitly placed in the classpath of the rmic compiler it can't be found.
But I have other jars that deploy fine in the same environment. Very strange.
Any thoughts or ideas?
 
Greg Brouelette
Ranch Hand
Posts: 144
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kill this thread. I've had to just re-install WebSphere to get past this error.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic