• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to get details of error message

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I am using tomcat 5.5.17.

We have deployed one web app and then I am using axis and related jars for invoking an web service.

When invoking the web service I am getting "Caused by:Caused By:" in tomcat console.

But I couldn't get why this message appears.

Can anybody help me in finding the details of this message and why this error appears?

Thank you very much friends!

Regards,
Lalit
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Im not sure I understand your setup - which is it:

1. The web app calls a separate web service using AXIS tools

2. Your web app is a web service which you call with a client app

Have you checked the Tomcat log files?

Bill

 
sahoo lalit
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

My web app invokes a web service using axis.

I have checked the tomcat log files,also I have changed the log level to "finest",but didn't get more details.

Regards,
Lalit
 
Ranch Hand
Posts: 1179
Mac OS X Eclipse IDE
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Are you able to post the stack-trace from the log with the "Caused by:" in ??
 
William Brogden
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What is your provision for error handling in the code which calls the web service?

There are so very many things which can go wrong in creating and dispatching a SOAP request that you need to catch errors as close as possible to the code causing the error.

The "Caused by:" message sounds like you are letting Tomcat catch an exception rather than handling it in your own code.

Personally, I would put all web service calling methods in a "helper" class which could be tested outside the servlet environment and get that running before attempting to build it into a servlet.

Bill
 
What's brown and sticky? ... a stick. Or a tiny ad.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic