Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not deserialize xml configuration file #34

Open
commandantmarcos opened this issue Jan 5, 2017 · 0 comments
Open

Can not deserialize xml configuration file #34

commandantmarcos opened this issue Jan 5, 2017 · 0 comments

Comments

@commandantmarcos
Copy link

Hi,

I'm trying to set a replication for our nexus 0SS 2.11.2-06 server using your plugin but I'm facing following issues :
- Master nexus :
CentOS 7.1
log from wrapper.log :
jvm 1 | 2017-01-05 16:24:04,397+0100 WARN [jetty-main-1] *SYSTEM org.sonatype.nexus.guice.NexusTypeBinder - Found legacy plexus component: com.griddynamics.cd.nrp.internal.rest.ArtifactUpdatePlexusResource jvm 1 | 2017-01-05 16:24:04,836+0100 ERROR [jetty-main-1] *SYSTEM com.griddynamics.cd.nrp.internal.uploading.impl.ArtifactUpdateApiClientImpl - null jvm 1 | javax.xml.bind.UnmarshalException: null jvm 1 | at javax.xml.bind.helpers.AbstractUnmarshallerImpl.createUnmarshalException(AbstractUnmarshallerImpl.java:335) ~[na:1.8.0_66] jvm 1 | at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.createUnmarshalException(UnmarshallerImpl.java:563) ~[na:1.8.0_66] jvm 1 | at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:249) ~[na:1.8.0_66] jvm 1 | at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:214) ~[na:1.8.0_66]
replication-plugin.xml :
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <configurations myUrl="http://nexus.sovinty.com:8081/nexus"> <servers> <server> <url>http://nexus2.sovinty.com:8081/nexus</url> <user>XXXXXXX</user> <password>XXXXXXX</password> </server> </servers> </configurations>
- Peer nexus :
Ubuntu 16.04.1
log from wrapper.log :
jvm 1 | 2017-01-05 16:27:32,154+0100 WARN [jetty-main-1] *SYSTEM org.sonatype.nexus.guice.NexusTypeBinder - Found legacy plexus component: com.griddynamics.cd.nrp.internal.rest.ArtifactUpdatePlexusResource jvm 1 | 2017-01-05 16:27:32,272+0100 ERROR [jetty-main-1] *SYSTEM com.griddynamics.cd.nrp.internal.uploading.impl.ConfigurationsManagerImpl - Can not deserialize xml configuration file: /home/sovinty/nexus/sonatype-work/nexus/conf/replication-plugin.xml jvm 1 | javax.xml.bind.UnmarshalException: null jvm 1 | at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:246) ~[na:1.8.0_111] jvm 1 | at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:214) ~[na:1.8.0_111] jvm 1 | at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:157) ~[na:1.8.0_111] jvm 1 | at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:162) ~[na:1.8.0_111] jvm 1 | at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:171) ~[na:1.8.0_111] jvm 1 | at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:189) ~[na:1.8.0_111]
as mentionned in user doc, I don't have any replication-plugin.xml file on peer instance.

I've built the plugin from sources with "mvn clean install" command (mvn package didn't generate the BUNDLE.zip file) with maven 3.0.4 and oracle Java version 1.8.0_66 (which the running JVM for my nexus instances).

Do you have any idea about that issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant