Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Unauthorized error with Axis2 1.5

 
R P Kumar
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
When you have exhausted all possibilities, remember this: you haven't - Edison. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!