GeeCON Prague 2014*
The moose likes Websphere and the fly likes Error with QueueElement when deploying EJB's Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » Websphere
Bookmark "Error with QueueElement when deploying EJB Watch "Error with QueueElement when deploying EJB New topic
Author

Error with QueueElement when deploying EJB's

Greg Brouelette
Ranch Hand

Joined: Jan 23, 2002
Posts: 144
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?


For a good Prime, call:<br />29819592777931214269172453467810429868925511217482600306406141434158089
Greg Brouelette
Ranch Hand

Joined: Jan 23, 2002
Posts: 144
Kill this thread. I've had to just re-install WebSphere to get past this error.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error with QueueElement when deploying EJB's