This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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?

 
Don't get me started about those stupid light bulbs.
 
subject: Error invoking client loaded in oracle database
 
Similar Threads
java.security.PrivilegedActionException: oracle.j2ee.ws.saaj.ContentTypeException: Not a valid SOAP
javax.xml.soap.SOAPException: Unable to internalize message
getting exception while invoking service frm client on another system
confused by PrivilegedActionException
SL handshake failed: X509CertChainIncompleteErr