[EJB 3.0] - Exception while trying to locate proxy factory in JNDI
by venu gopal
venu gopal [http://community.jboss.org/people/venuwin] created the discussion
"Exception while trying to locate proxy factory in JNDI"
To view the discussion, visit: http://community.jboss.org/message/559518#559518
--------------------------------------------------------------
Hi,
Recently I tried to move our application to Jboss EAP. The version of the files that work nicely on Jboss 5.1.0GA are not working here.
This is my code which leads to Exception :
String rssURL = "stage.rssURL.com:1099";
System.out.println("DF URL is " + dfUrl);
// JNDI lookup
Properties props = new Properties();
props.setProperty("java.naming.factory.initial","org.jnp.interfaces.NamingContextFactory");
props.setProperty("java.naming.factory.url.pkgs", "org.jboss.naming");
props.setProperty("java.naming.provider.url", rssURL);
InitialContext ic;
ic = new InitialContext(props);
lookup = (RSSLookupBeanRemote) ic.lookup("rssURL-lookup/RSSLookupBean/remote");
The stack trace is :
04:48:15,676 ERROR [STDERR] javax.naming.NamingException: Could not dereference object [Root exception is java.lang.RuntimeException: Exception while trying to locate proxy factory in JNDI, at key ProxyFactory/30cm-lookup/RSSLookupBean/30cm-lookup/RSSLookupBean/remote]
04:48:15,676 ERROR [STDERR] at org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1504)
04:48:15,676 ERROR [STDERR] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:822)
04:48:15,676 ERROR [STDERR] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:686)
04:48:15,676 ERROR [STDERR] at javax.naming.InitialContext.lookup(InitialContext.java:392)
04:48:15,676 ERROR [STDERR] at net.tss.vendors.underTheHood.webservice.UnderTheHoodInventoryManager.initLookUp(UnderTheHoodInventoryManager.java:55)
04:48:15,676 ERROR [STDERR] at net.tss.vendors.underTheHood.webservice.UnderTheHoodInventoryManager.getAvailability(UnderTheHoodInventoryManager.java:72)
04:48:15,676 ERROR [STDERR] at net.tss.app.service.inventory.ejb.InventoryBeanImpl.getAvailability(InventoryBeanImpl.java:68)
04:48:15,676 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
04:48:15,676 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
04:48:15,676 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
04:48:15,676 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
04:48:15,676 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeTarget(MethodInvocation.java:122)
04:48:15,676 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111)
04:48:15,676 ERROR [STDERR] at org.jboss.ejb3.EJBContainerInvocationWrapper.invokeNext(EJBContainerInvocationWrapper.java:69)
04:48:15,676 ERROR [STDERR] at org.jboss.ejb3.interceptors.aop.InterceptorSequencer.invoke(InterceptorSequencer.java:76)
04:48:15,676 ERROR [STDERR] at org.jboss.ejb3.interceptors.aop.InterceptorSequencer.aroundInvoke(InterceptorSequencer.java:62)
04:48:15,676 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
04:48:15,676 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
04:48:15,676 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
04:48:15,676 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
04:48:15,677 ERROR [STDERR] at org.jboss.aop.advice.PerJoinpointAdvice.invoke(PerJoinpointAdvice.java:174)
04:48:15,677 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
04:48:15,677 ERROR [STDERR] at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.fillMethod(InvocationContextInterceptor.java:72)
04:48:15,677 ERROR [STDERR] at org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_fillMethod_772475121.invoke(InvocationContextInterceptor_z_fillMethod_772475121.java)
04:48:15,677 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
04:48:15,677 ERROR [STDERR] at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.setup(InvocationContextInterceptor.java:88)
04:48:15,677 ERROR [STDERR] at org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_setup_772475121.invoke(InvocationContextInterceptor_z_setup_772475121.java)
04:48:15,677 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
04:48:15,677 ERROR [STDERR] at org.jboss.ejb3.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:62)
04:48:15,677 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
04:48:15,677 ERROR [STDERR] at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:56)
04:48:15,677 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
04:48:15,677 ERROR [STDERR] at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
04:48:15,677 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
04:48:15,677 ERROR [STDERR] at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42)
04:48:15,677 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
04:48:15,677 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:68)
04:48:15,677 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
04:48:15,677 ERROR [STDERR] at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
04:48:15,677 ERROR [STDERR] at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:190)
04:48:15,677 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
04:48:15,677 ERROR [STDERR] at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
04:48:15,677 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
04:48:15,677 ERROR [STDERR] at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42)
04:48:15,677 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
04:48:15,677 ERROR [STDERR] at org.jboss.ejb3.security.Ejb3AuthenticationInterceptorv2.invoke(Ejb3AuthenticationInterceptorv2.java:186)
04:48:15,677 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
04:48:15,677 ERROR [STDERR] at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:41)
04:48:15,677 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
04:48:15,677 ERROR [STDERR] at org.jboss.ejb3.BlockContainerShutdownInterceptor.invoke(BlockContainerShutdownInterceptor.java:67)
04:48:15,677 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
04:48:15,677 ERROR [STDERR] at org.jboss.aspects.currentinvocation.CurrentInvocationInterceptor.invoke(CurrentInvocationInterceptor.java:67)
04:48:15,677 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
04:48:15,677 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:438)
04:48:15,677 ERROR [STDERR] at org.jboss.ejb3.remoting.IsLocalInterceptor.invokeLocal(IsLocalInterceptor.java:85)
04:48:15,677 ERROR [STDERR] at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:72)
04:48:15,677 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
04:48:15,677 ERROR [STDERR] at org.jboss.aspects.remoting.PojiProxy.invoke(PojiProxy.java:62)
04:48:15,677 ERROR [STDERR] at $Proxy332.invoke(Unknown Source)
04:48:15,678 ERROR [STDERR] at org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.invoke(SessionProxyInvocationHandlerBase.java:188)
04:48:15,678 ERROR [STDERR] at $Proxy333.getAvailability(Unknown Source)
04:48:15,678 ERROR [STDERR] at com.delightCustomer.web.catalog.helper.InventoryCheckHelper.getInventoryForItem(InventoryCheckHelper.java:103)
04:48:15,678 ERROR [STDERR] at com.delightCustomer.web.action.AddToCartAction.checkStockForItem(AddToCartAction.java:417)
04:48:15,678 ERROR [STDERR] at com.delightCustomer.web.action.AddToCartAction.getNextView(AddToCartAction.java:297)
04:48:15,678 ERROR [STDERR] at com.delightCustomer.web.action.AddToCartAction.doDefault(AddToCartAction.java:163)
04:48:15,678 ERROR [STDERR] at com.delightCustomer.web.action.AddToCartAction.doDisplay(AddToCartAction.java:479)
04:48:15,678 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
04:48:15,678 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
04:48:15,678 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
04:48:15,678 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
04:48:15,678 ERROR [STDERR] at com.delightCustomer.web.DelightCustomerFrontController.processRequest(DelightCustomerFrontController.java:313)
04:48:15,678 ERROR [STDERR] at com.delightCustomer.web.DelightCustomerFrontController.doPost(DelightCustomerFrontController.java:1309)
04:48:15,678 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
04:48:15,678 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
04:48:15,678 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
04:48:15,678 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
04:48:15,678 ERROR [STDERR] at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)
04:48:15,678 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
04:48:15,678 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
04:48:15,678 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
04:48:15,678 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
04:48:15,678 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
04:48:15,678 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
04:48:15,678 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
04:48:15,678 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
04:48:15,678 ERROR [STDERR] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
04:48:15,678 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
04:48:15,678 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
04:48:15,678 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
04:48:15,678 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
04:48:15,678 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
04:48:15,678 ERROR [STDERR] at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
04:48:15,678 ERROR [STDERR] at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:567)
04:48:15,678 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
04:48:15,679 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
04:48:15,679 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
04:48:15,679 ERROR [STDERR] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
04:48:15,679 ERROR [STDERR] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
04:48:15,679 ERROR [STDERR] at java.lang.Thread.run(Thread.java:619)
04:48:15,679 ERROR [STDERR] Caused by: java.lang.RuntimeException: Exception while trying to locate proxy factory in JNDI, at key ProxyFactory/30cm-lookup/RSSLookupBean/30cm-lookup/RSSLookupBean/remote
04:48:15,679 ERROR [STDERR] at org.jboss.ejb3.proxy.impl.objectfactory.ProxyObjectFactory.getProxyFactoryFromJNDI(ProxyObjectFactory.java:249)
04:48:15,679 ERROR [STDERR] at org.jboss.ejb3.proxy.impl.objectfactory.ProxyObjectFactory.getObjectInstance(ProxyObjectFactory.java:157)
04:48:15,679 ERROR [STDERR] at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
04:48:15,679 ERROR [STDERR] at org.jnp.interfaces.NamingContext.getObjectInstance(NamingContext.java:1479)
04:48:15,679 ERROR [STDERR] at org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1496)
04:48:15,679 ERROR [STDERR] ... 98 more
04:48:15,679 ERROR [STDERR] Caused by: javax.naming.NameNotFoundException: ProxyFactory not bound
04:48:15,679 ERROR [STDERR] at org.jnp.server.NamingServer.getBinding(NamingServer.java:771)
04:48:15,679 ERROR [STDERR] at org.jnp.server.NamingServer.getBinding(NamingServer.java:779)
04:48:15,679 ERROR [STDERR] at org.jnp.server.NamingServer.getObject(NamingServer.java:785)
04:48:15,679 ERROR [STDERR] at org.jnp.server.NamingServer.lookup(NamingServer.java:396)
04:48:15,679 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor646.invoke(Unknown Source)
04:48:15,679 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
04:48:15,679 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
04:48:15,679 ERROR [STDERR] at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
04:48:15,679 ERROR [STDERR] at sun.rmi.transport.Transport$1.run(Transport.java:159)
04:48:15,680 ERROR [STDERR] at java.security.AccessController.doPrivileged(Native Method)
04:48:15,680 ERROR [STDERR] at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
04:48:15,680 ERROR [STDERR] at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
04:48:15,680 ERROR [STDERR] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
04:48:15,680 ERROR [STDERR] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
04:48:15,680 ERROR [STDERR] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
04:48:15,680 ERROR [STDERR] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
04:48:15,680 ERROR [STDERR] at java.lang.Thread.run(Thread.java:619)
04:48:15,680 ERROR [STDERR] at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
04:48:15,680 ERROR [STDERR] at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
04:48:15,680 ERROR [STDERR] at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
04:48:15,680 ERROR [STDERR] at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
04:48:15,680 ERROR [STDERR] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:726)
04:48:15,680 ERROR [STDERR] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:686)
04:48:15,680 ERROR [STDERR] at org.jboss.ejb3.proxy.impl.objectfactory.ProxyObjectFactory.getProxyFactoryFromJNDI(ProxyObjectFactory.java:240)
04:48:15,680 ERROR [STDERR] ... 102 more
as given in http://community.jboss.org/thread/149330 http://community.jboss.org/thread/149330, I tried changing
lookup = (RSSLookupBeanRemote) ic.lookup("rssURL-lookup/RSSLookupBean/remote");
to
lookup = (RSSLookupBeanRemote) ic.lookup("rssURL-lookup/RSSLookupBean/remote-com.rss.feedmgr.ejb.stateless.beans.RSSLookupBean");
Even then the same error is thrown. It would be of help if someone can help.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/559518#559518]
Start a new discussion in EJB 3.0 at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years, 7 months
[Beginner's Corner] - Error while booting Jboss 5.0.1. Can anybody help?
by hugo hugi
hugo hugi [http://community.jboss.org/people/blunzn] created the discussion
"Error while booting Jboss 5.0.1. Can anybody help?"
To view the discussion, visit: http://community.jboss.org/message/559512#559512
--------------------------------------------------------------
Hi @all,
i'm experiencing some problems while JBOSS 5.0.1 is booting. These are the error messages i receive:
10:54:55,655 WARN [HDScanner] Failed to process changes
org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
DEPLOYMENTS MISSING DEPENDENCIES:
Deployment "jboss.j2ee:ear=l.ear,jar=MyProj_Activation.jar,name=MyProj_ActivationBean,service=EJB3" is missing the following dependencies:
Dependency "<UNKNOWN jboss.j2ee:ear=l.ear,jar=MyProj_Activation.jar,name=MyProj_ActivationBean,service=EJB3>" (should be in state "Described", but is actually in state "** UNRESOLVED Demands 'jndi:l/MyProj_SyncBean/local-com.sonydadc.securom.pa.server.EJB.MyProj_SyncBeanLocal' **")
Dependency "<UNKNOWN jboss.j2ee:ear=l.ear,jar=MyProj_Activation.jar,name=MyProj_ActivationBean,service=EJB3>" (should be in state "Described", but is actually in state "** UNRESOLVED Demands 'jndi:l/MyProj_LICBean/local-com.sonydadc.securom.pa.server.EJB.MyProj_LICBeanLocal' **")
Deployment "jboss.j2ee:ear=l.ear,jar=MyProj_APP.jar,name=MyProj_APPBean,service=EJB3" is missing the following dependencies:
Dependency "<UNKNOWN jboss.j2ee:ear=l.ear,jar=MyProj_APP.jar,name=MyProj_APPBean,service=EJB3>" (should be in state "Described", but is actually in state "** UNRESOLVED Demands 'jndi:l/MyProj_SERIMPBean/local-com.sonydadc.securom.pa.server.EJB.MyProj_SERIMPBeanLocal' **")
Dependency "<UNKNOWN jboss.j2ee:ear=l.ear,jar=MyProj_APP.jar,name=MyProj_APPBean,service=EJB3>" (should be in state "Described", but is actually in state "** UNRESOLVED Demands 'jndi:l/MyProj_PURCHBean/local-com.sonydadc.securom.pa.server.EJB.MyProj_PURCHBeanLocal' **")
Dependency "<UNKNOWN jboss.j2ee:ear=l.ear,jar=MyProj_APP.jar,name=MyProj_APPBean,service=EJB3>" (should be in state "Described", but is actually in state "** UNRESOLVED Demands 'jndi:l/MyProj_SyncBean/local-com.sonydadc.securom.pa.server.EJB.MyProj_SyncBeanLocal' **")
Deployment "jboss.j2ee:ear=l.ear,jar=MyProj_CUSTO.jar,name=MyProj_CUSTOBean,service=EJB3" is missing the following dependencies:
Dependency "<UNKNOWN jboss.j2ee:ear=l.ear,jar=MyProj_CUSTO.jar,name=MyProj_CUSTOBean,service=EJB3>" (should be in state "Described", but is actually in state "** UNRESOLVED Demands 'jndi:l/MyProj_SyncBean/local-com.sonydadc.securom.pa.server.EJB.MyProj_SyncBeanLocal' **")
Dependency "<UNKNOWN jboss.j2ee:ear=l.ear,jar=MyProj_CUSTO.jar,name=MyProj_CUSTOBean,service=EJB3>" (should be in state "Described", but is actually in state "** UNRESOLVED Demands 'jndi:l/MyProj_APPBean/local-com.sonydadc.securom.pa.server.EJB.MyProj_APPBeanLocal' **")
Deployment "jboss.j2ee:ear=l.ear,jar=MyProj_LIC.jar,name=MyProj_LICBean,service=EJB3" is missing the following dependencies:
Dependency "<UNKNOWN jboss.j2ee:ear=l.ear,jar=MyProj_LIC.jar,name=MyProj_LICBean,service=EJB3>" (should be in state "Described", but is actually in state "** UNRESOLVED Demands 'jndi:l/MyProj_SyncBean/local-com.sonydadc.securom.pa.server.EJB.MyProj_SyncBeanLocal' **")
Deployment "jboss.j2ee:ear=l.ear,jar=MyProj_Login.jar,name=MyProj_LoginBean,service=EJB3" is missing the following dependencies:
Dependency "<UNKNOWN jboss.j2ee:ear=l.ear,jar=MyProj_Login.jar,name=MyProj_LoginBean,service=EJB3>" (should be in state "Described", but is actually in state "** UNRESOLVED Demands 'jndi:l/MyProj_SyncBean/local-com.sonydadc.securom.pa.server.EJB.MyProj_SyncBeanLocal' **")
Deployment "jboss.j2ee:ear=l.ear,jar=MyProj_MBean.jar,name=MyProj_Check,service=EJB3" is missing the following dependencies:
Dependency "<UNKNOWN jboss.j2ee:ear=l.ear,jar=MyProj_MBean.jar,name=MyProj_Check,service=EJB3>" (should be in state "Described", but is actually in state "** UNRESOLVED Demands 'jndi:l/MyProj_CUSTOBean/local-com.sonydadc.securom.pa.server.EJB.MyProj_CUSTOBeanLocal' **")
Dependency "<UNKNOWN jboss.j2ee:ear=l.ear,jar=MyProj_MBean.jar,name=MyProj_Check,service=EJB3>" (should be in state "Described", but is actually in state "** UNRESOLVED Demands 'jndi:l/MyProj_SyncBean/local-com.sonydadc.securom.pa.server.EJB.MyProj_SyncBeanLocal' **")
Dependency "<UNKNOWN jboss.j2ee:ear=l.ear,jar=MyProj_MBean.jar,name=MyProj_Check,service=EJB3>" (should be in state "Described", but is actually in state "** UNRESOLVED Demands 'jndi:l/MyProj_APPBean/local-com.sonydadc.securom.pa.server.EJB.MyProj_APPBeanLocal' **")
Deployment "jboss.j2ee:ear=l.ear,jar=MyProj_MBean.jar,name=MyProj_Sync,service=EJB3" is missing the following dependencies:
Dependency "<UNKNOWN jboss.j2ee:ear=l.ear,jar=MyProj_MBean.jar,name=MyProj_Sync,service=EJB3>" (should be in state "Described", but is actually in state "** UNRESOLVED Demands 'jndi:l/MyProj_CUSTOBean/local-com.sonydadc.securom.pa.server.EJB.MyProj_CUSTOBeanLocal' **")
Dependency "<UNKNOWN jboss.j2ee:ear=l.ear,jar=MyProj_MBean.jar,name=MyProj_Sync,service=EJB3>" (should be in state "Described", but is actually in state "** UNRESOLVED Demands 'jndi:l/MyProj_APPBean/local-com.sonydadc.securom.pa.server.EJB.MyProj_APPBeanLocal' **")
Dependency "<UNKNOWN jboss.j2ee:ear=l.ear,jar=MyProj_MBean.jar,name=MyProj_Sync,service=EJB3>" (should be in state "Described", but is actually in state "** UNRESOLVED Demands 'jndi:l/MyProj_SyncBean/local-com.sonydadc.securom.pa.server.EJB.MyProj_SyncBeanLocal' **")
Deployment "jboss.j2ee:ear=l.ear,jar=MyProj_PURCH.jar,name=MyProj_PURCHBean,service=EJB3" is missing the following dependencies:
Dependency "<UNKNOWN jboss.j2ee:ear=l.ear,jar=MyProj_PURCH.jar,name=MyProj_PURCHBean,service=EJB3>" (should be in state "Described", but is actually in state "** UNRESOLVED Demands 'jndi:l/MyProj_ActivationBean/local-com.sonydadc.securom.pa.server.EJB.MyProj_ActivationLocal' **")
Dependency "<UNKNOWN jboss.j2ee:ear=l.ear,jar=MyProj_PURCH.jar,name=MyProj_PURCHBean,service=EJB3>" (should be in state "Described", but is actually in state "** UNRESOLVED Demands 'jndi:l/MyProj_SyncBean/local-com.sonydadc.securom.pa.server.EJB.MyProj_SyncBeanLocal' **")
Deployment "jboss.j2ee:ear=l.ear,jar=MyProj_Report.jar,name=MyProj_ReportBean,service=EJB3" is missing the following dependencies:
Dependency "<UNKNOWN jboss.j2ee:ear=l.ear,jar=MyProj_Report.jar,name=MyProj_ReportBean,service=EJB3>" (should be in state "Described", but is actually in state "** UNRESOLVED Demands 'jndi:l/MyProj_CUSTOBean/local-com.sonydadc.securom.pa.server.EJB.MyProj_CUSTOBeanLocal' **")
Dependency "<UNKNOWN jboss.j2ee:ear=l.ear,jar=MyProj_Report.jar,name=MyProj_ReportBean,service=EJB3>" (should be in state "Described", but is actually in state "** UNRESOLVED Demands 'jndi:l/MyProj_SERIMPBean/local-com.sonydadc.securom.pa.server.EJB.MyProj_SERIMPBeanLocal' **")
Dependency "<UNKNOWN jboss.j2ee:ear=l.ear,jar=MyProj_Report.jar,name=MyProj_ReportBean,service=EJB3>" (should be in state "Described", but is actually in state "** UNRESOLVED Demands 'jndi:l/MyProj_APPBean/local-com.sonydadc.securom.pa.server.EJB.MyProj_APPBeanLocal' **")
Deployment "jboss.j2ee:ear=l.ear,jar=MyProj_SERIMP.jar,name=MyProj_SERIMPBean,service=EJB3" is missing the following dependencies:
Dependency "<UNKNOWN jboss.j2ee:ear=l.ear,jar=MyProj_SERIMP.jar,name=MyProj_SERIMPBean,service=EJB3>" (should be in state "Described", but is actually in state "** UNRESOLVED Demands 'jndi:l/MyProj_SyncBean/local-com.sonydadc.securom.pa.server.EJB.MyProj_SyncBeanLocal' **")
Deployment "jboss.j2ee:ear=l.ear,jar=MyProj_SERIMP.jar,name=MyProj_SERIMPWorkerMDB,service=EJB3" is missing the following dependencies:
Dependency "<UNKNOWN jboss.j2ee:ear=l.ear,jar=MyProj_SERIMP.jar,name=MyProj_SERIMPWorkerMDB,service=EJB3>" (should be in state "Described", but is actually in state "** UNRESOLVED Demands 'jndi:l/MyProj_SERIMPBean/local-com.sonydadc.securom.pa.server.EJB.MyProj_SERIMPBeanLocal' **")
Dependency "<UNKNOWN jboss.j2ee:ear=l.ear,jar=MyProj_SERIMP.jar,name=MyProj_SERIMPWorkerMDB,service=EJB3>" (should be in state "Described", but is actually in state "** UNRESOLVED Demands 'jndi:l/MyProj_PURCHBean/local-com.sonydadc.securom.pa.server.EJB.MyProj_PURCHBeanLocal' **")
Dependency "<UNKNOWN jboss.j2ee:ear=l.ear,jar=MyProj_SERIMP.jar,name=MyProj_SERIMPWorkerMDB,service=EJB3>" (should be in state "Described", but is actually in state "** UNRESOLVED Demands 'jndi:service/MyProj_Sync' **")
Dependency "<UNKNOWN jboss.j2ee:ear=l.ear,jar=MyProj_SERIMP.jar,name=MyProj_SERIMPWorkerMDB,service=EJB3>" (should be in state "Described", but is actually in state "** UNRESOLVED Demands 'jndi:l/MyProj_SyncBean/local-com.sonydadc.securom.pa.server.EJB.MyProj_SyncBeanLocal' **")
Deployment "jboss.j2ee:ear=l.ear,jar=MyProj_Sync.jar,name=MyProj_SyncBean,service=EJB3" is missing the following dependencies:
Dependency "<UNKNOWN jboss.j2ee:ear=l.ear,jar=MyProj_Sync.jar,name=MyProj_SyncBean,service=EJB3>" (should be in state "Described", but is actually in state "** UNRESOLVED Demands 'jndi:service/MyProj_Sync' **")
DEPLOYMENTS IN ERROR:
Deployment "<UNKNOWN jboss.j2ee:ear=l.ear,jar=MyProj_Sync.jar,name=MyProj_SyncBean,service=EJB3>" is in error due to the following reason(s): ** UNRESOLVED Demands 'jndi:service/MyProj_Sync' **
Deployment "<UNKNOWN jboss.j2ee:ear=l.ear,jar=MyProj_Login.jar,name=MyProj_LoginBean,service=EJB3>" is in error due to the following reason(s): ** UNRESOLVED Demands 'jndi:l/MyProj_SyncBean/local-com.sonydadc.securom.pa.server.EJB.MyProj_SyncBeanLocal' **
Deployment "<UNKNOWN jboss.j2ee:ear=l.ear,jar=MyProj_SERIMP.jar,name=MyProj_SERIMPBean,service=EJB3>" is in error due to the following reason(s): ** UNRESOLVED Demands 'jndi:l/MyProj_SyncBean/local-com.sonydadc.securom.pa.server.EJB.MyProj_SyncBeanLocal' **
Deployment "<UNKNOWN jboss.j2ee:ear=l.ear,jar=MyProj_Report.jar,name=MyProj_ReportBean,service=EJB3>" is in error due to the following reason(s): ** UNRESOLVED Demands 'jndi:l/MyProj_APPBean/local-com.sonydadc.securom.pa.server.EJB.MyProj_APPBeanLocal' **, ** UNRESOLVED Demands 'jndi:l/MyProj_SERIMPBean/local-com.sonydadc.securom.pa.server.EJB.MyProj_SERIMPBeanLocal' **, ** UNRESOLVED Demands 'jndi:l/MyProj_CUSTOBean/local-com.sonydadc.securom.pa.server.EJB.MyProj_CUSTOBeanLocal' **
Deployment "<UNKNOWN jboss.j2ee:ear=l.ear,jar=MyProj_PURCH.jar,name=MyProj_PURCHBean,service=EJB3>" is in error due to the following reason(s): ** UNRESOLVED Demands 'jndi:l/MyProj_SyncBean/local-com.sonydadc.securom.pa.server.EJB.MyProj_SyncBeanLocal' **, ** UNRESOLVED Demands 'jndi:l/MyProj_ActivationBean/local-com.sonydadc.securom.pa.server.EJB.MyProj_ActivationLocal' **
Deployment "<UNKNOWN jboss.j2ee:ear=l.ear,jar=MyProj_LIC.jar,name=MyProj_LICBean,service=EJB3>" is in error due to the following reason(s): ** UNRESOLVED Demands 'jndi:l/MyProj_SyncBean/local-com.sonydadc.securom.pa.server.EJB.MyProj_SyncBeanLocal' **
Deployment "<UNKNOWN jboss.j2ee:ear=l.ear,jar=MyProj_CUSTO.jar,name=MyProj_CUSTOBean,service=EJB3>" is in error due to the following reason(s): ** UNRESOLVED Demands 'jndi:l/MyProj_APPBean/local-com.sonydadc.securom.pa.server.EJB.MyProj_APPBeanLocal' **, ** UNRESOLVED Demands 'jndi:l/MyProj_SyncBean/local-com.sonydadc.securom.pa.server.EJB.MyProj_SyncBeanLocal' **
Deployment "<UNKNOWN jboss.j2ee:ear=l.ear,jar=MyProj_SERIMP.jar,name=MyProj_SERIMPWorkerMDB,service=EJB3>" is in error due to the following reason(s): ** UNRESOLVED Demands 'jndi:l/MyProj_PURCHBean/local-com.sonydadc.securom.pa.server.EJB.MyProj_PURCHBeanLocal' **, ** UNRESOLVED Demands 'jndi:l/MyProj_SyncBean/local-com.sonydadc.securom.pa.server.EJB.MyProj_SyncBeanLocal' **, ** UNRESOLVED Demands 'jndi:l/MyProj_SERIMPBean/local-com.sonydadc.securom.pa.server.EJB.MyProj_SERIMPBeanLocal' **, ** UNRESOLVED Demands 'jndi:service/MyProj_Sync' **
Deployment "<UNKNOWN jboss.j2ee:ear=l.ear,jar=MyProj_MBean.jar,name=MyProj_Sync,service=EJB3>" is in error due to the following reason(s): ** UNRESOLVED Demands 'jndi:l/MyProj_APPBean/local-com.sonydadc.securom.pa.server.EJB.MyProj_APPBeanLocal' **, ** UNRESOLVED Demands 'jndi:l/MyProj_SyncBean/local-com.sonydadc.securom.pa.server.EJB.MyProj_SyncBeanLocal' **, ** UNRESOLVED Demands 'jndi:l/MyProj_CUSTOBean/local-com.sonydadc.securom.pa.server.EJB.MyProj_CUSTOBeanLocal' **
Deployment "<UNKNOWN jboss.j2ee:ear=l.ear,jar=MyProj_APP.jar,name=MyProj_APPBean,service=EJB3>" is in error due to the following reason(s): ** UNRESOLVED Demands 'jndi:l/MyProj_PURCHBean/local-com.sonydadc.securom.pa.server.EJB.MyProj_PURCHBeanLocal' **, ** UNRESOLVED Demands 'jndi:l/MyProj_SyncBean/local-com.sonydadc.securom.pa.server.EJB.MyProj_SyncBeanLocal' **, ** UNRESOLVED Demands 'jndi:l/MyProj_SERIMPBean/local-com.sonydadc.securom.pa.server.EJB.MyProj_SERIMPBeanLocal' **
Deployment "<UNKNOWN jboss.j2ee:ear=l.ear,jar=MyProj_Activation.jar,name=MyProj_ActivationBean,service=EJB3>" is in error due to the following reason(s): ** UNRESOLVED Demands 'jndi:l/MyProj_LICBean/local-com.sonydadc.securom.pa.server.EJB.MyProj_LICBeanLocal' **, ** UNRESOLVED Demands 'jndi:l/MyProj_SyncBean/local-com.sonydadc.securom.pa.server.EJB.MyProj_SyncBeanLocal' **
Deployment "<UNKNOWN jboss.j2ee:ear=l.ear,jar=MyProj_MBean.jar,name=MyProj_Check,service=EJB3>" is in error due to the following reason(s): ** UNRESOLVED Demands 'jndi:l/MyProj_APPBean/local-com.sonydadc.securom.pa.server.EJB.MyProj_APPBeanLocal' **, ** UNRESOLVED Demands 'jndi:l/MyProj_SyncBean/local-com.sonydadc.securom.pa.server.EJB.MyProj_SyncBeanLocal' **, ** UNRESOLVED Demands 'jndi:l/MyProj_CUSTOBean/local-com.sonydadc.securom.pa.server.EJB.MyProj_CUSTOBeanLocal' **
at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:863)
at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:806)
at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:293)
at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Please tell me, if any important information is imissing, so i can provide it. I would be very thankful for any hints/suggestions.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/559512#559512]
Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years, 7 months
[jBPM Development] - Assign task in jBPM
by Johan Arif Ariffin
Johan Arif Ariffin [http://community.jboss.org/people/metku] created the discussion
"Assign task in jBPM"
To view the discussion, visit: http://community.jboss.org/message/559460#559460
--------------------------------------------------------------
Hi, I am new to jBPM implementation, right now im having problem assigning task and start the task. Below are code snippet that will trigger the assign task. Basically i want to assign the actor to the task base on the task id and clears the pooled actors (this is to make sure only one person are doing the task).
JbpmContext jbpmContext = null;
try{
JbpmConfiguration jbpmConfiguration = JbpmConfiguration.getInstance();
jbpmContext = jbpmConfiguration.createJbpmContext();
TaskInstance taskInstance = jbpmContext.getTaskInstance(62); // Hardcoded Instance Id
taskInstance.setActorId("82123111245");
taskInstance.start();
List<String> userIds = new ArrayList<String>();
taskInstance.setPooledActors((String[])userIds.toArray(new String[0]));
jbpmContext.save(taskInstance);
}catch(JbpmPersistenceException ex){
System.out.println("-@Claim Task--Actor not found--");
}
But right now there're nothing happening over the jBPM Console. The task is still not assigned ,started and there are no errors on the server log.
Many thanks in advance.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/559460#559460]
Start a new discussion in jBPM Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years, 7 months