Hi All,
i am using opensymphony for the workflow. but sometime when i run this service get this exception if any one know the reason of this exception then please reply. 2010-04-06 17:57:09,147 (http-0.0.0.0-81-3) [ JDBCPropertySet.java:130:FATAL] Could not get DataSource javax.naming.CommunicationException [Root exception is java.rmi.NoSuchObjectException: no such object in table] at com.sun.jndi.rmi.registry.RegistryContext.decodeObject(RegistryContext.java:434) at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:99) at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:103) at javax.naming.InitialContext.lookup(InitialContext.java:351) at com.opensymphony.util.EJBUtils.lookup(EJBUtils.java:123) at com.opensymphony.module.propertyset.database.JDBCPropertySet.init(JDBCPropertySet.java:128) at com.opensymphony.module.propertyset.PropertySetManager.getInstance(PropertySetManager.java:14) at com.opensymphony.workflow.spi.jdbc.JDBCWorkflowStore.getPropertySet(JDBCWorkflowStore.java:378) at com.opensymphony.workflow.AbstractWorkflow.createVariableMap(AbstractWorkflow.java:114) at com.opensymphony.workflow.AbstractWorkflow.verifyInputs(AbstractWorkflow.java:952) at com.opensymphony.workflow.AbstractWorkflow.transitionWorkflow(AbstractWorkflow.java:429) at com.opensymphony.workflow.AbstractWorkflow.initialize(AbstractWorkflow.java:372) at org.ofbiz.humanres.HrServices.sendleaveremindermail(HrServices.java:1197) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:96) at org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:54) at org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:384) at org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213) at org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:170) at org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:332) at org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:444) at org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:276) at org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:204) at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:259) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:595) Caused by: java.rmi.NoSuchObjectException: no such object in table at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247) at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223) at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126) at com.sun.jndi.rmi.registry.ReferenceWrapper_Stub.getReference(Unknown Source) at com.sun.jndi.rmi.registry.RegistryContext.decodeObject(RegistryContext.java:426) ... 43 more Thanks in advance. Regards Anurag Walia |
I am not familiar with opensymphony.
however you having two programs access a db with no synchronization. this can cause random problems for both programs. my suggestion is you use the DB layer or even the delegator of ofbiz so all calls, to the db, go through ofbiz. ========================= BJ Freeman http://bjfreeman.elance.com Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=93> Specialtymarket.com <http://www.specialtymarket.com/> Systems Integrator-- Glad to Assist Chat Y! messenger: bjfr33man <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro> Anurag Walia sent the following on 4/6/2010 5:51 AM: > Hi All, > > i am using opensymphony for the workflow. > but sometime when i run this service get this exception > if any one know the reason of this exception then please reply. > > 2010-04-06 17:57:09,147 (http-0.0.0.0-81-3) [ > JDBCPropertySet.java:130:FATAL] Could not get DataSource > javax.naming.CommunicationException [Root exception is > java.rmi.NoSuchObjectException: no such object in table] > at com.sun.jndi.rmi.registry.RegistryContext.decodeObject(RegistryContext.java:434) > at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:99) > at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:103) > at javax.naming.InitialContext.lookup(InitialContext.java:351) > at com.opensymphony.util.EJBUtils.lookup(EJBUtils.java:123) > at com.opensymphony.module.propertyset.database.JDBCPropertySet.init(JDBCPropertySet.java:128) > at com.opensymphony.module.propertyset.PropertySetManager.getInstance(PropertySetManager.java:14) > at com.opensymphony.workflow.spi.jdbc.JDBCWorkflowStore.getPropertySet(JDBCWorkflowStore.java:378) > at com.opensymphony.workflow.AbstractWorkflow.createVariableMap(AbstractWorkflow.java:114) > at com.opensymphony.workflow.AbstractWorkflow.verifyInputs(AbstractWorkflow.java:952) > at com.opensymphony.workflow.AbstractWorkflow.transitionWorkflow(AbstractWorkflow.java:429) > at com.opensymphony.workflow.AbstractWorkflow.initialize(AbstractWorkflow.java:372) > at org.ofbiz.humanres.HrServices.sendleaveremindermail(HrServices.java:1197) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:96) > at org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:54) > at org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:384) > at org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213) > at org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:170) > at org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:332) > at org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:444) > at org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:276) > at org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:204) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) > at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) > at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > at org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:259) > at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) > at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) > at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) > at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) > at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) > at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) > at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568) > at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) > at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) > at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) > at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) > at java.lang.Thread.run(Thread.java:595) > Caused by: java.rmi.NoSuchObjectException: no such object in table > at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247) > at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223) > at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126) > at com.sun.jndi.rmi.registry.ReferenceWrapper_Stub.getReference(Unknown > Source) > at com.sun.jndi.rmi.registry.RegistryContext.decodeObject(RegistryContext.java:426) > ... 43 more > > > Thanks in advance. > > Regards > Anurag Walia > |
Free forum by Nabble | Edit this page |