Basically, the error caused by unsafed java type if both of war and ejb-jar in
your application try to access some "shared" java classes/objects, but the
"shared" java classes are duplicated in war and ejb-jar.
To fix the problem, you should try to reorganize the application structure and
configuration file correctly, so that the shared java classes(by war and
ejb-jar) have only one apperance in the application/file structure.
There are two ways to fix the problem.
1) you may put all files shared by war and ejb-jar to a libraby developed and
built by yourself, say common.jar, and added the following to your jboss
applicaiton.xml.
common.jar
OR,
2) you may put the shared files in ejb-jar only, which can also be accessed by
war.
either of the above approach should work(I tested both of them, works well).
Sorry for the late response. Was busy at a project work.
Happy Christmas and New Year !
Frank
Sun Certified Enterrpised Architect
[EMAIL PROTECTED]
12/23/2005
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3914201#3914201
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3914201
-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user