• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Unauthorized error with Axis2 1.5

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
reply
    Bookmark Topic Watch Topic
  • New Topic