Re: JNDI trouble after building from CVS
Hani Suleiman <[email protected]>
| Newsgroups | gmane.comp.java.open-symphony.devel |
|---|---|
| Message-ID | <[email protected]> |
My apologies, this was due to upgrading xdoclet to 1.2beta3 and forgetting to apply an xdoclet patch I had in my local tree, should be fixed now hopefully (if anyone cares, the details are in http://opensource.atlassian.com/projects/xdoclet/secure/ ViewIssue.jspa?key=190 ) On Sunday, June 22, 2003, at 04:26 PM, Axel Müller wrote: > Hi, > > I just did a build from CVS and run unit tests without problems. > However using the EJB stuff seems to be broken with regards to JNDI > (my build from 2 months ago runs well in this regard): > > 2003-06-22 22:08:49,936 ERROR > [ch.gbs.mex.domain.workflow.CreateGeschaeftsWorkflowRequest.run(CreateG > eschaeftsWorkflowRequest.java:78)]-Fehler: > com.opensymphony.workflow.StoreException: Could not create new > workflow entry: root cause: WorkflowEntryLocal not bound > at > com.opensymphony.workflow.spi.ejb.WorkflowStoreSessionEJB.createEntry(W > orkflowStoreSessionEJB.java:105) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja > va:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso > rImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at > org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(Sta > telessSessionContainer.java:660) > at > org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke > (CachedConnectionInterceptor.java:186) > at > org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(Statel > essSessionInstanceInterceptor.java:77) > at > org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterc > eptor.java:107) > at > org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxIntercepto > rCMT.java:282) > at > org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:92) > at > org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.ja > va:130) > at > org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:204) > at > org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContaine > r.java:313) > at org.jboss.ejb.Container.invoke(Container.java:712) > at > org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517) > at > org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:98) > at > org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java: > 102) > at > org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.ja > va:77) > at > org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:80) > at > org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSession > Interceptor.java:111) > at > org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:76) > at $Proxy806.createEntry(Unknown Source) > at > com.opensymphony.workflow.spi.ejb.EJBWorkflowStore.createEntry(EJBWorkf > lowStore.java:73) > at > com.opensymphony.workflow.AbstractWorkflow.initialize(AbstractWorkflow. > java:353) > at > com.opensymphony.workflow.ejb.WorkflowEJB.initialize(WorkflowEJB.java:1 > 05) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja > va:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso > rImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at > org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(Sta > telessSessionContainer.java:660) > at > org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke > (CachedConnectionInterceptor.java:186) > at > org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(Statel > essSessionInstanceInterceptor.java:77) > at > org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterc > eptor.java:107) > at > org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxIntercepto > rCMT.java:228) > at > org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:92) > at > org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.ja > va:130) > at > org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:204) > at > org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContaine > r.java:313) > at org.jboss.ejb.Container.invoke(Container.java:712) > at > org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517) > at > org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:98) > at > org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java: > 102) > at > org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.ja > va:77) > at > org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:80) > at > org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSession > Interceptor.java:111) > at > org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:76) > at $Proxy808.initialize(Unknown Source) > at > ch.gbs.mex.domain.workflow.CreateGeschaeftsWorkflowRequest.run(CreateGe > schaeftsWorkflowRequest.java:68) > at > ch.gbs.mex.util.PlainWorkerPool$1.run(PlainWorkerPool.java:52) > at java.lang.Thread.run(Thread.java:536) > > > This is part of the global JNDI Namespace of JBoss (You will notice > that WorkflowEntryLocal is bound): > > > > +- CurrentStepLocal (proxy: $Proxy682 implements interface > com.opensymphony.workflow.spi.ejb.CurrentStepLocalHome) > +- PropertyDate (proxy: $Proxy801 implements interface > com.opensymphony.module.propertyset.ejb.types.PropertyDateLocalHome) > +- PropertyString (proxy: $Proxy802 implements interface > com.opensymphony.module.propertyset.ejb.types.PropertyStringLocalHome) > +- WorkflowStore (proxy: $Proxy805 implements interface > com.opensymphony.workflow.spi.ejb.WorkflowStoreHome,interface > javax.ejb.Handle) > +- PropertyData (proxy: $Proxy804 implements interface > com.opensymphony.module.propertyset.ejb.types.PropertyDataLocalHome) > +- PropertyNumber (proxy: $Proxy803 implements interface > com.opensymphony.module.propertyset.ejb.types.PropertyNumberLocalHome) > +- HistoryStepPrevLocal (proxy: $Proxy685 implements interface > com.opensymphony.workflow.spi.ejb.HistoryStepPrevLocalHome) > +- UserTransactionSessionFactory (class: > org.jboss.tm.usertx.server.UserTransactionSessionFactoryImpl) > +- Sequence (proxy: $Proxy790 implements interface > com.opensymphony.module.sequence.SequenceLocalHome) > +- Workflow (proxy: $Proxy807 implements interface > com.opensymphony.workflow.ejb.WorkflowHome,interface javax.ejb.Handle) > +- invokers (class: org.jnp.interfaces.NamingContext) > | +- asterix (class: org.jnp.interfaces.NamingContext) > | | +- pooled (class: > org.jboss.invocation.pooled.interfaces.PooledInvokerProxy) > | | +- jrmp (class: > org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy) > +- SequenceGenerator (proxy: $Proxy825 implements interface > com.opensymphony.module.sequence.SequenceGeneratorHome,interface > javax.ejb.Handle) > +- UserTransaction (class: > org.jboss.tm.usertx.client.ClientUserTransaction) > +- PropertyEntry (proxy: $Proxy799 implements interface > com.opensymphony.module.propertyset.ejb.types.PropertyEntryLocalHome) > +- HistoryStepLocal (proxy: $Proxy684 implements interface > com.opensymphony.workflow.spi.ejb.HistoryStepLocalHome) > +- CurrentStepPrevLocal (proxy: $Proxy683 implements interface > com.opensymphony.workflow.spi.ejb.CurrentStepPrevLocalHome) > +- PropertyDecimal (proxy: $Proxy800 implements interface > com.opensymphony.module.propertyset.ejb.types.PropertyDecimalLocalHome) > +- WorkflowEntryLocal (proxy: $Proxy681 implements interface > com.opensymphony.workflow.spi.ejb.WorkflowEntryLocalHome) > +- PropertyStore (proxy: $Proxy827 implements interface > com.opensymphony.module.propertyset.ejb.PropertyStoreHome,interface > javax.ejb.Handle) > > > I'm not sure if the links used by WorkflowStore are correct (local and > non-local is mixed?): > > java:comp namespace of the WorkflowStore bean: > > +- env (class: org.jnp.interfaces.NamingContext) > > | +- ejb (class: org.jnp.interfaces.NamingContext) > | | +- HistoryStep[link -> HistoryStepLocal] (class: > javax.naming.LinkRef) > | | +- WorkflowEntry[link -> WorkflowEntryLocal] (class: > javax.naming.LinkRef) > | | +- CurrentStepPrev[link -> CurrentStepPrevLocal] (class: > javax.naming.LinkRef) > | | +- HistoryStepPrev[link -> HistoryStepPrevLocal] (class: > javax.naming.LinkRef) > | | +- CurrentStep[link -> CurrentStepLocal] (class: > javax.naming.LinkRef) > > > Any ideas? > > Axel > ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php