I was using the current cvs head, but I will switch to the OJB_1_0_RELEASE now.
(hopefully the mbeans are still in this branch ;)


thanks,
andreas


Armin Waibel wrote:

Hi Andreas,

do you use current CVS head (under development for 1.1) or the OJB_1_0_RELEASE branch?

Call 'ant clean' after update to replace source files in 'target' directory.

AFAIK I removed the jboss mbean classes some time ago. To make the examples easier to deploy on different appServer, the JNDI lookup was no longer used.

regards,
Armin

Andreas Bohnert wrote:

hello all,

I just have tried to compile the snapshot from today with mbean support and I'm getting this error:

[javac] Compiling 960 source files to /home/talies/workspace/db-ojb/target/classes/prod
[javac] /home/talies/workspace/db-ojb/target/src/org/apache/ojb/jboss/PBFactory.java:42: cannot resolve symbol
[javac] symbol : method instance ()
[javac] location: class org.apache.ojb.broker.core.PersistenceBrokerFactoryFactory
[javac] return PersistenceBrokerFactoryFactory.instance();
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -deprecation for details.
[javac] 1 error


The static method instance does not exist.
The error does not appear if you just compile the normal jars!

regards,
andreas



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



Reply via email to