Yes you're right.  It was a stupid mistake.  The jibx-run.jar and xpp3.jar
were in my .ear file but I forgot to reference them through the MANIFEST of
my EJB jar file.

Thanks,

Fran�ois

-----Original Message-----
From: Dennis Sosnoski [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 14, 2005 6:29 PM
To: [email protected]
Subject: Re: [jibx-users] Deploying Jibx Binded Files in Jboss


Nothing comes to mind for me. I've used JiBX bindings with EJBs in the 
past. The only issue I remember occurred when I wanted to use the 
classes with the JiBX modifications in a web app (war) while using 
unbound classes in the actual EJBs (ear). This created a problem because 
the unbound classes were being found first and used even by the web app 
code. I know I got around this by packaging things differently, but 
don't remember the details.

I suspect some kind of classpath issue on this. All I can suggest is you 
double-check your jar structures and such.

  - Dennis

Francois Eric wrote:

>Hello,
>
>I have a peculiar problem.  I don't know if this issue has been raised
before
>but I haven't seen anything.
>
>When I deploy my <ejb>.jar file to jboss with my POJOs packaged normally,
it
>deploys fine.  But when I bind the POJOs to my JiBX binding file, package
my
>jar with the "byte code modified" POJOs and binding classes and deploy the
jar
>I get the following error:
>
>java.lang.NoClassDefFoundError: bl/report/to/ReportDefinitionTO
>
>And this class is packaged in my jar.  The only difference is that I
altered the
>byte code to this class when binding with JiBX.
>
>Any idea what the problem could be?
>
>By the way, I'm using Jboss 3.2.5
>
>Francois
>
>PS: I never had any problem deploying a war file with POJOs "modified" by
JIBX
>in a web container but now am seeing problems with the ejb container (???).
>
>
>
>-------------------------------------------------------
>SF email is sponsored by - The IT Product Guide
>Read honest & candid reviews on hundreds of IT Products from real users.
>Discover which products truly live up to the hype. Start reading now.
>http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
>_______________________________________________
>jibx-users mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/jibx-users
>
>  
>


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to