Thank you for letting me know. I am curious then if there are issues with multiple PersistanceBrokers running at the same time. I am working on an application in which I was planning to deploy a series of objects using soap to provide various services to a web front end for now, but later a desktop app as well. I wanted to use OJB in these various soap objects, and I thought it may be more efficient to run the server, and have the soap services talk to the server. In light of this I can fetch PersistanceBroker for each soap service and try to join as many related tasks as I can in each soap service but anyway you look at it there will be multiple PersistanceBrokers in this case fetchng objects for the same database. Could this generate issues?
Ben Hakala On Sun, 2003-02-23 at 23:02, Thomas Mahler wrote: > Hi Ben, > > The C/S mode is currently out of order. You won't need it for 99% of all > app scenarios. We are currently discussing how it can be fixed / replaced. > > So, just don't use it. > cheers, > Thomas > > Ben wrote: > > Hi I am new to OJB I can get it to work fine in the single JVM mode. > > When I try to get it to run in client/server mode it keeps giving me the > > error below. This happens whether I am running the bin/server.sh for > > the tutorials, or the shell script I wrote to run the app I am working > > on that uses a different repository. I have read through the docs and > > there is not much on this subject. Does anyone have any suggestions? > > > > Ben Hakala > > _ _ > > __ (_)| |_ > > / _\| || _ \ ~ be persistent ~ > > \__/| ||___/ v. 0.9.9 > > /_/ > > > > PersistenceBrokerServer starting... > > [org.apache.ojb.broker.metadata.ConnectionRepository] INFO: Could not > > found org.apache.ojb.broker.metadata.JdbcConnectionDescriptor for PBKey > > org.apache.ojb.broker.PBKey: > > repository=/var/tomcat4/common/classes/repository.xml, user=null, > > password=null > > [org.apache.ojb.broker.accesslayer.ConnectionManagerFactory] ERROR: > > ConfigurableFactory instantiation failed for class class > > org.apache.ojb.broker.accesslayer.ConnectionManagerImpl > > * Factory types: > > 1 - Type: org.apache.ojb.broker.PersistenceBroker > > * Factory arguments: > > 1 - Argument: > > [EMAIL PROTECTED] > > null > > java.lang.reflect.InvocationTargetException > > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > > Method) > > at > > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) > > at > > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) > > at > > java.lang.reflect.Constructor.newInstance(Constructor.java:274) > > at org.apache.ojb.broker.util.ClassHelper.newInstance(Unknown > > Source) > > at > > org.apache.ojb.broker.util.factory.ConfigurableFactory.createNewInstance(Unknown > > Source) > > at > > org.apache.ojb.broker.util.factory.ConfigurableFactory.createNewInstance(Unknown > > Source) > > at > > org.apache.ojb.broker.accesslayer.ConnectionManagerFactory.createConnectionManager(Unknown > > Source) > > at > > org.apache.ojb.broker.singlevm.PersistenceBrokerImpl.<init>(Unknown > > Source) > > at org.apache.ojb.broker.server.BrokerPool.<init>(Unknown > > Source) > > at > > org.apache.ojb.broker.server.PersistenceBrokerServer.<init>(Unknown > > Source) > > at > > org.apache.ojb.broker.server.PersistenceBrokerServer.main(Unknown > > Source) > > Caused by: java.lang.NullPointerException > > at > > org.apache.ojb.broker.platforms.PlatformFactory.getPlatformFor(Unknown > > Source) > > at > > org.apache.ojb.broker.accesslayer.ConnectionManagerImpl.<init>(Unknown > > Source) > > ... 12 more > > java.lang.reflect.InvocationTargetException > > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > > Method) > > at > > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) > > at > > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) > > at > > java.lang.reflect.Constructor.newInstance(Constructor.java:274) > > at org.apache.ojb.broker.util.ClassHelper.newInstance(Unknown > > Source) > > at > > org.apache.ojb.broker.util.factory.ConfigurableFactory.createNewInstance(Unknown > > Source) > > at > > org.apache.ojb.broker.util.factory.ConfigurableFactory.createNewInstance(Unknown > > Source) > > at > > org.apache.ojb.broker.accesslayer.ConnectionManagerFactory.createConnectionManager(Unknown > > Source) > > at > > org.apache.ojb.broker.singlevm.PersistenceBrokerImpl.<init>(Unknown > > Source) > > at org.apache.ojb.broker.server.BrokerPool.<init>(Unknown > > Source) > > at > > org.apache.ojb.broker.server.PersistenceBrokerServer.<init>(Unknown > > Source) > > at > > org.apache.ojb.broker.server.PersistenceBrokerServer.main(Unknown > > Source) > > Caused by: java.lang.NullPointerException > > at > > org.apache.ojb.broker.platforms.PlatformFactory.getPlatformFor(Unknown > > Source) > > at > > org.apache.ojb.broker.accesslayer.ConnectionManagerImpl.<init>(Unknown > > Source) > > ... 12 more > > rethrown as org.apache.ojb.broker.PersistenceBrokerException > > at > > org.apache.ojb.broker.util.factory.ConfigurableFactory.createNewInstance(Unknown > > Source) > > at > > org.apache.ojb.broker.util.factory.ConfigurableFactory.createNewInstance(Unknown > > Source) > > at > > org.apache.ojb.broker.accesslayer.ConnectionManagerFactory.createConnectionManager(Unknown > > Source) > > at > > org.apache.ojb.broker.singlevm.PersistenceBrokerImpl.<init>(Unknown > > Source) > > at org.apache.ojb.broker.server.BrokerPool.<init>(Unknown > > Source) > > at > > org.apache.ojb.broker.server.PersistenceBrokerServer.<init>(Unknown > > Source) > > at > > org.apache.ojb.broker.server.PersistenceBrokerServer.main(Unknown > > Source) > > Caused by: java.lang.reflect.InvocationTargetException > > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > > Method) > > at > > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) > > at > > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) > > at > > java.lang.reflect.Constructor.newInstance(Constructor.java:274) > > at org.apache.ojb.broker.util.ClassHelper.newInstance(Unknown > > Source) > > ... 7 more > > Caused by: java.lang.NullPointerException > > at > > org.apache.ojb.broker.platforms.PlatformFactory.getPlatformFor(Unknown > > Source) > > at > > org.apache.ojb.broker.accesslayer.ConnectionManagerImpl.<init>(Unknown > > Source) > > ... 12 more > > [org.apache.ojb.broker.server.BrokerPool] FATAL: null > > java.lang.reflect.InvocationTargetException > > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > > Method) > > at > > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) > > at > > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) > > at > > java.lang.reflect.Constructor.newInstance(Constructor.java:274) > > at org.apache.ojb.broker.util.ClassHelper.newInstance(Unknown > > Source) > > at > > org.apache.ojb.broker.util.factory.ConfigurableFactory.createNewInstance(Unknown > > Source) > > at > > org.apache.ojb.broker.util.factory.ConfigurableFactory.createNewInstance(Unknown > > Source) > > at > > org.apache.ojb.broker.accesslayer.ConnectionManagerFactory.createConnectionManager(Unknown > > Source) > > at > > org.apache.ojb.broker.singlevm.PersistenceBrokerImpl.<init>(Unknown > > Source) > > at org.apache.ojb.broker.server.BrokerPool.<init>(Unknown > > Source) > > at > > org.apache.ojb.broker.server.PersistenceBrokerServer.<init>(Unknown > > Source) > > at > > org.apache.ojb.broker.server.PersistenceBrokerServer.main(Unknown > > Source) > > Caused by: java.lang.NullPointerException > > at > > org.apache.ojb.broker.platforms.PlatformFactory.getPlatformFor(Unknown > > Source) > > at > > org.apache.ojb.broker.accesslayer.ConnectionManagerImpl.<init>(Unknown > > Source) > > ... 12 more > > rethrown as org.apache.ojb.broker.PersistenceBrokerException > > at > > org.apache.ojb.broker.util.factory.ConfigurableFactory.createNewInstance(Unknown > > Source) > > at > > org.apache.ojb.broker.util.factory.ConfigurableFactory.createNewInstance(Unknown > > Source) > > at > > org.apache.ojb.broker.accesslayer.ConnectionManagerFactory.createConnectionManager(Unknown > > Source) > > at > > org.apache.ojb.broker.singlevm.PersistenceBrokerImpl.<init>(Unknown > > Source) > > at org.apache.ojb.broker.server.BrokerPool.<init>(Unknown > > Source) > > at > > org.apache.ojb.broker.server.PersistenceBrokerServer.<init>(Unknown > > Source) > > at > > org.apache.ojb.broker.server.PersistenceBrokerServer.main(Unknown > > Source) > > Caused by: java.lang.reflect.InvocationTargetException > > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > > Method) > > at > > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) > > at > > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) > > at > > java.lang.reflect.Constructor.newInstance(Constructor.java:274) > > at org.apache.ojb.broker.util.ClassHelper.newInstance(Unknown > > Source) > > ... 7 more > > Caused by: java.lang.NullPointerException > > at > > org.apache.ojb.broker.platforms.PlatformFactory.getPlatformFor(Unknown > > Source) > > at > > org.apache.ojb.broker.accesslayer.ConnectionManagerImpl.<init>(Unknown > > Source) > > ... 12 more > > > > > > > > --------------------------------------------------------------------- > > 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
