db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "salinaale\@inwind\.it" <salina...@inwind.it>
Subject Problem with torque and websphere
Date Mon, 18 Aug 2003 12:58:57 GMT
Sorry if this is the second time i post this message, but i need to solve this problem.....

i've configured the websphere pool so that it can be used with an Oracle DB.
When i try to use it with torque i get this error message: 

javax.naming.NoInitialContextException: Cannot instantiate class:
com.ibm.websphere.naming.WsnInitialContextFactory.  Root exception is
java.lang.ClassCastException: com.ibm.websphere.naming.WsnInitialContextFactory
        at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:659)
        at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:250)
        at javax.naming.InitialContext.init(InitialContext.java:226)
        at javax.naming.InitialContext.<init>(InitialContext.java:182)
        at org.apache.torque.Torque.initDataSourceFactories(Torque.java:323)
        at org.apache.torque.Torque.initialize(Torque.java:237)
        at org.apache.torque.Torque.init(Torque.java:406)
        at org.apache.torque.Torque.init(Torque.java:386)

I create a simple jsp that i use to test the connection pool... in other webapp it's run ok...
now.... maybe some library of torque are not compatible with websphere 4.0 lib's???

Someone are using torque with websphere???


To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org

View raw message