Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem - deployment with AdminClient

 
Doris Wagner
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everyone!

I hope you can help me, because I'm sitting the whole day in front of my pc ... but I've no idea, what the fault ....

okay, I'm using JBoss3.2.6 and Axis1_1 ...

D:\jboss\server\default\deploy\webapps\axis.war ... in this directory, I saved my SimpleDVDStore.wsdd-document ...
D:\jboss\server\default\deploy\webapps\axis.war\WEB-INF\classes ... and here my compiled SimpleDVDStore.class

what happens:

D:\jboss\server\default\deploy\webapps\axis.war> java -cp $CLASSPATH org.apache.axis.client.AdminClient -1 http://localhost:8080/axis/servlet/AxisServlet SimpleDVDStore.wsdd
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/axis/client/AdminClient


Can anyone help me?

Thanks a lot
 
Balaji Loganathan
author and deputy
Bartender
Posts: 3150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check the classpath as described here
 
Doris Wagner
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Balaji Loganathan:
Check the classpath as described here


thank you for this link, it's quite usefull ...

I've changed my classpath ... and now, I get the following error message:

D:\jboss\server\default\deploy\webapps>
java -cp %AXISCLASSPATH% org.apache.axis.client.AdminClient -1 http://localhost:8080/axis/services/AdminService SimpleDVDStore.wsdd

Processing file http://localhost:8080/axis/services/AdminService
Exception:: java.io.FileNotFoundException: http:\localhost:8080\axis\services\AdminService (Die Syntax f�r den Dateinamen, Verzeichnisnamen oder die Datentr�gerbezeichnung ist falsch)



in which directory should i save the wsdd-file?
I've got it in this directory: D:\jboss\server\default\deploy\webapps> ... that the path, where I try to run the AdminClient as you see above

... perhaps you can help me

thanks!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic