Ok, I solved it myself. I was running Maven over JDK 5, and that includes JMX 
classes, obviously with different serialVersionUID than those from 
weblogic-8.1.jar.

I installed JDK 1.4.2 (just one month before its end of life J ), set JAVA_HOME 
for Maven to point at it,  and now it works.

Cheers,

*jordi

 

De: Buj Arís, Jordi [mailto:[EMAIL PROTECTED] 
Enviat: martes, 23 de septiembre de 2008 14:12
Per a: user@mojo.codehaus.org
Tema: [mojo-user] Deploy to WebLogic 8.1

 

I can't get the weblogic maven plugin to work with my 8.1 SP4 server. I'm 
constantly getting an InvalidClassException when trying to contact the server. 

It looks like I have javax.management classes in my classpath that don't match 
the ones used by the server.

I installed the weblogic and webservices jars in my local repository as 
required by the documentation, and configured my POM to grab the 2.8.0 plugin 
version

Is there anything else I should take into account?

 

 

[INFO] Running the list apps task with infoListAppsMojo[adminServerHostName = 
carallot

 adminServerPort = 7001

 adminServerProtocol = t3

 password = weblogic

 userId = weblogic]

<Sep 23, 2008 12:19:05 PM CEST> <Error> <RJVM> <BEA-000503> <Incoming message 
header or abbreviation processing failed

 java.io.InvalidClassException: javax.management.ObjectName; local class 
incompatible: stream classdesc serialVersionUID = -5467795090068647408, local 
class serialVersionUID = 1081892073854801359

 

 

Regards, *jordi

 

Reply via email to