JNP classes not available in the context of the platform mbean server
---------------------------------------------------------------------
Key: NXP-4330
URL: http://jira.nuxeo.org/browse/NXP-4330
Project: Nuxeo Enterprise Platform
Issue Type: Bug
Reporter: Stéphane Lacoin
Assignee: Thierry Delprat
Priority: Major
Fix For: 5.3.x
When nuxeo is configured for using the platform mbean server, mbeans that try
to initialize the JNDI namespace fails because
they cannot access to the JNP implementation classes provided in the JBoss
class path :
2009-11-16 12:22:15,467 ERROR
[org.nuxeo.ecm.core.storage.sql.management.RepositoryStatus] Error getting
repositories
javax.naming.NoInitialContextException: Cannot instantiate class:
org.jnp.interfaces.NamingContextFactory [Root exception is
java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFactory]
at
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:657)
at
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.InitialContext.<init>(InitialContext.java:175)
at
org.nuxeo.ecm.core.storage.sql.management.RepositoryStatus.getRepositories(RepositoryStatus.java:44)
at
org.nuxeo.ecm.core.storage.sql.management.RepositoryStatus.listActiveSessions(RepositoryStatus.java:73)
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:597)
at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:36)
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:597)
at sun.reflect.misc
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets