What about the <service>/META-INF dir? Is it in the classpath (this way
I could avoid to modify global config. files) or only
$CATALINA_HOME/conf and $AXIS2_HOME/WEB-INF/classes are?

Thanks,
Michele

Martin Gainty wrote:
> dont forget log4.properties must be on the classpath --
> Viel Gluck,
> Martin --
> 
> This email message and any files transmitted with it contain confidential
> information intended only for the person(s) to whom this email message is
> addressed.  If you have received this email message in error, please notify
> the sender immediately by telephone or email and destroy the original
> message without making a copy.  Thank you.
> 
> ----- Original Message ----- From: <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Friday, June 02, 2006 9:14 AM
> Subject: Re: Problems with Axis2
> 
> 
> Hi,
> 
> the easiest way to initialize Log4J; put this line in the main() of your
> client:
> org.apache.log4j.BasicConfigurator.configure();
> 
> All the log-output then is given to the console.
> 
> HTH
> 
> Bille
> 
>> -----Ursprüngliche Nachricht-----
>> Von: [email protected]
>> Gesendet: 02.06.06 14:29:57
>> An: [email protected]
>> Betreff: Problems with Axis2
> 
> 
>> Hi,
>> I am trying to use axis2 in my eclipse plugin with the JDK 1.5
>>
>> I generated a stub and a callback handler of a WSDL with the WSDL2Jave
>> eclipse plugin.
>>
>> I tried to use the auto-generated classes both ways: callback and direct
>> calling a function.
>>
>> However nothing *happens*, the plugin/eclipse just hangs;
>> all i get is this:
>> log4j:WARN No appenders could be found for logger
>> (org.apache.axiom.om.impl.builder.StAXOMBuilder).
>> log4j:WARN Please initialize the log4j system properly.
>> Unhandled event loop exception
>> Reason:
>> java.lang.NullPointerException
>>
>> Debugging resulted in this:
>> in Window.class
>> ################### CODE STARTS ###################
>> private void runEventLoop(Shell loopShell) {
>> [...]
>> try {
>>                 if (!display.readAndDispatch())
>>                     display.sleep();
>>             } catch (Throwable e) {
>>                 exceptionHandler.handleException(e);      /* <- This
>> exception is thrown! */
>>             }
>>         display.update();
>> }
>> ################### CODE ENDS ###################
>>
>> my code causing this problem (callback way, same for directly calling):
>> ################### CODE STARTS ###################
>>     private void testService() {
>>         cbh = new GetEntryServiceCallbackHandler(this) {
>>             public void receiveResultgetSupportedFormats(
>>
>> uk.ac.ebi.www.ws.services.urn_dbfetch.GetEntryServiceStub.GetSupportedFormatsResponse13
>>
>> param1) {
>>                 if (param1 == null)
>>                     testServiceResponse("Error 4");
>>                 else
>>                     testServiceResponse(param1.toString());
>>             }
>>             public void
>> receiveErrorgetSupportedFormats(java.lang.Exception e) {
>>                 testServiceResponse("Error 3");
>>             }
>>         };
>>
>>         try {
>>             service = new GetEntryServiceStub();
>>         }
>>         catch (Exception e) {
>>             testServiceResponse("Error 1");
>>             service = null;
>>         }
>>
>>         if (service != null) {
>>             try {
>>                 service.startgetSupportedFormats(cbh);
>>             }
>>             catch (RemoteException e) {
>>                 testServiceResponse("Error 2");
>>                 formats = null;
>>             }
>>         }
>>     }
>>
>>     private void testServiceResponse(String response)
>>     {
>>         label2.setText(response);
>>     }
>> ################### CODE ENDS ###################
>>
>>
>> How can I solve this problem? where to start!?
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
> 
> 
> ______________________________________________________________
> Verschicken Sie romantische, coole und witzige Bilder per SMS!
> Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

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

Reply via email to