Hi Peter,

Peter Wieland wrote:
Hi,

just a small question related to OJB and JBoss. I am trying to change from
OJB rc4 to the lates version froom CVS. Things seem to work well on the
client side, but I have difficulties on the server side. Deployment of my
application fails with due to missing classes org.apache.ojb.jboss.PBFactory
and org.apache.ojb.jboss.ODMGFactory which were present in rc4 but are
absent in rc5 and in CVS HEAD. I found the source in a separate dir
(src/connector) but the classes are'n build.

My question: Are these classes obsolete and if this is the case, which
classes do I need to use instead? Otherwise, how can I tell OJB during build
to include the jboss specific classes?


In rc5 these classes are not obsolete to run the the ejb-examples, but they are not part of OJB jar. These classes only for showing how to make OJB accessible via JNDI in JBoss.


If you are using the source distribution call 'ant prepare-jboss jar' to copy these classes to OJB source trunk and build the OJB jar with these JBoss mbean classes.

In upcoming release these classes no longer used in ejb-examples. Instead of using a JNDI lookup to get instance of the OJB api main classes, we use these classes directly in the examples beans.

regards,
Armin

Thanx for your help,

Peter

---------------------------------------------------------------------
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]



Reply via email to