This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Java in General and the fly likes Error invoking client loaded in oracle database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Java in General
Bookmark "Error invoking client loaded in oracle database" Watch "Error invoking client loaded in oracle database" New topic
Author

Error invoking client loaded in oracle database

Ruben Ramirez
Greenhorn

Joined: Oct 11, 2012
Posts: 1
I have a web service client loaded into the database which is invoked from plqls through a function based on a class that is also in the database

During execution the following error is generated...



java.rmi.RemoteException: ; nested exception is:
HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: 2 > 0
at bcr.rltasas.service.runtime.ControlDataBloombergServiceSoapHttpPortBinding_Stub.solicitarTasasBloomberg(ControlDataBloombergServiceSoapHttpPortBinding_Stub:95)
at bcr.rltasas.service.ControlDataBloombergServiceSoapHttpPortClient.solicitarTasasBloomberg(ControlDataBloombergServiceSoapHttpPortClient:44)
at ServicioRltasas.cargarTasasRL(ServicioRltasas:66)
Caused by: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: 2 > 0
at oracle.j2ee.ws.client.http.HttpClientTransport.invokeImpl(HttpClientTransport.java:172)
at oracle.j2ee.ws.client.http.HttpClientTransport.invoke(HttpClientTransport.java:148)
at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:175)
at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:112)
at bcr.rltasas.service.runtime.ControlDataBloombergServiceSoapHttpPortBinding_Stub.solicitarTasasBloomberg(ControlDataBloombergServiceSoapHttpPortBinding_Stub:79)
... 2 more
RetVal = Error invocando el metodo solicitarTasasBloomberg. ; nested exception is:
HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: 2 > 0


the grant at user are:

DBMS_JAVA.grant_permission('LIQUID', 'SYS:java.net.SocketPermission', 'localhost', 'resolve');
DBMS_JAVA.grant_permission('LIQUID', 'SYS:java.net.SocketPermission', 'localhost:1521', 'connect,resolve');
dbms_java.grant_permission( 'LIQUID', 'SYS:java.lang.RuntimePermission', 'getClassLoader', '' )
dbms_java.grant_permission( 'LIQUID', 'SYS:java.lang.RuntimePermission', 'accessClassInPackage.sun.util.calendar', '' );
dbms_java.grant_permission( 'LIQUID', 'SYS:java.lang.RuntimePermission', 'shutdownHooks', '' );
dbms_java.grant_permission( 'LIQUID', 'SYS:java.util.logging.LoggingPermission', 'control', '' );
dbms_java.grant_permission( 'LIQUID', 'SYS:java.util.PropertyPermission', 'HTTPClient.socket.idleTimeout', 'write' );


Any idea of the solution?

 
Have you checked out Aspose?
 
subject: Error invoking client loaded in oracle database
 
It's not a secret anymore!