Hello All I am trying to launch a web service from the JBOSS-NET as bundled in Jboss 3.0.0 with Tomcat 4.0.3
I understand this is an older version of AXIS it works with. I did download an older version of AXIS And have configured jboss-net.sar file under default/deploy directory to work with the Embedded Catalina container. Now I am in a stage where the deployed services of AXIS,, and Embedded Catalina SX services are all Visible from the 8082 port as services. However when I try to run http://localhost:8080/axis/AxisServlet Then it complains saying that
"Apache Tomcat/4.0.3 - HTTP Status 500 - No Context configured to process this request" For a typical web application we have servlet-mapping tag in web.xml.
Am I missing something here. Do I still need to package AXIS as a war file in addition to the .SAR file as above.? Any pointers to above would help. Any success from people having configured Jboss-net web service Will be helpful. Especialy on this combination jboss 3.0.0 with tomcat 4.0.3
Or what is the stable version (the same combination jboss+ tomcat) which will relieve of the pain of the All the roundabouts of older version of AXIS etc.
I am really stuck ..and would appreciate a quick response.. Thanks.. -Srinivas P
Srinivas,
you need do do these steps:
MODIFY JBOSS-3.0.x_TOMCAT-4.0.x
You can download a copy of the current jboss-tomcat binary bundle from JBoss and then amend the jboss-net.sar file to work correctly. By default it is set up to work with Jetty, so you need to make some changes.
I got it going by doing this:
1) go to server/all/deploy and rename jboss-net.sar to jboss-net-temp.sar
2) create new directory called jboss-net.sar
3) unpack contents of jboss-net-temp.sar file into jboss-net.sar directory
4) delete jboss-net-temp.sar file, or you will end up with errors when you restart jboss.
5) edit jboss-service.xml file under the META-INF directory and change the depends line so that it reads:
<depends>jboss.web:service=EmbeddedCatalinaSX</depends>
(it will orginally say JBossWeb, but you want it to say EmbeddedCatalinaSX)
Now start jboss with the -c all flag so that you use the <all>server.
You'll find Jboss-net under http://localhost:8080/axis/*/services
The JBoss-3.0.x distros use axis-beta1, so you need to code against that API.
You'll also find a simple tutorial code here: http://www.csd.abdn.ac.uk/~bscharla/teaching/mtp_software/jboss/jboss-net-HelloWorld.shtml
cheers,
Bruce
Dr. Bruce Scharlau
Dept. of Computing Science
University of Aberdeen
Aberdeen AB24 3UE
01224 272193
http://www.csd.abdn.ac.uk/~bscharla
mailto:[EMAIL PROTECTED]
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
