You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Bret Comstock Waldow <bw...@alum.mit.edu> on 2005/04/08 22:38:42 UTC

Exception when deploying a service

We are using Axis running on a JBoss server.  We create our WSDL and 
subsequently our WSDD files using the Apache tools.

When I run the deploy tool on the WSDD file, it works, and there is a trailing 
Java Null Pointer Exception.  It doesn't appear to prevent the service from 
operating, but it alarms customers, and I can't track it down.  Google has 
only a few pages that contain it, and they all appear to be about other 
issues.

Here is our tool file to run the deploy tool:

set AXIS_HOME=C:\Progra~1\JBoss\server\default\deploy\axis.war\WEB-INF

@set CP=%AXIS_HOME%\lib\axis.jar
@set CP=%CP%;%AXIS_HOME%\lib\wsdl4j.jar
@set CP=%CP%;%AXIS_HOME%\lib\log4j-1.2.8.jar
@set CP=%CP%;%AXIS_HOME%\lib\axis-ant.jar
@set CP=%CP%;%AXIS_HOME%\lib\jaxrpc.jar
@set CP=%CP%;%AXIS_HOME%\lib\saaj.jar
@set CP=%CP%;%AXIS_HOME%\lib\commons-logging.jar
@set CP=%CP%;%AXIS_HOME%\lib\commons-discovery.jar;.

cd src

java -cp %CP% org.apache.axis.client.AdminClient -p8060 
com\hyperbolex\soa\server\deploy.wsdd

cd ..
pause

Here is a sample output (line breaks courtesy of mail program):
C:\hyperbolex\src>java -cp C:
\Progra~1\JBoss\server\default\deploy\axis.war\WEB-INF\lib\axis.jar;C:
\Progra~1\JBoss\server\default\deploy\axis.war\WEB-INF\lib\wsdl4j.jar;C:
\Progra~1\JBoss\server\default\deploy\axis.war\WEB-INF\lib\log4j-1.2.8.jar;C:
\Progra~1\JBoss\server\default\deploy\axis.war\WEB-INF\lib\axis-ant.jar;C:
\Progra~1\JBoss\server\default\deploy\axis.war\WEB-INF\lib\jaxrpc.jar;C:
\Progra~1\JBoss\server\default\deploy\axis.war\WEB-INF\lib\saaj.jar;C:
\Progra~1\JBoss\server\default\deploy\axis.war\WEB-INF\lib\commons-logging.jar;C:
\Progra~1\JBoss\server\default\deploy\axis.war\WEB-INF\lib\commons-discovery.jar;. 
org.apache.axis.client.AdminClient  -p8060 
com\hyperbolex\soa\server\deploy.wsdd
Processing file com\hyperbolex\soa\server\deploy.wsdd
Exception:: java.lang.NullPointerException

Can anyone tell me what might be causing that Execption?

Thanks in advance,
Bret