Linkage error for javax.servlet.Servlet in AS600
------------------------------------------------
Key: JBOSGI-318
URL:
https://jira.jboss.org/jira/browse/JBOSGI-318
Project: JBoss OSGi
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Integration (JBoss)
Reporter: Thomas Diesler
Assignee: Thomas Diesler
Fix For: JBossOSGi 1.0.0 Beta8
Caused by: java.lang.LinkageError: loader constraint violation in interface itable
initialization: when resolving method
"org.ops4j.pax.web.service.internal.HttpServiceProxy.registerServlet(Ljava/lang/String;Ljavax/servlet/Servlet;Ljava/util/Dictionary;Lorg/osgi/service/http/HttpContext;)V"
the class loader (instance of org/jboss/osgi/framework/classloading/OSGiBundleClassLoader)
of the current class, org/ops4j/pax/web/service/internal/HttpServiceProxy, and the class
loader (instance of org/jboss/osgi/framework/classloading/OSGiBundleClassLoader) for
interface org/osgi/service/http/HttpService have different Class objects for the type
javax/servlet/Servlet used in the signature
at org.ops4j.pax.web.service.internal.Activator$2.createService(Activator.java:104)
at
org.ops4j.pax.web.service.internal.HttpServiceFactoryImpl.getService(HttpServiceFactoryImpl.java:34)
at
org.jboss.osgi.framework.bundle.OSGiServiceState.getService(OSGiServiceState.java:391)
... 20 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira