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 ad...@gsk.com on 2006/10/19 21:09:34 UTC
simpleaxis2server.bat: System can not find the given axis2.xml
I have downloaded the latest nightly standard binary dist, I get this
error running simpleaxis2server.bat:
C:\axis2\axis2-1.1-SNAPSHOT\bin>simpleaxis2server.bat
Using AXIS2_HOME: C:\axis2\axis2-1.1-SNAPSHOT
Using JAVA_HOME: C:\jdk1.6.0
[SimpleAxisServer] Starting
[SimpleAxisServer] Using the Axis2
RepositoryC:\axis2\axis2-1.1-SNAPSHOT\bin\$AX
IS2_HOME\repository
[SimpleAxisServer] Using the Axis2 Configuration
FileC:\axis2\axis2-1.1-SNAPSHOT
\bin\$AXIS2_HOME\conf\axis2.xml
Oct 19, 2006 2:50:51 PM org.apache.axis2.transport.SimpleAxis2Server main
SEVERE: Error starting SimpleAxisServer
org.apache.axis2.AxisFault: System can not find the given axis2.xml
$AXIS2_HOME\
conf\axis2.xml
at
org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfigurati
on(FileSystemConfigurator.java:111)
at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurat
ionContext(ConfigurationContextFactory.java:61)
at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurat
ionContextFromFileSystem(ConfigurationContextFactory.java:180)
at
org.apache.axis2.transport.SimpleAxis2Server.main(SimpleAxis2Server.j
ava:78)
[SimpleAxisServer] Shutting down
The axis2.xml file is where it should be, but the "$AXIS2_HOME" in the
following lines look suspicious to me:
[SimpleAxisServer] Using the Axis2
RepositoryC:\axis2\axis2-1.1-SNAPSHOT\bin\$AX
IS2_HOME\repository
[SimpleAxisServer] Using the Axis2 Configuration
FileC:\axis2\axis2-1.1-SNAPSHOT
\bin\$AXIS2_HOME\conf\axis2.xml
Adam