Forums Register Login

Unauthorized error with Axis2 1.5

+Pie Number of slices to send: Send
Hi

I have a webservice which takes an excel file as input and passes it on to a pentaho server for inserting the data in the excel file to the data base. When the pentaho call is made from the web service, it is throwing an unauthorized exception. I am using weblogic 10 on a linux machine with Axis2 1.5 for hosting the services.

With tomcat and Axis2 on a windows machine, the same aar file works fine. Issue is when testing it on Weblogic + Linux.

Is there any permission setting required in the linux machine for running webservices with attachment files?

Below given is the exception I am getting.

INFO 24-11 04:16:35,370 - remoteServer - Connecting to: [http://10.8.6.171:8090/kettle/prepareExec/?name=UpcPacesImportXls.6135d7a0-b003-44dc-ba5c-58f223e16410&xml=Y]
ERROR 24-11 04:16:35,372 - remoteServer - I was unable to save the HTTP result to file because of a I/O error: Response: '401: Unauthorized' for url: 'http://10.8.6.171:8090/kettle/prepareExec/?name=UpcPacesImportXls.6135d7a0-b003-44dc-ba5c-58f223e16410&xml=Y'
ERROR 24-11 04:16:35,374 - remoteServer - java.io.FileNotFoundException: Response: '401: Unauthorized' for url: 'http://10.8.6.171:8090/kettle/prepareExec/?name=UpcPacesImportXls.6135d7a0-b003-44dc-ba5c-58f223e16410&xml=Y'
at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:476)
at weblogic.net.http.SOAPHttpURLConnection.getInputStream(SOAPHttpURLConnection.java:36)
at org.pentaho.di.cluster.SlaveServer.getContentFromServer(SlaveServer.java:657)
at org.pentaho.di.trans.Trans.sendToSlaveServer(Trans.java:2662)

Please help me to resolve this issue

Thanks in advance
Ratheesh
Can't .... do .... plaid .... So I did this tiny ad instead:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1677 times.
Similar Threads
JAX-WS Authentication problem -javax.xml.ws.WebServiceException Response: '401: Unauthorized'
401 exception is coming when i am starting my portal
can i use the AdminClient tool to deploy my ws package to wls or jboss?
Applet only works with one Java version
java.io.IOException: Server returned HTTP response code: 401 for URL
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 04:01:15.