• 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
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

IBM Websphere ejbdeploy batch script error

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to add deployment descriptors, first to an EJB jar
and then to an EAR which will contain (among other things) the EJB
jar I first modified. From my attempt to process the EJB jar, I get the following result whch includes an error.

The command line for this is:

ejbdeploy xxx.jar WORKING xxx-ws.jar
-cp "JarContainingMyClass.jar;j2ee-1.3.1.jar"
-dbvendor ORACLE_V9I
-target WAS510
-trace -keep

=======================================================================

<preamble not included>
Creating Top Down Map
Initializing...
Mapping
Saving...
Generating deployment code
Generating queries
Refreshing: /starthis-clgx/ejbModule.
Updating.
[*Error] An unexpected exception was thrown. Halting execution.
Shutting down workbench.

Error generating findByLocation(com.xxx.MyClass) query for bean ControlLogix (Abstract schema name=MyTable). Error=unknown EJB or ASN name: com.xxx.MyClass
Query='SELECT OBJECT(c) FROM MyTable AS c WHERE c.location = ?1'
C:\ibm-prep\using-cmd-line>
=================================================================

It seems that ejbdeploy cannot find the com.xxx.MyClass class. But
I have added that jar containing it to to the classpath.

Is there something else I need to do?

Any help appreciated!

Derek
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!