I'm facing the following problem:

I have 2 applications, an EAR file and a WAR file. Both files use jfreechart 
and jcommon jars, and, as the EAR, the WAR have the jfree and jcommon jars 
packed inside it. So I have this structure:

EAR
|-jcommon.jar
|-jfreechart.jar

WAR
|-jcommon.jar
|-jfreechart.jar


I'm using JBOSS 4.0.3SP1 version, in WinXP.

but I'm facing the problem that when I call the function to generate graphics 
(that need to use the the jcommon and jfreechart jars), I have a 
"java.lang.LinkageError: loader constraints violated when linking ... (name of 
jfreechart package)"... so I realize that I can't have these jar duplicated in 
the EAR and in the WAR... to fix the problem I've extracted them from the ear 
and the war and putted in server/default/lib... but that is not a good thing...

Anyone have any idea for solving this problem? I really need to use that 
structure I discribed before...

thanks a lot...

Vitor Isaia
Brasil


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3912610#3912610

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3912610


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to