Hi All:
I delete the "@echo off" line in the .bat file, and from the looks of it
the set AXIS_2_CLASS_PATH is assigned the jar files.
Can anyone please tell me which jar file the SimpleAxis2Server.class is suppose to belong to in apache axis 2 version 1.5?
I went to this web site:
http://www.findjar.com/jar/org.apache.axis2/jars/axis2-1.2.jar.html
It contains the axis2-1.2.jar, and I placed this jar in the c:\axis2-1.5.1\lib directory and ran axis2server.bat and got the same error as before
It set the classpath variable:
set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\axis2-1.2.jar
It ran as follow:
"c:\Java\jdk16_17\bin\java.exe" -cp "!AXIS2_CLASS_PATH!" org.apache.axis2.transport.SimpleAxis2Server -repo "C:\axis2-1.5.1\repository" -conf "C:\axis2-1.5.1\conf\axis2.xml"
I attached axis2.txt which is the output from running C:\axis2-1.5.1\bin\axis2.bat and axis2server.txt which is the result of running
C:\axis2-1.5.1\bin\axis2server.txt.
Can anyone please tell me what is wrong with my axis2 version 1.5 setup?
C:\axis2-1.5.1>"C:\Java\jdk16_17\bin\java.exe" -cp "!AXIS2_CLASS_PATH!" org.apache.axis2.transport.SimpleAxis2Server -repo "C:\axis2-1.5.1\repository" -conf "C:\axis2-1.5.1\conf\axis2.xml"
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/axis2/transport/SimpleAxis2Server
Caused by: java.lang.ClassNotFoundException: org.apache.axis2.transport.SimpleAxis2Server
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:303)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
Could not find the main class: org.apache.axis2.transport.SimpleAxis2Server. Program will exit.
C:\axis2-1.5.1>goto end
Output of running axis2.bat:
C:\axis2-1.5.1\bin>axis2.bat
C:\axis2-1.5.1\bin>REM Licensed to the Apache Software Foundation (ASF) under one
C:\axis2-1.5.1\bin>REM or more contributor license agreements. See the NOTICE file
C:\axis2-1.5.1\bin>REM distributed with this work for additional information
C:\axis2-1.5.1\bin>REM regarding copyright ownership. The ASF licenses this file
C:\axis2-1.5.1\bin>REM to you under the Apache License, Version 2.0 (the
C:\axis2-1.5.1\bin>REM "License"); you may not use this file except in compliance
C:\axis2-1.5.1\bin>REM with the License. You may obtain a copy of the License at
C:\axis2-1.5.1\bin>REM
C:\axis2-1.5.1\bin>REM http://www.apache.org/licenses/LICENSE-2.0
C:\axis2-1.5.1\bin>REM
C:\axis2-1.5.1\bin>REM Unless required by applicable law or agreed to in writing,
C:\axis2-1.5.1\bin>REM software distributed under the License is distributed on an
C:\axis2-1.5.1\bin>REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
C:\axis2-1.5.1\bin>REM KIND, either express or implied. See the License for the
C:\axis2-1.5.1\bin>REM specific language governing permissions and limitations
C:\axis2-1.5.1\bin>REM under the License.
C:\axis2-1.5.1\bin>rem ---------------------------------------------------------------------------
C:\axis2-1.5.1\bin>rem Axis2 Script
C:\axis2-1.5.1\bin>rem
C:\axis2-1.5.1\bin>rem Environment Variable Prequisites
C:\axis2-1.5.1\bin>rem
C:\axis2-1.5.1\bin>rem AXIS2_HOME Must point at your AXIS2 directory
C:\axis2-1.5.1\bin>rem
C:\axis2-1.5.1\bin>rem JAVA_HOME Must point at your Java Development Kit installation.
C:\axis2-1.5.1\bin>rem
C:\axis2-1.5.1\bin>rem JAVA_OPTS (Optional) Java runtime options
C:\axis2-1.5.1\bin>rem ---------------------------------------------------------------------------
C:\axis2-1.5.1\bin>set CURRENT_DIR=C:\axis2-1.5.1\bin
C:\axis2-1.5.1\bin>rem Make sure prerequisite environment variables are set
C:\axis2-1.5.1\bin>if not "C:\Java\jdk16_17" == "" goto gotJavaHome
C:\axis2-1.5.1\bin>if not exist "C:\Java\jdk16_17\bin\java.exe" goto noJavaHome
C:\axis2-1.5.1\bin>goto okJavaHome
C:\axis2-1.5.1\bin>rem check the AXIS2_HOME environment variable
C:\axis2-1.5.1\bin>if not "C:\axis2-1.5.1" == "" goto gotHome
C:\axis2-1.5.1\bin>if EXIST "C:\axis2-1.5.1\lib\axis2*.jar" goto okHome
C:\axis2-1.5.1\bin>rem set the classes
C:\axis2-1.5.1\bin>setlocal EnableDelayedExpansion
C:\axis2-1.5.1\bin>rem ----- Execute The Requested Command ---------------------------------------
C:\axis2-1.5.1\bin>echo Using AXIS2_HOME: C:\axis2-1.5.1
Using AXIS2_HOME: C:\axis2-1.5.1
C:\axis2-1.5.1\bin>echo Using JAVA_HOME: C:\Java\jdk16_17
Using JAVA_HOME: C:\Java\jdk16_17
C:\axis2-1.5.1\bin>set _RUNJAVA="C:\Java\jdk16_17\bin\java"
C:\axis2-1.5.1\bin>"C:\Java\jdk16_17\bin\java" -Djava.ext.dirs="C:\axis2-1.5.1\lib\" -Daxis2.repo="C:\axis2-1.5.1\repository" -Daxis2.xml="C:\axis2-1.5.1\conf\axis2.xml"
Usage: java [-options] class [args...]
(to execute a class)
or java [-options] -jar jarfile [args...]
(to execute a jar file)
where options include:
-client to select the "client" VM
-server to select the "server" VM
-hotspot is a synonym for the "client" VM [deprecated]
The default VM is client.
-cp
-classpath
A ; separated list of directories, JAR archives,
and ZIP archives to search for class files.
-D=
set a system property
-verbose[:class|gc|jni]
enable verbose output
-version print product version and exit
-version:
require the specified version to run
-showversion print product version and continue
-jre-restrict-search | -jre-no-restrict-search
include/exclude user private JREs in the version search
-? -help print this help message
-X print help on non-standard options
-ea[:...|:]
-enableassertions[:...|:]
enable assertions
-da[:...|:]
-disableassertions[:...|:]
disable assertions
-esa | -enablesystemassertions
enable system assertions
-dsa | -disablesystemassertions
disable system assertions
-agentlib:[=]
load native agent library , e.g. -agentlib:hprof
see also, -agentlib:jdwp=help and -agentlib:hprof=help
-agentpath:[=]
load native agent library by full pathname
-javaagent:[=]
load Java programming language agent, see java.lang.instrument
-splash:
show splash screen with specified image
C:\axis2-1.5.1\bin>endlocal
C:\axis2-1.5.1\bin>
C:\axis2-1.5.1\bin>axis2.bat
C:\axis2-1.5.1\bin>REM Licensed to the Apache Software Foundation (ASF) under one
C:\axis2-1.5.1\bin>REM or more contributor license agreements. See the NOTICE file
C:\axis2-1.5.1\bin>REM distributed with this work for additional information
C:\axis2-1.5.1\bin>REM regarding copyright ownership. The ASF licenses this file
C:\axis2-1.5.1\bin>REM to you under the Apache License, Version 2.0 (the
C:\axis2-1.5.1\bin>REM "License"); you may not use this file except in compliance
C:\axis2-1.5.1\bin>REM with the License. You may obtain a copy of the License at
C:\axis2-1.5.1\bin>REM
C:\axis2-1.5.1\bin>REM http://www.apache.org/licenses/LICENSE-2.0
C:\axis2-1.5.1\bin>REM
C:\axis2-1.5.1\bin>REM Unless required by applicable law or agreed to in writing,
C:\axis2-1.5.1\bin>REM software distributed under the License is distributed on an
C:\axis2-1.5.1\bin>REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
C:\axis2-1.5.1\bin>REM KIND, either express or implied. See the License for the
C:\axis2-1.5.1\bin>REM specific language governing permissions and limitations
C:\axis2-1.5.1\bin>REM under the License.
C:\axis2-1.5.1\bin>rem ---------------------------------------------------------------------------
C:\axis2-1.5.1\bin>rem Axis2 Script
C:\axis2-1.5.1\bin>rem
C:\axis2-1.5.1\bin>rem Environment Variable Prequisites
C:\axis2-1.5.1\bin>rem
C:\axis2-1.5.1\bin>rem AXIS2_HOME Must point at your AXIS2 directory
C:\axis2-1.5.1\bin>rem
C:\axis2-1.5.1\bin>rem JAVA_HOME Must point at your Java Development Kit installation.
C:\axis2-1.5.1\bin>rem
C:\axis2-1.5.1\bin>rem JAVA_OPTS (Optional) Java runtime options
C:\axis2-1.5.1\bin>rem ---------------------------------------------------------------------------
C:\axis2-1.5.1\bin>set CURRENT_DIR=C:\axis2-1.5.1\bin
C:\axis2-1.5.1\bin>rem Make sure prerequisite environment variables are set
C:\axis2-1.5.1\bin>if not "C:\Java\jdk16_17" == "" goto gotJavaHome
C:\axis2-1.5.1\bin>if not exist "C:\Java\jdk16_17\bin\java.exe" goto noJavaHome
C:\axis2-1.5.1\bin>goto okJavaHome
C:\axis2-1.5.1\bin>rem check the AXIS2_HOME environment variable
C:\axis2-1.5.1\bin>if not "C:\axis2-1.5.1" == "" goto gotHome
C:\axis2-1.5.1\bin>if EXIST "C:\axis2-1.5.1\lib\axis2*.jar" goto okHome
C:\axis2-1.5.1\bin>rem set the classes
C:\axis2-1.5.1\bin>setlocal EnableDelayedExpansion
C:\axis2-1.5.1\bin>rem ----- Execute The Requested Command ---------------------------------------
C:\axis2-1.5.1\bin>echo Using AXIS2_HOME: C:\axis2-1.5.1
Using AXIS2_HOME: C:\axis2-1.5.1
C:\axis2-1.5.1\bin>echo Using JAVA_HOME: C:\Java\jdk16_17
Using JAVA_HOME: C:\Java\jdk16_17
C:\axis2-1.5.1\bin>set _RUNJAVA="C:\Java\jdk16_17\bin\java"
C:\axis2-1.5.1\bin>"C:\Java\jdk16_17\bin\java" -Djava.ext.dirs="C:\axis2-1.5.1\lib\" -Daxis2.repo="C:\axis2-1.5.1\repository" -Daxis2.xml="C:\axis2-1.5.1\conf\axis2.xml"
Usage: java [-options] class [args...]
(to execute a class)
or java [-options] -jar jarfile [args...]
(to execute a jar file)
where options include:
-client to select the "client" VM
-server to select the "server" VM
-hotspot is a synonym for the "client" VM [deprecated]
The default VM is client.
-cp
-classpath
A ; separated list of directories, JAR archives,
and ZIP archives to search for class files.
-D=
set a system property
-verbose[:class|gc|jni]
enable verbose output
-version print product version and exit
-version:
require the specified version to run
-showversion print product version and continue
-jre-restrict-search | -jre-no-restrict-search
include/exclude user private JREs in the version search
-? -help print this help message
-X print help on non-standard options
-ea[:...|:]
-enableassertions[:...|:]
enable assertions
-da[:...|:]
-disableassertions[:...|:]
disable assertions
-esa | -enablesystemassertions
enable system assertions
-dsa | -disablesystemassertions
disable system assertions
-agentlib:[=]
load native agent library , e.g. -agentlib:hprof
see also, -agentlib:jdwp=help and -agentlib:hprof=help
-agentpath:[=]
load native agent library by full pathname
-javaagent:[=]
load Java programming language agent, see java.lang.instrument
-splash:
show splash screen with specified image
C:\axis2-1.5.1\bin>endlocal
C:\axis2-1.5.1\bin>
C:\axis2-1.5.1\bin>axis2.bat
C:\axis2-1.5.1\bin>REM Licensed to the Apache Software Foundation (ASF) under one
C:\axis2-1.5.1\bin>REM or more contributor license agreements. See the NOTICE file
C:\axis2-1.5.1\bin>REM distributed with this work for additional information
C:\axis2-1.5.1\bin>REM regarding copyright ownership. The ASF licenses this file
C:\axis2-1.5.1\bin>REM to you under the Apache License, Version 2.0 (the
C:\axis2-1.5.1\bin>REM "License"); you may not use this file except in compliance
C:\axis2-1.5.1\bin>REM with the License. You may obtain a copy of the License at
C:\axis2-1.5.1\bin>REM
C:\axis2-1.5.1\bin>REM http://www.apache.org/licenses/LICENSE-2.0
C:\axis2-1.5.1\bin>REM
C:\axis2-1.5.1\bin>REM Unless required by applicable law or agreed to in writing,
C:\axis2-1.5.1\bin>REM software distributed under the License is distributed on an
C:\axis2-1.5.1\bin>REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
C:\axis2-1.5.1\bin>REM KIND, either express or implied. See the License for the
C:\axis2-1.5.1\bin>REM specific language governing permissions and limitations
C:\axis2-1.5.1\bin>REM under the License.
C:\axis2-1.5.1\bin>rem ---------------------------------------------------------------------------
C:\axis2-1.5.1\bin>rem Axis2 Script
C:\axis2-1.5.1\bin>rem
C:\axis2-1.5.1\bin>rem Environment Variable Prequisites
C:\axis2-1.5.1\bin>rem
C:\axis2-1.5.1\bin>rem AXIS2_HOME Must point at your AXIS2 directory
C:\axis2-1.5.1\bin>rem
C:\axis2-1.5.1\bin>rem JAVA_HOME Must point at your Java Development Kit installation.
C:\axis2-1.5.1\bin>rem
C:\axis2-1.5.1\bin>rem JAVA_OPTS (Optional) Java runtime options
C:\axis2-1.5.1\bin>rem ---------------------------------------------------------------------------
C:\axis2-1.5.1\bin>set CURRENT_DIR=C:\axis2-1.5.1\bin
C:\axis2-1.5.1\bin>rem Make sure prerequisite environment variables are set
C:\axis2-1.5.1\bin>if not "C:\Java\jdk16_17" == "" goto gotJavaHome
C:\axis2-1.5.1\bin>if not exist "C:\Java\jdk16_17\bin\java.exe" goto noJavaHome
C:\axis2-1.5.1\bin>goto okJavaHome
C:\axis2-1.5.1\bin>rem check the AXIS2_HOME environment variable
C:\axis2-1.5.1\bin>if not "C:\axis2-1.5.1" == "" goto gotHome
C:\axis2-1.5.1\bin>if EXIST "C:\axis2-1.5.1\lib\axis2*.jar" goto okHome
C:\axis2-1.5.1\bin>rem set the classes
C:\axis2-1.5.1\bin>setlocal EnableDelayedExpansion
C:\axis2-1.5.1\bin>rem ----- Execute The Requested Command ---------------------------------------
C:\axis2-1.5.1\bin>echo Using AXIS2_HOME: C:\axis2-1.5.1
Using AXIS2_HOME: C:\axis2-1.5.1
C:\axis2-1.5.1\bin>echo Using JAVA_HOME: C:\Java\jdk16_17
Using JAVA_HOME: C:\Java\jdk16_17
C:\axis2-1.5.1\bin>set _RUNJAVA="C:\Java\jdk16_17\bin\java"
C:\axis2-1.5.1\bin>"C:\Java\jdk16_17\bin\java" -Djava.ext.dirs="C:\axis2-1.5.1\lib\" -Daxis2.repo="C:\axis2-1.5.1\repository" -Da
Usage: java [-options] class [args...]
(to execute a class)
or java [-options] -jar jarfile [args...]
(to execute a jar file)
where options include:
-client to select the "client" VM
-server to select the "server" VM
-hotspot is a synonym for the "client" VM [deprecated]
The default VM is client.
-cp
-classpath
A ; separated list of directories, JAR archives,
and ZIP archives to search for class files.
-D=
set a system property
-verbose[:class|gc|jni]
enable verbose output
-version print product version and exit
-version:
require the specified version to run
-showversion print product version and continue
-jre-restrict-search | -jre-no-restrict-search
include/exclude user private JREs in the version search
-? -help print this help message
-X print help on non-standard options
-ea[:...|:]
-enableassertions[:...|:]
enable assertions
-da[:...|:]
-disableassertions[:...|:]
disable assertions
-esa | -enablesystemassertions
enable system assertions
-dsa | -disablesystemassertions
disable system assertions
-agentlib:[=]
load native agent library , e.g. -agentlib:hprof
see also, -agentlib:jdwp=help and -agentlib:hprof=help
-agentpath:[=]
load native agent library by full pathname
-javaagent:[=]
load Java programming language agent, see java.lang.instrument
-splash:
show splash screen with specified image
C:\axis2-1.5.1\bin>endlocal
C:\axis2-1.5.1\bin>
C:\axis2-1.5.1\bin>axis2.bat
C:\axis2-1.5.1\bin>REM Licensed to the Apache Software Foundation (ASF) under one
C:\axis2-1.5.1\bin>REM or more contributor license agreements. See the NOTICE file
C:\axis2-1.5.1\bin>REM distributed with this work for additional information
C:\axis2-1.5.1\bin>REM regarding copyright ownership. The ASF licenses this file
C:\axis2-1.5.1\bin>REM to you under the Apache License, Version 2.0 (the
C:\axis2-1.5.1\bin>REM "License"); you may not use this file except in compliance
C:\axis2-1.5.1\bin>REM with the License. You may obtain a copy of the License at
C:\axis2-1.5.1\bin>REM
C:\axis2-1.5.1\bin>REM http://www.apache.org/licenses/LICENSE-2.0
C:\axis2-1.5.1\bin>REM
C:\axis2-1.5.1\bin>REM Unless required by applicable law or agreed to in writing,
C:\axis2-1.5.1\bin>REM software distributed under the License is distributed on an
C:\axis2-1.5.1\bin>REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
C:\axis2-1.5.1\bin>REM KIND, either express or implied. See the License for the
C:\axis2-1.5.1\bin>REM specific language governing permissions and limitations
C:\axis2-1.5.1\bin>REM under the License.
C:\axis2-1.5.1\bin>rem ---------------------------------------------------------------------------
C:\axis2-1.5.1\bin>rem Axis2 Script
C:\axis2-1.5.1\bin>rem
C:\axis2-1.5.1\bin>rem Environment Variable Prequisites
C:\axis2-1.5.1\bin>rem
C:\axis2-1.5.1\bin>rem AXIS2_HOME Must point at your AXIS2 directory
C:\axis2-1.5.1\bin>rem
C:\axis2-1.5.1\bin>rem JAVA_HOME Must point at your Java Development Kit installation.
C:\axis2-1.5.1\bin>rem
C:\axis2-1.5.1\bin>rem JAVA_OPTS (Optional) Java runtime options
C:\axis2-1.5.1\bin>rem ---------------------------------------------------------------------------
C:\axis2-1.5.1\bin>set CURRENT_DIR=C:\axis2-1.5.1\bin
C:\axis2-1.5.1\bin>rem Make sure prerequisite environment variables are set
C:\axis2-1.5.1\bin>if not "C:\Java\jdk16_17" == "" goto gotJavaHome
C:\axis2-1.5.1\bin>if not exist "C:\Java\jdk16_17\bin\java.exe" goto noJavaHome
C:\axis2-1.5.1\bin>goto okJavaHome
C:\axis2-1.5.1\bin>rem check the AXIS2_HOME environment variable
C:\axis2-1.5.1\bin>if not "C:\axis2-1.5.1" == "" goto gotHome
C:\axis2-1.5.1\bin>if EXIST "C:\axis2-1.5.1\lib\axis2*.jar" goto okHome
C:\axis2-1.5.1\bin>rem set the classes
C:\axis2-1.5.1\bin>setlocal EnableDelayedExpansion
C:\axis2-1.5.1\bin>rem ----- Execute The Requested Command ---------------------------------------
C:\axis2-1.5.1\bin>echo Using AXIS2_HOME: C:\axis2-1.5.1
Using AXIS2_HOME: C:\axis2-1.5.1
C:\axis2-1.5.1\bin>echo Using JAVA_HOME: C:\Java\jdk16_17
Using JAVA_HOME: C:\Java\jdk16_17
C:\axis2-1.5.1\bin>set _RUNJAVA="C:\Java\jdk16_17\bin\java"
C:\axis2-1.5.1\bin>"C:\Java\jdk16_17\bin\java" -Djava.ext.dirs="C:\axis2-1.5.1\lib\" -Daxis2.repo="C:\axis2-1.5.1\repository" -Daxis2.xml="C:\axis2-1.5.1\conf\axis2.xml"
Usage: java [-options] class [args...]
(to execute a class)
or java [-options] -jar jarfile [args...]
(to execute a jar file)
where options include:
-client to select the "client" VM
-server to select the "server" VM
-hotspot is a synonym for the "client" VM [deprecated]
The default VM is client.
-cp
-classpath
A ; separated list of directories, JAR archives,
and ZIP archives to search for class files.
-D=
set a system property
-verbose[:class|gc|jni]
enable verbose output
-version print product version and exit
-version:
require the specified version to run
-showversion print product version and continue
-jre-restrict-search | -jre-no-restrict-search
include/exclude user private JREs in the version search
-? -help print this help message
-X print help on non-standard options
-ea[:...|:]
-enableassertions[:...|:]
enable assertions
-da[:...|:]
-disableassertions[:...|:]
disable assertions
-esa | -enablesystemassertions
enable system assertions
-dsa | -disablesystemassertions
disable system assertions
-agentlib:[=]
load native agent library , e.g. -agentlib:hprof
see also, -agentlib:jdwp=help and -agentlib:hprof=help
-agentpath:[=]
load native agent library by full pathname
-javaagent:[=]
load Java programming language agent, see java.lang.instrument
-splash:
show splash screen with specified image
C:\axis2-1.5.1\bin>endlocal
C:\axis2-1.5.1\bin>
Output of running axis2server.bat:
C:\axis2-1.5.1\bin>axis2server.bat
C:\axis2-1.5.1\bin>REM Licensed to the Apache Software Foundation (ASF) under one
C:\axis2-1.5.1\bin>REM or more contributor license agreements. See the NOTICE file
C:\axis2-1.5.1\bin>REM distributed with this work for additional information
C:\axis2-1.5.1\bin>REM regarding copyright ownership. The ASF licenses this file
C:\axis2-1.5.1\bin>REM to you under the Apache License, Version 2.0 (the
C:\axis2-1.5.1\bin>REM "License"); you may not use this file except in compliance
C:\axis2-1.5.1\bin>REM with the License. You may obtain a copy of the License at
C:\axis2-1.5.1\bin>REM
C:\axis2-1.5.1\bin>REM http://www.apache.org/licenses/LICENSE-2.0
C:\axis2-1.5.1\bin>REM
C:\axis2-1.5.1\bin>REM Unless required by applicable law or agreed to in writing,
C:\axis2-1.5.1\bin>REM software distributed under the License is distributed on an
C:\axis2-1.5.1\bin>REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
C:\axis2-1.5.1\bin>REM KIND, either express or implied. See the License for the
C:\axis2-1.5.1\bin>REM specific language governing permissions and limitations
C:\axis2-1.5.1\bin>REM under the License.
C:\axis2-1.5.1\bin>rem ---------------------------------------------------------------------------
C:\axis2-1.5.1\bin>rem Startup script for the Simple Axis Server (with default parameters)
C:\axis2-1.5.1\bin>rem
C:\axis2-1.5.1\bin>rem Environment Variable Prequisites
C:\axis2-1.5.1\bin>rem
C:\axis2-1.5.1\bin>rem AXIS2_HOME Must point at your AXIS2 directory
C:\axis2-1.5.1\bin>rem
C:\axis2-1.5.1\bin>rem JAVA_HOME Must point at your Java Development Kit installation.
C:\axis2-1.5.1\bin>rem
C:\axis2-1.5.1\bin>rem JAVA_OPTS (Optional) Java runtime options
C:\axis2-1.5.1\bin>rem ---------------------------------------------------------------------------
C:\axis2-1.5.1\bin>if "Windows_NT" == "Windows_NT"
C:\axis2-1.5.1\bin>if "Windows_NT" == "WINNT"
C:\axis2-1.5.1\bin>rem C:\axis2-1.5.1\bin\ is expanded pathname of the current script under NT
C:\axis2-1.5.1\bin>set DEFAULT_AXIS2_HOME=C:\axis2-1.5.1\bin\..
C:\axis2-1.5.1\bin>if "C:\axis2-1.5.1" == "" set AXIS2_HOME=C:\axis2-1.5.1\bin\..
C:\axis2-1.5.1\bin>set DEFAULT_AXIS2_HOME=
C:\axis2-1.5.1\bin>rem find AXIS2_HOME if it does not exist due to either an invalid value passed
C:\axis2-1.5.1\bin>rem by the user or the axis2server.bat problem on Windows 9x
C:\axis2-1.5.1\bin>if exist "C:\axis2-1.5.1\conf\axis2.xml" goto checkJava
C:\axis2-1.5.1\bin>set _JAVACMD=
C:\axis2-1.5.1\bin>if "C:\Java\jdk16_17" == "" goto noJavaHome
C:\axis2-1.5.1\bin>if not exist "C:\Java\jdk16_17\bin\java.exe" goto noJavaHome
C:\axis2-1.5.1\bin>if "" == "" set _JAVACMD=C:\Java\jdk16_17\bin\java.exe
C:\axis2-1.5.1\bin>if "" == "" goto defaultParams
C:\axis2-1.5.1\bin>set AXIS2_CMD_LINE_ARGS=-repo "C:\axis2-1.5.1\repository" -conf "C:\axis2-1.5.1\conf\axis2.xml"
C:\axis2-1.5.1\bin>goto runAxis2
C:\axis2-1.5.1\bin>rem set the classes by looping through the libs
C:\axis2-1.5.1\bin>setlocal EnableDelayedExpansion
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=C:\axis2-1.5.1;C:\Java\jdk16_17\lib\tools.jar;
C:\axis2-1.5.1\bin>FOR %c in ("C:\axis2-1.5.1\lib\*.jar") DO set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;%c
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\activation-1.1.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\axiom-api-1.2.8.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\axiom-dom-1.2.8.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\axiom-impl-1.2.8.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\axis2-1.2.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\axis2-adb-1.5.1.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\axis2-adb-codegen-1.5.1.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\axis2-ant-plugin-1.5.1.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\axis2-clustering-1.5.1.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\axis2-codegen-1.5.1.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\axis2-corba-1.5.1.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\axis2-fastinfoset-1.5.1.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\axis2-java2wsdl-1.5.1.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\axis2-jaxbri-1.5.1.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\axis2-jaxws-1.5.1.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\axis2-jibx-1.5.1.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\axis2-json-1.5.1.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\axis2-kernel-1.5.1.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\axis2-metadata-1.5.1.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\axis2-mtompolicy-1.5.1.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\axis2-saaj-1.5.1.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\axis2-spring-1.5.1.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\axis2-transport-http-1.5.1.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\axis2-transport-local-1.5.1.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\axis2-xmlbeans-1.5.1.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\bcel-5.1.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\commons-codec-1.3.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\commons-fileupload-1.2.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\commons-httpclient-3.1.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\commons-io-1.4.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\commons-lang-2.3.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\commons-logging-1.1.1.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\geronimo-annotation_1.0_spec-1.1.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\geronimo-jaxws_2.1_spec-1.0.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\geronimo-saaj_1.3_spec-1.0.1.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\geronimo-stax-api_1.0_spec-1.0.1.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\geronimo-ws-metadata_2.0_spec-1.1.2.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\httpcore-4.0.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\jalopy-1.5rc3.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\jaxb-api-2.1.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\jaxb-impl-2.1.7.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\jaxb-xjc-2.1.7.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\jaxen-1.1.1.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\jettison-1.0-RC2.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\jibx-bind-1.2.1.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\jibx-run-1.2.1.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\log4j-1.2.15.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\mail-1.4.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\mex-1.5.1.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\neethi-2.0.4.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\smack-3.0.4.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\smackx-3.0.4.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\soapmonitor-1.5.1.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\woden-api-1.0M8.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\woden-impl-dom-1.0M8.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\wsdl4j-1.6.2.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\wstx-asl-3.2.4.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\xalan-2.7.0.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\xercesImpl-2.6.2.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\xml-apis-1.3.02.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\xml-resolver-1.2.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\xmlbeans-2.3.0.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\XmlSchema-1.4.3.jar
C:\axis2-1.5.1\bin>echo Using JAVA_HOME C:\Java\jdk16_17
Using JAVA_HOME C:\Java\jdk16_17
C:\axis2-1.5.1\bin>echo Using AXIS2_HOME C:\axis2-1.5.1
Using AXIS2_HOME C:\axis2-1.5.1
C:\axis2-1.5.1\bin>cd C:\axis2-1.5.1
C:\axis2-1.5.1>"C:\Java\jdk16_17\bin\java.exe" -cp "!AXIS2_CLASS_PATH!" org.apache.axis2.transport.SimpleAxis2Server -repo "C:\axis2-1.5.1\repository" -conf "C:\axis2-1.5.1\conf\axis2.xml"
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/axis2/transport/SimpleAxis2Server
Caused by: java.lang.ClassNotFoundException: org.apache.axis2.transport.SimpleAxis2Server
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:303)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
Could not find the main class: org.apache.axis2.transport.SimpleAxis2Server. Program will exit.
C:\axis2-1.5.1>goto end
C:\axis2-1.5.1>set _JAVACMD=
C:\axis2-1.5.1>set AXIS2_CMD_LINE_ARGS=
C:\axis2-1.5.1>if "Windows_NT" == "Windows_NT"
C:\axis2-1.5.1\bin>if "Windows_NT" == "WINNT"
C:\axis2-1.5.1\bin>
C:\axis2-1.5.1\bin>axis2server.bat
C:\axis2-1.5.1\bin>REM Licensed to the Apache Software Foundation (ASF) under one
C:\axis2-1.5.1\bin>REM or more contributor license agreements. See the NOTICE file
C:\axis2-1.5.1\bin>REM distributed with this work for additional information
C:\axis2-1.5.1\bin>REM regarding copyright ownership. The ASF licenses this file
C:\axis2-1.5.1\bin>REM to you under the Apache License, Version 2.0 (the
C:\axis2-1.5.1\bin>REM "License"); you may not use this file except in compliance
C:\axis2-1.5.1\bin>REM with the License. You may obtain a copy of the License at
C:\axis2-1.5.1\bin>REM
C:\axis2-1.5.1\bin>REM http://www.apache.org/licenses/LICENSE-2.0
C:\axis2-1.5.1\bin>REM
C:\axis2-1.5.1\bin>REM Unless required by applicable law or agreed to in writing,
C:\axis2-1.5.1\bin>REM software distributed under the License is distributed on an
C:\axis2-1.5.1\bin>REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
C:\axis2-1.5.1\bin>REM KIND, either express or implied. See the License for the
C:\axis2-1.5.1\bin>REM specific language governing permissions and limitations
C:\axis2-1.5.1\bin>REM under the License.
C:\axis2-1.5.1\bin>rem ---------------------------------------------------------------------------
C:\axis2-1.5.1\bin>rem Startup script for the Simple Axis Server (with default parameters)
C:\axis2-1.5.1\bin>rem
C:\axis2-1.5.1\bin>rem Environment Variable Prequisites
C:\axis2-1.5.1\bin>rem
C:\axis2-1.5.1\bin>rem AXIS2_HOME Must point at your AXIS2 directory
C:\axis2-1.5.1\bin>rem
C:\axis2-1.5.1\bin>rem JAVA_HOME Must point at your Java Development Kit installation.
C:\axis2-1.5.1\bin>rem
C:\axis2-1.5.1\bin>rem JAVA_OPTS (Optional) Java runtime options
C:\axis2-1.5.1\bin>rem ---------------------------------------------------------------------------
C:\axis2-1.5.1\bin>if "Windows_NT" == "Windows_NT"
C:\axis2-1.5.1\bin>if "Windows_NT" == "WINNT"
C:\axis2-1.5.1\bin>rem C:\axis2-1.5.1\bin\ is expanded pathname of the current script under NT
C:\axis2-1.5.1\bin>set DEFAULT_AXIS2_HOME=C:\axis2-1.5.1\bin\..
C:\axis2-1.5.1\bin>if "C:\axis2-1.5.1" == "" set AXIS2_HOME=C:\axis2-1.5.1\bin\..
C:\axis2-1.5.1\bin>set DEFAULT_AXIS2_HOME=
C:\axis2-1.5.1\bin>rem find AXIS2_HOME if it does not exist due to either an invalid value passed
C:\axis2-1.5.1\bin>rem by the user or the axis2server.bat problem on Windows 9x
C:\axis2-1.5.1\bin>if exist "C:\axis2-1.5.1\conf\axis2.xml" goto checkJava
C:\axis2-1.5.1\bin>set _JAVACMD=
C:\axis2-1.5.1\bin>if "C:\Java\jdk16_17" == "" goto noJavaHome
C:\axis2-1.5.1\bin>if not exist "C:\Java\jdk16_17\bin\java.exe" goto noJavaHome
C:\axis2-1.5.1\bin>if "" == "" set _JAVACMD=C:\Java\jdk16_17\bin\java.exe
C:\axis2-1.5.1\bin>if "" == "" goto defaultParams
C:\axis2-1.5.1\bin>set AXIS2_CMD_LINE_ARGS=-repo "C:\axis2-1.5.1\repository" -conf "C:\axis2-1.5.1\conf\axis2.xml"
C:\axis2-1.5.1\bin>goto runAxis2
C:\axis2-1.5.1\bin>rem set the classes by looping through the libs
C:\axis2-1.5.1\bin>setlocal EnableDelayedExpansion
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=C:\axis2-1.5.1;C:\Java\jdk16_17\lib\tools.jar;
C:\axis2-1.5.1\bin>FOR %c in ("C:\axis2-1.5.1\lib\*.jar") DO set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;%c
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\activation-1.1.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\axiom-api-1.2.8.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\axiom-dom-1.2.8.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\axiom-impl-1.2.8.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\axis2-1.2.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\axis2-adb-1.5.1.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\axis2-adb-codegen-1.5.1.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\axis2-ant-plugin-1.5.1.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\axis2-clustering-1.5.1.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\axis2-codegen-1.5.1.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\axis2-corba-1.5.1.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\axis2-fastinfoset-1.5.1.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\axis2-java2wsdl-1.5.1.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\axis2-jaxbri-1.5.1.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\axis2-jaxws-1.5.1.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\axis2-jibx-1.5.1.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\axis2-json-1.5.1.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\axis2-kernel-1.5.1.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\axis2-metadata-1.5.1.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\axis2-mtompolicy-1.5.1.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\axis2-saaj-1.5.1.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\axis2-spring-1.5.1.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\axis2-transport-http-1.5.1.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\axis2-transport-local-1.5.1.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\axis2-xmlbeans-1.5.1.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\bcel-5.1.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\commons-codec-1.3.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\commons-fileupload-1.2.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\commons-httpclient-3.1.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\commons-io-1.4.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\commons-lang-2.3.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\commons-logging-1.1.1.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\geronimo-annotation_1.0_spec-1.1.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\geronimo-jaxws_2.1_spec-1.0.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\geronimo-saaj_1.3_spec-1.0.1.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\geronimo-stax-api_1.0_spec-1.0.1.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\geronimo-ws-metadata_2.0_spec-1.1.2.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\httpcore-4.0.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\jalopy-1.5rc3.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\jaxb-api-2.1.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\jaxb-impl-2.1.7.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\jaxb-xjc-2.1.7.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\jaxen-1.1.1.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\jettison-1.0-RC2.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\jibx-bind-1.2.1.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\jibx-run-1.2.1.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\log4j-1.2.15.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\mail-1.4.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\mex-1.5.1.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\neethi-2.0.4.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\smack-3.0.4.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\smackx-3.0.4.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\soapmonitor-1.5.1.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\woden-api-1.0M8.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\woden-impl-dom-1.0M8.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\wsdl4j-1.6.2.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\wstx-asl-3.2.4.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\xalan-2.7.0.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\xercesImpl-2.6.2.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\xml-apis-1.3.02.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\xml-resolver-1.2.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\xmlbeans-2.3.0.jar
C:\axis2-1.5.1\bin>set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\XmlSchema-1.4.3.jar
C:\axis2-1.5.1\bin>echo Using JAVA_HOME C:\Java\jdk16_17
Using JAVA_HOME C:\Java\jdk16_17
C:\axis2-1.5.1\bin>echo Using AXIS2_HOME C:\axis2-1.5.1
Using AXIS2_HOME C:\axis2-1.5.1
C:\axis2-1.5.1\bin>cd C:\axis2-1.5.1
C:\axis2-1.5.1>"C:\Java\jdk16_17\bin\java.exe" -cp "!AXIS2_CLASS_PATH!" org.apache.axis2.transport.SimpleAxis2Server -repo "C:\axis2-1.5.1\repository" -conf "C:\axis2-1.5.1\conf\axis2.xml"
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/axis2/transport/SimpleAxis2Server
Caused by: java.lang.ClassNotFoundException: org.apache.axis2.transport.SimpleAxis2Server
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:303)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
Could not find the main class: org.apache.axis2.transport.SimpleAxis2Server. Program will exit.
C:\axis2-1.5.1>goto end
C:\axis2-1.5.1>set _JAVACMD=
C:\axis2-1.5.1>set AXIS2_CMD_LINE_ARGS=
C:\axis2-1.5.1>if "Windows_NT" == "Windows_NT"
C:\axis2-1.5.1\bin>if "Windows_NT" == "WINNT"
Yours,
Frustrated