Win a copy of JDBC Workbook this week in the JDBC and Relational Databases forum
or A Day in Code in the A Day in Code forum!
  • 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 ...
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • salvin francis
  • fred rosenberger

IBM Websphere ejbdeploy batch script error

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
Generating deployment code
Generating queries
Refreshing: /starthis-clgx/ejbModule.
[*Error] An unexpected exception was thrown. Halting execution.
Shutting down workbench.

Error generating findByLocation( query for bean ControlLogix (Abstract schema name=MyTable). Error=unknown EJB or ASN name:
Query='SELECT OBJECT(c) FROM MyTable AS c WHERE c.location = ?1'

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

Is there something else I need to do?

Any help appreciated!

Hang a left on main. Then read this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
    Bookmark Topic Watch Topic
  • New Topic