axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From adam.x.ellw...@gsk.com
Subject simpleaxis2server.bat: System can not find the given axis2.xml
Date Thu, 19 Oct 2006 19:09:34 GMT
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

Mime
View raw message