On 6/30/06, Enrico Silterra <[EMAIL PROTECTED]> wrote:

I am implementing a soap service to access some data
maintained by another servlet within tomcat. OJB is configured into
that servlet and works fine.

I am trying to add ojb into my soap service - so this is all happening within
the axis servlet.
I have placed the OJB.properties file in the classes directory for axis,
I have placed the ojb jar in the tomcat lib directory.
within my soap handler I have this:

<snip>

I arrive at the defaultPersistenceBroker()
and then only get back this from my soap call -

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:libdev

java.lang.reflect.InvocationTargetException
         at
org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
         at
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
         at

<snip>

I suppose that the persistence broker is failing but I don't know how.
How can I get some traces out of it?
How can I get some insight into its operation, and what is failing?

I have also been unable to get log4.properties to take effect. I don't know
whether this
should be placed in the tomcat classes directory, or the axis/classes
directory, or both.
I have tried both.

Well, I suppose, you should ask the Axis guys about that because it
seems that you have to configure their error reporting differently in
order to give you the full stacktrace. As far as OJB is concerned, you
only need to configure commons-logging / log4j:
http://db.apache.org/ojb/docu/guides/logging.html

Tom

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to