This one time, at band camp, Paulo Lopes said:

PL>The ejb deploys with no error, but the client always returns this:
PL>
PL>Exception in thread "main" java.rmi.RemoteException: The bean 
PL>encountered a non-
PL>application exception.; nested exception is:
PL>         java.rmi.RemoteException: Castor JDO DatabaseNotFoundException 
PL>thrown wh
PL>en attempting to begin a local transaciton; nested exception is:
PL>         org.exolab.castor.jdo.DatabaseNotFoundException: Nested error: 
PL>org.exola
PL>b.castor.mapping.MappingException: Could not find the class String
PL>         at 
PL>org.openejb.core.transaction.TransactionPolicy.throwExceptionToServer
PL>(TransactionPolicy.java:254)
PL>         at 
PL>org.openejb.core.transaction.TxSupports.handleSystemException(TxSuppo
PL>rts.java:191)
PL>         at 
PL>org.openejb.alt.containers.castor_cmp11.CastorCmpEntityTxPolicy.handl
PL>eSystemException(CastorCmpEntityTxPolicy.java:157)
PL>         at 
PL>org.openejb.alt.containers.castor_cmp11.CastorCmpEntityTxPolicy.befor
PL>eInvoke(CastorCmpEntityTxPolicy.java:101)
PL>         at 
PL>org.openejb.alt.containers.castor_cmp11.CastorCMP11_EntityContainer.c
PL>reateEJBObject(CastorCMP11_EntityContainer.java:780)
PL>         at 
PL>org.openejb.alt.containers.castor_cmp11.CastorCMP11_EntityContainer.i
PL>nvoke(CastorCMP11_EntityContainer.java:521)
PL>         at 
PL>org.openejb.server.EjbDaemon.doEjbHome_CREATE(EjbDaemon.java:728)
PL>         at 
PL>org.openejb.server.EjbDaemon.processEjbRequest(EjbDaemon.java:539)
PL>         at org.openejb.server.EjbDaemon.run(EjbDaemon.java:374)
PL>         at java.lang.Thread.run(Thread.java:536)
PL>Caused by: java.rmi.RemoteException: Castor JDO 
PL>DatabaseNotFoundException thrown
PL>  when attempting to begin a local transaciton; nested exception is:
PL>         org.exolab.castor.jdo.DatabaseNotFoundException: Nested error: 
PL>org.exola
PL>b.castor.mapping.MappingException: Could not find the class String
PL>         at 
PL>org.openejb.alt.containers.castor_cmp11.CastorCmpEntityTxPolicy.befor
PL>eInvoke(CastorCmpEntityTxPolicy.java:100)
PL>         ... 6 more
PL>Caused by: org.exolab.castor.jdo.DatabaseNotFoundException: Nested 
PL>error: org.ex
PL>olab.castor.mapping.MappingException: Could not find the class String
PL>         at org.exolab.castor.jdo.JDO.getDatabase(JDO.java:584)
PL>         at 
PL>org.openejb.alt.containers.castor_cmp11.CastorCmpEntityTxPolicy.befor
PL>eInvoke(CastorCmpEntityTxPolicy.java:69)
PL>         ... 6 more

Paulo,

In the past, users on the list have said that the Microsoft JDBC drivers
for SQL Server are very buggy. The recommendation is always to use the
jTDS drivers available here:

    http://jtds.sourceforge.net/

I'm simply passing this info along as I've never used SQL Server. 

Bruce
-- 
perl -e 'print unpack("u30","<0G)[EMAIL PROTECTED]&5R\"F9E<G)E=\$\!F<FEI+F-O;0\`\`");'

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to