Ron,
    I think your onto something here. Looking at the trace closer I traced it through the service code.  It appears to have stopped when it tries to call the other service. Now service 1 calls service 2, service 2 needs the stubs generated from wsdl2java.  I compiled those stubs.  Now first would not  service 1 fail to start/compile if it could not find the service 2 stubs?  I have them @ webapps\axis\WEB-INF\classes and have it un jared as I saw some posts that if you jar it and have it in the path you might have problems and on other machines that's also how I have it working .

I can hit that service on the server with axis/OMS.jws?method=callObjectManager and it appears to be working (did not pass doc but appears to be running).

Any thoughts?


Thanks,

Frank





Ron Reynolds wrote:
RE: Problem with instant deployment
errors in Axis are actually logged (in some cases) at the DEBUG level.  also make sure the request is hitting your server (check your $TOMCAT_HOME/logs/ directory for most recent catalina, localhost and access logs).  there was a posting earlier that sounded like the Axis engine never came up - if that's the case check the localhost log as that's where the problem will be logged.
 
in all cases where i got a very generic error on the client it was a server-side error that had somehow been "dumbed down" to a generic error, so that's why i suggested checking the server-side logs.
 
.............ron. (tho you can call me "roy") ;-)
----- Original Message -----
Sent: Tuesday, December 13, 2005 10:37 PM
Subject: RE: Problem with instant deployment

Hello,

in the message 'Server.UserException / InvocationTargetException  with a new webs ervice', I described approximately the same scenario, let's say the same output. I am also working with Tomcat 5.0.28 but with Axis 1.3 .

 A suggestion from Roy Reynolds was that it really is a server related issue, and that we need to check the server logging output. It seems however that I don't have any logging, not even with a log4j.properties file containing following info :

        # Set root category priority to INFO and its only appender to CONSOLE.
        log4j.rootCategory=INFO, CONSOLE, LOGFILE
        #log4j.rootCategory=INFO, CONSOLE, LOGFILE
        # Logging detail level,
        # Must be one of ("trace", "debug", "info", "warn", "error", or "fatal").
        org.apache.commons.logging.simplelog.defaultlog=trace

       
        # Set the enterprise logger category to FATAL and its only appender to CONSOLE.
        log4j.logger.org.apache.axis.enterprise=FATAL, CONSOLE
        log4j.logger.org.apache=INFO, CONSOLE, LOGFILE
        # CONSOLE is set to be a ConsoleAppender using a PatternLayout.
        log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
        log4j.appender.CONSOLE.Threshold=TRACE
        log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
        log4j.appender.CONSOLE.layout.ConversionPattern=- %m%n
        # LOGFILE is set to be a File appender using a PatternLayout.
        log4j.appender.LOGFILE=org.apache.log4j.FileAppender
        log4j.appender.LOGFILE.File=axis.log
        log4j.appender.LOGFILE.Append=true
        log4j.appender.LOGFILE.Threshold=TRACE
        log4j.appender.LOGFILE.layout=org.apache.log4j.PatternLayout
        log4j.appender.LOGFILE.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n


Do you have some output at server side ?

Regards

Luc

-----Original Message-----
From: Frank [mailto:[EMAIL PROTECTED]]
Sent: woensdag 14 december 2005 0:51
To: axis
Subject: Problem with instant deployment


Been using axis a little bit hear but still have lots to learn. Need some help here (Using tomcat 5.0.28 Axis 1.2b. on XP ).  First I had this working with instant deployment before, now I get the following exception:

Caused by:
AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode:
 faultString: java.lang.reflect.InvocationTargetException
 faultActor:
 faultNode:
 faultDetail:
    {http://xml.apache.org/axis/}stackTrace:java.lang.reflect.InvocationTargetException
    at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:221)
    at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:128)
    at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
    at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
    at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    at javax.xml.parsers.SAXParser.parse(Unknown Source)
    at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
    at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
    at org.apache.axis.Message.getSOAPEnvelope(Message.java:424)
    at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
    at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
    at org.apache.axis.client.Call.invokeEngine(Call.java:2765)
    at org.apache.axis.client.Call.invoke(Call.java:2748)
    at org.apache.axis.client.Call.invoke(Call.java:2424)
    at org.apache.axis.client.Call.invoke(Call.java:2347)
    at org.apache.axis.client.Call.invoke(Call.java:1804)
    at frankpc.axis.TLS_jws.TLSSoapBindingStub.callTrustedLabeler(TLSSoapBindingStub.java:103)
    at csds.servicecall.AxisTlService.callService(AxisTlService.java:53)
    at csds.servicecall.TlService.callService(TlService.java:100)
    at csds.servicecall.ServiceCall.callTls(ServiceCall.java:71)
    at csds.InterceptDDSMsgs.InterceptDDSMsgs.<init>(InterceptDDSMsgs.java:138)
    at csds.InterceptDDSMsgs.RunDDSIntercept.main(RunDDSIntercept.java:23)

    {http://xml.apache.org/axis/}hostname:FRANKPC

java.lang.reflect.InvocationTargetException
    at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:221)
    at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:128)
    at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
    at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
    at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    at javax.xml.parsers.SAXParser.parse(Unknown Source)
    at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
    at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
    at org.apache.axis.Message.getSOAPEnvelope(Message.java:424)
    at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
    at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
    at org.apache.axis.client.Call.invokeEngine(Call.java:2765)
    at org.apache.axis.client.Call.invoke(Call.java:2748)
    at org.apache.axis.client.Call.invoke(Call.java:2424)
    at org.apache.axis.client.Call.invoke(Call.java:2347)
    at org.apache.axis.client.Call.invoke(Call.java:1804)
    at frankpc.axis.TLS_jws.TLSSoapBindingStub.callTrustedLabeler(TLSSoapBindingStub.java:103)
    at csds.servicecall.AxisTlService.callService(AxisTlService.java:53)
    at csds.servicecall.TlService.callService(TlService.java:100)
    at csds.servicecall.ServiceCall.callTls(ServiceCall.java:71)
    at csds.InterceptDDSMsgs.InterceptDDSMsgs.<init>(InterceptDDSMsgs.java:138)
    at csds.InterceptDDSMsgs.RunDDSIntercept.main(RunDDSIntercept.java:23)


I found similar problems with people on the net but tried them and nothing helped. What I did after getting instant deployment to work I tried to do the standard/custom wsdd files. Not sure if that screwed something up or not.  I changed the names of the server-cong.wsdd and client-config.wsdd so that they are not picked up so I coudl get this to work again

The serveices are up I  can get to them. http://frankpc:8080/axis/TLS.jws gets me

There is a Web Service here
Click to see the WSDL

and clicking on the url gets me

<?xml version="1.0" encoding="UTF-8" ?>
- <wsdl:definitions targetNamespace="http://frankpc:8080/axis/TLS.jws" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://frankpc:8080/axis/TLS.jws" xmlns:intf="http://frankpc:8080/axis/TLS.jws" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

- <!--
WSDL created by Apache Axis version: 1.2beta
Built on Mar 31, 2004 (12:47:03 EST)
  --> f(clean);
- <wsdl:message name="callTrustedLabelerRequest">
  <wsdl:part name="requestDoc" type="apachesoap:Document" />
  </wsdl:message>
- <wsdl:message name="callTrustedLabelerResponse">
  <wsdl:part name="callTrustedLabelerReturn" type="apachesoap:Document" />
  </wsdl:message>
- <wsdl:portType name="TLS">
- <wsdl:operation name="callTrustedLabeler" parameterOrder="requestDoc">
  <wsdl:input message="impl:callTrustedLabelerRequest" name="callTrustedLabelerRequest" />
  <wsdl:output message="impl:callTrustedLabelerResponse" name="callTrustedLabelerResponse" />
  </wsdl:operation>
  </wsdl:portType>
- <wsdl:binding name="TLSSoapBinding" type="impl:TLS">
  <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" />
- <wsdl:operation name="callTrustedLabeler">
  <wsdlsoap:operation soapAction="" />
- <wsdl:input name="callTrustedLabelerRequest">
  <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://DefaultNamespace" use="encoded" />

  </wsdl:input>
- <wsdl:output name="callTrustedLabelerResponse">
  <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://frankpc:8080/axis/TLS.jws" use="encoded" />

  </wsdl:output>
  </wsdl:operation>
  </wsdl:binding>
- <wsdl:service name="TLSService">
- <wsdl:port binding="impl:TLSSoapBinding" name="TLS">
  <wsdlsoap:address location="http://frankpc:8080/axis/TLS.jws" />
  </wsdl:port>
  </wsdl:service>
  </wsdl:definitions>



Thanks,

Frank
This e-mail may contain information which is privileged or confidential. If you received this e-mail in error, please notify us immediately by e-mail or telephone and delete the e-mail without copying or disclosing its contents to any other person.

Reply via email to