Anthony Bull wrote:

Is it blowing up or just not finding your data file?

In my services, I have to use a different class-loader depending on
whether or not the .aar file is exploded.

E.g.

        InputStream input =
AuthenticationHandler.class.getClassLoader().getResourceAsStream(
"service.properties");
        if ( input == null) {
// Loading from an .aar file, so have to use parent class loader!
          input =
AuthenticationHandler.class.getClassLoader().getParent().getResourceAsStream(
"service.properties");
} props.load( input);



That would make sense. I'm still trying to get a good error message out of the Web service.... I'm developing to be a backed to an Adobe Flex application, and I haven't gotten Flex to bubble the whole error message through to my UI. It's making it quite difficult to debug. My best guess is that it just isn't finding the file... the effective location of the data file is the only variable I can't think of between the JUnit test and the deployed service.

Is there a straightforward way to get exceptions triggered in the service to log to the axis2 log? I hacked around in the axis configuration file, but wasn't successful.

Thanks for your patience... I'm still pretty clumsy with this.

--
_____
Brian Panulla
Senior Technologist, Solutions Institute
College of Information Sciences and Technology
[EMAIL PROTECTED]
http://ghostednotes.com


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

Reply via email to