I believe one of the changes from 2.2 to 2.4 was that 2.4 includes 
log4j. What you're seeing is probably from a ClassCastException where 
there are two copies of org.apache.log4j.Category - one in your 
application and one in JBoss' lib/ext directory.

Try taking all log4j classes out of your application. You'll also want 
to set up your categories in the log4j.properties in the JBoss conf 
subdirectory that corresponds to the configuration you're running.

hth,
danch

[EMAIL PROTECTED] wrote:
> I have a problem in JBoss2-4.4. I have several bean that use log4j to log
> some aplication event. Thats beans work fine in JBoss-2.2, but when I try
> to use JBoss-2.4.4 I get an error:
> "java.rmi.ServerException: RemoteException occurred in server thread;
> nested exception is:
>     java.rmi.ServerException: Transaction rolled
> back:org/apache/log4j/Category
> java.rmi.ServerException: Transaction rolled
> back:org/apache/log4j/Category"
> I try to enable and disable the Log4jService but nothing happen.
> I used my own category file.
> 
> Operation System: HP-UX 11
> JDK: 1.3
> 
> What can I do to solve my problem? I need to solve it quickly.
> 
> Please Help.
> Regards.
> Alejandro
> 
> 
> 
> _______________________________________________________________
> 
> Don't miss the 2002 Sprint PCS Application Developer's Conference
> August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
> 
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 



-- 

=========================================================================
Disclaimer:
All statements are my own, personal opinions and have nothing to do
with the opinions of employer, wife, or cat. They may not have anything
to do with objective reality, as a matter of fact. Your Milage May Vary, 
Excludes Delivery Charges, etc.
=========================================================================


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to