Hi
I'm very new to objectdb . I have bought a server and really want to use it. Our code works well with eclipselink and postgresql - until we stress it which is why I'm trying to get objected to work.
realy wierd things are going on ... we are using hessian to connect our remote clients to glass fish and invoke methods there (fine with postgresql) . here is our log (part of it at least .... exceptions are happening all the time when we're working with objected).
Parent -> org.glassfish.internal.api.DelegatingClassLoader@15e8179 was requested to find class com.prohire.agent.entities.AVBooking after done was invoked from the following stack trace java.lang.Throwable at com.sun.enterprise.loader.ASURLClassLoader.findClassData(ASURLClassLoader.java:780) at com.sun.enterprise.loader.ASURLClassLoader.findClass(ASURLClassLoader.java:696) at java.lang.ClassLoader.loadClass(ClassLoader.java:423) at java.lang.ClassLoader.loadClass(ClassLoader.java:410) at java.lang.ClassLoader.loadClass(ClassLoader.java:410) at java.lang.ClassLoader.loadClass(ClassLoader.java:356) at com.objectdb.o.RCL.j(RCL.java:299) at com.objectdb.o.UNH.o(UNH.java:381) at com.objectdb.o.UNH.n(UNH.java:365) at com.objectdb.o.UNH.n(UNH.java:357) at com.objectdb.o.UNH.n(UNH.java:357) at com.objectdb.o.UNH.n(UNH.java:357) at com.objectdb.o.UNH.n(UNH.java:357) at com.objectdb.o.UNH.n(UNH.java:302) at com.objectdb.o.UNH.m(UNH.java:278) at com.objectdb.o.SCM.x(SCM.java:476) at com.objectdb.o.TYS.z(TYS.java:783) at com.objectdb.o.TYM.ae(TYM.java:526) at com.objectdb.o.TYM.ad(TYM.java:490) at com.objectdb.o.QRR.n(QRR.java:566) at com.objectdb.o.QRR.g(QRR.java:249) at com.objectdb.o.QRR.f(QRR.java:153) at com.objectdb.jpa.JpaQuery.getSingleResult(JpaQuery.java:716) at com.prohire.prohire_sync.ProhireQueries.getProhireSQL(ProhireQueries.java:81) at com.prohire.prohire_sync.ProhireDataSyncImplementation.getProhireSQL(ProhireDataSyncImplementation.java:65) at com.prohire.prohire_sync.ProhireDataSyncImplementation.uploadProhireData(ProhireDataSyncImplementation.java:96) at sun.reflect.GeneratedMethodAccessor126.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.glassfish.ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1052) at org.glassfish.ejb.security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1124) at com.sun.ejb.containers.BaseContainer.invokeBeanMethod(BaseContainer.java:5388) at com.sun.ejb.EjbInvocation.invokeBeanMethod(EjbInvocation.java:619) at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800) at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:571) at org.jboss.weld.ejb.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:49) at sun.reflect.GeneratedMethodAccessor125.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:861) at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800) at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:571) at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.doAround(SystemInterceptorProxy.java:162) at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.aroundInvoke(SystemInterceptorProxy.java:144) at sun.reflect.GeneratedMethodAccessor124.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:861) at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800) at com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:370) at com.sun.ejb.containers.BaseContainer.__intercept(BaseContainer.java:5360) at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:5348) at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:214) at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:89) at $Proxy275.uploadProhireData(Unknown Source) at com.prohire.prohire_sync.ProhireDataSyncEndpoint.uploadProhireData(ProhireDataSyncEndpoint.java:45) at sun.reflect.GeneratedMethodAccessor123.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at com.caucho.hessian.server.HessianSkeleton.invoke(HessianSkeleton.java:306) at com.caucho.hessian.server.HessianSkeleton.invoke(HessianSkeleton.java:202) at com.caucho.hessian.server.HessianServlet.invoke(HessianServlet.java:389) at com.caucho.hessian.server.HessianServlet.service(HessianServlet.java:369) at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1550) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:281) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161) at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:331) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231) at com.sun.enterprise.v3.services.impl.ContainerMapper$AdapterCallable.call(ContainerMapper.java:317) at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195) at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:860) at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757) at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056) at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:229) at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90) at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79) at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54) at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59) at com.sun.grizzly.ContextTask.run(ContextTask.java:71) at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532) at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513) at java.lang.Thread.run(Thread.java:722) WARNING: LDR5207: ASURLClassLoader EarClassLoader : doneCalled = true doneSnapshot = ASURLClassLoader.done() called ON EarClassLoader : urlSet = [URLEntry : file:/C:/Program%20Files%20(x86)/glassfish-3.1.2.2/glassfish/domains/domain1/generated/ejb/ProhireNetwork_DataSync/ProhireNetwork_DataSync-war_war/, URLEntry : file:/C:/Users/Administrator/Documents/NetBeansProjects/ProhireNetwork_DataSync/dist/gfdeploy/ProhireNetwork_DataSync/ProhireNetwork_DataSync-war_war/WEB-INF/classes, URLEntry : file:/C:/Users/Administrator/Documents/NetBeansProjects/ProhireNetwork_DataSync/dist/gfdeploy/ProhireNetwork_DataSync/ProhireNetwork_DataSync-ejb_jar/, URLEntry : file:/C:/Program%20Files%20(x86)/glassfish-3.1.2.2/glassfish/domains/domain1/generated/ejb/ProhireNetwork_DataSync/ProhireNetwork_DataSync-ejb_jar] doneCalled = false Parent -> org.glassfish.internal.api.DelegatingClassLoader@1ff506d AT Mon Dec 03 12:03:21 GMT 2012 BY :java.lang.Throwable: printStackTraceToString at com.sun.enterprise.util.Print.printStackTraceToString(Print.java:639) at com.sun.enterprise.loader.ASURLClassLoader.done(ASURLClassLoader.java:211) at com.sun.enterprise.loader.ASURLClassLoader.preDestroy(ASURLClassLoader.java:179)
and our persistence.xml file looks like
<?xml version="1.0" encoding="UTF-8"?> <persistence version="2.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"> <persistence-unit name="ProhireNetwork_DataSync-ejbPU" transaction-type="JTA"> <provider>com.objectdb.jpa.Provider</provider> <class>com.prohire.agent.entities.AVBooking</class> <class>com.prohire.agent.eantities.AVVehicle</class> <class>com.prohire.agent.entities.CompanyLocation</class> <class>com.prohire.agent.entities.CompanyPollStatus</class> <class>com.prohire.agent.entities.HireCompany</class> <class>com.prohire.global.vehiclemodels.VehicleModelDetails</class> <properties> <property name="javax.persistence.jdbc.url" value="objectdb://localhost/prohire_networka8.odb"/> <property name="javax.persistence.jdbc.user" value="admin"/> <property name="javax.persistence.jdbc.password" value="admin"/> </properties> </persistence-unit> </persistence>
Can anybody help with this urgently please ?
Thank you
Paul