History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: NXP-1005
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Dragos Mihalache
Reporter: Thierry Delprat
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Google issue summary
Nuxeo Enterprise Platform

Use plateform APi in Seam delegates

Created: 09/05/07 15:20   Updated: 13/05/07 22:28
Component/s: None
Affects Version/s: None
Fix Version/s: 5.1 M3

Time Tracking:
Not Specified

Resolution Date: 13/05/07 22:28
Require Callback: No
Participants: Dragos Mihalache and Thierry Delprat
Date of First Response: 10/05/07 13:00
Tags:


 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Dragos Mihalache - 10/05/07 13:00
Impacted delegates:


DocumentManagerBusinessDelegate.java
DocumentVersioningBusinessDelegate.java
ECContentRootBusinessDelegate.java
ECDomainBusinessDelegate.java
ECServerBusinessDelegate.java
UserManagerBusinessDelegate.java
BusinessDelegateHelper.java
TypeManagerBusinessDelegate

Thierry Delprat - 11/05/07 13:46
When saving a modification on a document I have errors in logs (but it works) :
This is probably tried to Notification service :
Can you have a look and see with Narcis please.


13:42:56,341 ERROR [ClientException] ClientException created...
org.nuxeo.ecm.core.api.ClientException: Cannot load JNDILocations.properties from classpath location: META-INF/
        at org.nuxeo.ecm.core.api.ejb.JNDILookupHelper.<init>(JNDILookupHelper.java:78)
        at org.nuxeo.ecm.platform.ec.notification.service.NotificationServiceHelper.getPlacefulServiceBean(NotificationServiceHelper.java:61)
        at org.nuxeo.ecm.platform.ec.notification.service.NotificationService.getSubscribers(NotificationService.java:153)
        at org.nuxeo.ecm.platform.ec.notification.ejb.NotificationMessageListener.onMessage(NotificationMessageListener.java:104)
        at sun.reflect.GeneratedMethodAccessor416.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
        at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
        at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
        at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
        at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
        at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
        at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:201)
        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
        at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
        at org.jboss.ejb3.mdb.MDB.localInvoke(MDB.java:865)
        at org.jboss.ejb3.mdb.MDB.localInvoke(MDB.java:844)
        at org.jboss.ejb3.mdb.MDB$MessageListenerImpl.onMessage(MDB.java:1074)
        at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:266)
        at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:902)
        at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:170)
        at org.jboss.mq.SpySession.run(SpySession.java:323)
        at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:194)
        at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748)
        at java.lang.Thread.run(Thread.java:595)
13:42:56,343 ERROR [StdServerSession] session failed to run; setting rollback only
javax.ejb.EJBTransactionRolledbackException: javax.ejb.EJBException: org.nuxeo.ecm.core.api.ClientException: Cannot load JNDILocations.properties from classpath location: META-INF/
        at org.jboss.ejb3.tx.Ejb3TxPolicy.handleInCallerTx(Ejb3TxPolicy.java:93)
        at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:130)
        at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:201)
        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
        at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
        at org.jboss.ejb3.mdb.MDB.localInvoke(MDB.java:865)
        at org.jboss.ejb3.mdb.MDB.localInvoke(MDB.java:844)
        at org.jboss.ejb3.mdb.MDB$MessageListenerImpl.onMessage(MDB.java:1074)
        at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:266)
        at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:902)
        at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:170)
        at org.jboss.mq.SpySession.run(SpySession.java:323)
        at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:194)
        at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748)
        at java.lang.Thread.run(Thread.java:595)
Caused by: javax.ejb.EJBException: org.nuxeo.ecm.core.api.ClientException: Cannot load JNDILocations.properties from classpath location: META-INF/
        at org.nuxeo.ecm.platform.ec.notification.ejb.NotificationMessageListener.onMessage(NotificationMessageListener.java:143)
        at sun.reflect.GeneratedMethodAccessor416.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
        at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
        at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
        at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
        at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
        at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
        ... 14 more
Caused by: org.nuxeo.ecm.core.api.ClientException: Cannot load JNDILocations.properties from classpath location: META-INF/
        at org.nuxeo.ecm.core.api.ejb.JNDILookupHelper.<init>(JNDILookupHelper.java:78)
        at org.nuxeo.ecm.platform.ec.notification.service.NotificationServiceHelper.getPlacefulServiceBean(NotificationServiceHelper.java:61)
        at org.nuxeo.ecm.platform.ec.notification.service.NotificationService.getSubscribers(NotificationService.java:153)
        at org.nuxeo.ecm.platform.ec.notification.ejb.NotificationMessageListener.onMessage(NotificationMessageListener.java:104)
        ... 26 more

Dragos Mihalache - 13/05/07 22:28
Updated also for NotificationService binding in the notification web project