RE: Axis n00b needs help with an axis fault (internal to axis)
I kind of fell into an integration role, and for the service I'm using, there is a very specific log4j logger configuration. I will revisit this in the future, but right now, I don't have the time to look into this. From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Saturday, October 14, 2000 3:04 PM To: axis-user@ws.apache.org Subject: Re: Axis n00b needs help with an axis fault (internal to axis) Be interested to look at the logs By any chance did you build your kernel with logging? e.g. commons-logging commons-logging ${commons.logging.version} true Which logging class did you enable in /WEB-INF/classes/commons-logging.properties ? Thanks/ Martin-- - Original Message - From: Horninger, Joe (Contr) (Mission Systems) <mailto:[EMAIL PROTECTED]> To: axis-user@ws.apache.org Sent: Saturday, October 13, 2007 1:00 PM Subject: RE: Axis n00b needs help with an axis fault (internal to axis) I figured out the problem, so I'd like to post a response to my own question. I wrote a client to talk directly to the SEI of the webservice as a POJO and ran it through a debugger. I originally had thought that the WS was never getting called, but I wanted to confirm that the error was not coming from the server side. To my surprise, I discovered that the NFE was coming from inside the TestService, as opposed to from the client side, or within axis itself. Cheers! -Joe From: Horninger, Joe (Contr) (Mission Systems) [mailto:[EMAIL PROTECTED] Sent: Friday, October 12, 2007 12:11 PM To: axis-user@ws.apache.org Subject: Axis n00b needs help with an axis fault (internal to axis) On the surface, this looks like something simple. The problem here is that it's occurring inside the axis call where I have no ablility to debug. TCPMon's been no help, and neither has my debugger. Does anyone have enough knowledge about Axis and the way it works to have idea how I can track this error down or what it means? [#|2007-10-12T11:57:16.113-0700|SEVERE|sun-appserver-pe9.0|javax.enterpr ise.system.container.web|_ThreadID=42;_ThreadName=httpWorkerThread-8080- 1;_RequestID=7ff360c2-4738-4031-a97a-49d48b1a5aed;|StandardWrapperValve[ jsp]: Servlet.service() for servlet jsp threw exception AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: java.lang.NumberFormatException: For input string: "1192215294017" faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}hostname:D1234 java.lang.NumberFormatException: For input string: "1192215294017" at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.ja va:222) at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.jav a:129) 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 org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at javax.xml.parsers.SAXParser.parse(SAXParser.java:375) 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:435) 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:2784) at org.apache.axis.client.
Re: Axis n00b needs help with an axis fault (internal to axis)
Be interested to look at the logs By any chance did you build your kernel with logging? e.g. commons-logging commons-logging ${commons.logging.version} true Which logging class did you enable in /WEB-INF/classes/commons-logging.properties ? Thanks/ Martin-- - Original Message - From: Horninger, Joe (Contr) (Mission Systems) To: axis-user@ws.apache.org Sent: Saturday, October 13, 2007 1:00 PM Subject: RE: Axis n00b needs help with an axis fault (internal to axis) I figured out the problem, so I'd like to post a response to my own question. I wrote a client to talk directly to the SEI of the webservice as a POJO and ran it through a debugger. I originally had thought that the WS was never getting called, but I wanted to confirm that the error was not coming from the server side. To my surprise, I discovered that the NFE was coming from inside the TestService, as opposed to from the client side, or within axis itself. Cheers! -Joe -- From: Horninger, Joe (Contr) (Mission Systems) [mailto:[EMAIL PROTECTED] Sent: Friday, October 12, 2007 12:11 PM To: axis-user@ws.apache.org Subject: Axis n00b needs help with an axis fault (internal to axis) On the surface, this looks like something simple. The problem here is that it's occurring inside the axis call where I have no ablility to debug. TCPMon's been no help, and neither has my debugger. Does anyone have enough knowledge about Axis and the way it works to have idea how I can track this error down or what it means? [#|2007-10-12T11:57:16.113-0700|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.container.web|_ThreadID=42;_ThreadName=httpWorkerThread-8080-1;_RequestID=7ff360c2-4738-4031-a97a-49d48b1a5aed;|StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: java.lang.NumberFormatException: For input string: "1192215294017" faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}hostname:D1234 java.lang.NumberFormatException: For input string: "1192215294017" at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222) at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129) 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 org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at javax.xml.parsers.SAXParser.parse(SAXParser.java:375) 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:435) 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:2784) at org.apache.axis.client.Call.invoke(Call.java:2767) at org.apache.axis.client.Call.invoke(Call.java:2443) at org.apache.axis.client.Call.invoke(Call.java:2366) at org.apache.axis.client.Call.invoke(Call.java:1812) at com.test.stub.TestServiceBindingStub.getJobStatus(Unknown Source) at org.apache.jsp.default_jsp._jspService(default_jsp.java:365) |#]
RE: Axis n00b needs help with an axis fault (internal to axis)
I figured out the problem, so I'd like to post a response to my own question. I wrote a client to talk directly to the SEI of the webservice as a POJO and ran it through a debugger. I originally had thought that the WS was never getting called, but I wanted to confirm that the error was not coming from the server side. To my surprise, I discovered that the NFE was coming from inside the TestService, as opposed to from the client side, or within axis itself. Cheers! -Joe From: Horninger, Joe (Contr) (Mission Systems) [mailto:[EMAIL PROTECTED] Sent: Friday, October 12, 2007 12:11 PM To: axis-user@ws.apache.org Subject: Axis n00b needs help with an axis fault (internal to axis) On the surface, this looks like something simple. The problem here is that it's occurring inside the axis call where I have no ablility to debug. TCPMon's been no help, and neither has my debugger. Does anyone have enough knowledge about Axis and the way it works to have idea how I can track this error down or what it means? [#|2007-10-12T11:57:16.113-0700|SEVERE|sun-appserver-pe9.0|javax.enterpr ise.system.container.web|_ThreadID=42;_ThreadName=httpWorkerThread-8080- 1;_RequestID=7ff360c2-4738-4031-a97a-49d48b1a5aed;|StandardWrapperValve[ jsp]: Servlet.service() for servlet jsp threw exception AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: java.lang.NumberFormatException: For input string: "1192215294017" faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}hostname:D1234 java.lang.NumberFormatException: For input string: "1192215294017" at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.ja va:222) at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.jav a:129) 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 org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at javax.xml.parsers.SAXParser.parse(SAXParser.java:375) 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:435) 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:2784) at org.apache.axis.client.Call.invoke(Call.java:2767) at org.apache.axis.client.Call.invoke(Call.java:2443) at org.apache.axis.client.Call.invoke(Call.java:2366) at org.apache.axis.client.Call.invoke(Call.java:1812) at com.test.stub.TestServiceBindingStub.getJobStatus(Unknown Source) at org.apache.jsp.default_jsp._jspService(default_jsp.java:365) |#]
RE: Axis n00b needs help with an axis fault (internal to axis)
Are you trying to input that number into an int or Integer? The largest value allowed for an int or Integer is 2147483647. If you are using an int or Integer you might want to consider moving to either a long or Long. Best of luck. Subject: Axis n00b needs help with an axis fault (internal to axis) Date: Fri, 12 Oct 2007 12:10:36 -0700 From: [EMAIL PROTECTED] To: axis-user@ws.apache.org On the surface, this looks like something simple. The problem here is that it’s occurring inside the axis call where I have no ablility to debug. TCPMon’s been no help, and neither has my debugger. Does anyone have enough knowledge about Axis and the way it works to have idea how I can track this error down or what it means? [#|2007-10-12T11:57:16.113-0700|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.container.web|_ThreadID=42;_ThreadName=httpWorkerThread-8080-1;_RequestID=7ff360c2-4738-4031-a97a-49d48b1a5aed;|StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: java.lang.NumberFormatException: For input string: "1192215294017" faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}hostname:D1234 java.lang.NumberFormatException: For input string: "1192215294017" at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222) at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129) 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 org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at javax.xml.parsers.SAXParser.parse(SAXParser.java:375) 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:435) 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:2784) at org.apache.axis.client.Call.invoke(Call.java:2767) at org.apache.axis.client.Call.invoke(Call.java:2443) at org.apache.axis.client.Call.invoke(Call.java:2366) at org.apache.axis.client.Call.invoke(Call.java:1812) at com.test.stub.TestServiceBindingStub.getJobStatus(Unknown Source) at org.apache.jsp.default_jsp._jspService(default_jsp.java:365) |#] _ Boo! Scare away worms, viruses and so much more! Try Windows Live OneCare! http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotmailnews - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Axis n00b needs help with an axis fault (internal to axis)
On the surface, this looks like something simple. The problem here is that it's occurring inside the axis call where I have no ablility to debug. TCPMon's been no help, and neither has my debugger. Does anyone have enough knowledge about Axis and the way it works to have idea how I can track this error down or what it means? [#|2007-10-12T11:57:16.113-0700|SEVERE|sun-appserver-pe9.0|javax.enterpr ise.system.container.web|_ThreadID=42;_ThreadName=httpWorkerThread-8080- 1;_RequestID=7ff360c2-4738-4031-a97a-49d48b1a5aed;|StandardWrapperValve[ jsp]: Servlet.service() for servlet jsp threw exception AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: java.lang.NumberFormatException: For input string: "1192215294017" faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}hostname:D1234 java.lang.NumberFormatException: For input string: "1192215294017" at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.ja va:222) at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.jav a:129) 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 org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at javax.xml.parsers.SAXParser.parse(SAXParser.java:375) 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:435) 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:2784) at org.apache.axis.client.Call.invoke(Call.java:2767) at org.apache.axis.client.Call.invoke(Call.java:2443) at org.apache.axis.client.Call.invoke(Call.java:2366) at org.apache.axis.client.Call.invoke(Call.java:1812) at com.test.stub.TestServiceBindingStub.getJobStatus(Unknown Source) at org.apache.jsp.default_jsp._jspService(default_jsp.java:365) |#]