i downloaded the latest tomcat4 (specifically the ff. rpms : tomcat4-4.1.24-full.2jpp.noarch.rpm, tomcat4-admin-webapps-4.1.24-full.2jpp.noarch.rpm, tomcat4-webapps-4.1.24-full.2jpp.noarch.rpm) and installed axis 1.1RC2 on it. i get the happyaxis page confirming that i've put everything in place (the JAX-RPC jars in /var/tomcat4/common/lib, etc), but when i try browsing to http://localhost:8080/axis/EchoHeaders.jws?method=list, i get the following error:
soapenv:Server.userException
java.io.FileNotFoundException: /var/tomcat4/webapps/axis/WEB-INF/jwsClasses/EchoHeaders.java (No such file or directory)
or specifically, if i look at the page source, its:
<?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body> <soapenv:Fault> <faultcode>soapenv:Server.userException</faultcode> <faultstring>java.io.FileNotFoundException: /var/tomcat4/webapps/axis/WEB-INF/jwsClasses/EchoHeaders.java (No such file or directory)</faultstring> <detail/> </soapenv:Fault> </soapenv:Body>
</soapenv:Envelope>
i looked at the axis/WEB-INF directory and i found no jwsClasses folder. I tried following example2 in the userguide, but i get the same FileNotFound error, and again, no jwsClasses folder.
however when I downgraded back to tomcat to 4.0.3, the problem disappeared! when I browse to http://localhost:8080/axis/EchoHeaders.jws?method=list, i now get:
<?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body> <listResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <listReturn xsi:type="soapenc:Array" soapenc:arrayType="xsd:string[8]" xmlns:ns1="http://www.w3.org/2002/12/soap-encoding" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"> <item>host:localhost:8080</item> <item>user-agent:Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003</item> <item>accept:text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,text/css,*/*;q=0.1</item>
<item>accept-language:en-us, en;q=0.50</item> <item>accept-encoding:gzip, deflate, compress;q=0.9</item> <item>accept-charset:ISO-8859-1, utf-8;q=0.66, *;q=0.66</item> <item>keep-alive:300</item> <item>connection:keep-alive</item> </listReturn>
</listResponse> </soapenv:Body>
</soapenv:Envelope>
which, is the expected result.
so, do i need to do something differently from the standard installation instructions when installing axis 1.1RC2 on a tomcat 4.1.24 server?
thanks in advance,
Joel Realubit
