• 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
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

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
 
If you live in a cold climate and on the grid, incandescent light can use less energy than LED. Tiny ad:
professionally read, modify and write PDF files from Java
https://products.aspose.com/pdf/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!