Discussion:
Revised: A teething issue with Axis 2
Rupinder Singh
2016-07-24 05:00:31 UTC
Permalink
Hello

I have just recently started with Web Services. I started by exposing POJO
in Axis2 deployed in Tomcat. When I run
http://localhost:8080/axis2/services/HelloWorld/sayHello?name="Axis2" in
browser.


<ns:sayHelloResponse><return>Hello null</return></ns:sayHelloResponse>

NOT Hello Axis2 !

could you help?


regards
Rupinder Pal Singh
Martin Gainty
2016-07-24 14:27:11 UTC
Permalink
From: ***@gmail.com
Date: Sun, 24 Jul 2016 10:30:31 +0530
Subject: Revised: A teething issue with Axis 2
To: java-***@axis.apache.org

Hello

I have just recently started with Web Services. I
started by exposing POJO in Axis2 deployed in Tomcat. When I run
http://localhost:8080/axis2/services/HelloWorld/sayHello?name="Axis2" in browser.


<ns:sayHelloResponse><return>Hello null</return></ns:sayHelloResponse>

NOT Hello Axis2 !
MG>verify you are running latest Axis2 (1.6.3+)
MG>if you are running latest Axis2 distros place HappyAxis.jsp in your browser address bar:
MG>http://localhost:8080/axis2/services/axis2-web/HappyAxis.jsp

MG>HappyAxis.jsp *should* warn you if any of these jars are missing:
needed = needClass(out, "org.apache.axis2.transport.http.AxisServlet", "axis2-1.0.jar", "Apache-Axis", "Axis2 will not work", "http://xml.apache.org/axis2/"); needed += needClass(out, "org.apache.commons.logging.Log", "commons-logging.jar", "Jakarta-Commons Logging", "Axis2 will not work", "http://jakarta.apache.org/commons/logging.html"); needed += needClass(out, "javax.xml.stream.XMLStreamReader", "stax-api-1.0.1.jar", "Streaming API for XML", "Axis2 will not work", "http://dist.codehaus.org/stax/jars/"); needed += needClass(out, "org.codehaus.stax2.XMLStreamWriter2", "wstx-asl-3.0.1.jar", "Streaming API for XML implementation", "Axis2 will not work", "http://dist.codehaus.org/stax/jars/");MG>Please confirm
could you help?


regards
Rupinder Pal Singh
Rupinder Singh
2016-07-24 15:51:13 UTC
Permalink
Hello Mr Gainty,

I am using Axis2-1.7.3 on Tomcat.
Upon placing that jsp, I get,

faultstring>The service cannot be found for the endpoint reference (EPR)
/axis2/services/axis2-web/HappyAxis.jsp</faultstring>

However, out of those 4 jars, the Happiness page shows the following
present except axis2-1.0.jar

commons-logging-1.1.1.jar
stax2-api-3.1.1.jar
Found Streaming API for XML (javax.xml.stream.XMLStreamReader)
at an unknown location


Regards
Rupinder
------------------------------
Date: Sun, 24 Jul 2016 10:30:31 +0530
Subject: Revised: A teething issue with Axis 2
Hello
I have just recently started with Web Services. I started by exposing POJO
in Axis2 deployed in Tomcat. When I run
http://localhost:8080/axis2/services/HelloWorld/sayHello?name="Axis2" in browser.
<ns:sayHelloResponse><return>Hello null</return></ns:sayHelloResponse>
NOT Hello Axis2 !
MG>verify you are running latest Axis2 (1.6.3+)
MG>if you are running latest Axis2 distros place HappyAxis.jsp in your
MG>http://localhost:8080/axis2/services/axis2-web/HappyAxis.jsp
needed = needClass(out, "org.apache.axis2.transport.http.AxisServlet",
"axis2-1.0.jar",
"Apache-Axis",
"Axis2 will not work",
"http://xml.apache.org/axis2/");
needed += needClass(out, "org.apache.commons.logging.Log",
"commons-logging.jar",
"Jakarta-Commons Logging",
"Axis2 will not work",
"http://jakarta.apache.org/commons/logging.html");
needed += needClass(out, "javax.xml.stream.XMLStreamReader",
"stax-api-1.0.1.jar",
"Streaming API for XML",
"Axis2 will not work",
"http://dist.codehaus.org/stax/jars/");
needed += needClass(out, "org.codehaus.stax2.XMLStreamWriter2",
"wstx-asl-3.0.1.jar",
"Streaming API for XML implementation",
"Axis2 will not work",
"http://dist.codehaus.org/stax/jars/");
MG>Please confirm
could you help?
regards
Rupinder Pal Singh
Martin Gainty
2016-07-24 21:48:10 UTC
Permalink
at a min you will need axis2 kernel module e.g.at a minimum you will need axis2-kernel-<version>.jar to be located in HelloWorld/WEB-INF/lib
axis2-kernel-<version>.jar should be located in $AXIS2-HOME/modules/kernel/target
please verifyMartin
______________________________________________



From: ***@gmail.com
Date: Sun, 24 Jul 2016 21:21:13 +0530
Subject: Re: Revised: A teething issue with Axis 2
To: java-***@axis.apache.org

Hello Mr Gainty,

I am using Axis2-1.7.3 on Tomcat.
Upon placing that jsp, I get,

faultstring>The service cannot be found for the endpoint reference (EPR) /axis2/services/axis2-web/HappyAxis.jsp</faultstring>

However, out of those 4 jars, the Happiness page shows the following present except axis2-1.0.jar

commons-logging-1.1.1.jar
stax2-api-3.1.1.jar
Found Streaming API for XML (javax.xml.stream.XMLStreamReader)
at an unknown location


Regards
Rupinder



On Sun, Jul 24, 2016 at 7:57 PM, Martin Gainty <***@hotmail.com> wrote:






From: ***@gmail.com
Date: Sun, 24 Jul 2016 10:30:31 +0530
Subject: Revised: A teething issue with Axis 2
To: java-***@axis.apache.org

Hello

I have just recently started with Web Services. I
started by exposing POJO in Axis2 deployed in Tomcat. When I run
http://localhost:8080/axis2/services/HelloWorld/sayHello?name="Axis2" in browser.


<ns:sayHelloResponse><return>Hello null</return></ns:sayHelloResponse>

NOT Hello Axis2 !
MG>verify you are running latest Axis2 (1.6.3+)
MG>if you are running latest Axis2 distros place HappyAxis.jsp in your browser address bar:
MG>http://localhost:8080/axis2/services/axis2-web/HappyAxis.jsp

MG>HappyAxis.jsp *should* warn you if any of these jars are missing:
needed = needClass(out, "org.apache.axis2.transport.http.AxisServlet", "axis2-1.0.jar", "Apache-Axis", "Axis2 will not work", "http://xml.apache.org/axis2/"); needed += needClass(out, "org.apache.commons.logging.Log", "commons-logging.jar", "Jakarta-Commons Logging", "Axis2 will not work", "http://jakarta.apache.org/commons/logging.html"); needed += needClass(out, "javax.xml.stream.XMLStreamReader", "stax-api-1.0.1.jar", "Streaming API for XML", "Axis2 will not work", "http://dist.codehaus.org/stax/jars/"); needed += needClass(out, "org.codehaus.stax2.XMLStreamWriter2", "wstx-asl-3.0.1.jar", "Streaming API for XML implementation", "Axis2 will not work", "http://dist.codehaus.org/stax/jars/");MG>Please confirm
could you help?


regards
Rupinder Pal Singh
Rupinder Singh
2016-07-25 16:00:17 UTC
Permalink
hello Mr Gainty,

axis2-kernel-<version>.jar is present in

C:\Program Files\Apache Software Foundation\Tomcat
8.5\webapps\axis2\WEB-INF\lib

Since I am suing Tomcat, I have dropped axis2 war in tomcat\webpps.


regards
Rupinder
Post by Martin Gainty
at a min you will need axis2 kernel module e.g.
at a minimum you will need axis2-kernel-<version>.jar to be located
in HelloWorld
<http://localhost:8080/axis2/services/HelloWorld/sayHello?name=>
/WEB-INF/lib
axis2-kernel-<version>.jar should be located in
$AXIS2-HOME/modules/kernel/target
please verify
Martin
______________________________________________
------------------------------
Date: Sun, 24 Jul 2016 21:21:13 +0530
Subject: Re: Revised: A teething issue with Axis 2
Hello Mr Gainty,
I am using Axis2-1.7.3 on Tomcat.
Upon placing that jsp, I get,
faultstring>The service cannot be found for the endpoint reference (EPR)
/axis2/services/axis2-web/HappyAxis.jsp</faultstring>
However, out of those 4 jars, the Happiness page shows the following
present except axis2-1.0.jar
commons-logging-1.1.1.jar
stax2-api-3.1.1.jar
Found Streaming API for XML (javax.xml.stream.XMLStreamReader)
at an unknown location
Regards
Rupinder
------------------------------
Date: Sun, 24 Jul 2016 10:30:31 +0530
Subject: Revised: A teething issue with Axis 2
Hello
I have just recently started with Web Services. I started by exposing POJO
in Axis2 deployed in Tomcat. When I run
http://localhost:8080/axis2/services/HelloWorld/sayHello?name="Axis2" in browser.
<ns:sayHelloResponse><return>Hello null</return></ns:sayHelloResponse>
NOT Hello Axis2 !
MG>verify you are running latest Axis2 (1.6.3+)
MG>if you are running latest Axis2 distros place HappyAxis.jsp in your
MG>http://localhost:8080/axis2/services/axis2-web/HappyAxis.jsp
needed = needClass(out, "org.apache.axis2.transport.http.AxisServlet",
"axis2-1.0.jar",
"Apache-Axis",
"Axis2 will not work",
"http://xml.apache.org/axis2/");
needed += needClass(out, "org.apache.commons.logging.Log",
"commons-logging.jar",
"Jakarta-Commons Logging",
"Axis2 will not work",
"http://jakarta.apache.org/commons/logging.html");
needed += needClass(out, "javax.xml.stream.XMLStreamReader",
"stax-api-1.0.1.jar",
"Streaming API for XML",
"Axis2 will not work",
"http://dist.codehaus.org/stax/jars/");
needed += needClass(out, "org.codehaus.stax2.XMLStreamWriter2",
"wstx-asl-3.0.1.jar",
"Streaming API for XML implementation",
"Axis2 will not work",
"http://dist.codehaus.org/stax/jars/");
MG>Please confirm
could you help?
regards
Rupinder Pal Singh
Martin Gainty
2016-07-25 17:15:50 UTC
Permalink
dropping axis2.war in webapps should autoexpand to webapps folder
possibly an incorrect axis2.war ..please confirm contents of axis2.war
./META-INF/MANIFEST.MF
./WEB-INF/classes/commons-logging.properties log4j.properties ./org/*
./WEB-INF/conf/axis2.xml
./WEB-INF/lib/? <!-- which jars are located in lib folder? -->
./WEB-INF/modules/addressing-1.5.mar axis2-jaxws-mar-1.5.mar axis2-scripting-1.5.mar mex-1.5.mar modules.list mtompolicy-1.5.mar ping-1.5.mar soapmonitor-1.5.mar
./WEB-INF/services/services.list axis2-web-<version>.aar HelloWorld-<version>.aar
./WEB-INF/web.xml
Please verify
Martin
______________________________________________



From: ***@gmail.com
Date: Mon, 25 Jul 2016 21:30:17 +0530
Subject: Re: Revised: A teething issue with Axis 2
To: java-***@axis.apache.org

hello Mr Gainty,

axis2-kernel-<version>.jar is present in

C:\Program Files\Apache Software Foundation\Tomcat 8.5\webapps\axis2\WEB-INF\lib

Since I am suing Tomcat, I have dropped axis2 war in tomcat\webpps.


regards
Rupinder



On Mon, Jul 25, 2016 at 3:18 AM, Martin Gainty <***@hotmail.com> wrote:



at a min you will need axis2 kernel module e.g.
at a minimum you will need axis2-kernel-<version>.jar to be located in HelloWorld/WEB-INF/lib
axis2-kernel-<version>.jar should be located in $AXIS2-HOME/modules/kernel/target
please verifyMartin
______________________________________________



From: ***@gmail.com
Date: Sun, 24 Jul 2016 21:21:13 +0530
Subject: Re: Revised: A teething issue with Axis 2
To: java-***@axis.apache.org

Hello Mr Gainty,

I am using Axis2-1.7.3 on Tomcat.
Upon placing that jsp, I get,

faultstring>The service cannot be found for the endpoint reference (EPR) /axis2/services/axis2-web/HappyAxis.jsp</faultstring>

However, out of those 4 jars, the Happiness page shows the following present except axis2-1.0.jar

commons-logging-1.1.1.jar
stax2-api-3.1.1.jar
Found Streaming API for XML (javax.xml.stream.XMLStreamReader)
at an unknown location


Regards
Rupinder



On Sun, Jul 24, 2016 at 7:57 PM, Martin Gainty <***@hotmail.com> wrote:






From: ***@gmail.com
Date: Sun, 24 Jul 2016 10:30:31 +0530
Subject: Revised: A teething issue with Axis 2
To: java-***@axis.apache.org

Hello

I have just recently started with Web Services. I
started by exposing POJO in Axis2 deployed in Tomcat. When I run
http://localhost:8080/axis2/services/HelloWorld/sayHello?name="Axis2" in browser.


<ns:sayHelloResponse><return>Hello null</return></ns:sayHelloResponse>

NOT Hello Axis2 !
MG>verify you are running latest Axis2 (1.6.3+)
MG>if you are running latest Axis2 distros place HappyAxis.jsp in your browser address bar:
MG>http://localhost:8080/axis2/services/axis2-web/HappyAxis.jsp

MG>HappyAxis.jsp *should* warn you if any of these jars are missing:
needed = needClass(out, "org.apache.axis2.transport.http.AxisServlet", "axis2-1.0.jar", "Apache-Axis", "Axis2 will not work", "http://xml.apache.org/axis2/"); needed += needClass(out, "org.apache.commons.logging.Log", "commons-logging.jar", "Jakarta-Commons Logging", "Axis2 will not work", "http://jakarta.apache.org/commons/logging.html"); needed += needClass(out, "javax.xml.stream.XMLStreamReader", "stax-api-1.0.1.jar", "Streaming API for XML", "Axis2 will not work", "http://dist.codehaus.org/stax/jars/"); needed += needClass(out, "org.codehaus.stax2.XMLStreamWriter2", "wstx-asl-3.0.1.jar", "Streaming API for XML implementation", "Axis2 will not work", "http://dist.codehaus.org/stax/jars/");MG>Please confirm
could you help?


regards
Rupinder Pal Singh
Rupinder Singh
2016-07-26 14:55:46 UTC
Permalink
All other contents are present except

in ./WEB-INF/services/

services.list present

*axis2-web-<version>.aar NOT PRESENT*


version-1.7.3.aar present, possibly in place of HelloWorld-<version>.aar


jars present in ./WEB-INF/lib/ are as per attachment.

regards

Rupinder
Post by Martin Gainty
dropping axis2.war in webapps should autoexpand to webapps folder
possibly an incorrect axis2.war ..please confirm contents of axis2.war
./META-INF/MANIFEST.MF
./WEB-INF/classes/commons-logging.properties
log4j.properties
./org/*
./WEB-INF/conf/axis2.xml
./WEB-INF/lib/? <!-- which jars are
located in lib folder? -->
./WEB-INF/modules/addressing-1.5.mar
axis2-jaxws-mar-1.5.mar
axis2-scripting-1.5.mar
mex-1.5.mar
modules.list
mtompolicy-1.5.mar
ping-1.5.mar
soapmonitor-1.5.mar
./WEB-INF/services/services.list
axis2-web-<version>.aar
HelloWorld-<version>.aar
./WEB-INF/web.xml
Please verify
Martin
______________________________________________
------------------------------
Date: Mon, 25 Jul 2016 21:30:17 +0530
Subject: Re: Revised: A teething issue with Axis 2
hello Mr Gainty,
axis2-kernel-<version>.jar is present in
C:\Program Files\Apache Software Foundation\Tomcat
8.5\webapps\axis2\WEB-INF\lib
Since I am suing Tomcat, I have dropped axis2 war in tomcat\webpps.
regards
Rupinder
at a min you will need axis2 kernel module e.g.
at a minimum you will need axis2-kernel-<version>.jar to be located
in HelloWorld
<http://localhost:8080/axis2/services/HelloWorld/sayHello?name=>
/WEB-INF/lib
axis2-kernel-<version>.jar should be located in
$AXIS2-HOME/modules/kernel/target
please verify
Martin
______________________________________________
------------------------------
Date: Sun, 24 Jul 2016 21:21:13 +0530
Subject: Re: Revised: A teething issue with Axis 2
Hello Mr Gainty,
I am using Axis2-1.7.3 on Tomcat.
Upon placing that jsp, I get,
faultstring>The service cannot be found for the endpoint reference (EPR)
/axis2/services/axis2-web/HappyAxis.jsp</faultstring>
However, out of those 4 jars, the Happiness page shows the following
present except axis2-1.0.jar
commons-logging-1.1.1.jar
stax2-api-3.1.1.jar
Found Streaming API for XML (javax.xml.stream.XMLStreamReader)
at an unknown location
Regards
Rupinder
------------------------------
Date: Sun, 24 Jul 2016 10:30:31 +0530
Subject: Revised: A teething issue with Axis 2
Hello
I have just recently started with Web Services. I started by exposing POJO
in Axis2 deployed in Tomcat. When I run
http://localhost:8080/axis2/services/HelloWorld/sayHello?name="Axis2" in browser.
<ns:sayHelloResponse><return>Hello null</return></ns:sayHelloResponse>
NOT Hello Axis2 !
MG>verify you are running latest Axis2 (1.6.3+)
MG>if you are running latest Axis2 distros place HappyAxis.jsp in your
MG>http://localhost:8080/axis2/services/axis2-web/HappyAxis.jsp
needed = needClass(out, "org.apache.axis2.transport.http.AxisServlet",
"axis2-1.0.jar",
"Apache-Axis",
"Axis2 will not work",
"http://xml.apache.org/axis2/");
needed += needClass(out, "org.apache.commons.logging.Log",
"commons-logging.jar",
"Jakarta-Commons Logging",
"Axis2 will not work",
"http://jakarta.apache.org/commons/logging.html");
needed += needClass(out, "javax.xml.stream.XMLStreamReader",
"stax-api-1.0.1.jar",
"Streaming API for XML",
"Axis2 will not work",
"http://dist.codehaus.org/stax/jars/");
needed += needClass(out, "org.codehaus.stax2.XMLStreamWriter2",
"wstx-asl-3.0.1.jar",
"Streaming API for XML implementation",
"Axis2 will not work",
"http://dist.codehaus.org/stax/jars/");
MG>Please confirm
could you help?
regards
Rupinder Pal Singh
Rupinder Singh
2016-07-26 15:18:36 UTC
Permalink
*Now I have tried with freshly downloaded axis2 war distro. From a
different mirror.*
*Still not working.*
Post by Rupinder Singh
All other contents are present except
in ./WEB-INF/services/
services.list present
*axis2-web-<version>.aar NOT PRESENT*
version-1.7.3.aar present, possibly in place of HelloWorld-<version>.aar
jars present in ./WEB-INF/lib/ are as per attachment.
regards
Rupinder
Post by Martin Gainty
dropping axis2.war in webapps should autoexpand to webapps folder
possibly an incorrect axis2.war ..please confirm contents of axis2.war
./META-INF/MANIFEST.MF
./WEB-INF/classes/commons-logging.properties
log4j.properties
./org/*
./WEB-INF/conf/axis2.xml
./WEB-INF/lib/? <!-- which jars are
located in lib folder? -->
./WEB-INF/modules/addressing-1.5.mar
axis2-jaxws-mar-1.5.mar
axis2-scripting-1.5.mar
mex-1.5.mar
modules.list
mtompolicy-1.5.mar
ping-1.5.mar
soapmonitor-1.5.mar
./WEB-INF/services/services.list
axis2-web-<version>.aar
HelloWorld-<version>.aar
./WEB-INF/web.xml
Please verify
Martin
______________________________________________
------------------------------
Date: Mon, 25 Jul 2016 21:30:17 +0530
Subject: Re: Revised: A teething issue with Axis 2
hello Mr Gainty,
axis2-kernel-<version>.jar is present in
C:\Program Files\Apache Software Foundation\Tomcat
8.5\webapps\axis2\WEB-INF\lib
Since I am suing Tomcat, I have dropped axis2 war in tomcat\webpps.
regards
Rupinder
at a min you will need axis2 kernel module e.g.
at a minimum you will need axis2-kernel-<version>.jar to be located
in HelloWorld
<http://localhost:8080/axis2/services/HelloWorld/sayHello?name=>
/WEB-INF/lib
axis2-kernel-<version>.jar should be located in
$AXIS2-HOME/modules/kernel/target
please verify
Martin
______________________________________________
------------------------------
Date: Sun, 24 Jul 2016 21:21:13 +0530
Subject: Re: Revised: A teething issue with Axis 2
Hello Mr Gainty,
I am using Axis2-1.7.3 on Tomcat.
Upon placing that jsp, I get,
faultstring>The service cannot be found for the endpoint reference (EPR)
/axis2/services/axis2-web/HappyAxis.jsp</faultstring>
However, out of those 4 jars, the Happiness page shows the following
present except axis2-1.0.jar
commons-logging-1.1.1.jar
stax2-api-3.1.1.jar
Found Streaming API for XML (javax.xml.stream.XMLStreamReader)
at an unknown location
Regards
Rupinder
------------------------------
Date: Sun, 24 Jul 2016 10:30:31 +0530
Subject: Revised: A teething issue with Axis 2
Hello
I have just recently started with Web Services. I started by exposing
POJO in Axis2 deployed in Tomcat. When I run
http://localhost:8080/axis2/services/HelloWorld/sayHello?name="Axis2" in browser.
<ns:sayHelloResponse><return>Hello null</return></ns:sayHelloResponse>
NOT Hello Axis2 !
MG>verify you are running latest Axis2 (1.6.3+)
MG>if you are running latest Axis2 distros place HappyAxis.jsp in your
MG>http://localhost:8080/axis2/services/axis2-web/HappyAxis.jsp
needed = needClass(out, "org.apache.axis2.transport.http.AxisServlet",
"axis2-1.0.jar",
"Apache-Axis",
"Axis2 will not work",
"http://xml.apache.org/axis2/");
needed += needClass(out, "org.apache.commons.logging.Log",
"commons-logging.jar",
"Jakarta-Commons Logging",
"Axis2 will not work",
"http://jakarta.apache.org/commons/logging.html");
needed += needClass(out, "javax.xml.stream.XMLStreamReader",
"stax-api-1.0.1.jar",
"Streaming API for XML",
"Axis2 will not work",
"http://dist.codehaus.org/stax/jars/");
needed += needClass(out, "org.codehaus.stax2.XMLStreamWriter2",
"wstx-asl-3.0.1.jar",
"Streaming API for XML implementation",
"Axis2 will not work",
"http://dist.codehaus.org/stax/jars/");
MG>Please confirm
could you help?
regards
Rupinder Pal Singh
Martin Gainty
2016-07-26 23:41:04 UTC
Permalink
your axis2.war might be corrupted

what is the specific URL where you acquired axis2.war?
Martin
______________________________________________



From: ***@gmail.com
Date: Tue, 26 Jul 2016 20:48:36 +0530
Subject: Re: Revised: A teething issue with Axis 2
To: java-***@axis.apache.org

Now I have tried with freshly downloaded axis2 war distro. From a different mirror.

Still not working.

On Tue, Jul 26, 2016 at 8:25 PM, Rupinder Singh <***@gmail.com> wrote:
All other contents are present except

in ./WEB-INF/services/

services.list present

axis2-web-<version>.aar NOT PRESENT


version-1.7.3.aar present, possibly in place of HelloWorld-<version>.aar


jars present in ./WEB-INF/lib/ are as per attachment.

regards

Rupinder




On Mon, Jul 25, 2016 at 10:45 PM, Martin Gainty <***@hotmail.com> wrote:



dropping axis2.war in webapps should autoexpand to webapps folder
possibly an incorrect axis2.war ..please confirm contents of axis2.war
./META-INF/MANIFEST.MF
./WEB-INF/classes/commons-logging.properties log4j.properties ./org/*
./WEB-INF/conf/axis2.xml
./WEB-INF/lib/? <!-- which jars are located in lib folder? -->
./WEB-INF/modules/addressing-1.5.mar axis2-jaxws-mar-1.5.mar axis2-scripting-1.5.mar mex-1.5.mar modules.list mtompolicy-1.5.mar ping-1.5.mar soapmonitor-1.5.mar
./WEB-INF/services/services.list axis2-web-<version>.aar HelloWorld-<version>.aar
./WEB-INF/web.xml
Please verify
Martin
______________________________________________



From: ***@gmail.com
Date: Mon, 25 Jul 2016 21:30:17 +0530
Subject: Re: Revised: A teething issue with Axis 2
To: java-***@axis.apache.org

hello Mr Gainty,

axis2-kernel-<version>.jar is present in

C:\Program Files\Apache Software Foundation\Tomcat 8.5\webapps\axis2\WEB-INF\lib

Since I am suing Tomcat, I have dropped axis2 war in tomcat\webpps.


regards
Rupinder



On Mon, Jul 25, 2016 at 3:18 AM, Martin Gainty <***@hotmail.com> wrote:



at a min you will need axis2 kernel module e.g.
at a minimum you will need axis2-kernel-<version>.jar to be located in HelloWorld/WEB-INF/lib
axis2-kernel-<version>.jar should be located in $AXIS2-HOME/modules/kernel/target
please verifyMartin
______________________________________________



From: ***@gmail.com
Date: Sun, 24 Jul 2016 21:21:13 +0530
Subject: Re: Revised: A teething issue with Axis 2
To: java-***@axis.apache.org

Hello Mr Gainty,

I am using Axis2-1.7.3 on Tomcat.
Upon placing that jsp, I get,

faultstring>The service cannot be found for the endpoint reference (EPR) /axis2/services/axis2-web/HappyAxis.jsp</faultstring>

However, out of those 4 jars, the Happiness page shows the following present except axis2-1.0.jar

commons-logging-1.1.1.jar
stax2-api-3.1.1.jar
Found Streaming API for XML (javax.xml.stream.XMLStreamReader)
at an unknown location


Regards
Rupinder



On Sun, Jul 24, 2016 at 7:57 PM, Martin Gainty <***@hotmail.com> wrote:






From: ***@gmail.com
Date: Sun, 24 Jul 2016 10:30:31 +0530
Subject: Revised: A teething issue with Axis 2
To: java-***@axis.apache.org

Hello

I have just recently started with Web Services. I
started by exposing POJO in Axis2 deployed in Tomcat. When I run
http://localhost:8080/axis2/services/HelloWorld/sayHello?name="Axis2" in browser.


<ns:sayHelloResponse><return>Hello null</return></ns:sayHelloResponse>

NOT Hello Axis2 !
MG>verify you are running latest Axis2 (1.6.3+)
MG>if you are running latest Axis2 distros place HappyAxis.jsp in your browser address bar:
MG>http://localhost:8080/axis2/services/axis2-web/HappyAxis.jsp

MG>HappyAxis.jsp *should* warn you if any of these jars are missing:
needed = needClass(out, "org.apache.axis2.transport.http.AxisServlet", "axis2-1.0.jar", "Apache-Axis", "Axis2 will not work", "http://xml.apache.org/axis2/"); needed += needClass(out, "org.apache.commons.logging.Log", "commons-logging.jar", "Jakarta-Commons Logging", "Axis2 will not work", "http://jakarta.apache.org/commons/logging.html"); needed += needClass(out, "javax.xml.stream.XMLStreamReader", "stax-api-1.0.1.jar", "Streaming API for XML", "Axis2 will not work", "http://dist.codehaus.org/stax/jars/"); needed += needClass(out, "org.codehaus.stax2.XMLStreamWriter2", "wstx-asl-3.0.1.jar", "Streaming API for XML implementation", "Axis2 will not work", "http://dist.codehaus.org/stax/jars/");MG>Please confirm
could you help?


regards
Rupinder Pal Singh
Rupinder Singh
2016-07-27 14:45:42 UTC
Permalink
http://redrockdigimark.com/apachemirror/axis/axis2/java/core/1.7.3/axis2-1.7.3-war.zip





http://mirror.fibergrid.in/apache/axis/axis2/java/core/1.7.3/axis2-1.7.3-war.zip





http://www-eu.apache.org/dist/axis/axis2/java/core/1.7.3/axis2-1.7.3-war.zip




the above are the exact servers I used in that order to try out axis-2.war.



regards

Rupinder
Post by Martin Gainty
your axis2.war might be corrupted
what is the specific URL where you acquired axis2.war?
Martin
______________________________________________
------------------------------
Date: Tue, 26 Jul 2016 20:48:36 +0530
Subject: Re: Revised: A teething issue with Axis 2
*Now I have tried with freshly downloaded axis2 war distro. From a
different mirror.*
*Still not working.*
All other contents are present except
in ./WEB-INF/services/
services.list present
*axis2-web-<version>.aar NOT PRESENT*
version-1.7.3.aar present, possibly in place of HelloWorld-<version>.aar
jars present in ./WEB-INF/lib/ are as per attachment.
regards
Rupinder
dropping axis2.war in webapps should autoexpand to webapps folder
possibly an incorrect axis2.war ..please confirm contents of axis2.war
./META-INF/MANIFEST.MF
./WEB-INF/classes/commons-logging.properties
log4j.properties
./org/*
./WEB-INF/conf/axis2.xml
./WEB-INF/lib/? <!-- which jars are
located in lib folder? -->
./WEB-INF/modules/addressing-1.5.mar
axis2-jaxws-mar-1.5.mar
axis2-scripting-1.5.mar
mex-1.5.mar
modules.list
mtompolicy-1.5.mar
ping-1.5.mar
soapmonitor-1.5.mar
./WEB-INF/services/services.list
axis2-web-<version>.aar
HelloWorld-<version>.aar
./WEB-INF/web.xml
Please verify
Martin
______________________________________________
------------------------------
Date: Mon, 25 Jul 2016 21:30:17 +0530
Subject: Re: Revised: A teething issue with Axis 2
hello Mr Gainty,
axis2-kernel-<version>.jar is present in
C:\Program Files\Apache Software Foundation\Tomcat
8.5\webapps\axis2\WEB-INF\lib
Since I am suing Tomcat, I have dropped axis2 war in tomcat\webpps.
regards
Rupinder
at a min you will need axis2 kernel module e.g.
at a minimum you will need axis2-kernel-<version>.jar to be located
in HelloWorld
<http://localhost:8080/axis2/services/HelloWorld/sayHello?name=>
/WEB-INF/lib
axis2-kernel-<version>.jar should be located in
$AXIS2-HOME/modules/kernel/target
please verify
Martin
______________________________________________
------------------------------
Date: Sun, 24 Jul 2016 21:21:13 +0530
Subject: Re: Revised: A teething issue with Axis 2
Hello Mr Gainty,
I am using Axis2-1.7.3 on Tomcat.
Upon placing that jsp, I get,
faultstring>The service cannot be found for the endpoint reference (EPR)
/axis2/services/axis2-web/HappyAxis.jsp</faultstring>
However, out of those 4 jars, the Happiness page shows the following
present except axis2-1.0.jar
commons-logging-1.1.1.jar
stax2-api-3.1.1.jar
Found Streaming API for XML (javax.xml.stream.XMLStreamReader)
at an unknown location
Regards
Rupinder
------------------------------
Date: Sun, 24 Jul 2016 10:30:31 +0530
Subject: Revised: A teething issue with Axis 2
Hello
I have just recently started with Web Services. I started by exposing POJO
in Axis2 deployed in Tomcat. When I run
http://localhost:8080/axis2/services/HelloWorld/sayHello?name="Axis2" in browser.
<ns:sayHelloResponse><return>Hello null</return></ns:sayHelloResponse>
NOT Hello Axis2 !
MG>verify you are running latest Axis2 (1.6.3+)
MG>if you are running latest Axis2 distros place HappyAxis.jsp in your
MG>http://localhost:8080/axis2/services/axis2-web/HappyAxis.jsp
needed = needClass(out, "org.apache.axis2.transport.http.AxisServlet",
"axis2-1.0.jar",
"Apache-Axis",
"Axis2 will not work",
"http://xml.apache.org/axis2/");
needed += needClass(out, "org.apache.commons.logging.Log",
"commons-logging.jar",
"Jakarta-Commons Logging",
"Axis2 will not work",
"http://jakarta.apache.org/commons/logging.html");
needed += needClass(out, "javax.xml.stream.XMLStreamReader",
"stax-api-1.0.1.jar",
"Streaming API for XML",
"Axis2 will not work",
"http://dist.codehaus.org/stax/jars/");
needed += needClass(out, "org.codehaus.stax2.XMLStreamWriter2",
"wstx-asl-3.0.1.jar",
"Streaming API for XML implementation",
"Axis2 will not work",
"http://dist.codehaus.org/stax/jars/");
MG>Please confirm
could you help?
regards
Rupinder Pal Singh
Martin Gainty
2016-07-27 15:37:16 UTC
Permalink
tomcat version?
Martin
______________________________________________



From: ***@gmail.com
Date: Wed, 27 Jul 2016 20:15:42 +0530
Subject: Re: Revised: A teething issue with Axis 2
To: java-***@axis.apache.org



http://redrockdigimark.com/apachemirror/axis/axis2/java/core/1.7.3/axis2-1.7.3-war.zip





http://mirror.fibergrid.in/apache/axis/axis2/java/core/1.7.3/axis2-1.7.3-war.zip





http://www-eu.apache.org/dist/axis/axis2/java/core/1.7.3/axis2-1.7.3-war.zip


the above are the exact servers I used in that order to try out axis-2.war.

regardsRupinder



On Wed, Jul 27, 2016 at 5:11 AM, Martin Gainty <***@hotmail.com> wrote:



your axis2.war might be corrupted

what is the specific URL where you acquired axis2.war?
Martin
______________________________________________



From: ***@gmail.com
Date: Tue, 26 Jul 2016 20:48:36 +0530
Subject: Re: Revised: A teething issue with Axis 2
To: java-***@axis.apache.org

Now I have tried with freshly downloaded axis2 war distro. From a different mirror.

Still not working.

On Tue, Jul 26, 2016 at 8:25 PM, Rupinder Singh <***@gmail.com> wrote:
All other contents are present except

in ./WEB-INF/services/

services.list present

axis2-web-<version>.aar NOT PRESENT


version-1.7.3.aar present, possibly in place of HelloWorld-<version>.aar


jars present in ./WEB-INF/lib/ are as per attachment.

regards

Rupinder




On Mon, Jul 25, 2016 at 10:45 PM, Martin Gainty <***@hotmail.com> wrote:



dropping axis2.war in webapps should autoexpand to webapps folder
possibly an incorrect axis2.war ..please confirm contents of axis2.war
./META-INF/MANIFEST.MF
./WEB-INF/classes/commons-logging.properties log4j.properties ./org/*
./WEB-INF/conf/axis2.xml
./WEB-INF/lib/? <!-- which jars are located in lib folder? -->
./WEB-INF/modules/addressing-1.5.mar axis2-jaxws-mar-1.5.mar axis2-scripting-1.5.mar mex-1.5.mar modules.list mtompolicy-1.5.mar ping-1.5.mar soapmonitor-1.5.mar
./WEB-INF/services/services.list axis2-web-<version>.aar HelloWorld-<version>.aar
./WEB-INF/web.xml
Please verify
Martin
______________________________________________



From: ***@gmail.com
Date: Mon, 25 Jul 2016 21:30:17 +0530
Subject: Re: Revised: A teething issue with Axis 2
To: java-***@axis.apache.org

hello Mr Gainty,

axis2-kernel-<version>.jar is present in

C:\Program Files\Apache Software Foundation\Tomcat 8.5\webapps\axis2\WEB-INF\lib

Since I am suing Tomcat, I have dropped axis2 war in tomcat\webpps.


regards
Rupinder



On Mon, Jul 25, 2016 at 3:18 AM, Martin Gainty <***@hotmail.com> wrote:



at a min you will need axis2 kernel module e.g.
at a minimum you will need axis2-kernel-<version>.jar to be located in HelloWorld/WEB-INF/lib
axis2-kernel-<version>.jar should be located in $AXIS2-HOME/modules/kernel/target
please verifyMartin
______________________________________________



From: ***@gmail.com
Date: Sun, 24 Jul 2016 21:21:13 +0530
Subject: Re: Revised: A teething issue with Axis 2
To: java-***@axis.apache.org

Hello Mr Gainty,

I am using Axis2-1.7.3 on Tomcat.
Upon placing that jsp, I get,

faultstring>The service cannot be found for the endpoint reference (EPR) /axis2/services/axis2-web/HappyAxis.jsp</faultstring>

However, out of those 4 jars, the Happiness page shows the following present except axis2-1.0.jar

commons-logging-1.1.1.jar
stax2-api-3.1.1.jar
Found Streaming API for XML (javax.xml.stream.XMLStreamReader)
at an unknown location


Regards
Rupinder



On Sun, Jul 24, 2016 at 7:57 PM, Martin Gainty <***@hotmail.com> wrote:






From: ***@gmail.com
Date: Sun, 24 Jul 2016 10:30:31 +0530
Subject: Revised: A teething issue with Axis 2
To: java-***@axis.apache.org

Hello

I have just recently started with Web Services. I
started by exposing POJO in Axis2 deployed in Tomcat. When I run
http://localhost:8080/axis2/services/HelloWorld/sayHello?name="Axis2" in browser.


<ns:sayHelloResponse><return>Hello null</return></ns:sayHelloResponse>

NOT Hello Axis2 !
MG>verify you are running latest Axis2 (1.6.3+)
MG>if you are running latest Axis2 distros place HappyAxis.jsp in your browser address bar:
MG>http://localhost:8080/axis2/services/axis2-web/HappyAxis.jsp

MG>HappyAxis.jsp *should* warn you if any of these jars are missing:
needed = needClass(out, "org.apache.axis2.transport.http.AxisServlet", "axis2-1.0.jar", "Apache-Axis", "Axis2 will not work", "http://xml.apache.org/axis2/"); needed += needClass(out, "org.apache.commons.logging.Log", "commons-logging.jar", "Jakarta-Commons Logging", "Axis2 will not work", "http://jakarta.apache.org/commons/logging.html"); needed += needClass(out, "javax.xml.stream.XMLStreamReader", "stax-api-1.0.1.jar", "Streaming API for XML", "Axis2 will not work", "http://dist.codehaus.org/stax/jars/"); needed += needClass(out, "org.codehaus.stax2.XMLStreamWriter2", "wstx-asl-3.0.1.jar", "Streaming API for XML implementation", "Axis2 will not work", "http://dist.codehaus.org/stax/jars/");MG>Please confirm
could you help?


regards
Rupinder Pal Singh
Rupinder Singh
2016-07-27 15:44:36 UTC
Permalink
*Tomcat 8.5*
Post by Martin Gainty
your axis2.war might be corrupted
what is the specific URL where you acquired axis2.war?
Martin
______________________________________________
------------------------------
Date: Tue, 26 Jul 2016 20:48:36 +0530
Subject: Re: Revised: A teething issue with Axis 2
*Now I have tried with freshly downloaded axis2 war distro. From a
different mirror.*
*Still not working.*
All other contents are present except
in ./WEB-INF/services/
services.list present
*axis2-web-<version>.aar NOT PRESENT*
version-1.7.3.aar present, possibly in place of HelloWorld-<version>.aar
jars present in ./WEB-INF/lib/ are as per attachment.
regards
Rupinder
dropping axis2.war in webapps should autoexpand to webapps folder
possibly an incorrect axis2.war ..please confirm contents of axis2.war
./META-INF/MANIFEST.MF
./WEB-INF/classes/commons-logging.properties
log4j.properties
./org/*
./WEB-INF/conf/axis2.xml
./WEB-INF/lib/? <!-- which jars are
located in lib folder? -->
./WEB-INF/modules/addressing-1.5.mar
axis2-jaxws-mar-1.5.mar
axis2-scripting-1.5.mar
mex-1.5.mar
modules.list
mtompolicy-1.5.mar
ping-1.5.mar
soapmonitor-1.5.mar
./WEB-INF/services/services.list
axis2-web-<version>.aar
HelloWorld-<version>.aar
./WEB-INF/web.xml
Please verify
Martin
______________________________________________
------------------------------
Date: Mon, 25 Jul 2016 21:30:17 +0530
Subject: Re: Revised: A teething issue with Axis 2
hello Mr Gainty,
axis2-kernel-<version>.jar is present in
C:\Program Files\Apache Software Foundation\Tomcat
8.5\webapps\axis2\WEB-INF\lib
Since I am suing Tomcat, I have dropped axis2 war in tomcat\webpps.
regards
Rupinder
at a min you will need axis2 kernel module e.g.
at a minimum you will need axis2-kernel-<version>.jar to be located
in HelloWorld
<http://localhost:8080/axis2/services/HelloWorld/sayHello?name=>
/WEB-INF/lib
axis2-kernel-<version>.jar should be located in
$AXIS2-HOME/modules/kernel/target
please verify
Martin
______________________________________________
------------------------------
Date: Sun, 24 Jul 2016 21:21:13 +0530
Subject: Re: Revised: A teething issue with Axis 2
Hello Mr Gainty,
I am using Axis2-1.7.3 on Tomcat.
Upon placing that jsp, I get,
faultstring>The service cannot be found for the endpoint reference (EPR)
/axis2/services/axis2-web/HappyAxis.jsp</faultstring>
However, out of those 4 jars, the Happiness page shows the following
present except axis2-1.0.jar
commons-logging-1.1.1.jar
stax2-api-3.1.1.jar
Found Streaming API for XML (javax.xml.stream.XMLStreamReader)
at an unknown location
Regards
Rupinder
------------------------------
Date: Sun, 24 Jul 2016 10:30:31 +0530
Subject: Revised: A teething issue with Axis 2
Hello
I have just recently started with Web Services. I started by exposing POJO
in Axis2 deployed in Tomcat. When I run
http://localhost:8080/axis2/services/HelloWorld/sayHello?name="Axis2" in browser.
<ns:sayHelloResponse><return>Hello null</return></ns:sayHelloResponse>
NOT Hello Axis2 !
MG>verify you are running latest Axis2 (1.6.3+)
MG>if you are running latest Axis2 distros place HappyAxis.jsp in your
MG>http://localhost:8080/axis2/services/axis2-web/HappyAxis.jsp
needed = needClass(out, "org.apache.axis2.transport.http.AxisServlet",
"axis2-1.0.jar",
"Apache-Axis",
"Axis2 will not work",
"http://xml.apache.org/axis2/");
needed += needClass(out, "org.apache.commons.logging.Log",
"commons-logging.jar",
"Jakarta-Commons Logging",
"Axis2 will not work",
"http://jakarta.apache.org/commons/logging.html");
needed += needClass(out, "javax.xml.stream.XMLStreamReader",
"stax-api-1.0.1.jar",
"Streaming API for XML",
"Axis2 will not work",
"http://dist.codehaus.org/stax/jars/");
needed += needClass(out, "org.codehaus.stax2.XMLStreamWriter2",
"wstx-asl-3.0.1.jar",
"Streaming API for XML implementation",
"Axis2 will not work",
"http://dist.codehaus.org/stax/jars/");
MG>Please confirm
could you help?
regards
Rupinder Pal Singh
Martin Gainty
2016-07-27 16:08:44 UTC
Permalink
JDK :
java version "1.8.0_40"Java(TM) SE Runtime Environment (build 1.8.0_40-b26)Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode)
TOMCAT"Tomcat 8.5 is still beta so I would begoff that for now
I didnt hear back from you so I deployed axis2.war to tomcat-7.0.50/webapps
if I place axis2 into browser addresshttp://localhost:8080/axis2/
then I click on version service I am directed to http://localhost:8080/axis2/services/listServices and I see:Available servicesVersionService Description : VersionService EPR : http://localhost:8080/axis2/services/VersionService Status : ActiveAvailable OperationsgetVersion
if I go back to axis2 validate located at http://localhost:8080/axis2/axis2-web/HappyAxis.jsp I see :
Axis2 Happiness PageExamining webapp configurationEssential ComponentsFound Apache-Axis (org.apache.axis2.transport.http.AxisServlet) at C:\Tomcat\apache-tomcat-7.0.50\webapps\axis2\WEB-INF\lib\axis2-transport-http-1.7.3.jarFound Jakarta-Commons Logging (org.apache.commons.logging.Log) at C:\Tomcat\apache-tomcat-7.0.50\webapps\axis2\WEB-INF\lib\commons-logging-1.1.1.jarFound Streaming API for XML (javax.xml.stream.XMLStreamReader) at an unknown locationFound Streaming API for XML implementation (org.codehaus.stax2.XMLStreamWriter2) at C:\Tomcat\apache-tomcat-7.0.50\webapps\axis2\WEB-INF\lib\stax2-api-3.1.1.jarThe core axis2 libraries are present.Note: Even if everything this page probes for is present, there is no guarantee your Axis Service will work, because there are many configuration options that we do not check for. These tests are necessary but not sufficientExamining Version ServiceFound Axis2 default Version service and Axis2 is working properly.Now you can drop a service archive in axis2/WEB-INF/services. Following output was produced while invoking Axis2 version service
<ns:getVersionResponse xmlns:ns="http://axisversion.sample"><ns:return>Hi - the Axis2 version is 1.7.3</ns:return></ns:getVersionResponse>
Examining Application ServerServlet version3.0PlatformApache Tomcat/7.0.50Examining System Properties:all properties are populated

we can conclude the pre-packaged version service inside axis2.war located at http://www-eu.apache.org/dist/axis/axis2/java/core/1.7.3/axis2-1.7.3-war.zipdeploys propertly to Tomcat 7.0.50 and auto-configures properly
what happens when you install Tomcat-7.0.50https://archive.apache.org/dist/tomcat/tomcat-7/v7.0.50/bin/
and then deploy axis2.war to /Tomcat-7.0.50/webapps
?
Martin
______________________________________________



From: ***@gmail.com
Date: Wed, 27 Jul 2016 21:14:36 +0530
Subject: Re: Revised: A teething issue with Axis 2
To: java-***@axis.apache.org

Tomcat 8.5

On Wed, Jul 27, 2016 at 5:11 AM, Martin Gainty <***@hotmail.com> wrote:



your axis2.war might be corrupted

what is the specific URL where you acquired axis2.war?
Martin
______________________________________________



From: ***@gmail.com
Date: Tue, 26 Jul 2016 20:48:36 +0530
Subject: Re: Revised: A teething issue with Axis 2
To: java-***@axis.apache.org

Now I have tried with freshly downloaded axis2 war distro. From a different mirror.

Still not working.

On Tue, Jul 26, 2016 at 8:25 PM, Rupinder Singh <***@gmail.com> wrote:
All other contents are present except

in ./WEB-INF/services/

services.list present

axis2-web-<version>.aar NOT PRESENT


version-1.7.3.aar present, possibly in place of HelloWorld-<version>.aar


jars present in ./WEB-INF/lib/ are as per attachment.

regards

Rupinder




On Mon, Jul 25, 2016 at 10:45 PM, Martin Gainty <***@hotmail.com> wrote:



dropping axis2.war in webapps should autoexpand to webapps folder
possibly an incorrect axis2.war ..please confirm contents of axis2.war
./META-INF/MANIFEST.MF
./WEB-INF/classes/commons-logging.properties log4j.properties ./org/*
./WEB-INF/conf/axis2.xml
./WEB-INF/lib/? <!-- which jars are located in lib folder? -->
./WEB-INF/modules/addressing-1.5.mar axis2-jaxws-mar-1.5.mar axis2-scripting-1.5.mar mex-1.5.mar modules.list mtompolicy-1.5.mar ping-1.5.mar soapmonitor-1.5.mar
./WEB-INF/services/services.list axis2-web-<version>.aar HelloWorld-<version>.aar
./WEB-INF/web.xml
Please verify
Martin
______________________________________________



From: ***@gmail.com
Date: Mon, 25 Jul 2016 21:30:17 +0530
Subject: Re: Revised: A teething issue with Axis 2
To: java-***@axis.apache.org

hello Mr Gainty,

axis2-kernel-<version>.jar is present in

C:\Program Files\Apache Software Foundation\Tomcat 8.5\webapps\axis2\WEB-INF\lib

Since I am suing Tomcat, I have dropped axis2 war in tomcat\webpps.


regards
Rupinder



On Mon, Jul 25, 2016 at 3:18 AM, Martin Gainty <***@hotmail.com> wrote:



at a min you will need axis2 kernel module e.g.
at a minimum you will need axis2-kernel-<version>.jar to be located in HelloWorld/WEB-INF/lib
axis2-kernel-<version>.jar should be located in $AXIS2-HOME/modules/kernel/target
please verifyMartin
______________________________________________



From: ***@gmail.com
Date: Sun, 24 Jul 2016 21:21:13 +0530
Subject: Re: Revised: A teething issue with Axis 2
To: java-***@axis.apache.org

Hello Mr Gainty,

I am using Axis2-1.7.3 on Tomcat.
Upon placing that jsp, I get,

faultstring>The service cannot be found for the endpoint reference (EPR) /axis2/services/axis2-web/HappyAxis.jsp</faultstring>

However, out of those 4 jars, the Happiness page shows the following present except axis2-1.0.jar

commons-logging-1.1.1.jar
stax2-api-3.1.1.jar
Found Streaming API for XML (javax.xml.stream.XMLStreamReader)
at an unknown location


Regards
Rupinder



On Sun, Jul 24, 2016 at 7:57 PM, Martin Gainty <***@hotmail.com> wrote:






From: ***@gmail.com
Date: Sun, 24 Jul 2016 10:30:31 +0530
Subject: Revised: A teething issue with Axis 2
To: java-***@axis.apache.org

Hello

I have just recently started with Web Services. I
started by exposing POJO in Axis2 deployed in Tomcat. When I run
http://localhost:8080/axis2/services/HelloWorld/sayHello?name="Axis2" in browser.


<ns:sayHelloResponse><return>Hello null</return></ns:sayHelloResponse>

NOT Hello Axis2 !
MG>verify you are running latest Axis2 (1.6.3+)
MG>if you are running latest Axis2 distros place HappyAxis.jsp in your browser address bar:
MG>http://localhost:8080/axis2/services/axis2-web/HappyAxis.jsp

MG>HappyAxis.jsp *should* warn you if any of these jars are missing:
needed = needClass(out, "org.apache.axis2.transport.http.AxisServlet", "axis2-1.0.jar", "Apache-Axis", "Axis2 will not work", "http://xml.apache.org/axis2/"); needed += needClass(out, "org.apache.commons.logging.Log", "commons-logging.jar", "Jakarta-Commons Logging", "Axis2 will not work", "http://jakarta.apache.org/commons/logging.html"); needed += needClass(out, "javax.xml.stream.XMLStreamReader", "stax-api-1.0.1.jar", "Streaming API for XML", "Axis2 will not work", "http://dist.codehaus.org/stax/jars/"); needed += needClass(out, "org.codehaus.stax2.XMLStreamWriter2", "wstx-asl-3.0.1.jar", "Streaming API for XML implementation", "Axis2 will not work", "http://dist.codehaus.org/stax/jars/");MG>Please confirm
could you help?


regards
Rupinder Pal Singh
Rupinder Singh
2016-07-27 16:29:32 UTC
Permalink
*All other things the same. Except the following system properties remain
unpopulated.*


*shared.loader*

* user.script *

* line.separator *

*user.variant *

*server.loader *

*sun.cpu.isalist*



*Let me try tomcat version suggested by you and revert.*
Post by Martin Gainty
java version "1.8.0_40"
Java(TM) SE Runtime Environment (build 1.8.0_40-b26)
Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode)
TOMCAT"
Tomcat 8.5 is still beta so I would begoff that for now
I didnt hear back from you so I deployed axis2.war to tomcat-7.0.50/webapps
if I place axis2 into browser address
http://localhost:8080/axis2/
then I click on version service I am directed to
Available servicesVersion
<http://localhost:8080/axis2/services/Version?wsdl>Service Description
: VersionService EPR : http://localhost:8080/axis2/services/VersionService
Status : Active*Available Operations*
- getVersion
if I go back to axis2 validate located at
Axis2 Happiness PageExamining webapp configurationEssential ComponentsFound
Apache-Axis (org.apache.axis2.transport.http.AxisServlet)
at
C:\Tomcat\apache-tomcat-7.0.50\webapps\axis2\WEB-INF\lib\axis2-transport-http-1.7.3.jar
Found Jakarta-Commons Logging (org.apache.commons.logging.Log)
at
C:\Tomcat\apache-tomcat-7.0.50\webapps\axis2\WEB-INF\lib\commons-logging-1.1.1.jar
Found Streaming API for XML (javax.xml.stream.XMLStreamReader)
at an unknown location
Found Streaming API for XML implementation
(org.codehaus.stax2.XMLStreamWriter2)
at
C:\Tomcat\apache-tomcat-7.0.50\webapps\axis2\WEB-INF\lib\stax2-api-3.1.1.jar
The core axis2 libraries are present.
Note: Even if everything this page probes for is present, there is no
guarantee your Axis Service will work, because there are many configuration
options that we do not check for. These tests are necessary but not
sufficient
Examining Version Service
Found Axis2 default Version service and Axis2 is working properly.
Now you can drop a service archive in axis2/WEB-INF/services. Following
output was produced while invoking Axis2 version service
<ns:getVersionResponse xmlns:ns="http://axisversion.sample"><ns:return>Hi
- the Axis2 version is 1.7.3</ns:return></ns:getVersionResponse>
Examining Application Server
Servlet version 3.0
Platform Apache Tomcat/7.0.50
all properties are populated
we can conclude the pre-packaged version service inside axis2.war located
at
http://www-eu.apache.org/dist/axis/axis2/java/core/1.7.3/axis2-1.7.3-war.zip
deploys propertly to Tomcat 7.0.50 and auto-configures properly
what happens when you install Tomcat-7.0.50
https://archive.apache.org/dist/tomcat/tomcat-7/v7.0.50/bin/
and then deploy axis2.war to /Tomcat-7.0.50/webapps
?
Martin
______________________________________________
------------------------------
Date: Wed, 27 Jul 2016 21:14:36 +0530
Subject: Re: Revised: A teething issue with Axis 2
*Tomcat 8.5*
your axis2.war might be corrupted
what is the specific URL where you acquired axis2.war?
Martin
______________________________________________
------------------------------
Date: Tue, 26 Jul 2016 20:48:36 +0530
Subject: Re: Revised: A teething issue with Axis 2
*Now I have tried with freshly downloaded axis2 war distro. From a
different mirror.*
*Still not working.*
All other contents are present except
in ./WEB-INF/services/
services.list present
*axis2-web-<version>.aar NOT PRESENT*
version-1.7.3.aar present, possibly in place of HelloWorld-<version>.aar
jars present in ./WEB-INF/lib/ are as per attachment.
regards
Rupinder
dropping axis2.war in webapps should autoexpand to webapps folder
possibly an incorrect axis2.war ..please confirm contents of axis2.war
./META-INF/MANIFEST.MF
./WEB-INF/classes/commons-logging.properties
log4j.properties
./org/*
./WEB-INF/conf/axis2.xml
./WEB-INF/lib/? <!-- which jars are
located in lib folder? -->
./WEB-INF/modules/addressing-1.5.mar
axis2-jaxws-mar-1.5.mar
axis2-scripting-1.5.mar
mex-1.5.mar
modules.list
mtompolicy-1.5.mar
ping-1.5.mar
soapmonitor-1.5.mar
./WEB-INF/services/services.list
axis2-web-<version>.aar
HelloWorld-<version>.aar
./WEB-INF/web.xml
Please verify
Martin
______________________________________________
------------------------------
Date: Mon, 25 Jul 2016 21:30:17 +0530
Subject: Re: Revised: A teething issue with Axis 2
hello Mr Gainty,
axis2-kernel-<version>.jar is present in
C:\Program Files\Apache Software Foundation\Tomcat
8.5\webapps\axis2\WEB-INF\lib
Since I am suing Tomcat, I have dropped axis2 war in tomcat\webpps.
regards
Rupinder
at a min you will need axis2 kernel module e.g.
at a minimum you will need axis2-kernel-<version>.jar to be located
in HelloWorld
<http://localhost:8080/axis2/services/HelloWorld/sayHello?name=>
/WEB-INF/lib
axis2-kernel-<version>.jar should be located in
$AXIS2-HOME/modules/kernel/target
please verify
Martin
______________________________________________
------------------------------
Date: Sun, 24 Jul 2016 21:21:13 +0530
Subject: Re: Revised: A teething issue with Axis 2
Hello Mr Gainty,
I am using Axis2-1.7.3 on Tomcat.
Upon placing that jsp, I get,
faultstring>The service cannot be found for the endpoint reference (EPR)
/axis2/services/axis2-web/HappyAxis.jsp</faultstring>
However, out of those 4 jars, the Happiness page shows the following
present except axis2-1.0.jar
commons-logging-1.1.1.jar
stax2-api-3.1.1.jar
Found Streaming API for XML (javax.xml.stream.XMLStreamReader)
at an unknown location
Regards
Rupinder
------------------------------
Date: Sun, 24 Jul 2016 10:30:31 +0530
Subject: Revised: A teething issue with Axis 2
Hello
I have just recently started with Web Services. I started by exposing POJO
in Axis2 deployed in Tomcat. When I run
http://localhost:8080/axis2/services/HelloWorld/sayHello?name="Axis2" in browser.
<ns:sayHelloResponse><return>Hello null</return></ns:sayHelloResponse>
NOT Hello Axis2 !
MG>verify you are running latest Axis2 (1.6.3+)
MG>if you are running latest Axis2 distros place HappyAxis.jsp in your
MG>http://localhost:8080/axis2/services/axis2-web/HappyAxis.jsp
needed = needClass(out, "org.apache.axis2.transport.http.AxisServlet",
"axis2-1.0.jar",
"Apache-Axis",
"Axis2 will not work",
"http://xml.apache.org/axis2/");
needed += needClass(out, "org.apache.commons.logging.Log",
"commons-logging.jar",
"Jakarta-Commons Logging",
"Axis2 will not work",
"http://jakarta.apache.org/commons/logging.html");
needed += needClass(out, "javax.xml.stream.XMLStreamReader",
"stax-api-1.0.1.jar",
"Streaming API for XML",
"Axis2 will not work",
"http://dist.codehaus.org/stax/jars/");
needed += needClass(out, "org.codehaus.stax2.XMLStreamWriter2",
"wstx-asl-3.0.1.jar",
"Streaming API for XML implementation",
"Axis2 will not work",
"http://dist.codehaus.org/stax/jars/");
MG>Please confirm
could you help?
regards
Rupinder Pal Singh
Rupinder Singh
2016-07-27 16:33:21 UTC
Permalink
*I mean with tomcat 8.5. Let me check with 7.*
Post by Rupinder Singh
*All other things the same. Except the following system properties remain
unpopulated.*
*shared.loader*
* user.script *
* line.separator *
*user.variant *
*server.loader *
*sun.cpu.isalist*
*Let me try tomcat version suggested by you and revert.*
Post by Martin Gainty
java version "1.8.0_40"
Java(TM) SE Runtime Environment (build 1.8.0_40-b26)
Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode)
TOMCAT"
Tomcat 8.5 is still beta so I would begoff that for now
I didnt hear back from you so I deployed axis2.war to
tomcat-7.0.50/webapps
if I place axis2 into browser address
http://localhost:8080/axis2/
then I click on version service I am directed to
Available servicesVersion
<http://localhost:8080/axis2/services/Version?wsdl>Service Description
: VersionService EPR : http://localhost:8080/axis2/services/VersionService
Status : Active*Available Operations*
- getVersion
if I go back to axis2 validate located at
Axis2 Happiness PageExamining webapp configurationEssential ComponentsFound
Apache-Axis (org.apache.axis2.transport.http.AxisServlet)
at
C:\Tomcat\apache-tomcat-7.0.50\webapps\axis2\WEB-INF\lib\axis2-transport-http-1.7.3.jar
Found Jakarta-Commons Logging (org.apache.commons.logging.Log)
at
C:\Tomcat\apache-tomcat-7.0.50\webapps\axis2\WEB-INF\lib\commons-logging-1.1.1.jar
Found Streaming API for XML (javax.xml.stream.XMLStreamReader)
at an unknown location
Found Streaming API for XML implementation
(org.codehaus.stax2.XMLStreamWriter2)
at
C:\Tomcat\apache-tomcat-7.0.50\webapps\axis2\WEB-INF\lib\stax2-api-3.1.1.jar
The core axis2 libraries are present.
Note: Even if everything this page probes for is present, there is no
guarantee your Axis Service will work, because there are many configuration
options that we do not check for. These tests are necessary but not
sufficient
Examining Version Service
Found Axis2 default Version service and Axis2 is working properly.
Now you can drop a service archive in axis2/WEB-INF/services. Following
output was produced while invoking Axis2 version service
<ns:getVersionResponse xmlns:ns="http://axisversion.sample"><ns:return>Hi
- the Axis2 version is 1.7.3</ns:return></ns:getVersionResponse>
Examining Application Server
Servlet version 3.0
Platform Apache Tomcat/7.0.50
all properties are populated
we can conclude the pre-packaged version service inside axis2.war located
at
http://www-eu.apache.org/dist/axis/axis2/java/core/1.7.3/axis2-1.7.3-war.zip
deploys propertly to Tomcat 7.0.50 and auto-configures properly
what happens when you install Tomcat-7.0.50
https://archive.apache.org/dist/tomcat/tomcat-7/v7.0.50/bin/
and then deploy axis2.war to /Tomcat-7.0.50/webapps
?
Martin
______________________________________________
------------------------------
Date: Wed, 27 Jul 2016 21:14:36 +0530
Subject: Re: Revised: A teething issue with Axis 2
*Tomcat 8.5*
your axis2.war might be corrupted
what is the specific URL where you acquired axis2.war?
Martin
______________________________________________
------------------------------
Date: Tue, 26 Jul 2016 20:48:36 +0530
Subject: Re: Revised: A teething issue with Axis 2
*Now I have tried with freshly downloaded axis2 war distro. From a
different mirror.*
*Still not working.*
All other contents are present except
in ./WEB-INF/services/
services.list present
*axis2-web-<version>.aar NOT PRESENT*
version-1.7.3.aar present, possibly in place of HelloWorld-<version>.aar
jars present in ./WEB-INF/lib/ are as per attachment.
regards
Rupinder
dropping axis2.war in webapps should autoexpand to webapps folder
possibly an incorrect axis2.war ..please confirm contents of axis2.war
./META-INF/MANIFEST.MF
./WEB-INF/classes/commons-logging.properties
log4j.properties
./org/*
./WEB-INF/conf/axis2.xml
./WEB-INF/lib/? <!-- which jars are
located in lib folder? -->
./WEB-INF/modules/addressing-1.5.mar
axis2-jaxws-mar-1.5.mar
axis2-scripting-1.5.mar
mex-1.5.mar
modules.list
mtompolicy-1.5.mar
ping-1.5.mar
soapmonitor-1.5.mar
./WEB-INF/services/services.list
axis2-web-<version>.aar
HelloWorld-<version>.aar
./WEB-INF/web.xml
Please verify
Martin
______________________________________________
------------------------------
Date: Mon, 25 Jul 2016 21:30:17 +0530
Subject: Re: Revised: A teething issue with Axis 2
hello Mr Gainty,
axis2-kernel-<version>.jar is present in
C:\Program Files\Apache Software Foundation\Tomcat
8.5\webapps\axis2\WEB-INF\lib
Since I am suing Tomcat, I have dropped axis2 war in tomcat\webpps.
regards
Rupinder
at a min you will need axis2 kernel module e.g.
at a minimum you will need axis2-kernel-<version>.jar to be located
in HelloWorld
<http://localhost:8080/axis2/services/HelloWorld/sayHello?name=>
/WEB-INF/lib
axis2-kernel-<version>.jar should be located in
$AXIS2-HOME/modules/kernel/target
please verify
Martin
______________________________________________
------------------------------
Date: Sun, 24 Jul 2016 21:21:13 +0530
Subject: Re: Revised: A teething issue with Axis 2
Hello Mr Gainty,
I am using Axis2-1.7.3 on Tomcat.
Upon placing that jsp, I get,
faultstring>The service cannot be found for the endpoint reference (EPR)
/axis2/services/axis2-web/HappyAxis.jsp</faultstring>
However, out of those 4 jars, the Happiness page shows the following
present except axis2-1.0.jar
commons-logging-1.1.1.jar
stax2-api-3.1.1.jar
Found Streaming API for XML (javax.xml.stream.XMLStreamReader)
at an unknown location
Regards
Rupinder
------------------------------
Date: Sun, 24 Jul 2016 10:30:31 +0530
Subject: Revised: A teething issue with Axis 2
Hello
I have just recently started with Web Services. I started by exposing
POJO in Axis2 deployed in Tomcat. When I run
http://localhost:8080/axis2/services/HelloWorld/sayHello?name="Axis2" in browser.
<ns:sayHelloResponse><return>Hello null</return></ns:sayHelloResponse>
NOT Hello Axis2 !
MG>verify you are running latest Axis2 (1.6.3+)
MG>if you are running latest Axis2 distros place HappyAxis.jsp in your
MG>http://localhost:8080/axis2/services/axis2-web/HappyAxis.jsp
needed = needClass(out, "org.apache.axis2.transport.http.AxisServlet",
"axis2-1.0.jar",
"Apache-Axis",
"Axis2 will not work",
"http://xml.apache.org/axis2/");
needed += needClass(out, "org.apache.commons.logging.Log",
"commons-logging.jar",
"Jakarta-Commons Logging",
"Axis2 will not work",
"http://jakarta.apache.org/commons/logging.html");
needed += needClass(out, "javax.xml.stream.XMLStreamReader",
"stax-api-1.0.1.jar",
"Streaming API for XML",
"Axis2 will not work",
"http://dist.codehaus.org/stax/jars/");
needed += needClass(out, "org.codehaus.stax2.XMLStreamWriter2",
"wstx-asl-3.0.1.jar",
"Streaming API for XML implementation",
"Axis2 will not work",
"http://dist.codehaus.org/stax/jars/");
MG>Please confirm
could you help?
regards
Rupinder Pal Singh
Rupinder Singh
2016-07-27 16:49:55 UTC
Permalink
hello mr gainty,

thanks a lot for your continued help!

I have tried with tomcat 7.

same results on axis happiness page. Everything as you get. Except,

Exactly same properties remain unpopulated, as I enlisted earlier, repeated
below:

shared.loader

user.script

line.separator

user.variant

server.loader

un.cpu.isalist


Rupinder
Post by Rupinder Singh
*I mean with tomcat 8.5. Let me check with 7.*
Post by Rupinder Singh
*All other things the same. Except the following system properties remain
unpopulated.*
*shared.loader*
* user.script *
* line.separator *
*user.variant *
*server.loader *
*sun.cpu.isalist*
*Let me try tomcat version suggested by you and revert.*
Post by Martin Gainty
java version "1.8.0_40"
Java(TM) SE Runtime Environment (build 1.8.0_40-b26)
Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode)
TOMCAT"
Tomcat 8.5 is still beta so I would begoff that for now
I didnt hear back from you so I deployed axis2.war to
tomcat-7.0.50/webapps
if I place axis2 into browser address
http://localhost:8080/axis2/
then I click on version service I am directed to
Available servicesVersion
<http://localhost:8080/axis2/services/Version?wsdl>Service Description
: VersionService EPR : http://localhost:8080/axis2/services/VersionService
Status : Active*Available Operations*
- getVersion
if I go back to axis2 validate located at
Axis2 Happiness PageExamining webapp configurationEssential ComponentsFound
Apache-Axis (org.apache.axis2.transport.http.AxisServlet)
at
C:\Tomcat\apache-tomcat-7.0.50\webapps\axis2\WEB-INF\lib\axis2-transport-http-1.7.3.jar
Found Jakarta-Commons Logging (org.apache.commons.logging.Log)
at
C:\Tomcat\apache-tomcat-7.0.50\webapps\axis2\WEB-INF\lib\commons-logging-1.1.1.jar
Found Streaming API for XML (javax.xml.stream.XMLStreamReader)
at an unknown location
Found Streaming API for XML implementation
(org.codehaus.stax2.XMLStreamWriter2)
at
C:\Tomcat\apache-tomcat-7.0.50\webapps\axis2\WEB-INF\lib\stax2-api-3.1.1.jar
The core axis2 libraries are present.
Note: Even if everything this page probes for is present, there is no
guarantee your Axis Service will work, because there are many configuration
options that we do not check for. These tests are necessary but not
sufficient
Examining Version Service
Found Axis2 default Version service and Axis2 is working properly.
Now you can drop a service archive in axis2/WEB-INF/services. Following
output was produced while invoking Axis2 version service
<ns:getVersionResponse xmlns:ns="http://axisversion.sample"><ns:return>Hi
- the Axis2 version is 1.7.3</ns:return></ns:getVersionResponse>
Examining Application Server
Servlet version 3.0
Platform Apache Tomcat/7.0.50
all properties are populated
we can conclude the pre-packaged version service inside axis2.war
located at
http://www-eu.apache.org/dist/axis/axis2/java/core/1.7.3/axis2-1.7.3-war.zip
deploys propertly to Tomcat 7.0.50 and auto-configures properly
what happens when you install Tomcat-7.0.50
https://archive.apache.org/dist/tomcat/tomcat-7/v7.0.50/bin/
and then deploy axis2.war to /Tomcat-7.0.50/webapps
?
Martin
______________________________________________
------------------------------
Date: Wed, 27 Jul 2016 21:14:36 +0530
Subject: Re: Revised: A teething issue with Axis 2
*Tomcat 8.5*
your axis2.war might be corrupted
what is the specific URL where you acquired axis2.war?
Martin
______________________________________________
------------------------------
Date: Tue, 26 Jul 2016 20:48:36 +0530
Subject: Re: Revised: A teething issue with Axis 2
*Now I have tried with freshly downloaded axis2 war distro. From a
different mirror.*
*Still not working.*
All other contents are present except
in ./WEB-INF/services/
services.list present
*axis2-web-<version>.aar NOT PRESENT*
version-1.7.3.aar present, possibly in place of HelloWorld-<version>.aar
jars present in ./WEB-INF/lib/ are as per attachment.
regards
Rupinder
dropping axis2.war in webapps should autoexpand to webapps folder
possibly an incorrect axis2.war ..please confirm contents of axis2.war
./META-INF/MANIFEST.MF
./WEB-INF/classes/commons-logging.properties
log4j.properties
./org/*
./WEB-INF/conf/axis2.xml
./WEB-INF/lib/? <!-- which jars are
located in lib folder? -->
./WEB-INF/modules/addressing-1.5.mar
axis2-jaxws-mar-1.5.mar
axis2-scripting-1.5.mar
mex-1.5.mar
modules.list
mtompolicy-1.5.mar
ping-1.5.mar
soapmonitor-1.5.mar
./WEB-INF/services/services.list
axis2-web-<version>.aar
HelloWorld-<version>.aar
./WEB-INF/web.xml
Please verify
Martin
______________________________________________
------------------------------
Date: Mon, 25 Jul 2016 21:30:17 +0530
Subject: Re: Revised: A teething issue with Axis 2
hello Mr Gainty,
axis2-kernel-<version>.jar is present in
C:\Program Files\Apache Software Foundation\Tomcat
8.5\webapps\axis2\WEB-INF\lib
Since I am suing Tomcat, I have dropped axis2 war in tomcat\webpps.
regards
Rupinder
at a min you will need axis2 kernel module e.g.
at a minimum you will need axis2-kernel-<version>.jar to be located
in HelloWorld
<http://localhost:8080/axis2/services/HelloWorld/sayHello?name=>
/WEB-INF/lib
axis2-kernel-<version>.jar should be located in
$AXIS2-HOME/modules/kernel/target
please verify
Martin
______________________________________________
------------------------------
Date: Sun, 24 Jul 2016 21:21:13 +0530
Subject: Re: Revised: A teething issue with Axis 2
Hello Mr Gainty,
I am using Axis2-1.7.3 on Tomcat.
Upon placing that jsp, I get,
faultstring>The service cannot be found for the endpoint reference (EPR)
/axis2/services/axis2-web/HappyAxis.jsp</faultstring>
However, out of those 4 jars, the Happiness page shows the following
present except axis2-1.0.jar
commons-logging-1.1.1.jar
stax2-api-3.1.1.jar
Found Streaming API for XML (javax.xml.stream.XMLStreamReader)
at an unknown location
Regards
Rupinder
------------------------------
Date: Sun, 24 Jul 2016 10:30:31 +0530
Subject: Revised: A teething issue with Axis 2
Hello
I have just recently started with Web Services. I started by exposing
POJO in Axis2 deployed in Tomcat. When I run
http://localhost:8080/axis2/services/HelloWorld/sayHello?name="Axis2" in browser.
<ns:sayHelloResponse><return>Hello null</return></ns:sayHelloResponse>
NOT Hello Axis2 !
MG>verify you are running latest Axis2 (1.6.3+)
MG>if you are running latest Axis2 distros place HappyAxis.jsp in your
MG>http://localhost:8080/axis2/services/axis2-web/HappyAxis.jsp
needed = needClass(out, "org.apache.axis2.transport.http.AxisServlet",
"axis2-1.0.jar",
"Apache-Axis",
"Axis2 will not work",
"http://xml.apache.org/axis2/");
needed += needClass(out, "org.apache.commons.logging.Log",
"commons-logging.jar",
"Jakarta-Commons Logging",
"Axis2 will not work",
"http://jakarta.apache.org/commons/logging.html");
needed += needClass(out, "javax.xml.stream.XMLStreamReader",
"stax-api-1.0.1.jar",
"Streaming API for XML",
"Axis2 will not work",
"http://dist.codehaus.org/stax/jars/");
needed += needClass(out, "org.codehaus.stax2.XMLStreamWriter2",
"wstx-asl-3.0.1.jar",
"Streaming API for XML implementation",
"Axis2 will not work",
"http://dist.codehaus.org/stax/jars/");
MG>Please confirm
could you help?
regards
Rupinder Pal Singh
Martin Gainty
2016-07-27 17:25:41 UTC
Permalink
my validator validates axis2 deployment for Tomcat versions apache-tomcat-7.0.50 and apache-tomcat-8.5.4
please take screenshot located at http://localhost:8080/axis2/axis2-web/HappyAxis.jsp
and post here

Thanks!
Martin
______________________________________________



From: ***@gmail.com
Date: Wed, 27 Jul 2016 22:19:55 +0530
Subject: Re: Revised: A teething issue with Axis 2
To: java-***@axis.apache.org

hello mr gainty,

thanks a lot for your continued help!

I have tried with tomcat 7.

same results on axis happiness page. Everything as you get. Except,

Exactly same properties remain unpopulated, as I enlisted earlier, repeated below:



shared.loader

user.scriptline.separator

user.variant

server.loader



un.cpu.isalist



Rupinder

On Wed, Jul 27, 2016 at 10:03 PM, Rupinder Singh <***@gmail.com> wrote:
I mean with tomcat 8.5. Let me check with 7.

On Wed, Jul 27, 2016 at 9:59 PM, Rupinder Singh <***@gmail.com> wrote:


All other things the same. Except the following system properties remain unpopulated.

shared.loader

user.script

line.separator

user.variant

server.loader

sun.cpu.isalist
Let me try tomcat version suggested by you and revert.



On Wed, Jul 27, 2016 at 9:38 PM, Martin Gainty <***@hotmail.com> wrote:



JDK :
java version "1.8.0_40"Java(TM) SE Runtime Environment (build 1.8.0_40-b26)Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode)
TOMCAT"Tomcat 8.5 is still beta so I would begoff that for now
I didnt hear back from you so I deployed axis2.war to tomcat-7.0.50/webapps
if I place axis2 into browser addresshttp://localhost:8080/axis2/

then I click on version service I am directed to http://localhost:8080/axis2/services/listServices and I see:Available servicesVersionService Description : VersionService EPR : http://localhost:8080/axis2/services/VersionService Status : ActiveAvailable OperationsgetVersion
if I go back to axis2 validate located at http://localhost:8080/axis2/axis2-web/HappyAxis.jsp I see :
Axis2 Happiness PageExamining webapp configurationEssential ComponentsFound Apache-Axis (org.apache.axis2.transport.http.AxisServlet) at C:\Tomcat\apache-tomcat-7.0.50\webapps\axis2\WEB-INF\lib\axis2-transport-http-1.7.3.jarFound Jakarta-Commons Logging (org.apache.commons.logging.Log) at C:\Tomcat\apache-tomcat-7.0.50\webapps\axis2\WEB-INF\lib\commons-logging-1.1.1.jarFound Streaming API for XML (javax.xml.stream.XMLStreamReader) at an unknown locationFound Streaming API for XML implementation (org.codehaus.stax2.XMLStreamWriter2) at C:\Tomcat\apache-tomcat-7.0.50\webapps\axis2\WEB-INF\lib\stax2-api-3.1.1.jarThe core axis2 libraries are present.Note: Even if everything this page probes for is present, there is no guarantee your Axis Service will work, because there are many configuration options that we do not check for. These tests are necessary but not sufficientExamining Version ServiceFound Axis2 default Version service and Axis2 is working properly.Now you can drop a service archive in axis2/WEB-INF/services. Following output was produced while invoking Axis2 version service
<ns:getVersionResponse xmlns:ns="http://axisversion.sample"><ns:return>Hi - the Axis2 version is 1.7.3</ns:return></ns:getVersionResponse>
Examining Application ServerServlet version3.0PlatformApache Tomcat/7.0.50Examining System Properties:all properties are populated

we can conclude the pre-packaged version service inside axis2.war located at http://www-eu.apache.org/dist/axis/axis2/java/core/1.7.3/axis2-1.7.3-war.zipdeploys propertly to Tomcat 7.0.50 and auto-configures properly
what happens when you install Tomcat-7.0.50https://archive.apache.org/dist/tomcat/tomcat-7/v7.0.50/bin/
and then deploy axis2.war to /Tomcat-7.0.50/webapps
?
Martin
______________________________________________



From: ***@gmail.com
Date: Wed, 27 Jul 2016 21:14:36 +0530
Subject: Re: Revised: A teething issue with Axis 2
To: java-***@axis.apache.org

Tomcat 8.5

On Wed, Jul 27, 2016 at 5:11 AM, Martin Gainty <***@hotmail.com> wrote:



your axis2.war might be corrupted

what is the specific URL where you acquired axis2.war?
Martin
______________________________________________



From: ***@gmail.com
Date: Tue, 26 Jul 2016 20:48:36 +0530
Subject: Re: Revised: A teething issue with Axis 2
To: java-***@axis.apache.org

Now I have tried with freshly downloaded axis2 war distro. From a different mirror.

Still not working.

On Tue, Jul 26, 2016 at 8:25 PM, Rupinder Singh <***@gmail.com> wrote:
All other contents are present except

in ./WEB-INF/services/

services.list present

axis2-web-<version>.aar NOT PRESENT


version-1.7.3.aar present, possibly in place of HelloWorld-<version>.aar


jars present in ./WEB-INF/lib/ are as per attachment.

regards

Rupinder




On Mon, Jul 25, 2016 at 10:45 PM, Martin Gainty <***@hotmail.com> wrote:



dropping axis2.war in webapps should autoexpand to webapps folder
possibly an incorrect axis2.war ..please confirm contents of axis2.war
./META-INF/MANIFEST.MF
./WEB-INF/classes/commons-logging.properties log4j.properties ./org/*
./WEB-INF/conf/axis2.xml
./WEB-INF/lib/? <!-- which jars are located in lib folder? -->
./WEB-INF/modules/addressing-1.5.mar axis2-jaxws-mar-1.5.mar axis2-scripting-1.5.mar mex-1.5.mar modules.list mtompolicy-1.5.mar ping-1.5.mar soapmonitor-1.5.mar
./WEB-INF/services/services.list axis2-web-<version>.aar HelloWorld-<version>.aar
./WEB-INF/web.xml
Please verify
Martin
______________________________________________



From: ***@gmail.com
Date: Mon, 25 Jul 2016 21:30:17 +0530
Subject: Re: Revised: A teething issue with Axis 2
To: java-***@axis.apache.org

hello Mr Gainty,

axis2-kernel-<version>.jar is present in

C:\Program Files\Apache Software Foundation\Tomcat 8.5\webapps\axis2\WEB-INF\lib

Since I am suing Tomcat, I have dropped axis2 war in tomcat\webpps.


regards
Rupinder



On Mon, Jul 25, 2016 at 3:18 AM, Martin Gainty <***@hotmail.com> wrote:



at a min you will need axis2 kernel module e.g.
at a minimum you will need axis2-kernel-<version>.jar to be located in HelloWorld/WEB-INF/lib
axis2-kernel-<version>.jar should be located in $AXIS2-HOME/modules/kernel/target
please verifyMartin
______________________________________________



From: ***@gmail.com
Date: Sun, 24 Jul 2016 21:21:13 +0530
Subject: Re: Revised: A teething issue with Axis 2
To: java-***@axis.apache.org

Hello Mr Gainty,

I am using Axis2-1.7.3 on Tomcat.
Upon placing that jsp, I get,

faultstring>The service cannot be found for the endpoint reference (EPR) /axis2/services/axis2-web/HappyAxis.jsp</faultstring>

However, out of those 4 jars, the Happiness page shows the following present except axis2-1.0.jar

commons-logging-1.1.1.jar
stax2-api-3.1.1.jar
Found Streaming API for XML (javax.xml.stream.XMLStreamReader)
at an unknown location


Regards
Rupinder



On Sun, Jul 24, 2016 at 7:57 PM, Martin Gainty <***@hotmail.com> wrote:






From: ***@gmail.com
Date: Sun, 24 Jul 2016 10:30:31 +0530
Subject: Revised: A teething issue with Axis 2
To: java-***@axis.apache.org

Hello

I have just recently started with Web Services. I
started by exposing POJO in Axis2 deployed in Tomcat. When I run
http://localhost:8080/axis2/services/HelloWorld/sayHello?name="Axis2" in browser.


<ns:sayHelloResponse><return>Hello null</return></ns:sayHelloResponse>

NOT Hello Axis2 !
MG>verify you are running latest Axis2 (1.6.3+)
MG>if you are running latest Axis2 distros place HappyAxis.jsp in your browser address bar:
MG>http://localhost:8080/axis2/services/axis2-web/HappyAxis.jsp

MG>HappyAxis.jsp *should* warn you if any of these jars are missing:
needed = needClass(out, "org.apache.axis2.transport.http.AxisServlet", "axis2-1.0.jar", "Apache-Axis", "Axis2 will not work", "http://xml.apache.org/axis2/"); needed += needClass(out, "org.apache.commons.logging.Log", "commons-logging.jar", "Jakarta-Commons Logging", "Axis2 will not work", "http://jakarta.apache.org/commons/logging.html"); needed += needClass(out, "javax.xml.stream.XMLStreamReader", "stax-api-1.0.1.jar", "Streaming API for XML", "Axis2 will not work", "http://dist.codehaus.org/stax/jars/"); needed += needClass(out, "org.codehaus.stax2.XMLStreamWriter2", "wstx-asl-3.0.1.jar", "Streaming API for XML implementation", "Axis2 will not work", "http://dist.codehaus.org/stax/jars/");MG>Please confirm
could you help?


regards
Rupinder Pal Singh
Rupinder Singh
2016-07-27 18:10:36 UTC
Permalink
*screenshots for both tomcat 7 and tomcat 8 attached.*
*thanks*
*Rupinder*
Post by Martin Gainty
my validator validates axis2 deployment for Tomcat versions
apache-tomcat-7.0.50 and apache-tomcat-8.5.4
please take screenshot located at
http://localhost:8080/axis2/axis2-web/HappyAxis.jsp
and post here
Thanks!
Martin
______________________________________________
------------------------------
Date: Wed, 27 Jul 2016 22:19:55 +0530
Subject: Re: Revised: A teething issue with Axis 2
hello mr gainty,
thanks a lot for your continued help!
I have tried with tomcat 7.
same results on axis happiness page. Everything as you get. Except,
shared.loader
user.script
line.separator
user.variant
server.loader
un.cpu.isalist
Rupinder
*I mean with tomcat 8.5. Let me check with 7.*
*All other things the same. Except the following system properties remain
unpopulated.*
*shared.loader*
* user.script *
* line.separator *
*user.variant *
*server.loader *
*sun.cpu.isalist*
*Let me try tomcat version suggested by you and revert.*
java version "1.8.0_40"
Java(TM) SE Runtime Environment (build 1.8.0_40-b26)
Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode)
TOMCAT"
Tomcat 8.5 is still beta so I would begoff that for now
I didnt hear back from you so I deployed axis2.war to tomcat-7.0.50/webapps
if I place axis2 into browser address
http://localhost:8080/axis2/
then I click on version service I am directed to
Available servicesVersion
<http://localhost:8080/axis2/services/Version?wsdl>Service Description
: VersionService EPR : http://localhost:8080/axis2/services/VersionService
Status : Active*Available Operations*
- getVersion
if I go back to axis2 validate located at
Axis2 Happiness PageExamining webapp configurationEssential ComponentsFound
Apache-Axis (org.apache.axis2.transport.http.AxisServlet)
at
C:\Tomcat\apache-tomcat-7.0.50\webapps\axis2\WEB-INF\lib\axis2-transport-http-1.7.3.jar
Found Jakarta-Commons Logging (org.apache.commons.logging.Log)
at
C:\Tomcat\apache-tomcat-7.0.50\webapps\axis2\WEB-INF\lib\commons-logging-1.1.1.jar
Found Streaming API for XML (javax.xml.stream.XMLStreamReader)
at an unknown location
Found Streaming API for XML implementation
(org.codehaus.stax2.XMLStreamWriter2)
at
C:\Tomcat\apache-tomcat-7.0.50\webapps\axis2\WEB-INF\lib\stax2-api-3.1.1.jar
The core axis2 libraries are present.
Note: Even if everything this page probes for is present, there is no
guarantee your Axis Service will work, because there are many configuration
options that we do not check for. These tests are necessary but not
sufficient
Examining Version Service
Found Axis2 default Version service and Axis2 is working properly.
Now you can drop a service archive in axis2/WEB-INF/services. Following
output was produced while invoking Axis2 version service
<ns:getVersionResponse xmlns:ns="http://axisversion.sample"><ns:return>Hi
- the Axis2 version is 1.7.3</ns:return></ns:getVersionResponse>
Examining Application Server
Servlet version 3.0
Platform Apache Tomcat/7.0.50
all properties are populated
we can conclude the pre-packaged version service inside axis2.war located
at
http://www-eu.apache.org/dist/axis/axis2/java/core/1.7.3/axis2-1.7.3-war.zip
deploys propertly to Tomcat 7.0.50 and auto-configures properly
what happens when you install Tomcat-7.0.50
https://archive.apache.org/dist/tomcat/tomcat-7/v7.0.50/bin/
and then deploy axis2.war to /Tomcat-7.0.50/webapps
?
Martin
______________________________________________
------------------------------
Date: Wed, 27 Jul 2016 21:14:36 +0530
Subject: Re: Revised: A teething issue with Axis 2
*Tomcat 8.5*
your axis2.war might be corrupted
what is the specific URL where you acquired axis2.war?
Martin
______________________________________________
------------------------------
Date: Tue, 26 Jul 2016 20:48:36 +0530
Subject: Re: Revised: A teething issue with Axis 2
*Now I have tried with freshly downloaded axis2 war distro. From a
different mirror.*
*Still not working.*
All other contents are present except
in ./WEB-INF/services/
services.list present
*axis2-web-<version>.aar NOT PRESENT*
version-1.7.3.aar present, possibly in place of HelloWorld-<version>.aar
jars present in ./WEB-INF/lib/ are as per attachment.
regards
Rupinder
dropping axis2.war in webapps should autoexpand to webapps folder
possibly an incorrect axis2.war ..please confirm contents of axis2.war
./META-INF/MANIFEST.MF
./WEB-INF/classes/commons-logging.properties
log4j.properties
./org/*
./WEB-INF/conf/axis2.xml
./WEB-INF/lib/? <!-- which jars are
located in lib folder? -->
./WEB-INF/modules/addressing-1.5.mar
axis2-jaxws-mar-1.5.mar
axis2-scripting-1.5.mar
mex-1.5.mar
modules.list
mtompolicy-1.5.mar
ping-1.5.mar
soapmonitor-1.5.mar
./WEB-INF/services/services.list
axis2-web-<version>.aar
HelloWorld-<version>.aar
./WEB-INF/web.xml
Please verify
Martin
______________________________________________
------------------------------
Date: Mon, 25 Jul 2016 21:30:17 +0530
Subject: Re: Revised: A teething issue with Axis 2
hello Mr Gainty,
axis2-kernel-<version>.jar is present in
C:\Program Files\Apache Software Foundation\Tomcat
8.5\webapps\axis2\WEB-INF\lib
Since I am suing Tomcat, I have dropped axis2 war in tomcat\webpps.
regards
Rupinder
at a min you will need axis2 kernel module e.g.
at a minimum you will need axis2-kernel-<version>.jar to be located
in HelloWorld
<http://localhost:8080/axis2/services/HelloWorld/sayHello?name=>
/WEB-INF/lib
axis2-kernel-<version>.jar should be located in
$AXIS2-HOME/modules/kernel/target
please verify
Martin
______________________________________________
------------------------------
Date: Sun, 24 Jul 2016 21:21:13 +0530
Subject: Re: Revised: A teething issue with Axis 2
Hello Mr Gainty,
I am using Axis2-1.7.3 on Tomcat.
Upon placing that jsp, I get,
faultstring>The service cannot be found for the endpoint reference (EPR)
/axis2/services/axis2-web/HappyAxis.jsp</faultstring>
However, out of those 4 jars, the Happiness page shows the following
present except axis2-1.0.jar
commons-logging-1.1.1.jar
stax2-api-3.1.1.jar
Found Streaming API for XML (javax.xml.stream.XMLStreamReader)
at an unknown location
Regards
Rupinder
------------------------------
Date: Sun, 24 Jul 2016 10:30:31 +0530
Subject: Revised: A teething issue with Axis 2
Hello
I have just recently started with Web Services. I started by exposing POJO
in Axis2 deployed in Tomcat. When I run
http://localhost:8080/axis2/services/HelloWorld/sayHello?name="Axis2" in browser.
<ns:sayHelloResponse><return>Hello null</return></ns:sayHelloResponse>
NOT Hello Axis2 !
MG>verify you are running latest Axis2 (1.6.3+)
MG>if you are running latest Axis2 distros place HappyAxis.jsp in your
MG>http://localhost:8080/axis2/services/axis2-web/HappyAxis.jsp
needed = needClass(out, "org.apache.axis2.transport.http.AxisServlet",
"axis2-1.0.jar",
"Apache-Axis",
"Axis2 will not work",
"http://xml.apache.org/axis2/");
needed += needClass(out, "org.apache.commons.logging.Log",
"commons-logging.jar",
"Jakarta-Commons Logging",
"Axis2 will not work",
"http://jakarta.apache.org/commons/logging.html");
needed += needClass(out, "javax.xml.stream.XMLStreamReader",
"stax-api-1.0.1.jar",
"Streaming API for XML",
"Axis2 will not work",
"http://dist.codehaus.org/stax/jars/");
needed += needClass(out, "org.codehaus.stax2.XMLStreamWriter2",
"wstx-asl-3.0.1.jar",
"Streaming API for XML implementation",
"Axis2 will not work",
"http://dist.codehaus.org/stax/jars/");
MG>Please confirm
could you help?
regards
Rupinder Pal Singh
Okken,Brett
2016-07-27 20:52:41 UTC
Permalink
Your screen shot seems to indicate you are running windows xp. Java 8 is not supported on windows xp. The properties you are missing are properties that java has to determine from the OS.

https://www.java.com/en/download/faq/winxp.xml
https://blogs.oracle.com/henrik/entry/the_future_of_java_on

From: Rupinder Singh [mailto:***@gmail.com]
Sent: Wednesday, July 27, 2016 1:11 PM
To: java-***@axis.apache.org
Subject: Re: Revised: A teething issue with Axis 2

screenshots for both tomcat 7 and tomcat 8 attached.
thanks
Rupinder

On Wed, Jul 27, 2016 at 10:55 PM, Martin Gainty <***@hotmail.com<mailto:***@hotmail.com>> wrote:
my validator validates axis2 deployment for Tomcat versions apache-tomcat-7.0.50 and apache-tomcat-8.5.4

please take screenshot located at
http://localhost:8080/axis2/axis2-web/HappyAxis.jsp<https://urldefense.proofpoint.com/v2/url?u=http-3A__localhost-3A8080_axis2_axis2-2Dweb_HappyAxis.jsp&d=CwMFaQ&c=NRtzTzKNaCCmhN_9N2YJR-XrNU1huIgYP99yDsEzaJo&r=20zJRSOLqnhpb5O2TJiy-vm64GybJvBn-HrBCfWKLfY&m=lCuA4Ur_yCgNBXLNZHLd2ytAGk7WE5-5Z55Tm1PhCB8&s=8Kjf0R0UyuEIZbgUzE9JQLPS7iz4v4A2-ob46OhQYVM&e=>

and post here

Thanks!
Martin
______________________________________________




________________________________
From: ***@gmail.com<mailto:***@gmail.com>
Date: Wed, 27 Jul 2016 22:19:55 +0530

Subject: Re: Revised: A teething issue with Axis 2
To: java-***@axis.apache.org<mailto:java-***@axis.apache.org>
hello mr gainty,
thanks a lot for your continued help!
I have tried with tomcat 7.
same results on axis happiness page. Everything as you get. Except,
Exactly same properties remain unpopulated, as I enlisted earlier, repeated below:

shared.loader

user.script

line.separator

user.variant

server.loader

un.cpu.isalist

Rupinder

On Wed, Jul 27, 2016 at 10:03 PM, Rupinder Singh <***@gmail.com<mailto:***@gmail.com>> wrote:
I mean with tomcat 8.5. Let me check with 7.

On Wed, Jul 27, 2016 at 9:59 PM, Rupinder Singh <***@gmail.com<mailto:***@gmail.com>> wrote:

All other things the same. Except the following system properties remain unpopulated.



shared.loader

user.script

line.separator

user.variant

server.loader

sun.cpu.isalist


Let me try tomcat version suggested by you and revert.


On Wed, Jul 27, 2016 at 9:38 PM, Martin Gainty <***@hotmail.com<mailto:***@hotmail.com>> wrote:
JDK :
java version "1.8.0_40"
Java(TM) SE Runtime Environment (build 1.8.0_40-b26)
Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode)

TOMCAT"
Tomcat 8.5 is still beta so I would begoff that for now

I didnt hear back from you so I deployed axis2.war to tomcat-7.0.50/webapps

if I place axis2 into browser address
http://localhost:8080/axis2/<https://urldefense.proofpoint.com/v2/url?u=http-3A__localhost-3A8080_axis2_&d=CwMFaQ&c=NRtzTzKNaCCmhN_9N2YJR-XrNU1huIgYP99yDsEzaJo&r=20zJRSOLqnhpb5O2TJiy-vm64GybJvBn-HrBCfWKLfY&m=lCuA4Ur_yCgNBXLNZHLd2ytAGk7WE5-5Z55Tm1PhCB8&s=AlsFz5LxtlHmtfSJG8GDpgYhxbG5Cpdy2s5KLaMNUNQ&e=>

then I click on version service I am directed to http://localhost:8080/axis2/services/listServices<https://urldefense.proofpoint.com/v2/url?u=http-3A__localhost-3A8080_axis2_services_listServices&d=CwMFaQ&c=NRtzTzKNaCCmhN_9N2YJR-XrNU1huIgYP99yDsEzaJo&r=20zJRSOLqnhpb5O2TJiy-vm64GybJvBn-HrBCfWKLfY&m=lCuA4Ur_yCgNBXLNZHLd2ytAGk7WE5-5Z55Tm1PhCB8&s=4I8zZmb2D3kpqKippECWAGzNixlw8deL3sDmtzY8DNM&e=> and I see:
Available services
Version<https://urldefense.proofpoint.com/v2/url?u=http-3A__localhost-3A8080_axis2_services_Version-3Fwsdl&d=CwMFaQ&c=NRtzTzKNaCCmhN_9N2YJR-XrNU1huIgYP99yDsEzaJo&r=20zJRSOLqnhpb5O2TJiy-vm64GybJvBn-HrBCfWKLfY&m=lCuA4Ur_yCgNBXLNZHLd2ytAGk7WE5-5Z55Tm1PhCB8&s=Gp3sRJLm-wEmn6QUvliCCKjHTJWKZRRb8Yz6cvhMSsY&e=>
Service Description : Version
Service EPR : http://localhost:8080/axis2/services/Version<https://urldefense.proofpoint.com/v2/url?u=http-3A__localhost-3A8080_axis2_services_Version&d=CwMFaQ&c=NRtzTzKNaCCmhN_9N2YJR-XrNU1huIgYP99yDsEzaJo&r=20zJRSOLqnhpb5O2TJiy-vm64GybJvBn-HrBCfWKLfY&m=lCuA4Ur_yCgNBXLNZHLd2ytAGk7WE5-5Z55Tm1PhCB8&s=SpqzXhlhm6DLm2m0hIHK3ouaYNpBplUl6keRkmVGrRY&e=>
Service Status : Active
Available Operations

* getVersion

if I go back to axis2 validate located at http://localhost:8080/axis2/axis2-web/HappyAxis.jsp<https://urldefense.proofpoint.com/v2/url?u=http-3A__localhost-3A8080_axis2_axis2-2Dweb_HappyAxis.jsp&d=CwMFaQ&c=NRtzTzKNaCCmhN_9N2YJR-XrNU1huIgYP99yDsEzaJo&r=20zJRSOLqnhpb5O2TJiy-vm64GybJvBn-HrBCfWKLfY&m=lCuA4Ur_yCgNBXLNZHLd2ytAGk7WE5-5Z55Tm1PhCB8&s=8Kjf0R0UyuEIZbgUzE9JQLPS7iz4v4A2-ob46OhQYVM&e=> I see :

Axis2 Happiness Page
Examining webapp configuration
Essential Components
Found Apache-Axis (org.apache.axis2.transport.http.AxisServlet)
at C:\Tomcat\apache-tomcat-7.0.50\webapps\axis2\WEB-INF\lib\axis2-transport-http-1.7.3.jar
Found Jakarta-Commons Logging (org.apache.commons.logging.Log)
at C:\Tomcat\apache-tomcat-7.0.50\webapps\axis2\WEB-INF\lib\commons-logging-1.1.1.jar
Found Streaming API for XML (javax.xml.stream.XMLStreamReader)
at an unknown location
Found Streaming API for XML implementation (org.codehaus.stax2.XMLStreamWriter2)
at C:\Tomcat\apache-tomcat-7.0.50\webapps\axis2\WEB-INF\lib\stax2-api-3.1.1.jar

The core axis2 libraries are present.

Note: Even if everything this page probes for is present, there is no guarantee your Axis Service will work, because there are many configuration options that we do not check for. These tests are necessary but not sufficient

Examining Version Service

Found Axis2 default Version service and Axis2 is working properly.
Now you can drop a service archive in axis2/WEB-INF/services. Following output was produced while invoking Axis2 version service
<ns:getVersionResponse xmlns:ns="http://axisversion.sample<https://urldefense.proofpoint.com/v2/url?u=http-3A__axisversion.sample&d=CwMFaQ&c=NRtzTzKNaCCmhN_9N2YJR-XrNU1huIgYP99yDsEzaJo&r=20zJRSOLqnhpb5O2TJiy-vm64GybJvBn-HrBCfWKLfY&m=lCuA4Ur_yCgNBXLNZHLd2ytAGk7WE5-5Z55Tm1PhCB8&s=Dl0NRVRXQwTfJbXuIlLNd6e7Rpho4Zm4C48z3DjlPCg&e=>"><ns:return>Hi - the Axis2 version is 1.7.3</ns:return></ns:getVersionResponse>
Examining Application Server
Servlet version

3.0

Platform

Apache Tomcat/7.0.50

Examining System Properties:
all properties are populated

we can conclude the pre-packaged version service inside axis2.war located at
http://www-eu.apache.org/dist/axis/axis2/java/core/1.7.3/axis2-1.7.3-war.zip<https://urldefense.proofpoint.com/v2/url?u=http-3A__www-2Deu.apache.org_dist_axis_axis2_java_core_1.7.3_axis2-2D1.7.3-2Dwar.zip&d=CwMFaQ&c=NRtzTzKNaCCmhN_9N2YJR-XrNU1huIgYP99yDsEzaJo&r=20zJRSOLqnhpb5O2TJiy-vm64GybJvBn-HrBCfWKLfY&m=lCuA4Ur_yCgNBXLNZHLd2ytAGk7WE5-5Z55Tm1PhCB8&s=xRNDLuS2oU7fKz0j6W6elNwqTMEXe63AwXTxxu0Q7IA&e=>
deploys propertly to Tomcat 7.0.50 and auto-configures properly

what happens when you install Tomcat-7.0.50
https://archive.apache.org/dist/tomcat/tomcat-7/v7.0.50/bin/<https://urldefense.proofpoint.com/v2/url?u=https-3A__archive.apache.org_dist_tomcat_tomcat-2D7_v7.0.50_bin_&d=CwMFaQ&c=NRtzTzKNaCCmhN_9N2YJR-XrNU1huIgYP99yDsEzaJo&r=20zJRSOLqnhpb5O2TJiy-vm64GybJvBn-HrBCfWKLfY&m=lCuA4Ur_yCgNBXLNZHLd2ytAGk7WE5-5Z55Tm1PhCB8&s=HInpy9Xw3RvaYW-pTtz1Vbhzbm0SuVWaJYg-s1lJS7E&e=>

and then deploy axis2.war to /Tomcat-7.0.50/webapps

?
Martin
______________________________________________



________________________________
From: ***@gmail.com<mailto:***@gmail.com>
Date: Wed, 27 Jul 2016 21:14:36 +0530

Subject: Re: Revised: A teething issue with Axis 2
To: java-***@axis.apache.org<mailto:java-***@axis.apache.org>
Tomcat 8.5

On Wed, Jul 27, 2016 at 5:11 AM, Martin Gainty <***@hotmail.com<mailto:***@hotmail.com>> wrote:
your axis2.war might be corrupted

what is the specific URL where you acquired axis2.war?

Martin
______________________________________________




________________________________
From: ***@gmail.com<mailto:***@gmail.com>
Date: Tue, 26 Jul 2016 20:48:36 +0530

Subject: Re: Revised: A teething issue with Axis 2
To: java-***@axis.apache.org<mailto:java-***@axis.apache.org>
Now I have tried with freshly downloaded axis2 war distro. From a different mirror.
Still not working.

On Tue, Jul 26, 2016 at 8:25 PM, Rupinder Singh <***@gmail.com<mailto:***@gmail.com>> wrote:
All other contents are present except

in ./WEB-INF/services/

services.list present

axis2-web-<version>.aar NOT PRESENT


version-1.7.3.aar present, possibly in place of HelloWorld-<version>.aar

jars present in ./WEB-INF/lib/ are as per attachment.
regards
Rupinder



On Mon, Jul 25, 2016 at 10:45 PM, Martin Gainty <***@hotmail.com<mailto:***@hotmail.com>> wrote:
dropping axis2.war in webapps should autoexpand to webapps folder

possibly an incorrect axis2.war ..please confirm contents of axis2.war

./META-INF/MANIFEST.MF

./WEB-INF/classes/commons-logging.properties
log4j.properties
./org/*

./WEB-INF/conf/axis2.xml

./WEB-INF/lib/? <!-- which jars are located in lib folder? -->

./WEB-INF/modules/addressing-1.5.mar
axis2-jaxws-mar-1.5.mar
axis2-scripting-1.5.mar
mex-1.5.mar
modules.list
mtompolicy-1.5.mar
ping-1.5.mar
soapmonitor-1.5.mar

./WEB-INF/services/services.list
axis2-web-<version>.aar
HelloWorld-<version>.aar

./WEB-INF/web.xml

Please verify
Martin
______________________________________________



________________________________
From: ***@gmail.com<mailto:***@gmail.com>
Date: Mon, 25 Jul 2016 21:30:17 +0530

Subject: Re: Revised: A teething issue with Axis 2
To: java-***@axis.apache.org<mailto:java-***@axis.apache.org>
hello Mr Gainty,

axis2-kernel-<version>.jar is present in

C:\Program Files\Apache Software Foundation\Tomcat 8.5\webapps\axis2\WEB-INF\lib
Since I am suing Tomcat, I have dropped axis2 war in tomcat\webpps.

regards
Rupinder


On Mon, Jul 25, 2016 at 3:18 AM, Martin Gainty <***@hotmail.com<mailto:***@hotmail.com>> wrote:
at a min you will need axis2 kernel module e.g.
at a minimum you will need axis2-kernel-<version>.jar to be located
in HelloWorld<https://urldefense.proofpoint.com/v2/url?u=http-3A__localhost-3A8080_axis2_services_HelloWorld_sayHello-3Fname-3D&d=CwMFaQ&c=NRtzTzKNaCCmhN_9N2YJR-XrNU1huIgYP99yDsEzaJo&r=20zJRSOLqnhpb5O2TJiy-vm64GybJvBn-HrBCfWKLfY&m=lCuA4Ur_yCgNBXLNZHLd2ytAGk7WE5-5Z55Tm1PhCB8&s=EUPYZniVhn_Cnt2hkM7SESWSQsrdodmkE9hLFRykaIc&e=>/WEB-INF/lib

axis2-kernel-<version>.jar should be located in $AXIS2-HOME/modules/kernel/target

please verify
Martin
______________________________________________



________________________________
From: ***@gmail.com<mailto:***@gmail.com>
Date: Sun, 24 Jul 2016 21:21:13 +0530
Subject: Re: Revised: A teething issue with Axis 2

To: java-***@axis.apache.org<mailto:java-***@axis.apache.org>
Hello Mr Gainty,
I am using Axis2-1.7.3 on Tomcat.
Upon placing that jsp, I get,

faultstring>The service cannot be found for the endpoint reference (EPR) /axis2/services/axis2-web/HappyAxis.jsp</faultstring>

However, out of those 4 jars, the Happiness page shows the following present except axis2-1.0.jar

commons-logging-1.1.1.jar
stax2-api-3.1.1.jar
Found Streaming API for XML (javax.xml.stream.XMLStreamReader)
at an unknown location

Regards
Rupinder


On Sun, Jul 24, 2016 at 7:57 PM, Martin Gainty <***@hotmail.com<mailto:***@hotmail.com>> wrote:


________________________________
From: ***@gmail.com<mailto:***@gmail.com>
Date: Sun, 24 Jul 2016 10:30:31 +0530
Subject: Revised: A teething issue with Axis 2
To: java-***@axis.apache.org<mailto:java-***@axis.apache.org>
Hello

I have just recently started with Web Services. I started by exposing POJO in Axis2 deployed in Tomcat. When I run
http://localhost:8080/axis2/services/HelloWorld/sayHello?name=<https://urldefense.proofpoint.com/v2/url?u=http-3A__localhost-3A8080_axis2_services_HelloWorld_sayHello-3Fname-3D&d=CwMFaQ&c=NRtzTzKNaCCmhN_9N2YJR-XrNU1huIgYP99yDsEzaJo&r=20zJRSOLqnhpb5O2TJiy-vm64GybJvBn-HrBCfWKLfY&m=lCuA4Ur_yCgNBXLNZHLd2ytAGk7WE5-5Z55Tm1PhCB8&s=EUPYZniVhn_Cnt2hkM7SESWSQsrdodmkE9hLFRykaIc&e=>"Axis2" in browser.

<ns:sayHelloResponse><return>Hello null</return></ns:sayHelloResponse>
NOT Hello Axis2 !

MG>verify you are running latest Axis2 (1.6.3+)
MG>if you are running latest Axis2 distros place HappyAxis.jsp in your browser address bar:

MG>http://localhost:8080/axis2/services/axis2-web/HappyAxis.jsp<https://urldefense.proofpoint.com/v2/url?u=http-3A__localhost-3A8080_axis2_services_axis2-2Dweb_HappyAxis.jsp&d=CwMFaQ&c=NRtzTzKNaCCmhN_9N2YJR-XrNU1huIgYP99yDsEzaJo&r=20zJRSOLqnhpb5O2TJiy-vm64GybJvBn-HrBCfWKLfY&m=lCuA4Ur_yCgNBXLNZHLd2ytAGk7WE5-5Z55Tm1PhCB8&s=D9EkeHzcoMM-nG13hE_z_z_iMbpLmsjV-ELho3man6o&e=>

MG>HappyAxis.jsp *should* warn you if any of these jars are missing:

needed = needClass(out, "org.apache.axis2.transport.http.AxisServlet",
"axis2-1.0.jar",
"Apache-Axis",
"Axis2 will not work",
"http://xml.apache.org/axis2/<https://urldefense.proofpoint.com/v2/url?u=http-3A__xml.apache.org_axis2_&d=CwMFaQ&c=NRtzTzKNaCCmhN_9N2YJR-XrNU1huIgYP99yDsEzaJo&r=20zJRSOLqnhpb5O2TJiy-vm64GybJvBn-HrBCfWKLfY&m=lCuA4Ur_yCgNBXLNZHLd2ytAGk7WE5-5Z55Tm1PhCB8&s=5K18sFGC7hQC8uTNT2847jsv88AZd8tRkWgdt6eWSa0&e=>");
needed += needClass(out, "org.apache.commons.logging.Log",
"commons-logging.jar",
"Jakarta-Commons Logging",
"Axis2 will not work",
"http://jakarta.apache.org/commons/logging.html<https://urldefense.proofpoint.com/v2/url?u=http-3A__jakarta.apache.org_commons_logging.html&d=CwMFaQ&c=NRtzTzKNaCCmhN_9N2YJR-XrNU1huIgYP99yDsEzaJo&r=20zJRSOLqnhpb5O2TJiy-vm64GybJvBn-HrBCfWKLfY&m=lCuA4Ur_yCgNBXLNZHLd2ytAGk7WE5-5Z55Tm1PhCB8&s=5qC7mPu8c7_8RP0JVN4gSMqVsleRolU5DCkb1bJeA_w&e=>");
needed += needClass(out, "javax.xml.stream.XMLStreamReader",
"stax-api-1.0.1.jar",
"Streaming API for XML",
"Axis2 will not work",
"http://dist.codehaus.org/stax/jars/<https://urldefense.proofpoint.com/v2/url?u=http-3A__dist.codehaus.org_stax_jars_&d=CwMFaQ&c=NRtzTzKNaCCmhN_9N2YJR-XrNU1huIgYP99yDsEzaJo&r=20zJRSOLqnhpb5O2TJiy-vm64GybJvBn-HrBCfWKLfY&m=lCuA4Ur_yCgNBXLNZHLd2ytAGk7WE5-5Z55Tm1PhCB8&s=m4Ah8-u_oZjX83C7G9A42AeJYqW4P4VeYhrJBc7w06c&e=>");
needed += needClass(out, "org.codehaus.stax2.XMLStreamWriter2",
"wstx-asl-3.0.1.jar",
"Streaming API for XML implementation",
"Axis2 will not work",
"http://dist.codehaus.org/stax/jars/<https://urldefense.proofpoint.com/v2/url?u=http-3A__dist.codehaus.org_stax_jars_&d=CwMFaQ&c=NRtzTzKNaCCmhN_9N2YJR-XrNU1huIgYP99yDsEzaJo&r=20zJRSOLqnhpb5O2TJiy-vm64GybJvBn-HrBCfWKLfY&m=lCuA4Ur_yCgNBXLNZHLd2ytAGk7WE5-5Z55Tm1PhCB8&s=m4Ah8-u_oZjX83C7G9A42AeJYqW4P4VeYhrJBc7w06c&e=>");
MG>Please confirm

could you help?

regards
Rupinder Pal Singh










CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024.
Martin Gainty
2016-07-28 00:30:36 UTC
Permalink
as previously mentioned WindowsXP is not a supported OS for JDK 1.8http://www.oracle.com/technetwork/java/javase/certconfig-2095354.htmlIf you want to stay with this configuration which is what I would recommend:http://www.oracle.com/technetwork/server-storage/virtualbox/downloads/index.html
you can install a Windows7 VM and then install JDK 1.8 then install Tomcat8 with Axis2 webapp

OR you can install JDK 1.6 on WindowsXP and install Tomcat 7 with axis2 webapp as mentioned here:https://bz.apache.org/bugzilla/show_bug.cgi?id=53601
supported configurations are here:http://www.oracle.com/technetwork/java/javase/system-configurations-135212.html

Caveat: JDK 1.6 is not supported by Tomcat and is not supported by Oracleand JDK 1.6 is not supported here
Martin
______________________________________________



From: ***@gmail.com
Date: Wed, 27 Jul 2016 23:40:36 +0530
Subject: Re: Revised: A teething issue with Axis 2
To: java-***@axis.apache.org

screenshots for both tomcat 7 and tomcat 8 attached.

thanksRupinder

On Wed, Jul 27, 2016 at 10:55 PM, Martin Gainty <***@hotmail.com> wrote:



my validator validates axis2 deployment for Tomcat versions apache-tomcat-7.0.50 and apache-tomcat-8.5.4
please take screenshot located at http://localhost:8080/axis2/axis2-web/HappyAxis.jsp

and post here

Thanks!
Martin
______________________________________________



From: ***@gmail.com
Date: Wed, 27 Jul 2016 22:19:55 +0530
Subject: Re: Revised: A teething issue with Axis 2
To: java-***@axis.apache.org

hello mr gainty,

thanks a lot for your continued help!

I have tried with tomcat 7.

same results on axis happiness page. Everything as you get. Except,

Exactly same properties remain unpopulated, as I enlisted earlier, repeated below:



shared.loader

user.scriptline.separator

user.variant

server.loader



un.cpu.isalist



Rupinder

On Wed, Jul 27, 2016 at 10:03 PM, Rupinder Singh <***@gmail.com> wrote:
I mean with tomcat 8.5. Let me check with 7.

On Wed, Jul 27, 2016 at 9:59 PM, Rupinder Singh <***@gmail.com> wrote:


All other things the same. Except the following system properties remain unpopulated.

shared.loader

user.script

line.separator

user.variant

server.loader

sun.cpu.isalist
Let me try tomcat version suggested by you and revert.



On Wed, Jul 27, 2016 at 9:38 PM, Martin Gainty <***@hotmail.com> wrote:



JDK :
java version "1.8.0_40"Java(TM) SE Runtime Environment (build 1.8.0_40-b26)Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode)
TOMCAT"Tomcat 8.5 is still beta so I would begoff that for now
I didnt hear back from you so I deployed axis2.war to tomcat-7.0.50/webapps
if I place axis2 into browser addresshttp://localhost:8080/axis2/

then I click on version service I am directed to http://localhost:8080/axis2/services/listServices and I see:Available servicesVersionService Description : VersionService EPR : http://localhost:8080/axis2/services/VersionService Status : ActiveAvailable OperationsgetVersion
if I go back to axis2 validate located at http://localhost:8080/axis2/axis2-web/HappyAxis.jsp I see :
Axis2 Happiness PageExamining webapp configurationEssential ComponentsFound Apache-Axis (org.apache.axis2.transport.http.AxisServlet) at C:\Tomcat\apache-tomcat-7.0.50\webapps\axis2\WEB-INF\lib\axis2-transport-http-1.7.3.jarFound Jakarta-Commons Logging (org.apache.commons.logging.Log) at C:\Tomcat\apache-tomcat-7.0.50\webapps\axis2\WEB-INF\lib\commons-logging-1.1.1.jarFound Streaming API for XML (javax.xml.stream.XMLStreamReader) at an unknown locationFound Streaming API for XML implementation (org.codehaus.stax2.XMLStreamWriter2) at C:\Tomcat\apache-tomcat-7.0.50\webapps\axis2\WEB-INF\lib\stax2-api-3.1.1.jarThe core axis2 libraries are present.Note: Even if everything this page probes for is present, there is no guarantee your Axis Service will work, because there are many configuration options that we do not check for. These tests are necessary but not sufficientExamining Version ServiceFound Axis2 default Version service and Axis2 is working properly.Now you can drop a service archive in axis2/WEB-INF/services. Following output was produced while invoking Axis2 version service
<ns:getVersionResponse xmlns:ns="http://axisversion.sample"><ns:return>Hi - the Axis2 version is 1.7.3</ns:return></ns:getVersionResponse>
Examining Application ServerServlet version3.0PlatformApache Tomcat/7.0.50Examining System Properties:all properties are populated

we can conclude the pre-packaged version service inside axis2.war located at http://www-eu.apache.org/dist/axis/axis2/java/core/1.7.3/axis2-1.7.3-war.zipdeploys propertly to Tomcat 7.0.50 and auto-configures properly
what happens when you install Tomcat-7.0.50https://archive.apache.org/dist/tomcat/tomcat-7/v7.0.50/bin/
and then deploy axis2.war to /Tomcat-7.0.50/webapps
?
Martin
______________________________________________



From: ***@gmail.com
Date: Wed, 27 Jul 2016 21:14:36 +0530
Subject: Re: Revised: A teething issue with Axis 2
To: java-***@axis.apache.org

Tomcat 8.5

On Wed, Jul 27, 2016 at 5:11 AM, Martin Gainty <***@hotmail.com> wrote:



your axis2.war might be corrupted

what is the specific URL where you acquired axis2.war?
Martin
______________________________________________



From: ***@gmail.com
Date: Tue, 26 Jul 2016 20:48:36 +0530
Subject: Re: Revised: A teething issue with Axis 2
To: java-***@axis.apache.org

Now I have tried with freshly downloaded axis2 war distro. From a different mirror.

Still not working.

On Tue, Jul 26, 2016 at 8:25 PM, Rupinder Singh <***@gmail.com> wrote:
All other contents are present except

in ./WEB-INF/services/

services.list present

axis2-web-<version>.aar NOT PRESENT


version-1.7.3.aar present, possibly in place of HelloWorld-<version>.aar


jars present in ./WEB-INF/lib/ are as per attachment.

regards

Rupinder




On Mon, Jul 25, 2016 at 10:45 PM, Martin Gainty <***@hotmail.com> wrote:



dropping axis2.war in webapps should autoexpand to webapps folder
possibly an incorrect axis2.war ..please confirm contents of axis2.war
./META-INF/MANIFEST.MF
./WEB-INF/classes/commons-logging.properties log4j.properties ./org/*
./WEB-INF/conf/axis2.xml
./WEB-INF/lib/? <!-- which jars are located in lib folder? -->
./WEB-INF/modules/addressing-1.5.mar axis2-jaxws-mar-1.5.mar axis2-scripting-1.5.mar mex-1.5.mar modules.list mtompolicy-1.5.mar ping-1.5.mar soapmonitor-1.5.mar
./WEB-INF/services/services.list axis2-web-<version>.aar HelloWorld-<version>.aar
./WEB-INF/web.xml
Please verify
Martin
______________________________________________



From: ***@gmail.com
Date: Mon, 25 Jul 2016 21:30:17 +0530
Subject: Re: Revised: A teething issue with Axis 2
To: java-***@axis.apache.org

hello Mr Gainty,

axis2-kernel-<version>.jar is present in

C:\Program Files\Apache Software Foundation\Tomcat 8.5\webapps\axis2\WEB-INF\lib

Since I am suing Tomcat, I have dropped axis2 war in tomcat\webpps.


regards
Rupinder



On Mon, Jul 25, 2016 at 3:18 AM, Martin Gainty <***@hotmail.com> wrote:



at a min you will need axis2 kernel module e.g.
at a minimum you will need axis2-kernel-<version>.jar to be located in HelloWorld/WEB-INF/lib
axis2-kernel-<version>.jar should be located in $AXIS2-HOME/modules/kernel/target
please verifyMartin
______________________________________________



From: ***@gmail.com
Date: Sun, 24 Jul 2016 21:21:13 +0530
Subject: Re: Revised: A teething issue with Axis 2
To: java-***@axis.apache.org

Hello Mr Gainty,

I am using Axis2-1.7.3 on Tomcat.
Upon placing that jsp, I get,

faultstring>The service cannot be found for the endpoint reference (EPR) /axis2/services/axis2-web/HappyAxis.jsp</faultstring>

However, out of those 4 jars, the Happiness page shows the following present except axis2-1.0.jar

commons-logging-1.1.1.jar
stax2-api-3.1.1.jar
Found Streaming API for XML (javax.xml.stream.XMLStreamReader)
at an unknown location


Regards
Rupinder



On Sun, Jul 24, 2016 at 7:57 PM, Martin Gainty <***@hotmail.com> wrote:






From: ***@gmail.com
Date: Sun, 24 Jul 2016 10:30:31 +0530
Subject: Revised: A teething issue with Axis 2
To: java-***@axis.apache.org

Hello

I have just recently started with Web Services. I
started by exposing POJO in Axis2 deployed in Tomcat. When I run
http://localhost:8080/axis2/services/HelloWorld/sayHello?name="Axis2" in browser.


<ns:sayHelloResponse><return>Hello null</return></ns:sayHelloResponse>

NOT Hello Axis2 !
MG>verify you are running latest Axis2 (1.6.3+)
MG>if you are running latest Axis2 distros place HappyAxis.jsp in your browser address bar:
MG>http://localhost:8080/axis2/services/axis2-web/HappyAxis.jsp

MG>HappyAxis.jsp *should* warn you if any of these jars are missing:
needed = needClass(out, "org.apache.axis2.transport.http.AxisServlet", "axis2-1.0.jar", "Apache-Axis", "Axis2 will not work", "http://xml.apache.org/axis2/"); needed += needClass(out, "org.apache.commons.logging.Log", "commons-logging.jar", "Jakarta-Commons Logging", "Axis2 will not work", "http://jakarta.apache.org/commons/logging.html"); needed += needClass(out, "javax.xml.stream.XMLStreamReader", "stax-api-1.0.1.jar", "Streaming API for XML", "Axis2 will not work", "http://dist.codehaus.org/stax/jars/"); needed += needClass(out, "org.codehaus.stax2.XMLStreamWriter2", "wstx-asl-3.0.1.jar", "Streaming API for XML implementation", "Axis2 will not work", "http://dist.codehaus.org/stax/jars/");MG>Please confirm
could you help?


regards
Rupinder Pal Singh



















---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-***@axis.apache.org
For additional commands, e-mail: java-user-***@axis.apache.org
Rupinder Singh
2016-07-30 18:19:56 UTC
Permalink
*Thanks Martin for your continued support. Thanks, Brett also.*


*I have tried with axis 2 in Tomcat 8 with Java 1.8, but unluckily, the
problem persists. Screenshots of Axis2 happiness page attached.*

*However, exactly the same issue has been raised by a couple of other users
elsewhere, as below, earlier, as early as 2008 in one case.*







*https://community.oracle.com/thread/1669680?start=0&tstart=0
<https://community.oracle.com/thread/1669680?start=0&tstart=0>http://stackoverflow.com/questions/33820528/apache-axis2-webserice-action-strange
<http://stackoverflow.com/questions/33820528/apache-axis2-webserice-action-strange>*

*Rupinder*
Post by Martin Gainty
as previously mentioned WindowsXP is not a supported OS for JDK 1.8
http://www.oracle.com/technetwork/java/javase/certconfig-2095354.html
If you want to stay with this configuration which is what I would
http://www.oracle.com/technetwork/server-storage/virtualbox/downloads/index.html
you can install a Windows7 VM and then install JDK 1.8 then install
Tomcat8 with Axis2 webapp
OR you can install JDK 1.6 on WindowsXP and install Tomcat 7 with axis2
https://bz.apache.org/bugzilla/show_bug.cgi?id=53601
http://www.oracle.com/technetwork/java/javase/system-configurations-135212.html
Caveat: JDK 1.6 is not supported by Tomcat and is not supported by Oracle
and JDK 1.6 is not supported here
Martin
______________________________________________
------------------------------
Date: Wed, 27 Jul 2016 23:40:36 +0530
Subject: Re: Revised: A teething issue with Axis 2
*screenshots for both tomcat 7 and tomcat 8 attached.*
*thanks*
*Rupinder*
my validator validates axis2 deployment for Tomcat versions
apache-tomcat-7.0.50 and apache-tomcat-8.5.4
please take screenshot located at
http://localhost:8080/axis2/axis2-web/HappyAxis.jsp
and post here
Thanks!
Martin
______________________________________________
------------------------------
Date: Wed, 27 Jul 2016 22:19:55 +0530
Subject: Re: Revised: A teething issue with Axis 2
hello mr gainty,
thanks a lot for your continued help!
I have tried with tomcat 7.
same results on axis happiness page. Everything as you get. Except,
shared.loader
user.script
line.separator
user.variant
server.loader
un.cpu.isalist
Rupinder
*I mean with tomcat 8.5. Let me check with 7.*
*All other things the same. Except the following system properties remain
unpopulated.*
*shared.loader*
* user.script *
* line.separator *
*user.variant *
*server.loader *
*sun.cpu.isalist*
*Let me try tomcat version suggested by you and revert.*
java version "1.8.0_40"
Java(TM) SE Runtime Environment (build 1.8.0_40-b26)
Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode)
TOMCAT"
Tomcat 8.5 is still beta so I would begoff that for now
I didnt hear back from you so I deployed axis2.war to tomcat-7.0.50/webapps
if I place axis2 into browser address
http://localhost:8080/axis2/
then I click on version service I am directed to
Available servicesVersion
<http://localhost:8080/axis2/services/Version?wsdl>Service Description
: VersionService EPR : http://localhost:8080/axis2/services/VersionService
Status : Active*Available Operations*
- getVersion
if I go back to axis2 validate located at
Axis2 Happiness PageExamining webapp configurationEssential ComponentsFound
Apache-Axis (org.apache.axis2.transport.http.AxisServlet)
at
C:\Tomcat\apache-tomcat-7.0.50\webapps\axis2\WEB-INF\lib\axis2-transport-http-1.7.3.jar
Found Jakarta-Commons Logging (org.apache.commons.logging.Log)
at
C:\Tomcat\apache-tomcat-7.0.50\webapps\axis2\WEB-INF\lib\commons-logging-1.1.1.jar
Found Streaming API for XML (javax.xml.stream.XMLStreamReader)
at an unknown location
Found Streaming API for XML implementation
(org.codehaus.stax2.XMLStreamWriter2)
at
C:\Tomcat\apache-tomcat-7.0.50\webapps\axis2\WEB-INF\lib\stax2-api-3.1.1.jar
The core axis2 libraries are present.
Note: Even if everything this page probes for is present, there is no
guarantee your Axis Service will work, because there are many configuration
options that we do not check for. These tests are necessary but not
sufficient
Examining Version Service
Found Axis2 default Version service and Axis2 is working properly.
Now you can drop a service archive in axis2/WEB-INF/services. Following
output was produced while invoking Axis2 version service
<ns:getVersionResponse xmlns:ns="http://axisversion.sample"><ns:return>Hi
- the Axis2 version is 1.7.3</ns:return></ns:getVersionResponse>
Examining Application Server
Servlet version 3.0
Platform Apache Tomcat/7.0.50
all properties are populated
we can conclude the pre-packaged version service inside axis2.war located
at
http://www-eu.apache.org/dist/axis/axis2/java/core/1.7.3/axis2-1.7.3-war.zip
deploys propertly to Tomcat 7.0.50 and auto-configures properly
what happens when you install Tomcat-7.0.50
https://archive.apache.org/dist/tomcat/tomcat-7/v7.0.50/bin/
and then deploy axis2.war to /Tomcat-7.0.50/webapps
?
Martin
______________________________________________
------------------------------
Date: Wed, 27 Jul 2016 21:14:36 +0530
Subject: Re: Revised: A teething issue with Axis 2
*Tomcat 8.5*
your axis2.war might be corrupted
what is the specific URL where you acquired axis2.war?
Martin
______________________________________________
------------------------------
Date: Tue, 26 Jul 2016 20:48:36 +0530
Subject: Re: Revised: A teething issue with Axis 2
*Now I have tried with freshly downloaded axis2 war distro. From a
different mirror.*
*Still not working.*
All other contents are present except
in ./WEB-INF/services/
services.list present
*axis2-web-<version>.aar NOT PRESENT*
version-1.7.3.aar present, possibly in place of HelloWorld-<version>.aar
jars present in ./WEB-INF/lib/ are as per attachment.
regards
Rupinder
dropping axis2.war in webapps should autoexpand to webapps folder
possibly an incorrect axis2.war ..please confirm contents of axis2.war
./META-INF/MANIFEST.MF
./WEB-INF/classes/commons-logging.properties
log4j.properties
./org/*
./WEB-INF/conf/axis2.xml
./WEB-INF/lib/? <!-- which jars are
located in lib folder? -->
./WEB-INF/modules/addressing-1.5.mar
axis2-jaxws-mar-1.5.mar
axis2-scripting-1.5.mar
mex-1.5.mar
modules.list
mtompolicy-1.5.mar
ping-1.5.mar
soapmonitor-1.5.mar
./WEB-INF/services/services.list
axis2-web-<version>.aar
HelloWorld-<version>.aar
./WEB-INF/web.xml
Please verify
Martin
______________________________________________
------------------------------
Date: Mon, 25 Jul 2016 21:30:17 +0530
Subject: Re: Revised: A teething issue with Axis 2
hello Mr Gainty,
axis2-kernel-<version>.jar is present in
C:\Program Files\Apache Software Foundation\Tomcat
8.5\webapps\axis2\WEB-INF\lib
Since I am suing Tomcat, I have dropped axis2 war in tomcat\webpps.
regards
Rupinder
at a min you will need axis2 kernel module e.g.
at a minimum you will need axis2-kernel-<version>.jar to be located
in HelloWorld
<http://localhost:8080/axis2/services/HelloWorld/sayHello?name=>
/WEB-INF/lib
axis2-kernel-<version>.jar should be located in
$AXIS2-HOME/modules/kernel/target
please verify
Martin
______________________________________________
------------------------------
Date: Sun, 24 Jul 2016 21:21:13 +0530
Subject: Re: Revised: A teething issue with Axis 2
Hello Mr Gainty,
I am using Axis2-1.7.3 on Tomcat.
Upon placing that jsp, I get,
faultstring>The service cannot be found for the endpoint reference (EPR)
/axis2/services/axis2-web/HappyAxis.jsp</faultstring>
However, out of those 4 jars, the Happiness page shows the following
present except axis2-1.0.jar
commons-logging-1.1.1.jar
stax2-api-3.1.1.jar
Found Streaming API for XML (javax.xml.stream.XMLStreamReader)
at an unknown location
Regards
Rupinder
------------------------------
Date: Sun, 24 Jul 2016 10:30:31 +0530
Subject: Revised: A teething issue with Axis 2
Hello
I have just recently started with Web Services. I started by exposing POJO
in Axis2 deployed in Tomcat. When I run
http://localhost:8080/axis2/services/HelloWorld/sayHello?name="Axis2" in browser.
<ns:sayHelloResponse><return>Hello null</return></ns:sayHelloResponse>
NOT Hello Axis2 !
MG>verify you are running latest Axis2 (1.6.3+)
MG>if you are running latest Axis2 distros place HappyAxis.jsp in your
MG>http://localhost:8080/axis2/services/axis2-web/HappyAxis.jsp
needed = needClass(out, "org.apache.axis2.transport.http.AxisServlet",
"axis2-1.0.jar",
"Apache-Axis",
"Axis2 will not work",
"http://xml.apache.org/axis2/");
needed += needClass(out, "org.apache.commons.logging.Log",
"commons-logging.jar",
"Jakarta-Commons Logging",
"Axis2 will not work",
"http://jakarta.apache.org/commons/logging.html");
needed += needClass(out, "javax.xml.stream.XMLStreamReader",
"stax-api-1.0.1.jar",
"Streaming API for XML",
"Axis2 will not work",
"http://dist.codehaus.org/stax/jars/");
needed += needClass(out, "org.codehaus.stax2.XMLStreamWriter2",
"wstx-asl-3.0.1.jar",
"Streaming API for XML implementation",
"Axis2 will not work",
"http://dist.codehaus.org/stax/jars/");
MG>Please confirm
could you help?
regards
Rupinder Pal Singh
--------------------------------------------------------------------- To
Andreas Veithen
2016-08-01 21:24:34 UTC
Permalink
Can you post the WSDL that is generated for this service
(http://localhost:8080/axis2/services/HelloWorld?wsdl)?

Andreas
Post by Rupinder Singh
Hello
I have just recently started with Web Services. I started by exposing POJO
in Axis2 deployed in Tomcat. When I run
http://localhost:8080/axis2/services/HelloWorld/sayHello?name="Axis2" in
browser.
<ns:sayHelloResponse><return>Hello null</return></ns:sayHelloResponse>
NOT Hello Axis2 !
could you help?
regards
Rupinder Pal Singh
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-***@axis.apache.org
For additional commands, e-mail: java-user-***@axis.apache.org
Rupinder Singh
2016-08-02 15:11:16 UTC
Permalink
*WSDL attached.*
Post by Andreas Veithen
Can you post the WSDL that is generated for this service
(http://localhost:8080/axis2/services/HelloWorld?wsdl)?
Andreas
Post by Rupinder Singh
Hello
I have just recently started with Web Services. I started by exposing
POJO
Post by Rupinder Singh
in Axis2 deployed in Tomcat. When I run
http://localhost:8080/axis2/services/HelloWorld/sayHello?name="Axis2" in
browser.
<ns:sayHelloResponse><return>Hello null</return></ns:sayHelloResponse>
NOT Hello Axis2 !
could you help?
regards
Rupinder Pal Singh
---------------------------------------------------------------------
Andreas Veithen
2016-08-02 17:30:06 UTC
Permalink
According to the WSDL, the parameter name is "args0". That probably
means that you compiled the class without debugging information, in
which case Axis2 doesn't have a way to determine the correct parameter
name.

Andreas
Post by Rupinder Singh
WSDL attached.
Post by Andreas Veithen
Can you post the WSDL that is generated for this service
(http://localhost:8080/axis2/services/HelloWorld?wsdl)?
Andreas
Post by Rupinder Singh
Hello
I have just recently started with Web Services. I started by exposing POJO
in Axis2 deployed in Tomcat. When I run
http://localhost:8080/axis2/services/HelloWorld/sayHello?name="Axis2" in
browser.
<ns:sayHelloResponse><return>Hello null</return></ns:sayHelloResponse>
NOT Hello Axis2 !
could you help?
regards
Rupinder Pal Singh
---------------------------------------------------------------------
---------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-***@axis.apache.org
For additional commands, e-mail: java-user-***@axis.apache.org
Rupinder Singh
2016-08-03 11:37:20 UTC
Permalink
*Thanks Andreas! That was the problem. I'd compiled java class without
debugging information. I have redone it. It works. Thanks Martin and Brett
too !*
Post by Andreas Veithen
According to the WSDL, the parameter name is "args0". That probably
means that you compiled the class without debugging information, in
which case Axis2 doesn't have a way to determine the correct parameter
name.
Andreas
Post by Rupinder Singh
WSDL attached.
On Tue, Aug 2, 2016 at 2:54 AM, Andreas Veithen <
Post by Andreas Veithen
Can you post the WSDL that is generated for this service
(http://localhost:8080/axis2/services/HelloWorld?wsdl)?
Andreas
Post by Rupinder Singh
Hello
I have just recently started with Web Services. I started by exposing POJO
in Axis2 deployed in Tomcat. When I run
http://localhost:8080/axis2/services/HelloWorld/sayHello?name="Axis2"
in
Post by Rupinder Singh
Post by Andreas Veithen
Post by Rupinder Singh
browser.
<ns:sayHelloResponse><return>Hello null</return></ns:sayHelloResponse>
NOT Hello Axis2 !
could you help?
regards
Rupinder Pal Singh
---------------------------------------------------------------------
---------------------------------------------------------------------
---------------------------------------------------------------------
Loading...