File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes Axis Fault  java. lang. reflect.Invocation Target Exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Axis Fault  java. lang. reflect.Invocation Target Exception" Watch "Axis Fault  java. lang. reflect.Invocation Target Exception" New topic
Author

Axis Fault java. lang. reflect.Invocation Target Exception

Harry Dhina
Greenhorn

Joined: May 11, 2005
Posts: 6
hi

I have a set of webservices which are running fine on Tomcat 5.0.28 on WIndows XP[Test Environment]. THe service is to do some fetching from the progress 9.1D database. It is working perfectly.
Now i have to move my code to the production environment which is tomcat 4.1.29 on HP-UNIX[installed tomcat for hp-ux]

i just copied my webapps folder to the tomcat environment......first i had probs in accessing to the database...but i have resolved it......but now
i get the following error...i have set the classpath for all the jars inside the webapps/My Folder/WEB-INF/lib...as far as i have read it is the problem of the jars or the classpath.......does axis run on tomcat 4.1.29....pls resolve

but still it is not working....pls help me to solve this error ASAP....it is very very urgent

the error:::

log4j:WARN No appenders could be found for logger (org.apache.axis.i18n.ProjectResourceBundle).
log4j:WARN Please initialize the log4j system properly.
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.lang.reflect.InvocationTargetException
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}hostname:AMIRD

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(DeserializationConte xt.java:1087)
at org.apache.crimson.parser.Parser2.maybeElement(Unknown Source)
at org.apache.crimson.parser.Parser2.content(Unknown Source)
at org.apache.crimson.parser.Parser2.maybeElement(Unknown Source)
at org.apache.crimson.parser.Parser2.content(Unknown Source)
at org.apache.crimson.parser.Parser2.maybeElement(Unknown Source)
at org.apache.crimson.parser.Parser2.parseInternal(Unknown Source)
at org.apache.crimson.parser.Parser2.parse(Unknown Source)
at org.apache.crimson.parser.XMLReaderImpl.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.ja va:227)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:424)
at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:745)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:141)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2754)
at org.apache.axis.client.Call.invoke(Call.java:2737)
at org.apache.axis.client.Call.invoke(Call.java:2413)
at org.apache.axis.client.Call.invoke(Call.java:2336)
at org.apache.axis.client.Call.invoke(Call.java:1793)
at _26._0._0._65.AMIWebServices.services.NewClaimService.NewClaimServiceSoapBindin gStub.newClaimsCheck(NewClaimServiceSoapBindingStub.java:160)
at client.ClaimClient.main(ClaimClient.java:35)


thanks in advance

harish
Harry Dhina
Greenhorn

Joined: May 11, 2005
Posts: 6
hi all

i found out that the error occurs in the datasource.getConnection()......it does not return an exception.....but the code doesnt move after that...it just hangs forever........can u tell me why???

regards

harish
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Axis Fault java. lang. reflect.Invocation Target Exception
 
Similar Threads
ClassCastException with EJB access ...
help apache axis
JNI with AXIS - InvocationTargetException
AXIS Stubs Problem and unable to consume EJB web service
InvocationTargetException when transferring a custom class in inheritance