hello
solution you can use OJB whith JNDI tomcat resources !
you add defaultBroket to server.xml ressources and alle webapp can acces to same repository.xml


I'm running 2 seperate apps in one Tomcat server. Both use ojb to access
the db.
With one app this works fine. But the second app uses the same
connection the first one uses.

Both apps get the PersistanceBroker with
PersistenceBrokerFactory.getDefaultPersistanceBroker(). But I have two
separate repository_database.xml for each app.

Is there only one defaultPersistanceBroker in my Tomcat runtime
environment?
How can I run several apps? Using PBKey top create my PersistanceBroker.
Which of my repository_database.xml will be used?

Thanks for help
Markus







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



Reply via email to