File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes BEA/Weblogic and the fly likes Weblogic 7.0 ejb-jar.xml defineClass()failed Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Weblogic 7.0 ejb-jar.xml defineClass()failed Problem" Watch "Weblogic 7.0 ejb-jar.xml defineClass()failed Problem" New topic

Weblogic 7.0 ejb-jar.xml defineClass()failed Problem

Vikas Aggarwal
Ranch Hand

Joined: Jun 22, 2001
Posts: 140
We are trying deploy a stateless session bean in weblogic 7.0. This session bean imports some external utility classes created by us.
And while deployment weblogic is continously giving us error:

Unable to load a class specified in your ejb-jar.xml: Class bytes found but defineClass()failed for: ''
(Here RequestAdvanceSB is our session bean.)

The same bean works fine on weblogic 8.1.

If any body has faced and rectified such a problem please help us out.


Vikas Aggarwal

Founder @
Leads and Deals Limited
I agree. Here's the link:
subject: Weblogic 7.0 ejb-jar.xml defineClass()failed Problem
jQuery in Action, 3rd edition