• 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
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Soap 2.3.1 with Tomcat 4.1.12 with SDK1.4.1

 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is it still necessary to download the Xerces XML parser or does Soap and Tomcat now use the same XML parser?
I did not install Xerces-J 2.2. I am able to see the Welcome to Apache-SOAP screen, but get an error message when I run /soap/servlet/rpcrouter or soap/servlet/rpcmessage.
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Figured out the problem. It was a path issue.
The SOAP web app could not find either mail.jar or xerces2-0.2 or soap.jar, SO I just added them to the LIB folder in the SOAP WEB_INF folder that I CREATED.
I copied these JARS from JETSPEED1.4-2b. I noticed the JETSPEED app (support WEB SERVICES) had them added to the WEB-INF/Lib folder, so I just copied them from there and added to my created SOAP WEB-INF.
It worked great.
This work around helped me to understand that you really don't need to install anything in TOMCAT 4.1.12 to support web services. Just create a WEB APP war file that includes the SOAP/MAIL/XERCES support jars. Maybe this is what Sun WSDK really does???
Heres what I had at first:
My install is a RedHat 8.0. I installed SUN J2SDK1.4.1 to /usr/java/j2sdk1.4.1. I un-tarred Tomcat4.1.12 to /var/tomcat4. Modified the catalina.sh file to get the right environment settings. Have not installed the Sun J2SEE packages. I installed SOAP 2.3.1 in /usr/java/SOAP-2.3.1. I installed XERCES-2.3.1 to /usr/java/XERCES-2.2.1. Did not download Javamail, because I noticed it was in the TOMCAT 4.1.12 /common/lib folder.
I modified the catalina.sh and added CLASSPATH to soap.jar and xercesImpl.jar. Restarted the TOMCAT server and when I ran /SOAP/SERVLET/RPCROUTER it could not find the servlet to start. Thats when I realized it was a path problem. I also notices somebody else in this forum was having CLASSPATH problems with TOMCAT.
Hope this helps.
 
Do the next thing next. That’s a pretty good rule. Read the tiny ad, that’s a pretty good rule, too.
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic