Nexus Plugin not working on Tomcat

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Nexus Plugin not working on Tomcat

Hans Vandenbroeck
Hey

Last week I contacted the mailing list for a problem with my nexus plugin. The problems are resolved and the plugin is working with a clean nexus installed from the bundle provided by sonatype. But it will not work on a Nexus deployed with the WAR on tomcat. Tomcat version 7 is used and Nexus version 2.7.2-03.


2014-05-05 11:03:47 DEBUG [http-bio-8080-exec-13] admin org.sonatype.nexus.rest.NexusRestletResource - ERROR: com.thoughtworks.xstream.converters.ConversionException: No converter specified for class be.aca.nexus.openam_integration.conf.OpenAMConnectionInfoResponse
---- Debugging information ----
-------------------------------
com.thoughtworks.xstream.converters.ConversionException: No converter specified for class be.aca.nexus.openam_integration.conf.OpenAMConnectionInfoResponse
---- Debugging information ----
-------------------------------
        at com.thoughtworks.xstream.core.DefaultConverterLookup.lookupConverterForType(DefaultConverterLookup.java:61) ~[xstream-1.4.6-SONATYPE-02.jar:1.4.6-SONATYPE-02]

…….

2014-05-05 11:03:47 ERROR [http-bio-8080-exec-13] admin org.sonatype.nexus.rest.NexusApplication - Unhandled exception or error intercepted
com.thoughtworks.xstream.converters.ConversionException: No converter specified for class be.aca.nexus.openam_integration.conf.OpenAMConnectionInfoResponse
---- Debugging information ----
-------------------------------
        at com.thoughtworks.xstream.core.DefaultConverterLookup.lookupConverterForType(DefaultConverterLookup.java:61) ~[xstream-1.4.6-SONATYPE-02.jar:1.4.6-SONATYPE-02]
        at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:48) ~[xstream-1.4.6-SONATYPE-02.jar:1.4.6-SONATYPE-02]
        at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43) ~[xstream-1.4.6-SONATYPE-02.jar:1.4.6-SONATYPE-02]
        at com.thoughtworks.xstream.core.TreeMarshaller.start(TreeMarshaller.java:82) ~[xstream-1.4.6-SONATYPE-02.jar:1.4.6-SONATYPE-02]
        at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.marshal(AbstractTreeMarshallingStrategy.java:37) ~[xstream-1.4.6-SONATYPE-02.jar:1.4.6-SONATYPE-02]
        at com.thoughtworks.xstream.XStream.marshal(XStream.java:1368) ~[xstream-1.4.6-SONATYPE-02.jar:1.4.6-SONATYPE-02]


I have tried added the line
        - xStream.aliasPackage("connectionInfo", "be.aca.nexus.openam_integration.conf”); line to trust the package.

Does someone know why he cannot find the converters?
What is the difference between the bundled install and WAR installation on Tomcat?

with kind regards
Hans Vandenbroeck
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Nexus Plugin not working on Tomcat

Brian Fox
Hi Hans, the bundled install uses Jetty which is what is officially tested and supported. 


On Mon, May 5, 2014 at 5:16 AM, Hans Vandenbroeck <[hidden email]> wrote:
Hey

Last week I contacted the mailing list for a problem with my nexus plugin. The problems are resolved and the plugin is working with a clean nexus installed from the bundle provided by sonatype. But it will not work on a Nexus deployed with the WAR on tomcat. Tomcat version 7 is used and Nexus version 2.7.2-03.


2014-05-05 11:03:47 DEBUG [http-bio-8080-exec-13] admin org.sonatype.nexus.rest.NexusRestletResource - ERROR: com.thoughtworks.xstream.converters.ConversionException: No converter specified for class be.aca.nexus.openam_integration.conf.OpenAMConnectionInfoResponse
---- Debugging information ----
-------------------------------
com.thoughtworks.xstream.converters.ConversionException: No converter specified for class be.aca.nexus.openam_integration.conf.OpenAMConnectionInfoResponse
---- Debugging information ----
-------------------------------
        at com.thoughtworks.xstream.core.DefaultConverterLookup.lookupConverterForType(DefaultConverterLookup.java:61) ~[xstream-1.4.6-SONATYPE-02.jar:1.4.6-SONATYPE-02]

…….

2014-05-05 11:03:47 ERROR [http-bio-8080-exec-13] admin org.sonatype.nexus.rest.NexusApplication - Unhandled exception or error intercepted
com.thoughtworks.xstream.converters.ConversionException: No converter specified for class be.aca.nexus.openam_integration.conf.OpenAMConnectionInfoResponse
---- Debugging information ----
-------------------------------
        at com.thoughtworks.xstream.core.DefaultConverterLookup.lookupConverterForType(DefaultConverterLookup.java:61) ~[xstream-1.4.6-SONATYPE-02.jar:1.4.6-SONATYPE-02]
        at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:48) ~[xstream-1.4.6-SONATYPE-02.jar:1.4.6-SONATYPE-02]
        at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43) ~[xstream-1.4.6-SONATYPE-02.jar:1.4.6-SONATYPE-02]
        at com.thoughtworks.xstream.core.TreeMarshaller.start(TreeMarshaller.java:82) ~[xstream-1.4.6-SONATYPE-02.jar:1.4.6-SONATYPE-02]
        at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.marshal(AbstractTreeMarshallingStrategy.java:37) ~[xstream-1.4.6-SONATYPE-02.jar:1.4.6-SONATYPE-02]
        at com.thoughtworks.xstream.XStream.marshal(XStream.java:1368) ~[xstream-1.4.6-SONATYPE-02.jar:1.4.6-SONATYPE-02]


I have tried added the line
        - xStream.aliasPackage("connectionInfo", "be.aca.nexus.openam_integration.conf”); line to trust the package.

Does someone know why he cannot find the converters?
What is the difference between the bundled install and WAR installation on Tomcat?

with kind regards
Hans Vandenbroeck
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]