Hi,

I'm trying to run Fusion on WebSphere 5.1.  I'm getting errors that the jndi 
name "java:comp/env/jdbc/jetspeed" can't be found.  However, that's not the 
name of the data source I've configured in Torque.properties.

I've traced this down to org.apache.ojb.broker.metadata.MetadataManager.  This 
class is loading a datasource definition from the file 
"repository_database.xml" in the jetspeed-2.0-M3.jar file.  Does anyone know 
why it's trying to connect to a datasource that's hard-coded in this xml file?  
Did I not configure something so that it's now using a default?  Do I have a 
service enabled that I shouldn't?

I'm pasting the errors below.

Thanks,

Udo Hoerhold


[org.apache.ojb.broker.accesslayer.ConnectionFactoryAbstractImpl] ERROR: Naming 
Exception while looking up DataSource (java:comp/env/jdbc/jetspeed)
[7/21/05 15:29:16:469 EDT] 35db7efa SystemOut     O Name comp/env/jdbc not 
found in context "java:".
[org.apache.ojb.broker.accesslayer.JdbcAccessImpl] ERROR: 
PersistenceBrokerException during the execution of the query: Used 
ConnectionManager instance could not obtain a connection
[7/21/05 15:29:16:625 EDT] 35db7efa SystemOut     O Used ConnectionManager 
instance could not obtain a connection
[Servlet.LOG]: JetspeedContainerServlet: initialization failed for Portlet 
Application at: serviceportal: 
org.springframework.orm.ojb.OjbOperationException: OJB operation failed; nested 
exception is org.apache.ojb.broker.PersistenceBrokerException: Used 
ConnectionManager instance could not obtain a connection
org.apache.ojb.broker.PersistenceBrokerException: Used ConnectionManager 
instance could not obtain a connection
        at 
org.apache.ojb.broker.accesslayer.StatementManager.getPreparedStatement(StatementManager.java:641)
        at 
org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeQuery(JdbcAccessImpl.java:277)
        at 
org.apache.ojb.broker.accesslayer.RsQueryObject.performQuery(RsQueryObject.java:74)
        at 
org.apache.ojb.broker.accesslayer.RsIterator.<init>(RsIterator.java:183)
        at 
org.apache.ojb.broker.core.RsIteratorFactoryImpl.createRsIterator(RsIteratorFactoryImpl.java:58)
        at 
org.apache.ojb.broker.core.PersistenceBrokerImpl.getRsIteratorFromQuery(PersistenceBrokerImpl.java:1808)
        at 
org.apache.ojb.broker.core.PersistenceBrokerImpl.getIteratorFromQuery(PersistenceBrokerImpl.java:1333)

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

Reply via email to