Not using the jca stuff, it's actually an MBean. I found out that I must
specify a resource manager in my jboss.xml. I still get errors though
because it can't find the database (repository.xml). I've tried many
different paths. Yes it is in the classpath. How do you do yours? See
below. Any ideas?
17:00:01,062 INFO [STDOUT] OJB.properties:
file:/home/ryan/Projects/jboss-3.0.0_tomcat-4.0.3/server/intermodal/conf/OJB.properties
17:00:01,673 INFO [NamingLocator] Properties for creating the initial
context: {java.naming.provider.url=jnp://localhost:1099,
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory,
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
17:00:01,873 ERROR [STDERR] org.odmg.DatabaseNotFoundException: OJB
can't open repository ./conf/repository.xml
org/apache/commons/pool/KeyedPoolableObjectFactory
17:00:01,911 ERROR [STDERR] at
org.apache.ojb.odmg.DatabaseImpl.open(Unknown Source)
17:00:01,952 ERROR [STDERR] at
com.metamorphosys.intermodal.service.HelloEJB.getDatabase(HelloEJB.java:84)
17:00:01,986 ERROR [STDERR] at
com.metamorphosys.intermodal.service.HelloEJB.listAllProducts(HelloEJB.java:95)
On Tue, 2002-08-13 at 16:52, Matthew Baird wrote:
> the jca connector isn't current. The current connector is being replaced in favor of
>new OTM stuff.
>
> sorry for the delay. Use MBEAN to integrate. I use OJB in jboss3.0
>
> Regards,
> Matthew
>
> -----Original Message-----
> From: Ryan Marsh [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August 13, 2002 2:24 PM
> To: [EMAIL PROTECTED]
> Subject: [JBoss-user] No resource manager found for OJB
>
>
> I've got a little ojb-service.xml file for my OJB factory. In the
> service xml file I set the attribute jndiName to be "OJB". Now when I
> deploy session beans, I get the following:
>
> 16:06:33,728 WARN [StatelessSessionContainer] No resource manager found
> for OJB
>
> How exactly to I properly specify a reference to this component from a
> Session bean.
>
> Apparently sometimes some things are given "ENC" and sometimes things
> aren't. Some things in the JNDI tree are accessible outside of the vm,
> some aren't (although everyhing here is in-vm). I find this all very
> confusing.
>
> Help!
> -ryan
> --
> Humans are the unfortunate result of a local maximum in the
> fitness landscape.
>
> www.ryanmarsh.com
>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: Dice - The leading online job board
> for high-tech professionals. Search and apply for tech jobs today!
> http://seeker.dice.com/seeker.epl?rel_code=31
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: Dice - The leading online job board
> for high-tech professionals. Search and apply for tech jobs today!
> http://seeker.dice.com/seeker.epl?rel_code1
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
--
Humans are the unfortunate result of a local maximum in the
fitness landscape.
www.ryanmarsh.com
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user