The moose likes IDEs, Version Control and other tools and the fly likes Failure to initialize EJBQL descriptors Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Reply Bookmark "Failure to initialize EJBQL descriptors" Watch "Failure to initialize EJBQL descriptors" New topic
Author

Failure to initialize EJBQL descriptors

Deepa Malhotra
Greenhorn

Joined: Oct 31, 2003
Posts: 19
I have my appln developed with jdeveloper. when I deploy to the embeded server, no errors, works fine. when I try to deploy to external oc4j server, I get the following errors:
java.lang.InstantiationException: Failure to initialize EJBQL descriptors: java.lang.RuntimeException: No method found for XML query element: mypackage1.DepartmentsLocalHome
void com.evermind.server.ejb.deployment.EJBPackage.initializeEjbqlDescriptors(byte[], int, int)
EJBPackage.java:2075
any suggestions?
Howard Kushner
author
Ranch Hand

Joined: Sep 19, 2003
Posts: 361
Hello Deepa,
All I can suggest is that you try WebSphere. That works. You can download free trial versions of both the WebSphere Studio Application Developer (the programmers IDE), and the WebSphere Application Server (the runtime infrastructure).
Despite the fact that I have not used the tooling you mention, it appears as though either the deploy code was not generated correctly, or it was not installed correctly. I presume your EJBQL is correct.
Good luck! Maybe someone else is using the tools you mention, and can provide better help. I should ask if you have the ability to remote debug from your IDE to your app server, presuming you have the necessary source files available.


Howard Kushner<br />IBM Certified Enterprise Developer - WebSphere Studio Application Developer V5.0<br />IBM Certified Advanced System Administrator - WebSphere Application Server V5.0<br />IBM Certified Solution Developer - Web Services with WebSphere Studio V5.1<br /><a href="http://www.amazon.com/exec/obidos/tg/detail/-/1931182108/" target="_blank" rel="nofollow">Developing J2EE Applications with WebSphere Studio</a> my Certification Study Guide for IBM Test 287
 
 
subject: Failure to initialize EJBQL descriptors
 
Threads others viewed
IBM HTTP Server
How to deploy classses in RMI
Exception while Looking up a local bean
Error: while deploying ejb in jboss
Startup error WAS 4.0 Iplanet plugin
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com