R P Kumar

Greenhorn
+ Follow
since Sep 07, 2010
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by R P Kumar

Hi

The issue was not in the code. But problem was, IE was not able to display the characters in Japanese because it uses the OS installed language features to display alert and tooltip messages. I was not having Japanese language support installed in my machine. After installing it, I was able to see the alert and tooltip messages in Japanese.

Thanks
Ratheesh
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
14 years ago
Hi

The charset is UTF-8. I created the unicode for the japnese text using the native2ascii utility.

Thanks
Ratheesh
Hi

I am implementing internationalization in my application. I am able to display the labels in Japanese language by using a separate property file. But I am facing issues in displaying Japanese text in alert messages and in tool tips. The text is coming as squares in IE. Same is working fine in Mozilla. I tried to do this in an html file and I am getting the saame issue. Below is the html file I have written.
<html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<body>
<script>
alert('\u9069\u7528');
</script>
</body>
</html>

Can anyone please help to resolve this issue?

Thanks
Ratheesh
Thank you very much !!

This resolved my issue.
14 years ago
Hi

I am using Axis2 1.5.1 for webservice calls. After making a few successful calls, I am getting the below exception. Could you please help resolving this issue?

Caused by: org.apache.commons.httpclient.ConnectionPoolTimeoutException: Timeout waiting for connection
at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.doGetConnection(MultiThreadedHttpConnectionManager.java:497)
at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.getConnectionWithTimeout(MultiThreadedHttpConnectionManager.java:416)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:153)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
at org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:542)
at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:199)
... 45 more


Thanks
14 years ago