Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 83016 invoked from network); 14 Dec 2005 06:38:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Dec 2005 06:38:26 -0000 Received: (qmail 28856 invoked by uid 500); 14 Dec 2005 06:38:15 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 28657 invoked by uid 500); 14 Dec 2005 06:38:13 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 28646 invoked by uid 99); 14 Dec 2005 06:38:13 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Dec 2005 22:38:13 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [194.7.209.137] (HELO EXCHANGESERVER.COSMOS.LAN) (194.7.209.137) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Dec 2005 22:38:12 -0800 Received: by exchangeserver.cosmos.lan with Internet Mail Service (5.5.2653.19) id ; Wed, 14 Dec 2005 07:37:50 +0100 Message-ID: <3611792D88D9E44398238707136853291A0DC4@exchangeserver.cosmos.lan> From: De Graef Luc To: "'axis-user@ws.apache.org'" Subject: RE: Problem with instant deployment Date: Wed, 14 Dec 2005 07:37:48 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C60078.E62CA980" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C60078.E62CA980 Content-Type: text/plain; charset="iso-8859-1" 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:fgeck@optonline.net] 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.InvocationTargetEx ception at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:2 21) at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:12 8) at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationCo ntext.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$FragmentContentDispatc her.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(MustUnderstandChe cker.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(TLSSoapBindingStu b.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:13 8) 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:2 21) at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:12 8) at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationCo ntext.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$FragmentContentDispatc her.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(MustUnderstandChe cker.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(TLSSoapBindingStu b.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.(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 - - f(clean); - - - - - - - - - - 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. ------_=_NextPart_001_01C60078.E62CA980 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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=3DINFO, CONSOLE, LOGFILE
        #log4j.rootCategory=3DINFO, CONSOLE, LOGFILE
        # Logging = detail level,
        # Must be = one of ("trace", "debug", "info", = "warn", "error", or "fatal").
        org.apache.commons.logging.simplelog.defaultlog=3Dtrace

       =20
        # Set the = enterprise logger category to FATAL and its only appender to = CONSOLE.
        log4j.logger.org.apache.axis.enterprise=3DFATAL, = CONSOLE
        log4j.logger.org.apache=3DINFO, CONSOLE, LOGFILE
        # CONSOLE = is set to be a ConsoleAppender using a PatternLayout.
        log4j.appender.CONSOLE=3Dorg.apache.log4j.ConsoleAppender
        log4j.appender.CONSOLE.Threshold=3DTRACE
        log4j.appender.CONSOLE.layout=3Dorg.apache.log4j.PatternLayout<= /FONT>
        log4j.appender.CONSOLE.layout.ConversionPattern=3D- = %m%n
        # LOGFILE = is set to be a File appender using a PatternLayout.
        log4j.appender.LOGFILE=3Dorg.apache.log4j.FileAppender
        log4j.appender.LOGFILE.File=3Daxis.log
        log4j.appender.LOGFILE.Append=3Dtrue
        log4j.appender.LOGFILE.Threshold=3DTRACE
        log4j.appender.LOGFILE.layout=3Dorg.apache.log4j.PatternLayout<= /FONT>
        log4j.appender.LOGFILE.layout.ConversionPattern=3D%-4r [%t] = %-5p %c %x - %m%n


Do you have some output at server side ?

Regards

Luc

-----Original Message-----
From: Frank [mailto:fgeck@optonline.net]
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.u= serException
 faultSubcode:
 faultString: = java.lang.reflect.InvocationTargetException
 faultActor:
 faultNode:
 faultDetail:
    {http://xml.apache.org/axis/}stackTrace:java.lang.r= eflect.InvocationTargetException
    at = org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.ja= va:221)
    at = org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.jav= a:128)
    at = org.apache.axis.encoding.DeserializationContext.endElement(Deserializati= onContext.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$FragmentContentDis= patcher.dispatch(Unknown Source)
    at = org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkno= wn 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(DeserializationCon= text.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(MustUnderstan= dChecker.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(TLSSoapBindin= gStub.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.&lt;init&gt;(InterceptDDS= Msgs.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.ja= va:221)
    at = org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.jav= a:128)
    at = org.apache.axis.encoding.DeserializationContext.endElement(Deserializati= onContext.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$FragmentContentDis= patcher.dispatch(Unknown Source)
    at = org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkno= wn 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(DeserializationCon= text.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(MustUnderstan= dChecker.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(TLSSoapBindin= gStub.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.jav= a: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=3D"1.0" = encoding=3D"UTF-8" ?>
- <wsdl:definitions targetNamespace=3D"http://frankpc:8080/axis/TLS.jws" = xmlns:apachesoap=3D"http://xml.apache.org/xml-soap" = xmlns:impl=3D"http://frankpc:8080/axis/TLS.jws" = xmlns:intf=3D"http://frankpc:8080/axis/TLS.jws" = xmlns:soapenc=3D"http://schemas.xmlsoap.org/soap/encoding/" = xmlns:wsdl=3D"http://schemas.xmlsoap.org/wsdl/" = xmlns:wsdlsoap=3D"http://schemas.xmlsoap.org/wsdl/soap/" = xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema"><= /P>

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

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

  </wsdl:output>
  </wsdl:operation>
  </wsdl:binding>
- <wsdl:service = name=3D"TLSService">
- <wsdl:port = binding=3D"impl:TLSSoapBinding" = name=3D"TLS">
  <wsdlsoap:address location=3D"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.

------_=_NextPart_001_01C60078.E62CA980--