my dog learned polymorphism*
The moose likes Web Services and the fly likes deploying Axis2 Webservices in JBOSS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "deploying Axis2 Webservices in JBOSS" Watch "deploying Axis2 Webservices in JBOSS" New topic
Author

deploying Axis2 Webservices in JBOSS

Aravind Viswanathan
Greenhorn

Joined: Dec 02, 2008
Posts: 6

Hi,

I have a project with Spring project which have a couple of Axis2 webservices. The porject gets deployed perfectly in Tomcat 6.0 and Glassfish.

However, when I try to deploy it in JBOSS 5.0, I run into problems with respect to the services. I can see from the server logs that the project is getting deployed and when I try to access the project using http://localhost:8080/<proj_name> I can see the Axis2 Home Page coming up as expected. However, when I try to access the services by clicking on the services link - nothing happens and after a while the request timeout. The server logs do not show any request coming in. It is the same case when I try to access the WSDL directly as well.

Please let me know if anyone have faced the same problem and have a solution.


Aravind
R Srini
Ranch Hand

Joined: Feb 19, 2010
Posts: 215
Hi Aravind. I had the same problem just a minute ago. The services link did not work ... in my case, I deployed a simple Axis2 1.4.1 web service to tomcat (not JBoss). No idea why - (the Services link did work for me with Axis 1.5.1 though.)

However, I was able to see the WSDL at http://localhost:8080/ProjectName/WebServiceName?wsdl . I can't help with your question, but can you at least see the WSDL? Just curious.
Aravind Viswanathan
Greenhorn

Joined: Dec 02, 2008
Posts: 6

Hi Srini,

I was not able to see the WSDL either when I tried to access the link directly - the result was the same, no response. I finally reinstalled my JBOSS instance and was able to access all the links.

I am not sure, however, I think the problem was with the servlet api jar that was present at the JBOSS instance at the point in time. I am not sure if I had played around with it and when my problem was fixed I tried to recreate it and noticed that when I went to a older/newer version of the servlet api jar - things stopped working.


Let me know if you have observed anything similar to this! Would appreciate any pointers to find out why the problem was present in the first place and if my recreation scenario was right!

Thanks
Aravind
R Srini
Ranch Hand

Joined: Feb 19, 2010
Posts: 215
Hi Aravind. Yes, if the correct servlet_api.jar is not present, then all bets are off. That has been my experience too.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: deploying Axis2 Webservices in JBOSS
 
Similar Threads
Localhost 8080 port gets stuck in JBOSS after accessing WSDL
Register web service with Axis2 deployed in JBoss
Axis2 Webservice deployed in Glassfish V3 - com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in pro
Axis2 on oc4j problem
Unable to deploy .aar files in weblogic