Hi all,

I have two different J2EE applications in two .EAR in a single JBoss.
Each application is going to connect to its' own database through Torque.
So, each application has its' own Torque.properties etc.

Let's name these two applications with App1.ear and App2.ear. Now, if I
connect to App1.ear first, the db connection in App2.ear can't be
initialized. So does vice-versa.

Does that means I can't have two Torques running in two separate
applications? 

Thanks.

=============================

The error message is as follows

[LogInterceptor] TransactionRolledbackLocalException, causedBy:
java.lang.NullPointerException
        at org.apache.torque.Torque.initialize(Torque.java:240)
        at org.apache.torque.Torque.init(Torque.java:406)
        at
        com.xcompany.api.dao.DAOFactory.getInstance(DAOFactory.java:55)
        at
        com.xcompany.security.xdoclet.security.bean.UserMapSBean.searchUserMap(Unknown
        Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
        sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
        
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)

-----------------------------
Mujahid Malaysia
"Kembalikan Keagungan Islam"

-- 
http://www.fastmail.fm - One of many happy users:
  http://www.fastmail.fm/docs/quotes.html

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to