Torque without pooling?

2003-08-10 Thread Frank Segieth
i installed jetspeed at my isv.
they support jsp servlets .. blah ...
but they don't support
- servlet mapping
- connection pooling
in my torque.properties i have the following lines

torque.database.default.adapter=mysql
### torque.database.default.adapter=oracle
### torque.database.default.adapter=mssql
torque.dsfactory.default.connection.driver = org.gjt.mm.mysql.Driver
torque.dsfactory.default.connection.url = 
jdbc:mysql://localhost:3306/segieth
torque.dsfactory.default.connection.user =
torque.dsfactory.default.connection.password = 

torque.dsfactory.default.factory=org.apache.torque.dsfactory.TorqueDataSourceFactory
# The number of database connections to cache per ConnectionPool 
instance (specified per database)
torque.dsfactory.default.pool.defaultMaxConnections=10
torque.dsfactory.default.pool.maxExpiryTime=3600
torque.dsfactory.default.pool.connectionWaitTimeout=10

From time to time i get the following exception

Horrible Exception: org.apache.jetspeed.services.security.LoginException
[...]
Connection object was null. This could be due to a misconfiguration of 
the DataSourceFactory. Check the logs and Torque.properties to better 
determine the cause.

i suspect the 11th Connection ist the bad apple :-)
is there a way to tell torque not to pool the connections?
can i reset the connection pool if all connections in the pool are null?
- have i to overwrite the class?
tia
frank


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


does anybody use jetspeed with mysql?

2003-08-04 Thread Frank Segieth


Frank Segieth wrote:
hi,

i have a problem installing jetspeed on a tomcat 3.? and mysql
i get an
**
Horrible Exception: java.lang.NoClassDefFoundError: 
org/apache/jetspeed/om/security/turbine/BaseTurbineUserPeer at 
org.apache.jetspeed.services.security.turbine.TurbineUserManagement.getUser(TurbineUserManagement.java:161) 
at 
org.apache.jetspeed.services.JetspeedUserManagement.getUser(JetspeedUserManagement.java:98) 
at
**
i have the jdbc driver installed a test.jsp besides the index.jsp of 
jetspeed works fine with it
i have the Torque.properties edited like this

**
database.default=default
torque.database.default.adapter=mysql
torque.dsfactory.default.connection.driver = org.gjt.mm.mysql.Driver
torque.dsfactory.default.connection.url = 
jdbc:mysql://localhost:3306/***
torque.dsfactory.default.connection.user = ***
torque.dsfactory.default.connection.password = ***
**

and i have my db tables created and populated with the given scripts.

where did i fail?

tia frank

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


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


install on tomcat 3.? and mysql

2003-08-03 Thread Frank Segieth
hi,

i have a problem installing jetspeed on a tomcat 3.? and mysql
i get an
**
Horrible Exception: java.lang.NoClassDefFoundError: 
org/apache/jetspeed/om/security/turbine/BaseTurbineUserPeer at 
org.apache.jetspeed.services.security.turbine.TurbineUserManagement.getUser(TurbineUserManagement.java:161) 
at 
org.apache.jetspeed.services.JetspeedUserManagement.getUser(JetspeedUserManagement.java:98) 
at
**
i have the jdbc driver installed a test.jsp besides the index.jsp of 
jetspeed works fine with it
i have the Torque.properties edited like this

**
database.default=default
torque.database.default.adapter=mysql
torque.dsfactory.default.connection.driver = org.gjt.mm.mysql.Driver
torque.dsfactory.default.connection.url = 
jdbc:mysql://localhost:3306/***
torque.dsfactory.default.connection.user = ***
torque.dsfactory.default.connection.password = ***
**

and i have my db tables created and populated with the given scripts.

where did i fail?

tia frank

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