Hi,

I have problems dispatching events (Pluto 2.0 / JBoss 4.2.2 / Tomcat). 
Curiously enough it works, although I get stacktraces. I can send and
receive the events.

With the event I dispatch the following object.

public class PortletExchangeInfo implements Serializable {  
// jaxb doesnt dispatch HashMap
  public ArrayList<String> parameterNames = new ArrayList(); 
  public ArrayList<String[]> parameterValues = new ArrayList();
}



There seams to be a problem getting the JAXB serializer/deserializers.

The exceptions happen in 
org.apache.pluto.driver.services.container.EventProviderImpl.createEvent(EventProviderImpl.java:84)
and
org.apache.pluto.driver.services.container.PortletWindowThread.run(PortletWindowThread.java:114)

when calling:   JAXBContext jc = JAXBContext.newInstance(clazz);

I get:

FEIN: Unable to inject
ch/abacus/flow/web/portlets/PortletExchangeInfo$JaxbAccessorF_parameterNames
java.lang.reflect.InvocationTargetException
        at sun.reflect.GeneratedMethodAccessor79.invoke(Unknown Source)
...
        at
org.apache.pluto.driver.services.container.PortletWindowThread.run(PortletWindowThread.java:114)
Caused by: java.lang.LinkageError: loader (instance of 
org/jboss/web/tomcat/service/WebAppClassLoader): attempted  duplicate class
definition for name:
"ch/abacus/flow/web/portlets/PortletExchangeInfo$JaxbAccessorF_parameterNames"
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:465)
...
and

FEIN: Unable to inject
ch/abacus/flow/web/portlets/PortletExchangeInfo$JaxbAccessorF_parameterValues
java.lang.reflect.InvocationTargetException
...
        at
org.apache.pluto.driver.services.container.PortletWindowThread.run(PortletWindowThread.java:114)
Caused by: java.lang.LinkageError: loader (instance of 
org/jboss/web/tomcat/service/WebAppClassLoader): attempted  duplicate class
definition for name:
"ch/abacus/flow/web/portlets/PortletExchangeInfo$JaxbAccessorF_parameterValues"
...

---------------------------------

and a similar stacktrace from
org.apache.pluto.driver.services.container.EventProviderImpl.createEvent


It would be great, if anybody had a clue on this. 


Thanks
Hubert



-- 
View this message in context: 
http://www.nabble.com/java.lang.LinkageError-while-dispatching-events-in-Pluto-2.0-tp26115754p26115754.html
Sent from the Pluto - User mailing list archive at Nabble.com.

Reply via email to