db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ravi" <r...@harbinger-systems.com>
Subject hi ! facing problem while connecting to oracle (IMP**)
Date Wed, 03 Dec 2003 07:00:54 GMT






hi 
 this is RaviKumar from harbinger Systems,Pune,India
 we are using torque (ORM) frame work..we were facing problems while connecting database oracle
therough Base or BasePeer class... here i am giving runtime exception along with my torque
properties file...
could you guide me what changes i have to make in my torque.properties file so that i can
fix my runtime exceptions..
looking faward to your valueable suggestion
regards
RaviKumar

Error:
org.apache.torque.TorqueException: Attempt to register pool for database dblms t
hat is not configured in Torque.properties
        at org.apache.torque.Torque.getPool(Unknown Source)
        at org.apache.torque.Torque.getConnection(Unknown Source)
        at org.apache.torque.util.BasePeer.doInsert(Unknown Source)
        at com.lms.persist.BaseCustomerPeer.doInsert(BaseCustomerPeer.java:173)
        at com.lms.persist.BaseCustomerPeer.doInsert(BaseCustomerPeer.java:151)
        at com.lms.persist.BaseCustomerPeer.doInsert(BaseCustomerPeer.java:431)
        at Tester.main(Tester.java:24)
rethrown as org.apache.torque.TorqueException: Attempt to register pool for data
base dblms that is not configured in Torque.properties
        at org.apache.torque.Torque.getConnection(Unknown Source)
        at org.apache.torque.util.BasePeer.doInsert(Unknown Source)
        at com.lms.persist.BaseCustomerPeer.doInsert(BaseCustomerPeer.java:173)
        at com.lms.persist.BaseCustomerPeer.doInsert(BaseCustomerPeer.java:151)
        at com.lms.persist.BaseCustomerPeer.doInsert(BaseCustomerPeer.java:431)
        at Tester.main(Tester.java:24)
Caused by: org.apache.torque.TorqueException: Attempt to register pool for datab
ase dblms that is not configured in Torque.properties
        at org.apache.torque.Torque.getPool(Unknown Source)
        ... 6 more





Ravi kumar
Software Engineer
Harbinger Systems Pvt Ltd
55, Anmol, 
Paud Road, Pune - 411 029, 
Phone: +91 20 544 9683 Ext:222
moblie:91-9822647206




Mime
View raw message