RE: Creation of a new PB instance failed
Could be. I know I'm using rc1, but I copied the properties file from one of the examples. Going to try rc2 now and see if that helps. Thanks for your assistance, I'll let you know how it goes... -Original Message- From: Armin Waibel [mailto:[EMAIL PROTECTED] Sent: Saturday, March 29, 2003 8:00 PM To: OJB Users List Subject: Re: Creation of a new PB instance failed Hi, if you use rc1 all these entries are in OJB.properties file, thus you don't use rc1 or you mixed some files. Please check your classpath if you have more than one OJB.properties file in (maybe from the struts stuff) regards, Armin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Creation of a new PB instance failed
Hi, if you use rc1 all these entries are in OJB.properties file, thus you don't use rc1 or you mixed some files. Please check your classpath if you have more than one OJB.properties file in (maybe from the struts stuff) regards, Armin - Original Message - From: "BURT, RANDALL (CONTRACTOR)" <[EMAIL PROTECTED]> To: "OJB Users List" <[EMAIL PROTECTED]> Sent: Saturday, March 29, 2003 10:41 PM Subject: RE: Creation of a new PB instance failed Adding that line to the configuration didn't help, I'm still getting: [org.apache.ojb.broker.ta.PersistenceBrokerFactoryDefaultImpl] INFO: Set default PBKey: org.apache.ojb.broker.PBKey: repository=default, user=sa, password=* [org.apache.ojb.broker.accesslayer.JdbcAccessFactory] ERROR: ConfigurableFactory configuration key class 'null' does not exist. [org.apache.ojb.broker.ta.PersistenceBrokerFactoryDefaultImpl] ERROR: Creation of a new PB instance failed null Still stumped... Message- From: BURT, RANDALL (CONTRACTOR) Sent: Saturday, March 29, 2003 1:57 PM To: OJB Users List Subject: RE: Creation of a new PB instance failed Nope. I don't have that entry in OJB.properties. I have a ConnectionFactoryClass entry like so: ConnectionFactoryClass=org.apache.ojb.broker.accesslayer.ConnectionFacto ryDefaultImpl Not using pooling right now, as we are early in development. I will add the line you sent and let you know if it works. -Original Message- From: Jakob Braeuchi [mailto:[EMAIL PROTECTED] Sent: Saturday, March 29, 2003 1:43 PM To: OJB Users List Subject: Re: Creation of a new PB instance failed and this is the connection manager entry: ConnectionManagerClass=org.apache.ojb.broker.accesslayer.ConnectionManag erImpl hth jakob - 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]
RE: Creation of a new PB instance failed
Adding that line to the configuration didn't help, I'm still getting: [org.apache.ojb.broker.ta.PersistenceBrokerFactoryDefaultImpl] INFO: Set default PBKey: org.apache.ojb.broker.PBKey: repository=default, user=sa, password=* [org.apache.ojb.broker.accesslayer.JdbcAccessFactory] ERROR: ConfigurableFactory configuration key class 'null' does not exist. [org.apache.ojb.broker.ta.PersistenceBrokerFactoryDefaultImpl] ERROR: Creation of a new PB instance failed null Still stumped... Message- From: BURT, RANDALL (CONTRACTOR) Sent: Saturday, March 29, 2003 1:57 PM To: OJB Users List Subject: RE: Creation of a new PB instance failed Nope. I don't have that entry in OJB.properties. I have a ConnectionFactoryClass entry like so: ConnectionFactoryClass=org.apache.ojb.broker.accesslayer.ConnectionFactoryDefaultImpl Not using pooling right now, as we are early in development. I will add the line you sent and let you know if it works. -Original Message- From: Jakob Braeuchi [mailto:[EMAIL PROTECTED] Sent: Saturday, March 29, 2003 1:43 PM To: OJB Users List Subject: Re: Creation of a new PB instance failed and this is the connection manager entry: ConnectionManagerClass=org.apache.ojb.broker.accesslayer.ConnectionManagerImpl hth jakob - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Creation of a new PB instance failed
Nope. I don't have that entry in OJB.properties. I have a ConnectionFactoryClass entry like so: ConnectionFactoryClass=org.apache.ojb.broker.accesslayer.ConnectionFactoryDefaultImpl Not using pooling right now, as we are early in development. I will add the line you sent and let you know if it works. -Original Message- From: Jakob Braeuchi [mailto:[EMAIL PROTECTED] Sent: Saturday, March 29, 2003 1:43 PM To: OJB Users List Subject: Re: Creation of a new PB instance failed and this is the connection manager entry: ConnectionManagerClass=org.apache.ojb.broker.accesslayer.ConnectionManagerImpl hth jakob BURT, RANDALL (CONTRACTOR) wrote: >Yes, as copied from my OJB.properties: >(...) ># The PersistenceBrokerFactoryClass entry decides which concrete ># PersistenceBrokerFactory implemention is to be used. ># Use this by for non-managed environments: >PersistenceBrokerFactoryClass=org.apache.ojb.broker.ta.PersistenceBrokerFactoryDefaultImpl >(...) ># The PersistenceBrokerClass entry decides which concrete PersistenceBroker ># implementation is to be served by the PersistenceBrokerFactory. ># This is the singlevm implementation: >PersistenceBrokerClass=org.apache.ojb.broker.singlevm.PersistenceBrokerImpl >(...) > >-Original Message- >From: Jakob Braeuchi [mailto:[EMAIL PROTECTED] >Sent: Saturday, March 29, 2003 1:22 PM >To: OJB Users List >Subject: Re: Creation of a new PB instance failed > > >hi burt, > >and you also have thse entries in ojb.properties ? > >PersistenceBrokerFactoryClass=org.apache.ojb.broker.ta.PersistenceBrokerFactoryDefaultImpl >PersistenceBrokerClass=org.apache.ojb.broker.singlevm.PersistenceBrokerImpl > >jakob > >- >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]
Re: Creation of a new PB instance failed
and this is the connection manager entry: ConnectionManagerClass=org.apache.ojb.broker.accesslayer.ConnectionManagerImpl hth jakob BURT, RANDALL (CONTRACTOR) wrote: Yes, as copied from my OJB.properties: (...) # The PersistenceBrokerFactoryClass entry decides which concrete # PersistenceBrokerFactory implemention is to be used. # Use this by for non-managed environments: PersistenceBrokerFactoryClass=org.apache.ojb.broker.ta.PersistenceBrokerFactoryDefaultImpl (...) # The PersistenceBrokerClass entry decides which concrete PersistenceBroker # implementation is to be served by the PersistenceBrokerFactory. # This is the singlevm implementation: PersistenceBrokerClass=org.apache.ojb.broker.singlevm.PersistenceBrokerImpl (...) -Original Message- From: Jakob Braeuchi [mailto:[EMAIL PROTECTED] Sent: Saturday, March 29, 2003 1:22 PM To: OJB Users List Subject: Re: Creation of a new PB instance failed hi burt, and you also have thse entries in ojb.properties ? PersistenceBrokerFactoryClass=org.apache.ojb.broker.ta.PersistenceBrokerFactoryDefaultImpl PersistenceBrokerClass=org.apache.ojb.broker.singlevm.PersistenceBrokerImpl jakob - 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]
RE: Creation of a new PB instance failed
Yes, as copied from my OJB.properties: (...) # The PersistenceBrokerFactoryClass entry decides which concrete # PersistenceBrokerFactory implemention is to be used. # Use this by for non-managed environments: PersistenceBrokerFactoryClass=org.apache.ojb.broker.ta.PersistenceBrokerFactoryDefaultImpl (...) # The PersistenceBrokerClass entry decides which concrete PersistenceBroker # implementation is to be served by the PersistenceBrokerFactory. # This is the singlevm implementation: PersistenceBrokerClass=org.apache.ojb.broker.singlevm.PersistenceBrokerImpl (...) -Original Message- From: Jakob Braeuchi [mailto:[EMAIL PROTECTED] Sent: Saturday, March 29, 2003 1:22 PM To: OJB Users List Subject: Re: Creation of a new PB instance failed hi burt, and you also have thse entries in ojb.properties ? PersistenceBrokerFactoryClass=org.apache.ojb.broker.ta.PersistenceBrokerFactoryDefaultImpl PersistenceBrokerClass=org.apache.ojb.broker.singlevm.PersistenceBrokerImpl jakob - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Creation of a new PB instance failed
No, this is the only version I have used. However, ConnectionManagerClass does not seem to be specified in my OJB.properties file... -Original Message- From: Armin Waibel [mailto:[EMAIL PROTECTED] Sent: Saturday, March 29, 2003 1:17 PM To: OJB Users List Subject: Re: Creation of a new PB instance failed Do you update from an older version and do not replace all configuration files? E.g. do not replace OJB.properties file? Or the OJB.properties file was not found? Seems property 'ConnectionManagerClass' could not be found. regards, Armin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Creation of a new PB instance failed
hi burt, and you also have thse entries in ojb.properties ? PersistenceBrokerFactoryClass=org.apache.ojb.broker.ta.PersistenceBrokerFactoryDefaultImpl PersistenceBrokerClass=org.apache.ojb.broker.singlevm.PersistenceBrokerImpl jakob BURT, RANDALL (CONTRACTOR) wrote: Yup. My connection descriptor looks like: -Original Message- From: Jakob Braeuchi [mailto:[EMAIL PROTECTED] Sent: Saturday, March 29, 2003 1:09 PM To: OJB Users List Subject: Re: Creation of a new PB instance failed hi burt, do you have a default jcd-alias in your conncetion-descriptor ? jakob BURT, RANDALL (CONTRACTOR) wrote: Hi! I'm new to OJB, and was banging my head against the following error: [org.apache.ojb.broker.ta.PersistenceBrokerFactoryDefaultImpl] INFO: Set default PBKey: org.apache.ojb.broker.PBKey: repository=default, user=sa, password=* [org.apache.ojb.broker.accesslayer.ConnectionManagerFactory] ERROR: Configurable Factory configuration key class 'null' does not exist. [org.apache.ojb.broker.ta.PersistenceBrokerFactoryDefaultImpl] ERROR: Creation of a new PB instance failed null I'm using OJB 1.0-rc1, Tomcat 4.1, Struts (latest stable release), MSSql Server 7, and the jtds-0.4 jdbc driver on Windows 2000. I can't seem to find the problem and was wondering if anyone had any suggestions. I'll provide my repository metadata and database layout if you need it. As an aside, I tried searching the mailing list archives, but could not get the page to display message contents other than: $msgHeaders - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Creation of a new PB instance failed
Do you update from an older version and do not replace all configuration files? E.g. do not replace OJB.properties file? Or the OJB.properties file was not found? Seems property 'ConnectionManagerClass' could not be found. regards, Armin - Original Message - From: "BURT, RANDALL (CONTRACTOR)" <[EMAIL PROTECTED]> To: "OJB Users List" <[EMAIL PROTECTED]> Sent: Saturday, March 29, 2003 8:10 PM Subject: RE: Creation of a new PB instance failed Yup. My connection descriptor looks like: -Original Message- From: Jakob Braeuchi [mailto:[EMAIL PROTECTED] Sent: Saturday, March 29, 2003 1:09 PM To: OJB Users List Subject: Re: Creation of a new PB instance failed hi burt, do you have a default jcd-alias in your conncetion-descriptor ? Hi! I'm new to OJB, and was banging my head against the following error: > >[org.apache.ojb.broker.ta.PersistenceBrokerFactoryDefaultImpl] INFO: Set default PBKey: org.apache.ojb.broker.PBKey: repository=default, user=sa, password=* >[org.apache.ojb.broker.accesslayer.ConnectionManagerFactory] ERROR: Configurable Factory configuration key class 'null' does not exist. >[org.apache.ojb.broker.ta.PersistenceBrokerFactoryDefaultImpl] ERROR: Creation of a new PB instance failed >null > >I'm using OJB 1.0-rc1, Tomcat 4.1, Struts (latest stable release), MSSql Server 7, and the jtds-0.4 jdbc driver on Windows 2000. I can't seem to find the problem and was wondering if anyone had any suggestions. I'll provide my repository metadata and database layout if you need it. > >As an aside, I tried searching the mailing list archives, but could not get the page to display message contents other than: > >$msgHeaders > >- >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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Creation of a new PB instance failed
Yup. My connection descriptor looks like: -Original Message- From: Jakob Braeuchi [mailto:[EMAIL PROTECTED] Sent: Saturday, March 29, 2003 1:09 PM To: OJB Users List Subject: Re: Creation of a new PB instance failed hi burt, do you have a default jcd-alias in your conncetion-descriptor ? Hi! I'm new to OJB, and was banging my head against the following error: > >[org.apache.ojb.broker.ta.PersistenceBrokerFactoryDefaultImpl] INFO: Set default >PBKey: org.apache.ojb.broker.PBKey: repository=default, user=sa, password=* >[org.apache.ojb.broker.accesslayer.ConnectionManagerFactory] ERROR: Configurable >Factory configuration key class 'null' does not exist. >[org.apache.ojb.broker.ta.PersistenceBrokerFactoryDefaultImpl] ERROR: Creation of a >new PB instance failed >null > >I'm using OJB 1.0-rc1, Tomcat 4.1, Struts (latest stable release), MSSql Server 7, >and the jtds-0.4 jdbc driver on Windows 2000. I can't seem to find the problem and >was wondering if anyone had any suggestions. I'll provide my repository metadata and >database layout if you need it. > >As an aside, I tried searching the mailing list archives, but could not get the page >to display message contents other than: > >$msgHeaders > >- >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]
Re: Creation of a new PB instance failed
hi burt, do you have a default jcd-alias in your conncetion-descriptor ? jakob BURT, RANDALL (CONTRACTOR) wrote: Hi! I'm new to OJB, and was banging my head against the following error: [org.apache.ojb.broker.ta.PersistenceBrokerFactoryDefaultImpl] INFO: Set default PBKey: org.apache.ojb.broker.PBKey: repository=default, user=sa, password=* [org.apache.ojb.broker.accesslayer.ConnectionManagerFactory] ERROR: Configurable Factory configuration key class 'null' does not exist. [org.apache.ojb.broker.ta.PersistenceBrokerFactoryDefaultImpl] ERROR: Creation of a new PB instance failed null I'm using OJB 1.0-rc1, Tomcat 4.1, Struts (latest stable release), MSSql Server 7, and the jtds-0.4 jdbc driver on Windows 2000. I can't seem to find the problem and was wondering if anyone had any suggestions. I'll provide my repository metadata and database layout if you need it. As an aside, I tried searching the mailing list archives, but could not get the page to display message contents other than: $msgHeaders - 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]