Ok Lew.
You guess correctly: I use AXIS 1.2 and Tomcat 5.5.9
I checked anything you suggest me, but I am still unable to see my
webservice in Linux.
You must consider that I moved the entire directory "thewebservice"
from the Windows webapps to the Linux webapps; so all I have in
Windows is the same that I have in Linux.
In ...WEB-INF/lib also I have all the library I use in the webservice
(obviously in Windows and in Linux).
I have had another doubt: In windows I compiled everything using
NETBEANS IDE and JAVA 1.6 but in Linux I have Java 1.5. So I installed
the java JDK 1.6 also in Linux, but still the webservice don't
appears.
I am not to expert in Linux so I am not sure that I am using the
correct Java version: anyway with following command:
rpm -qva jdk
the response is :
jdk-1.6.0-fcs
but I don't know if this is sufficient to tell me that the Java
version used is the correct one.
with the command: echo $JAVA_HOME I receive /usr/lib/java but why I
can check that in that location there is now the 1.6.0 version?
I hope that you can help me with some other suggestion. Thanks again.
Franco.
Lew ha scritto:
> > I have a webservice named thewebservice and it work ok in windows.
> >
[quoted text clipped - 46 lines]
> --
> Lew
> Ok Lew.
Please post comments in line with quoted material rather than above it
("top-posted").
> I checked anything you suggest me, but I am still unable to see my
> webservice in Linux.
>>> What are the WSDD tags pertinent to your service?
Often the error is something in the WSDD.
> I have had another doubt: In windows I compiled everything using
> NETBEANS IDE and JAVA 1.6 but in Linux I have Java 1.5. So I installed
> the java JDK 1.6 also in Linux, but still the webservice don't
> appears.
That should not matter if you got no warnings or errors from the build or the
deployment in Linux, whichever you did.
> I am not to expert in Linux so I am not sure that I am using the
> correct Java version: anyway with following command:
[quoted text clipped - 5 lines]
> but I don't know if this is sufficient to tell me that the Java
> version used is the correct one.
It says that you are using Java 6, which should be fine.
> with the command: echo $JAVA_HOME I receive /usr/lib/java but why I
> can check that in that location there is now the 1.6.0 version?
Run "java -version" for the "java" executable you wish to investigate.

Signature
Lew
ffellico@inwind.it - 15 May 2007 06:42 GMT
Hi Lew (here my post in-line)
> ffell...@inwind.it wrote:
> > Ok Lew.
[quoted text clipped - 5 lines]
> > webservice in Linux.
> >>> What are the WSDD tags pertinent to your service?
I don't understand what you ask me here (about tags), sorry!
Anyway here is all my WSDD:
------------------
<?xml version="1.0" encoding="UTF-8"?>
<deployment xmlns="http://xml.apache.org/axis/wsdd/"
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
<globalConfiguration>
<parameter name="adminPassword" value="admin"/>
<parameter name="enableNamespacePrefixOptimization" value="true"/>
<parameter name="attachments.Directory" value="C:\apache-
tomcat-5.5.15\webapps\prova\WEB-INF\attachments"/>
<parameter name="disablePrettyXML" value="true"/>
<parameter name="attachments.implementation"
value="org.apache.axis.attachments.AttachmentsImpl"/>
<parameter name="sendXsiTypes" value="true"/>
<parameter name="sendMultiRefs" value="true"/>
<parameter name="sendXMLDeclaration" value="true"/>
<requestFlow name="RequestFlow1">
<handler name="Handler1"
type="java:org.apache.axis.handlers.JWSHandler">
<parameter name="scope" value="session"/>
</handler>
<handler name="Handler2"
type="java:org.apache.axis.handlers.JWSHandler">
<parameter name="scope" value="request"/>
<parameter name="extension" value=".jwr"/>
</handler>
<handler name="Handler3"
type="java:org.apache.axis.handlers.SOAPMonitorHandler"/>
</requestFlow>
<responseFlow name="ResponseFlow1">
<handler name="Handler1"
type="java:org.apache.axis.handlers.SOAPMonitorHandler"/>
</responseFlow>
</globalConfiguration>
<responseFlow name="ResponseFlow1">
<handler name="Handler1" type="LocalResponder"/>
</responseFlow>
<handler name="soapmonitor"
type="java:org.apache.axis.handlers.SOAPMonitorHandler">
<parameter name="wsdlURL" value="/axis/SOAPMonitorService-impl.wsdl"/
<parameter name="serviceName" value="SOAPMonitorService"/>
<parameter name="namespace" value="http://tempuri.org/wsdl/2001/12/
SOAPMonitorService-impl.wsdl"/>
<parameter name="portName" value="Demo"/>
</handler>
<handler name="Handler1" type="LocalResponder"/>
<handler name="LocalResponder"
type="java:org.apache.axis.transport.local.LocalResponder"/>
<handler name="URLMapper"
type="java:org.apache.axis.handlers.http.URLMapper"/>
<handler name="Authenticate"
type="java:org.apache.axis.handlers.SimpleAuthenticationHandler"/>
<handler name="Handler2"
type="java:org.apache.axis.handlers.http.HTTPAuthHandler"/>
<requestFlow name="RequestFlow1">
<handler name="Handler1" type="URLMapper"/>
<handler name="Handler2"
type="java:org.apache.axis.handlers.http.HTTPAuthHandler"/>
</requestFlow>
<service name="AdminService" provider="java:MSG">
<parameter name="allowedMethods" value="AdminService"/>
<parameter name="enableRemoteAdmin" value="true"/>
<parameter name="className" value="org.apache.axis.utils.Admin"/>
<namespace>http://xml.apache.org/axis/wsdd/</namespace>
</service>
<service name="Version" provider="java:RPC">
<parameter name="allowedMethods" value="getVersion"/>
<parameter name="className" value="org.apache.axis.Version"/>
</service>
<service name="theWS" provider="java:RPC">
<parameter name="allowedMethods" value="*"/>
<parameter name="className" value="org.ffellico.jws.theWS"/>
</service>
<service name="SOAPMonitorService" provider="java:RPC">
<parameter name="allowedMethods" value="publishMessage"/>
<parameter name="scope" value="Application"/>
<parameter name="className"
value="org.apache.axis.monitor.SOAPMonitorService"/>
</service>
<transport name="http">
<requestFlow name="RequestFlow1">
<handler name="Handler1" type="URLMapper"/>
<handler name="Handler2"
type="java:org.apache.axis.handlers.http.HTTPAuthHandler"/>
</requestFlow>
<parameter name="qs.list"
value="org.apache.axis.transport.http.QSListHandler"/>
<parameter name="qs.method"
value="org.apache.axis.transport.http.QSMethodHandler"/>
<parameter name="qs.wsdl"
value="org.apache.axis.transport.http.QSWSDLHandler"/>
</transport>
<transport name="local">
<responseFlow name="ResponseFlow1">
<handler name="Handler1" type="LocalResponder"/>
</responseFlow>
</transport>
</deployment>
----------------------
the service that don't work is:
<service name="theWS" provider="java:RPC">
<parameter name="allowedMethods" value="*"/>
<parameter name="className" value="org.ffellico.jws.theWS"/>
</service>
and when I delete that lines the other services appears.
remember always that as I said you it WORK OK in Windows
In ...classes/org/ffellico/jws I have the folllowing classes:
theWS$1.class
theWS$serverPwd.class
theWS.class
which are the compiler output using NETBEANS 5.5
> Often the error is something in the WSDD.
>
[quoted text clipped - 22 lines]
>
> Run "java -version" for the "java" executable you wish to investigate.
OK. As you suppose using that command I have seen that I am using Java
1,6
Another my opinion is that some name have different capital letters
(as you no this is important in Linux) but
I checked it and all appears to be right
Also can be a problem of permission?
> --
> Lew
I hope you can discover some mistake. Thank you very much Lew.
Greetings from Franco.