JNDI trouble after building from CVS
Axel Müller <[email protected]>
| Newsgroups | gmane.comp.java.open-symphony.devel |
|---|---|
| Message-ID | <[email protected]> |
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(CreateGeschaeftsWorkflowRequest.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(WorkflowStoreSessionEJB.java:105)
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:324)
at
org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:660)
at
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:186)
at
org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:77)
at
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:107)
at
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:282)
at
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:92)
at
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:130)
at
org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:204)
at
org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContainer.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.java:77)
at
org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:80)
at
org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:111)
at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:76)
at $Proxy806.createEntry(Unknown Source)
at
com.opensymphony.workflow.spi.ejb.EJBWorkflowStore.createEntry(EJBWorkflowStore.java:73)
at
com.opensymphony.workflow.AbstractWorkflow.initialize(AbstractWorkflow.java:353)
at
com.opensymphony.workflow.ejb.WorkflowEJB.initialize(WorkflowEJB.java:105)
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:324)
at
org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:660)
at
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:186)
at
org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:77)
at
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:107)
at
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:228)
at
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:92)
at
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:130)
at
org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:204)
at
org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContainer.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.java:77)
at
org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:80)
at
org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:111)
at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:76)
at $Proxy808.initialize(Unknown Source)
at
ch.gbs.mex.domain.workflow.CreateGeschaeftsWorkflowRequest.run(CreateGeschaeftsWorkflowRequest.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