Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Error Validating Axis2 installation

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello all! Been reading this site for years and have finally reached a point where I need to post something. I have been tasked with getting a web service up and running and chose to use Apache Axis. Here is my current setup:
Apache Axis2 1.3 (have also tried 1.4)
Tomcat 5.5.17
Win XP with latest service pack

I installed the Axis war and all the initial links work except for Validate.
When I try to launch HappyAxis.jsp to verify installation of Axis2 I get a NumberFormatException. I was initally getting a servlet error on startup but took out the servlet-api-2.3.jar that was in the axis2/web-inf/lib folder. Guess it was just conflicting with the Tomcat containers servlet-api.jar.

Here is a snippet from startup and then the exception:
...
Sep 16,2008 11:27:34 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive axis2.war
[INFO] default: init
[INFO] AxisServlet: init
[INFO] Deploying module: addressing-1.3
[INFO] Deploying module: script-1.3
[INFO] Deploying module: metadataExchange-1.3
[INFO] Deploying module: ping-1.3
[INFO] Deploying module: soapmonitor-1.3
[INFO] script module activated
[INFO] Deploying Web service: version-1.3.aar
[INFO] jsp: init
Sep 16,2008 11:27:39 AM org.apache.catalina.core.ApplicationContext log INFO: default: init
Sep 16,2008 11:27:39 AM org.apache.catalina.core.ApplicationContext log INFO: jsp: init
Sep 16,2008 11:27:39 AM org.apache.catalina.core.ApplicationContext log INFO: default: init
Sep 16,2008 11:27:39 AM org.apache.catalina.core.ApplicationContext log INFO: jsp: init
Sep 16,2008 11:27:39 AM org.apache.coyote.http11.Http11BaseProtocol start INFO: Starting Coyote HTTP/1.1 on http-8080
Sep 16,2008 11:27:39 AM org.apache.jk.common.ChannelSocket init INFO: JK: ajp13 listening on /0.0.0.0:8009
Sep 16,2008 11:27:39 AM org.apache.jk.server.JKMain start INFO: Jk running ID=0 time=0/16 config=null
Sep 16,2008 11:27:39 AM org.apache.catalins.storeconfig.StoreLoader load INFO: Find registry server-registry.xml at classpath resource
Sep 16,2008 11:27:39 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 6925 ms
[INFO] jsp: init
[INFO] jsp: init
[INFO] jsp: init

[ERROR] Servlet.service() for servet jsp threw exception
java.lang.NumberFormatException: For input string: ""
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Integer.parseInt(Integer.java:468)
at java.lang.Integer.parseInt(Integer.java:497)
at org.apache.axis2.transport.http.ProxyConfiguration.confgure(ProxyConfiguration.java:185)

I tried to deploy a test web service in the Tomcat webapps/axis2 folder (Calculator.jws that is on the apache website) but get the following error:
[INFO] Unable to parse request URL [axis2/Calculator.jws][/axis2/services]

I'm guessing this is related to the fact that the Axis2 installation wont validate but cant be sure.

Any thoughts on this?

thanks in advance for any assistance,
-Blake
 
Rancher
Posts: 43027
76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to (posting to) JavaRanch.

I'll move the question to the web service forum where Axis is discussed.
[ September 16, 2008: Message edited by: Ulf Dittmer ]
 
Looky! I'm being abducted by space aliens! Me and this tiny ad!
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic