11G ws proxy client gives me Failed to process signature.null
Hi
I got this error maybe someone can help me
thanks Edwin
java.rmi.RemoteException: SOAPFaultException - FaultCode [{http://schemas.xmlsoap.org/soap/envelope/}Server] FaultString [Failed to process signature.null] FaultActor [null]No Detail; nested exception is:
weblogic.wsee.jaxrpc.soapfault.WLSOAPFaultException: Failed to process signature.null
at nl.ordina.ws.client.CreditCheck_Stub.checkOrder(CreditCheck_Stub.java:39)
at nl.ordina.ws.TestWS.main(TestWS.java:65)
Caused by: weblogic.wsee.jaxrpc.soapfault.WLSOAPFaultException: Failed to process signature.null
at weblogic.wsee.codec.soap11.SoapCodec.decodeFault(SoapCodec.java:355)
at weblogic.wsee.ws.dispatch.client.CodecHandler.decodeFault(CodecHandler.java:115)
at weblogic.wsee.ws.dispatch.client.CodecHandler.decode(CodecHandler.java:100)
at weblogic.wsee.ws.dispatch.client.CodecHandler.handleFault(CodecHandler.java:88)
at weblogic.wsee.handler.HandlerIterator.handleFault(HandlerIterator.java:309)
at weblogic.wsee.handler.HandlerIterator.handleResponse(HandlerIterator.java:269)
at weblogic.wsee.ws.dispatch.client.ClientDispatcher.handleResponse(ClientDispatcher.java:213)
at weblogic.wsee.ws.dispatch.client.ClientDispatcher.dispatch(ClientDispatcher.java:150)
at weblogic.wsee.ws.WsStub.invoke(WsStub.java:87)
at weblogic.wsee.jaxrpc.StubImpl._invoke(StubImpl.java:337)
at nl.ordina.ws.client.CreditCheck_Stub.checkOrder(CreditCheck_Stub.java:34)
... 1 more
Caused by: weblogic.xml.crypto.wss.WSSecurityException: Failed to process signature.null
at weblogic.xml.crypto.wss.SecurityImpl.processAndMarshalSignature(SecurityImpl.java:359)
at weblogic.xml.crypto.wss.SecurityImpl.add(SecurityImpl.java:142)
at weblogic.xml.crypto.wss.SecurityBuilderImpl.addSignature(SecurityBuilderImpl.java:909)
at weblogic.xml.crypto.wss.SecurityBuilderImpl.addSignatureWithToken(SecurityBuilderImpl.java:348)
at weblogic.xml.crypto.wss.SecurityBuilderImpl.addSignatureInternal(SecurityBuilderImpl.java:329)
at weblogic.xml.crypto.wss11.internal.SecurityBuilderImpl.addSignature(SecurityBuilderImpl.java:351)
at weblogic.wsee.security.wss.plan.SecurityMessageArchitect.processIntegrity(SecurityMessageArchitect.java:904)
at weblogic.wsee.security.wss.plan.SecurityMessageArchitect.constructMessage(SecurityMessageArchitect.java:310)
at weblogic.wsee.security.wss.plan.SecurityMessageArchitect.buildWssMessage(SecurityMessageArchitect.java:136)
at weblogic.wsee.security.wss.plan.SecurityMessageArchitect.buildWssMessage(SecurityMessageArchitect.java:119)
at weblogic.wsee.security.wss.SecurityPolicyArchitect.processOutbound(SecurityPolicyArchitect.java:217)
at weblogic.wsee.security.wss.SecurityPolicyArchitect.processMessagePolicy(SecurityPolicyArchitect.java:117)
at weblogic.wsee.security.wss.SecurityPolicyConductor.processRequestOutbound(SecurityPolicyConductor.java:120)
at weblogic.wsee.security.wss.SecurityPolicyConductor.processRequestOutbound(SecurityPolicyConductor.java:92)
at weblogic.wsee.security.wssp.handlers.WssClientHandler.processOutbound(WssClientHandler.java:113)
at weblogic.wsee.security.wssp.handlers.WssClientHandler.processRequest(WssClientHandler.java:68)
at weblogic.wsee.security.wssp.handlers.WssHandler.handleRequest(WssHandler.java:92)
at weblogic.wsee.handler.HandlerIterator.handleRequest(HandlerIterator.java:141)
at weblogic.wsee.handler.HandlerIterator.handleRequest(HandlerIterator.java:107)
at weblogic.wsee.ws.dispatch.client.ClientDispatcher.dispatch(ClientDispatcher.java:132)
... 4 more
Caused by: weblogic.xml.crypto.dsig.api.XMLSignatureException
at weblogic.xml.crypto.dsig.SignedInfoImpl.createSignature(SignedInfoImpl.java:101)
at weblogic.xml.crypto.dsig.XMLSignatureImpl.sign(XMLSignatureImpl.java:204)
at weblogic.xml.crypto.wss.SecurityImpl.processAndMarshalSignature(SecurityImpl.java:355)
... 23 more
Caused by: weblogic.xml.crypto.api.KeySelectorException: Failed to resolve key using SecurityTokenReference weblogic.xml.crypto.wss11.internal.bst.BSTR@160e069 URI: str_Gd32NOIPFZLwvql9
at weblogic.xml.crypto.common.keyinfo.KeyResolver.getKeyFromSTR(KeyResolver.java:309)
at weblogic.xml.crypto.common.keyinfo.KeyResolver.select(KeyResolver.java:127)
at weblogic.xml.crypto.dsig.SignedInfoImpl.getSignKey(SignedInfoImpl.java:216)
at weblogic.xml.crypto.dsig.SignedInfoImpl.createSignature(SignedInfoImpl.java:99)
... 25 more
Process exited with exit code 0.
this is the ws code
import javax.jws.WebMethod;
import javax.jws.WebService;
import weblogic.jws.Policy;
@WebService
@Policy(uri = "policy:Wssp1.2-2007-Wss1.0-UsernameToken-Plain-X509-Basic256.xml")
public class CreditCheck {
@WebMethod
public CreditObject CheckOrder(Integer customerId,Integer orderId, double orderTotal ) {
CreditObject credit = new CreditObject();
if (orderTotal > 1000) {
credit.setApproved(false);
credit.reason = "order total too high";
} else credit.setApproved(true);
return credit;
client code
package nl.ordina.ws;
import java.security.cert.X509Certificate;
import java.util.ArrayList;
import java.util.List;
import javax.xml.rpc.Stub;
import nl.ordina.ws.client.CreditCheck;
import nl.ordina.ws.client.CreditCheckService;
import nl.ordina.ws.client.CreditCheckService_Impl;
import weblogic.security.SSL.TrustManager;
import weblogic.wsee.security.bst.ClientBSTCredentialProvider;
import weblogic.wsee.security.bst.StubPropertyBSTCredProv;
import weblogic.wsee.security.unt.ClientUNTCredentialProvider;
import weblogic.wsee.security.util.CertUtils;
import weblogic.xml.crypto.wss.WSSecurityContext;
import weblogic.xml.crypto.wss.provider.CredentialProvider;
public class TestWS {
public static void main(String[] args) {
try {
String username = "weblogic";
String password = "weblogic";
String clientKeyStore = "d:/wsclient.jks";
String clientKeyStorePass = "welcome";
String clientKeyAlias = "wsclient";
String clientKeyPass = "welcome";
String serverCertFile = "d:/weblogic.crt";
String wsdl = "http://localhost:7101/ws-ws_security-context-root/CreditCheckPort?wsdl";
CreditCheckService service = new CreditCheckService_Impl(wsdl);
CreditCheck port = service.getCreditCheckPort();
List credProviders = new ArrayList();
X509Certificate serverCert = (X509Certificate) CertUtils.getCertificate(serverCertFile);
CredentialProvider cp = new ClientUNTCredentialProvider(username, password);
credProviders.add(cp);
cp = new ClientBSTCredentialProvider(clientKeyStore,
clientKeyStorePass,
clientKeyAlias,
clientKeyPass,
"JKS",
serverCert);
credProviders.add(cp);
Stub stub = (Stub) port;
stub._setProperty(WSSecurityContext.CREDENTIAL_PROVIDER_LIST, credProviders);
stub._setProperty(StubPropertyBSTCredProv.SERVER_ENCRYPT_CERT,CertUtils.getCertificate(serverCertFile));
stub._setProperty(WSSecurityContext.TRUST_MANAGER,
new TrustManager(){
public boolean certificateCallback(X509Certificate[] chain, int validateErr){
return true;
CreditObject credit = port.checkOrder(10,10,1100);
System.out.println(credit.getReason());
// Add your own code here
} catch (Exception ex) {
ex.printStackTrace();
Here the certificates I generated and also added to wls
key
D:\oracle\Middleware\jdk160_05\bin\keytool -genkey -dname "CN=WSCLIENT, OU=ICT, O=Ordina, L=Nieuwegein, S=Utrecht, C=NL" -alias wsclient -keystore d:\wsclient.jks -storepass welcome -keypass welcome -keysize 1024
request
D:\oracle\Middleware\jdk160_05\bin\keytool -certreq -alias wsclient -dname "CN=WSCLIENT, OU=ICT, O=Ordina, L=Nieuwegein, S=Utrecht, C=NL" -file d:\wsclient.csr -keystore d:\wsclient.jks -storepass welcome -keypass welcome -keysize 1024
sign request
d:\tools\openssl\bin\openssl x509 -CA d:/projecten/certs/cacert.pem -CAkey d:/projecten/certs/cakey.pem -CAserial d:/projecten/certs/serial.txt -req -in d:\wsclient.csr -out d:\wsclient.crt -days 365
import CA
D:\oracle\Middleware\jdk160_05\bin\keytool -import -file d:/projecten/certs/cacert.pem -alias ca -keystore d:\wsclient.jks -storepass welcome -keypass welcome
import WSCLIENT
D:\oracle\Middleware\jdk160_05\bin\keytool -import -file d:\wsclient.crt -alias wsclient -keystore d:\wsclient.jks -storepass welcome -keypass welcome
import ca in wls
D:\oracle\Middleware\jdk160_05\bin\keytool -import -file d:/projecten/certs/cacert.pem -alias ca -keystore D:\oracle\Middleware\wlserver_10.3\server\lib\DemoTrust.jks -storepass DemoTrustKeyStorePassPhrase
D:\oracle\Middleware\jdk160_05\bin\keytool -import -file d:\wsclient.crt -alias wsclient -keystore D:\oracle\Middleware\wlserver_10.3\server\lib\DemoTrust.jks -storepass DemoTrustKeyStorePassPhrase
D:\oracle\Middleware\jdk160_05\bin\keytool -import -file d:\demoidentity.cer -alias demoidentity -keystore d:\wsclient.jks -storepass welcome
Hi,
You need to use two NICs for Reverse Proxy, one for Internet interface and one for internal interface. If you use only one NIC for Reverse Proxy, you may meet unknown issues.
Please check if you change the time-out time. Setting the time-out value to a value greater than 180 prevents the Lync Web App from experiencing disconnecting and reconnecting unexpectedly
Please double check the settings of Reverse Proxy with the help of the link below:
http://blogs.technet.com/b/nexthop/archive/2013/02/19/using-iis-arr-as-a-reverse-proxy-for-lync-server-2013.aspx
Also, the media workflow for mobile client need the support of Edge Server, so you also need to deploy the Edge Server in DMZ zone for Media function such as A/V call.
Best Regards,
Eason Huang
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
Eason Huang
TechNet Community Support
Similar Messages
-
Hi Folks,
I was trying to do the tutorial "Securing Services Using the AquaLogic Service Bus", but when I called the Web Service Method I got the error message listed bellow.
What happened ?
Tutorial link:
"http://dev2dev.bea.com/pub/a/2006/04/securing-service-bus.html?page=1"
Exception:
"Unable to invoke service: SOAPFaultException - FaultCode [{http://schemas.xmlsoa
p.org/soap/envelope/}Server] FaultString [Failed to process signature.null] Faul
tActor [null]No Detail; nested exception is:
javax.xml.rpc.soap.SOAPFaultException: Failed to process signature.null
java.rmi.RemoteException: SOAPFaultException - FaultCode [{http://schemas.xmlsoa
p.org/soap/envelope/}Server] FaultString [Failed to process signature.null] Faul
tActor [null]No Detail; nested exception is:
javax.xml.rpc.soap.SOAPFaultException: Failed to process signature.null
at webservice.Echo_Stub.doEcho(Echo_Stub.java:37)
at webservice.EchoServiceClient.main(EchoServiceClient.java:48)
Caused by: javax.xml.rpc.soap.SOAPFaultException: Failed to process signature.nu
ll
at weblogic.wsee.codec.soap11.SoapCodec.decodeFault(SoapCodec.java:265)
at weblogic.wsee.ws.dispatch.client.CodecHandler.decodeFault(CodecHandle
r.java:106)
at weblogic.wsee.ws.dispatch.client.CodecHandler.decode(CodecHandler.jav
a:91)
at weblogic.wsee.ws.dispatch.client.CodecHandler.handleFault(CodecHandle
r.java:79)
at weblogic.wsee.handler.HandlerIterator.handleFault(HandlerIterator.jav
a:254)
at weblogic.wsee.handler.HandlerIterator.handleResponse(HandlerIterator.
java:224)
at weblogic.wsee.ws.dispatch.client.ClientDispatcher.handleResponse(Clie
ntDispatcher.java:161)
at weblogic.wsee.ws.dispatch.client.ClientDispatcher.dispatch(ClientDisp
atcher.java:116)
at weblogic.wsee.ws.WsStub.invoke(WsStub.java:89)
at weblogic.wsee.jaxrpc.StubImpl._invoke(StubImpl.java:335)
at webservice.Echo_Stub.doEcho(Echo_Stub.java:32)"Hi Folks,
I was trying to do the tutorial "Securing Services Using the AquaLogic Service Bus", but when I called the Web Service Method I got the error message listed bellow.
What happened ?
Tutorial link:
"http://dev2dev.bea.com/pub/a/2006/04/securing-service-bus.html?page=1"
Exception:
"Unable to invoke service: SOAPFaultException - FaultCode [{http://schemas.xmlsoa
p.org/soap/envelope/}Server] FaultString [Failed to process signature.null] Faul
tActor [null]No Detail; nested exception is:
javax.xml.rpc.soap.SOAPFaultException: Failed to process signature.null
java.rmi.RemoteException: SOAPFaultException - FaultCode [{http://schemas.xmlsoa
p.org/soap/envelope/}Server] FaultString [Failed to process signature.null] Faul
tActor [null]No Detail; nested exception is:
javax.xml.rpc.soap.SOAPFaultException: Failed to process signature.null
at webservice.Echo_Stub.doEcho(Echo_Stub.java:37)
at webservice.EchoServiceClient.main(EchoServiceClient.java:48)
Caused by: javax.xml.rpc.soap.SOAPFaultException: Failed to process signature.nu
ll
at weblogic.wsee.codec.soap11.SoapCodec.decodeFault(SoapCodec.java:265)
at weblogic.wsee.ws.dispatch.client.CodecHandler.decodeFault(CodecHandle
r.java:106)
at weblogic.wsee.ws.dispatch.client.CodecHandler.decode(CodecHandler.jav
a:91)
at weblogic.wsee.ws.dispatch.client.CodecHandler.handleFault(CodecHandle
r.java:79)
at weblogic.wsee.handler.HandlerIterator.handleFault(HandlerIterator.jav
a:254)
at weblogic.wsee.handler.HandlerIterator.handleResponse(HandlerIterator.
java:224)
at weblogic.wsee.ws.dispatch.client.ClientDispatcher.handleResponse(Clie
ntDispatcher.java:161)
at weblogic.wsee.ws.dispatch.client.ClientDispatcher.dispatch(ClientDisp
atcher.java:116)
at weblogic.wsee.ws.WsStub.invoke(WsStub.java:89)
at weblogic.wsee.jaxrpc.StubImpl._invoke(StubImpl.java:335)
at webservice.Echo_Stub.doEcho(Echo_Stub.java:32)" -
Invoke Bpel Processes via API or Web Service Proxy Clients
Hi all,
I was wondering if any of the felow community members have found information regarding best practices in invoking bpel processes from a user interface other than ADF Faces?
Currently I'm using Web Service Proxy Clients to invoke my bpel processes, but I was wondering if it would be better to use the BPEL API?
Considerations I have regarding these 2 different approaches are mostly tight integration when using the BPEL API, because this means I have to port the BPEL (Oracle Code) inside my UI-application which isn't the case when using Web Service Proxy Clients.
What is the best way to instantiate bpel processes from a user interface, is that by using web service proxy clients or by using the bpel i
nvocation API?
Kind regards,
NathalieHi Marc,
These were my considerations as well, but I was looking for some kind of benchmarking regarding these 2 approaches. What's best practices when hooking up bpel inside UI Applications regarding performance, future-proofness (SOA Grid, SOA Composites, ...) etc.
I think I need to discuss this with the product team to make sure I'm taking the wright decisions.
Kind regards,
Nathalie -
Web service proxy client generation fails
Hello,
i want to generate a webservice proxy client of a web service. For the access to the wsdl file of this web service, basic authentication is required. How can i use the proxy generation tool with username and password? The wsa.jar -genProxy doesn't work because i dont know how i can submit username and password. Is it possible to integrate username and password anywhere?? Is there an other way to generate a webservice proxy client? Please help me :(
Thanks a lot from Berlin!
TomHello,
i want to generate a webservice proxy client of a web service. For the access to the wsdl file of this web service, basic authentication is required. How can i use the proxy generation tool with username and password? The wsa.jar -genProxy doesn't work because i dont know how i can submit username and password. Is it possible to integrate username and password anywhere?? Is there an other way to generate a webservice proxy client? Please help me :(
Thanks a lot from Berlin!
Tom -
Hello
I am trying to install Exchange Server 2010 beta 1 onto a Windows Server 2008 R2 (build 7000) machine which has also been set up as a domain controller.
However when attempting to install the Client Access role, setup fails with the error below.
Does anyone know of a way to get around this please?
I have already searched for this error and not found any similar threads.
Also every time I press the code button on this forum it crashes the browser and I keep losing the message! (IE8 from within Server R2). Also the message box is very small, will not expand and keeps jumping to the top.
Thanks
Robin
[code]
Summary: 4 item(s). 1 succeeded, 1 failed.
Elapsed time: 00:00:01
Preparing Setup
Completed
Elapsed Time: 00:00:00
Client Access Role
Failed
Error:
The execution of: "$error.Clear(); Install-ExchangeCertificate -services "IIS, POP, IMAP" -DomainController $RoleDomainController", generated the following error: "Could not grant Network Service access to the certificate with thumbprint 2F320F5D5B5C6873E54C8AB57F604D8AFA31D18C because a cryptographic exception was thrown.".
Could not grant Network Service access to the certificate with thumbprint 2F320F5D5B5C6873E54C8AB57F604D8AFA31D18C because a cryptographic exception was thrown.
Access is denied.
Elapsed Time: 00:00:01
Mailbox Role
Cancelled
Finalizing Setup
Cancelled
[/code]
Robin WilsonHello
Thanks for all the replies.
I have since wiped the system and installed everything again and it all worked this time so not sure what was wrong last time. I did try to uninstall all Exchange components and then uninstall IIS and Application server, reboot and re-install but I received the same error still when it came to installing the client access role.
Walter: I just attempted the standard installation which should have used the default self-signed certificate. Everything was a fresh install done at the same time on a freshly formatted PC.
For info last time when it failed to work:
- Installed Windows Server 2008 R2
- Installed Domain Controller role using dcpromo. I set the forest and domain as Windows Server 2008 R2
- Added a forest trust between main domain and test Exchange domain (set up as ex2010.local)
- Installed IIS and Application Server role
- Installed Hyper-v role
- Installed Desktop Experience feature
- Installed Exchange and recieved the error
When it worked I set up the forest and domain in Windows Server 2008 mode (i.e. not R2), installed Exchange first and then set up the forest trust and then Hyper-v. It did say it failed to configure dns which was probably because it started trying to do automatic updates half way through the dcpromo! DNS seems to work ok though.
I did notice this time that Hyper-v gave a warning about the virtual network adapter not being set up correctly and the local network did not work correctly although I could access the internet. Not sure if this could have been related to the cause of the problem previously. For now I have disabled the virtual network until I get time to try and get it working and so the mail will work in the meantime.
I also noticed that Hyper-v added an extra 443 ssl binding to the default website so as it had 2 bindings on port 443 it refused to start. After deleting one it worked.
I decided to install Exchange onto a domain controller as it is only a test and I wouldn't do it in a live environment. I am also short of test machines! It didn't give me any warnings about this actually, I think previous versions warn you that it is not recommended.
Andreas and Chinthaka: I did not know about the requirement to run the domain at 2003 mode. The main domain is running in 2008 mode with Exchange 2007 so I assume this is just a temporary beta related requirement. It does seem to be working (second attempt) so far in a 2008 mode domain although I haven't had a chance to fully test it yet.
Thanks
Robin
P.S. Sorry it's taken me a while to reply!
Robin Wilson -
Web service proxy client with client cert cause SSLSessionNotFoundErr
Hi,
I tried to run web service proxy client with certification from JDeveloper 10.1.3.0.4 to call PKI enabled web service got folllowing error:
WARNING: Unable to connect to URL: due to java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: javax.net.ssl.SSLException: SSL handshake failed: SSLSessionNotFoundErr
Web service deployed on OASHi,
i am trying to invoke from JDeveloper (10.1.3) a CRM On Demand's Web Service and I hava the same problem:
ADVERTENCIA: Unable to connect to URL: https://secure-ausomxgfa.crmondemand.com/Services/Integration due to java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: javax.net.ssl.SSLException: SSL handshake failed: SSLSessionNotFoundErr
java.rmi.RemoteException: ; nested exception is:
HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: javax.net.ssl.SSLException: SSL handshake failed: SSLSessionNotFoundErr
at testerlast.runtime.Contact_Stub.contactInsert(Contact_Stub.java:96)
at testerlast.ContactClient.contactInsert(ContactClient.java:88)
at testerlast.ContactClient.main(ContactClient.java:69)
Caused by: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: javax.net.ssl.SSLException: SSL handshake failed: SSLSessionNotFoundErr
at oracle.j2ee.ws.common.util.exception.JAXRPCExceptionBase.<init>(JAXRPCExceptionBase.java:93)
at oracle.j2ee.ws.common.util.exception.JAXRPCExceptionBase.<init>(JAXRPCExceptionBase.java:89)
at oracle.j2ee.ws.client.ClientTransportException.<init>(ClientTransportException.java:33)
at oracle.j2ee.ws.client.http.HttpClientTransport.invokeImpl(HttpClientTransport.java:144)
at oracle.j2ee.ws.client.http.HttpClientTransport.invoke(HttpClientTransport.java:121)
at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:169)
at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:111)
at testerlast.runtime.Contact_Stub.contactInsert(Contact_Stub.java:80)
... 2 more
To do the invocation I have done a proxy to consume this Web Service, with the follow main:
public static void main(String[] args) {
try {
testerlast.ContactClient myPort = new testerlast.ContactClient();
System.out.println("calling " + myPort.getEndpoint());
myPort.setUsername(nameUser);
myPort.setPassword(password);
ListOfContactData llista = new ListOfContactData();
ContactData[] contacts=new ContactData[2];
ContactData contact=new ContactData();
ContactInsert_Input input=new ContactInsert_Input();
// Login WS HTTPS
String idSesion=connexioWS_CRM.logon(URL,nameUser,password);
// Add contact
for (int i = 0; i < contacts.length; i++) {
contact.setId("ProvaWSCRM"+i);
contact.setContactFirstName("JDeveloper"+i);
contact.setContactLastName("prove"+i);
contact.setCellularPhone("77777777"+i);
contact.setDescription("Add contact with Id:"+contact.getId());
contacts=contact;
System.out.println("Id:"+contacts[i].getId()+" firstName:"+contacts[i].getContactFirstName()+" lastName:"+contacts[i].getContactLastName());
llista.setContact(contacts);
input.setListOfContact(llista);
input.setEcho("off");
System.out.println("Pwd:"+myPort.getPassword()+" Port:"+myPort._port+" endpoint:"+myPort.getEndpoint()+" user:"+myPort.getUsername());
myPort.contactInsert(llista,"LIC","Broadset","OFF");
// Logout en WS (HTTPS)
connexioWS_CRM.logoff(URL, idSesion);
} catch (Exception ex) {
ex.printStackTrace();
What's wrong? Any idea?
Thank you
Edited by: user12085357 on 31-oct-2009 10:39 -
Hi,
I have to develope a Web Service proxy client to invoke a web service on SSL. First I'm testing with OC4J 10.1.3.1 and JDEV 10.1.3.1 and did this:
1) Developed a basic PL/SQL Web Service with JDEV and publish on my standalone OC4J.
2) Made a test with a browser, it worked OK
3) Generated a proxy client from JDev 10.1.3.1 to invoke web service, it worked OK
--- Now make it work on SSL----
4) Then, added SSL configuration to oc4j , generated a certificate with keytool (updated server.xml, secure-web-site.xml), and shutting down and starting the OC4j instance.
5) Import the certificate to JAVA_HOME/jre/lib/security/cacerts
6) Test web service from browser on https and worked OK.
7) When tried to modified proxy client (generated in step 3) to make it work on SSL, I realized that just changing the END_POINT to the new url (https) it worked!
Questions----
1.- By default the proxy client generated from JDEV 10.1.3.1 knows how to deal with SSL conections?
2.- If I dont have previously the server certificate to import it into JAVA keystore (cacerts) how could I ,from proxy client code, capture it and import it before the validation occurs... because if the certificate is not in keystore , the program fails.
Thanks in advance
J.Hi,
Could you please provide me with the steps necessary to create a web service proxy client through JDeveloper or any other mechanism when 2 way SSL (requiring client authentication) is enabled.
Thanks a lot in advance
Nilesh -
Error while testing proxy client for FinancialUtilService
Hi
While testing my proxy client from jdev, I am receiving the below error. Attaching the code from my HTTPPortClient.Java file for your reference.
Did anything wrong while invoking uploadFileToUCM service? Can you please suggest ?
C:\Oracle\Middleware\jdk160_24\bin\javaw.exe -client -classpath C:\JDeveloper\mywork\GenericApplication\.adf;C:\JDeveloper\mywork\GenericApplication\Project1\classes;C:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.jrf_11.1.1\jrf.jar;C:\Oracle\Middleware\modules\com.oracle.toplink_1.0.0.0_11-1-1-5-0.jar;C:\Oracle\Middleware\modules\org.eclipse.persistence_1.1.0.0_2-1.jar;C:\Oracle\Middleware\modules\com.bea.core.antlr.runtime_2.7.7.jar;C:\Oracle\Middleware\modules\javax.persistence_1.0.0.0_2-0-0.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.webservices_11.1.1\wsclient.jar -Djavax.net.ssl.trustStore=C:\Oracle\Middleware\wlserver_10.3\server\lib\DemoTrust.jks com.oracle.xmlns.apps.financials.commonmodules.shared.financialutilservice.FinancialUtilServiceSoapHttpPortClient
inside invokeservice
wsdlDoc: https://adc-fap0757-fin.oracledemos.com/finFunShared/FinancialUtilService?wsdl
SEVERE: java.io.FileNotFoundException: .\config\jps-config.xml (The system cannot find the path specified)
SEVERE: java.io.FileNotFoundException: .\config\jps-config.xml (The system cannot find the path specified)
INFO: WSM-09004 Component auditing cannot be initialized.
Finished invokeservice
inside invokeupload
INFO: Recipient Alias property not configured in the policy. Defaulting to encrypting with signers certificate.
com.oracle.xmlns.apps.financials.commonmodules.shared.financialutilservice.ServiceException: JBO-FND:::FND_CMN_SYS_ERR: <MESSAGE><NUMBER></NUMBER><TEXT>An application error occurred.</TEXT><CAUSE></CAUSE><ACTION></ACTION><DETAILS></DETAILS><INCIDENT></INCIDENT></MESSAGE>
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:141)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:125)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:95)
at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:136)
at $Proxy43.uploadFileToUcm(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at weblogic.wsee.jaxws.spi.ClientInstanceInvocationHandler.invoke(ClientInstanceInvocationHandler.java:84)
at $Proxy44.uploadFileToUcm(Unknown Source)
at com.oracle.xmlns.apps.financials.commonmodules.shared.financialutilservice.FinancialUtilServiceSoapHttpPortClient.invokeUpload(FinancialUtilServiceSoapHttpPortClient.java:140)
at com.oracle.xmlns.apps.financials.commonmodules.shared.financialutilservice.FinancialUtilServiceSoapHttpPortClient.main(FinancialUtilServiceSoapHttpPortClient.java:74)
Process exited with exit code 0.
Thanks
SamySo the documented approach results in corrupted file ? Can you confirm:
Ans) Yes
How was the zip file created, is it compressed ? Yes
If you encode / decode locally with your logic (without any call to WS) does the resulting zip work with the same tool that gives the corruption error ? \Yes, It is not giving any error.
How are you accessing the file from UCM ?
Navigate to below page in Fusion apps and we will be able to search for the uploaded file. Click on the file name , we will be able to open or save it to local system. When I try to open it ,it says invalid file.
Login To Fusion Apps -> Navigator -> Tools -> File Import and export
Can you provide the code you use for the content encoding / decoding (make sure no passwords or URLs are included) ?
Please check the below code in Bold for specific logic for encoding, which is same as the documented approach.
private String invokeUpload() {
System.out.println("inside invokeupload");
ObjectFactory objectFactory = new ObjectFactory();
DocumentDetails documentDet = new DocumentDetails();
String fileNameWithPath = "C:\\PozSuppliersInt.zip";
String fileName = "PozSuppliersIntSamy2912_9.zip";
String contentType = "zip";
String title = "Suppliers2912";
String ucmAccountInfo = "prc$/supplier$/import$";
String ucmSecurityGroup = "FAFusionImportExport";
String docname = "PozSuppliersIntSamy2912_9.zip";
File file = new File(fileNameWithPath);
byte[] content = null;
try{
content = Base64.encode(loadFile(file));
catch(IOException e){
System.out.println("Exception while encoding file " + e.getMessage());
System.out.println("Encoded String1: " + content);
documentDet.setContent(objectFactory.createDocumentDetailsContent(content));
documentDet.setFileName(objectFactory.createDocumentDetailsFileName(fileName));
documentDet.setContentType(objectFactory.createDocumentDetailsContentType(contentType));
documentDet.setDocumentTitle(objectFactory.createDocumentDetailsDocumentTitle(title));
documentDet.setDocumentAuthor(objectFactory.createDocumentDetailsDocumentAuthor(username));
documentDet.setDocumentSecurityGroup(objectFactory.createDocumentDetailsDocumentSecurityGroup(ucmSecurityGroup));
documentDet.setDocumentAccount(objectFactory.createDocumentDetailsDocumentAccount(ucmAccountInfo));
documentDet.setDocumentName(objectFactory.createDocumentDetailsDocumentName(docname));
UploadFileToUcm uploadFileToUcm = new UploadFileToUcm();
uploadFileToUcm.setDocument(documentDet);
String retStatus = null;
try {
retStatus = financialUtilService.uploadFileToUcm(documentDet);
System.out.println("File successfully Uploaded.Status is:" + retStatus);
output = "File successfully Uploaded.Status is:" + retStatus +". ";
} catch (Exception e) {
e.printStackTrace();
return retStatus;
private static byte[] loadFile(File file) throws IOException {
InputStream is = new FileInputStream(file);
long length = file.length();
if (length > Integer.MAX_VALUE) {
System.out.println("File is too large ");
byte[] bytes = new byte[(int)length];
int offset = 0;
int numRead = 0;
while (offset < bytes.length &&
(numRead = is.read(bytes, offset, bytes.length - offset)) >=
0) {
offset += numRead;
if (offset < bytes.length) {
// throw new IOException("Could not completely read file " + file.getName());
System.out.println("Could not completely read file: " + file.getName());
is.close();
return bytes; -
I am trying to invoke FinancialUtilService using HTTP proxy client. I am getting below error while i am trying to invoke this service. Using FusionServiceTester i am able to invoke service and upload file to UCM. Using oracle.ucm.fa_client_11.1.1.jar also i am able to upload file to UCM without any issue. But using HTTP proxy client i am facing below error. Can anyone please help me. PFA code i am using to invoke this service.
javax.xml.ws.soap.SOAPFaultException: InvalidSecurity : error in processing the WS-Security security header
at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:197)
at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:122)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:125)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:95)
at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:135)
at $Proxy43.uploadFileToUcm(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at weblogic.wsee.jaxws.spi.ClientInstance$ClientInstanceInvocationHandler.invoke(ClientInstance.java:363)
at $Proxy44.uploadFileToUcm(Unknown Source)
at com.oracle.xmlns.apps.financials.commonmodules.shared.financialutilservice.FinancialUtilServiceSoapHttpPortClient.invokeUpload(FinancialUtilServiceSoapHttpPortClient.java:299)
at com.oracle.xmlns.apps.financials.commonmodules.shared.financialutilservice.FinancialUtilServiceSoapHttpPortClient.main(FinancialUtilServiceSoapHttpPortClient.java:273)
Process exited with exit code 0.
Message was edited by: Oliver Steinmeier
Removed attachmentHi Jani,
Thanks for your reply.
I am new to webservices and we are trying to do a POC on invoking FinancialUtilService using HTTP proxy client. I am following steps mentioned in attached pdf section "Invoking FinancialUtil Service using Web Service Proxy Client". I have imported certificate using below command.
keytool -import -trustcacerts -file D:\Retek\Certificate.cer -alias client -keystore D:\Retek\default-keystore.jks -storepass welcome1
Invoking
SecurityPolicyFeature[] securityFeature =
new SecurityPolicyFeature[] { new
SecurityPolicyFeature("oracle/wss11_saml_token_with_message_protection_client_policy")};
financialUtilService_Service = new FinancialUtilService_Service();
FinancialUtilService financialUtilService= financialUtilService_Service.getFinancialUtilServiceSoapHttpPort(securityFeature);
// Get the request context to set the outgoing addressing properties
WSBindingProvider wsbp = (WSBindingProvider)financialUtilService;
WSEndpointReference replyTo =
new WSEndpointReference("https://efops-rel91-patchtest-external-fin.us.oracle.com/finFunShared/FinancialUtilService", WS_ADDR_VER);
String uuid = "uuid:" + UUID.randomUUID();
wsbp.setOutboundHeaders( new StringHeader(WS_ADDR_VER.messageIDTag, uuid), replyTo.createHeader(WS_ADDR_VER.replyToTag));
wsbp.getRequestContext().put(WSBindingProvider.USERNAME_PROPERTY, "fin_user1");
wsbp.getRequestContext().put(WSBindingProvider.PASSWORD_PROPERTY, "Welcome1");
wsbp.getRequestContext().put(ClientConstants.WSSEC_RECIPIENT_KEY_ALIAS,"service");
wsbp.getRequestContext().put(ClientConstants.WSSEC_KEYSTORE_LOCATION, "D:/Retek/default-keystore.jks");
wsbp.getRequestContext().put(ClientConstants.WSSEC_KEYSTORE_PASSWORD, "welcome1" );
wsbp.getRequestContext().put(ClientConstants.WSSEC_KEYSTORE_TYPE, "JKS" );
wsbp.getRequestContext().put(ClientConstants.WSSEC_SIG_KEY_ALIAS, "client" );
wsbp.getRequestContext().put(ClientConstants.WSSEC_SIG_KEY_PASSWORD, "password" );
wsbp.getRequestContext().put(ClientConstants.WSSEC_ENC_KEY_ALIAS, "client" );
wsbp.getRequestContext().put(ClientConstants.WSSEC_ENC_KEY_PASSWORD, "password" );
SEVERE: WSM-00057 The certificate, client, is not retrieved.
SEVERE: WSM-00137 The encryption certificate, client, is not retrieved due to exception oracle.wsm.security.SecurityException: WSM-00057 : The certificate, client, is not retrieved..
SEVERE: WSM-00161 Client encryption public certificate is not configured for Async web service client
SEVERE: WSM-00005 Error in sending the request.
SEVERE: WSM-07607 Failure in execution of assertion {http://schemas.oracle.com/ws/2006/01/securitypolicy}wss11-saml-with-certificates executor class oracle.wsm.security.policy.scenario.executor.Wss11SamlWithCertsScenarioExecutor.
SEVERE: WSM-07602 Failure in WS-Policy Execution due to exception.
SEVERE: WSM-07501 Failure in Oracle WSM Agent processRequest, category=security, function=agent.function.client, application=null, composite=null, modelObj=FinancialUtilService, policy=oracle/wss11_saml_token_with_message_protection_client_policy, policyVersion=null, assertionName={http://schemas.oracle.com/ws/2006/01/securitypolicy}wss11-saml-with-certificates.
oracle.wsm.common.sdk.WSMException: WSM-00161 : Client encryption public certificate is not configured for Async web service client
at oracle.wsm.security.policy.scenario.executor.Wss11SamlWithCertsScenarioExecutor.sendRequest(Wss11SamlWithCertsScenarioExecutor.java:173)
at oracle.wsm.security.policy.scenario.executor.SecurityScenarioExecutor.execute(SecurityScenarioExecutor.java:545)
at oracle.wsm.policyengine.impl.runtime.AssertionExecutor.execute(AssertionExecutor.java:41)
at oracle.wsm.policyengine.impl.runtime.WSPolicyRuntimeExecutor.executeSimpleAssertion(WSPolicyRuntimeExecutor.java:608)
at oracle.wsm.policyengine.impl.runtime.WSPolicyRuntimeExecutor.executeAndAssertion(WSPolicyRuntimeExecutor.java:335)
at oracle.wsm.policyengine.impl.runtime.WSPolicyRuntimeExecutor.execute(WSPolicyRuntimeExecutor.java:282)
at oracle.wsm.policyengine.impl.PolicyExecutionEngine.execute(PolicyExecutionEngine.java:102)
at oracle.wsm.agent.WSMAgent.processCommon(WSMAgent.java:915)
at oracle.wsm.agent.WSMAgent.processRequest(WSMAgent.java:436)
at oracle.wsm.agent.handler.WSMEngineInvoker.handleRequest(WSMEngineInvoker.java:393)
at oracle.wsm.agent.handler.wls.WSMAgentHook.handleRequest(WSMAgentHook.java:239)
at weblogic.wsee.jaxws.framework.jaxrpc.TubeFactory$JAXRPCTube.processRequest(TubeFactory.java:220)
at weblogic.wsee.jaxws.tubeline.FlowControlTube.processRequest(FlowControlTube.java:98)
at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:604)
at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:563)
at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:548)
at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:445)
at com.sun.xml.ws.client.Stub.process(Stub.java:259)
at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:152)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:115)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:95)
at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:135)
at $Proxy43.uploadFileToUcm(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at weblogic.wsee.jaxws.spi.ClientInstance$ClientInstanceInvocationHandler.invoke(ClientInstance.java:363)
at $Proxy44.uploadFileToUcm(Unknown Source)
at com.oracle.xmlns.apps.financials.commonmodules.shared.financialutilservice.FinancialUtilServiceSoapHttpPortClient.invokeUpload(FinancialUtilServiceSoapHttpPortClient.java:111)
at com.oracle.xmlns.apps.financials.commonmodules.shared.financialutilservice.FinancialUtilServiceSoapHttpPortClient.main(FinancialUtilServiceSoapHttpPortClient.java:86)
Caused by: oracle.wsm.security.SecurityException: WSM-00161 : Client encryption public certificate is not configured for Async web service client
at oracle.wsm.security.policy.scenario.processor.Wss11X509TokenProcessor.insertClientEncCertToWSAddressingHeader(Wss11X509TokenProcessor.java:979)
at oracle.wsm.security.policy.scenario.processor.Wss11X509TokenProcessor.build(Wss11X509TokenProcessor.java:206)
at oracle.wsm.security.policy.scenario.executor.Wss11SamlWithCertsScenarioExecutor.sendRequest(Wss11SamlWithCertsScenarioExecutor.java:164)
... 30 more
Caused by: oracle.wsm.security.SecurityException: WSM-00057 : The certificate, client, is not retrieved.
at oracle.wsm.security.jps.WsmKeyStore.getJavaCertificate(WsmKeyStore.java:534)
at oracle.wsm.security.jps.WsmKeyStore.getCryptCert(WsmKeyStore.java:570)
at oracle.wsm.security.policy.scenario.processor.Wss11X509TokenProcessor.insertClientEncCertToWSAddressingHeader(Wss11X509TokenProcessor.java:977)
... 32 more
SEVERE: WSMAgentHook: An Exception is thrown: WSM-00161 : Client encryption public certificate is not configured for Async web service client
File upload failed
javax.xml.ws.WebServiceException: javax.xml.rpc.JAXRPCException: oracle.wsm.common.sdk.WSMException: WSM-00161 : Client encryption public certificate is not configured for Async web service client
at weblogic.wsee.jaxws.framework.jaxrpc.TubeFactory$JAXRPCTube.processRequest(TubeFactory.java:231)
at weblogic.wsee.jaxws.tubeline.FlowControlTube.processRequest(FlowControlTube.java:98)
at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:604)
at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:563)
at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:548)
at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:445)
at com.sun.xml.ws.client.Stub.process(Stub.java:259)
at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:152)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:115)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:95)
at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:135)
at $Proxy43.uploadFileToUcm(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at weblogic.wsee.jaxws.spi.ClientInstance$ClientInstanceInvocationHandler.invoke(ClientInstance.java:363)
at $Proxy44.uploadFileToUcm(Unknown Source)
at com.oracle.xmlns.apps.financials.commonmodules.shared.financialutilservice.FinancialUtilServiceSoapHttpPortClient.invokeUpload(FinancialUtilServiceSoapHttpPortClient.java:111)
at com.oracle.xmlns.apps.financials.commonmodules.shared.financialutilservice.FinancialUtilServiceSoapHttpPortClient.main(FinancialUtilServiceSoapHttpPortClient.java:86)
Caused by: javax.xml.rpc.JAXRPCException: oracle.wsm.common.sdk.WSMException: WSM-00161 : Client encryption public certificate is not configured for Async web service client
at oracle.wsm.agent.handler.wls.WSMAgentHook.handleException(WSMAgentHook.java:395)
at oracle.wsm.agent.handler.wls.WSMAgentHook.handleRequest(WSMAgentHook.java:248)
at weblogic.wsee.jaxws.framework.jaxrpc.TubeFactory$JAXRPCTube.processRequest(TubeFactory.java:220)
... 19 more -
Cannot Install 11g 64 bit client on Windows 7 Professional 64 bit OS
I am trying to install Oracle 11g 64 bit client on Windows 7 64 Bit Professional. I'm running setup as administrator and all prerequisites fail with Actual Value not Found Expected value not found. I select ignore and press next and the application just silently shuts down. Log is too big so here is an abbreviated log.
Here is the installation log
Thanks in advance!
Using paramFile: C:\temp\win64_11gR2_client\client\install\oraparam.ini
Checking monitor: must be configured to display at least 256 colors. Actual 4294967296 Passed
INFO: Initial values of Setup Properties :
PROPERTY VALUE
COLLECTOR_IGNORE_CONFIGURATION false
COLLECTOR_IGNORE_FAILURES false
COLLECTOR_RESPONSE_FILE
DECLINE_SECURITY_UPDATES false
FROM_LOCATION C:\temp\win64_11gR2_client\client\install\../stage/produc
ts.xml
INSTALL_TYPE InstantClient
MYORACLESUPPORT_PASSWORD Protected value, not to be logged
MYORACLESUPPORT_USERNAME
ORACLE_BASE
ORACLE_HOME
ORACLE_HOSTNAME xxx-xxxxxxx-xxx.xxx.xxxxxxx.xxx
PROXY_HOST
PROXY_PORT
PROXY_PWD Protected value, not to be logged
PROXY_USER
SECURITY_UPDATES_VIA_MYORACLESUPPORT true
SELECTED_LANGUAGES {"en"}
oracle_install_LaunchNetCA false
oracle_install_NoMigration true
oracle_install_RACInstall false
oracle_install_WindowsSystemDirectory
oracle_install_client_OraMTSPortNumber 2030
oracle_install_db_ConfigurationType
oracle_install_db_InstallEdition EE
oracle_install_db_InstallType
INFO: Launching Oracle Client Installer
INFO: Started executing the flow in INTERACTIVE mode
INFO: Waiting for completion of background operations
INFO: Finishing all forked tasks at state init
INFO: Waiting for completion all forked tasks at state init
INFO: All forked task are completed at state init
INFO: Completed background operations
INFO: Executing action at state init
INFO: Completed executing action at state <init>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Moved to state <init>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Validating view at state <init>
INFO: Completed validating view at state <init>
INFO: Validating state <init>
WARNING: Validation disabled for the state init
INFO: Completed validating state <init>
INFO: Verifying route success
INFO: Get view named [InstallTypesUI]
INFO: size estimation for InstantClientinstall is 199.0705451965332
INFO: size estimation for Administratorinstall is 1068.0003070831299
INFO: size estimation for Runtimeinstall is 751.6538038253784
INFO: View for [InstallTypesUI] is oracle.install.ivw.client.view.InstallTypesGUI@94b318
INFO: Initializing view <InstallTypesUI> at state <clientInstallType>
INFO: InstallTypesPane installType is: InstantClient
INFO: Completed initializing view <InstallTypesUI> at state <clientInstallType>
INFO: Displaying view <InstallTypesUI> at state <clientInstallType>
INFO: Completed displaying view <InstallTypesUI> at state <clientInstallType>
INFO: Loading view <InstallTypesUI> at state <clientInstallType>
INFO: Completed loading view <InstallTypesUI> at state <clientInstallType>
INFO: Localizing view <InstallTypesUI> at state <clientInstallType>
INFO: size estimation for InstantClientinstall is 199.0705451965332
INFO: size estimation for Administratorinstall is 1068.0003070831299
INFO: size estimation for Runtimeinstall is 751.6538038253784
INFO: Completed localizing view <InstallTypesUI> at state <clientInstallType>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Executing action at state clientInstallType
INFO: Completed executing action at state <clientInstallType>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Moved to state <clientInstallType>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Client Install Type set in InstallTypeUI is : Administrator
INFO: Validating view at state <clientInstallType>
INFO: Completed validating view at state <clientInstallType>
INFO: Validating state <clientInstallType>
WARNING: Validation disabled for the state clientInstallType
INFO: Completed validating state <clientInstallType>
INFO: In Transition of InstallTypesAction:
INFO: Verifying route ic_no
INFO: Get view named [ProductLanguageUI]
INFO: View for [ProductLanguageUI] is oracle.install.ivw.common.view.ProductLanguageGUI@74d175ff
INFO: Initializing view <ProductLanguageUI> at state <productLanguage>
INFO: Completed initializing view <ProductLanguageUI> at state <productLanguage>
INFO: Displaying view <ProductLanguageUI> at state <productLanguage>
INFO: Fetching Available Languages...
INFO: Completed displaying view <ProductLanguageUI> at state <productLanguage>
INFO: Loading view <ProductLanguageUI> at state <productLanguage>
INFO: Completed loading view <ProductLanguageUI> at state <productLanguage>
INFO: Localizing view <ProductLanguageUI> at state <productLanguage>
INFO: Completed localizing view <ProductLanguageUI> at state <productLanguage>
INFO: Waiting for completion of background operations
INFO: Finishing all forked tasks at state productLanguage
INFO: Waiting for completion all forked tasks at state productLanguage
INFO: All forked task are completed at state productLanguage
INFO: Completed background operations
INFO: Executing action at state productLanguage
INFO: Completed executing action at state <productLanguage>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Moved to state <productLanguage>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: The languages in which the product will be installed are [en]
INFO: Validating view at state <productLanguage>
INFO: Completed validating view at state <productLanguage>
INFO: Validating state <productLanguage>
INFO: Using default Validator configured in the Action class oracle.install.ivw.common.action.ProductLanguageAction
INFO: Completed validating state <productLanguage>
INFO: Verifying route productlanguage_yes
INFO: Get view named [InstallLocationUI]
WARNING: Active Help Content for InstallLocationPane.cbxOracleBases do not exist. Error :Can't find resource for bundle oracle.install.ivw.client.resource.ContextualHelpResource, key InstallLocationPane.cbxOracleBases.conciseHelpText
WARNING: Active Help Content for InstallLocationPane.cbxSoftwareLoc do not exist. Error :Can't find resource for bundle oracle.install.ivw.client.resource.ContextualHelpResource, key InstallLocationPane.cbxSoftwareLoc.conciseHelpText
INFO: View for [InstallLocationUI] is oracle.install.ivw.client.view.InstallLocationGUI@3850620f
INFO: Initializing view <InstallLocationUI> at state <getOracleHome>
INFO: inventory location isC:\Program Files\Oracle\Inventory
INFO: Completed initializing view <InstallLocationUI> at state <getOracleHome>
INFO: Displaying view <InstallLocationUI> at state <getOracleHome>
INFO: Completed displaying view <InstallLocationUI> at state <getOracleHome>
INFO: Loading view <InstallLocationUI> at state <getOracleHome>
INFO: Completed loading view <InstallLocationUI> at state <getOracleHome>
INFO: Localizing view <InstallLocationUI> at state <getOracleHome>
INFO: Completed localizing view <InstallLocationUI> at state <getOracleHome>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Executing action at state getOracleHome
INFO: Completed executing action at state <getOracleHome>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Moved to state <getOracleHome>
INFO: inventory location isC:\Program Files\Oracle\Inventory
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Validating view at state <getOracleHome>
INFO: Completed validating view at state <getOracleHome>
INFO: Validating state <getOracleHome>
INFO: custom prereq file name: oracle.client_Administrator.xml
INFO: refDataFile: C:\temp\win64_11gR2_client\client\stage\cvu\oracle.client_Administrator.xml
INFO: isCustomRefDataFilePresent: false
INFO: InstallAreaControl exists: false
INFO: Checking:NEW_HOME
INFO: Checking:COMP
INFO: Checking:COMP
INFO: Checking:COMP
INFO: Checking:COMP
INFO: Checking:COMP
INFO: Checking:COMP
INFO: Checking:COMP
INFO: Checking:COMP
INFO: Checking:ORCA_HOME
INFO: Reading shiphome metadata from C:\temp\win64_11gR2_client\client\install\..\stage\shiphomeproperties.xml
INFO: Loading beanstore from file:/C:/temp/win64_11gR2_client/client/install/../stage/shiphomeproperties.xml
INFO: Translating external format into raw format
INFO: Restoring class oracle.install.driver.oui.ShiphomeMetadata from file:/C:/temp/win64_11gR2_client/client/install/../stage/shiphomeproperties.xml
INFO: inventory location isC:\Program Files\Oracle\Inventory
INFO: inventory location isC:\Program Files\Oracle\Inventory
INFO: size estimation for Administratorinstall is 1068.0003070831299
INFO: PATH has :==>C:\Users\xxxxxxxx\AppData\Local\Temp\OraInstall2012-04-17_11-11-24AM\jdk\jre\bin;.;C:\windows\system32;C:\windows;C:\app\xxxxxxxx\Oracle\product\11.2.0\client_win32\bin;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\Common Files\Roxio Shared\DLLShared\;C:\Program Files (x86)\Common Files\Roxio Shared\OEM\DLLShared\;C:\Program Files (x86)\Common Files\Roxio Shared\OEM\DLLShared\;C:\Program Files (x86)\Common Files\Roxio Shared\OEM\12.0\DLLShared\;C:\Program Files (x86)\Roxio\OEM\AudioCore\;C:\Program Files\TortoiseSVN\bin;C:\Program Files (x86)\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program Files (x86)\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\;c:\Program Files\Microsoft SQL Server\90\DTS\Binn\
INFO: Completed validating state <getOracleHome>
INFO: InstallLocationAction to INVENTORY_NO
INFO: Verifying route INVENTORY_NO
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Executing action at state prereqExecutionDecider
INFO: Completed executing action at state <prereqExecutionDecider>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Moved to state <prereqExecutionDecider>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Validating view at state <prereqExecutionDecider>
INFO: Completed validating view at state <prereqExecutionDecider>
INFO: Validating state <prereqExecutionDecider>
WARNING: Validation disabled for the state prereqExecutionDecider
INFO: Completed validating state <prereqExecutionDecider>
INFO: Verifying route executeprereqs
INFO: Get view named [PrereqUI]
INFO: View for [PrereqUI] is oracle.install.commons.base.interview.common.view.PrereqGUI@64d90254
INFO: Initializing view <PrereqUI> at state <checkPrereqs>
INFO: Completed initializing view <PrereqUI> at state <checkPrereqs>
INFO: Displaying view <PrereqUI> at state <checkPrereqs>
INFO: Completed displaying view <PrereqUI> at state <checkPrereqs>
INFO: Loading view <PrereqUI> at state <checkPrereqs>
INFO: Completed loading view <PrereqUI> at state <checkPrereqs>
INFO: Localizing view <PrereqUI> at state <checkPrereqs>
INFO: Completed localizing view <PrereqUI> at state <checkPrereqs>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Executing action at state checkPrereqs
INFO: custom prereq file name: oracle.client_Administrator.xml
INFO: refDataFile: C:\temp\win64_11gR2_client\client\stage\cvu\oracle.client_Administrator.xml
INFO: isCustomRefDataFilePresent: false
INFO: Completed executing action at state <checkPrereqs>
INFO: Waiting for completion of background operations
INFO: Finishing all forked tasks at state checkPrereqs
INFO: Waiting for completion all forked tasks at state checkPrereqs
INFO: Creating PrereqChecker Job for leaf task Physical Memory
INFO: Creating CompositePrereqChecker Job for container task Free Space
INFO: Creating PrereqChecker Job for leaf task Free Space: xxx-xxxxxxx-xxx:C:\Users\xxxxxxxx\AppData\Local\Temp
INFO: Creating PrereqChecker Job for leaf task Architecture
INFO: Creating PrereqChecker Job for leaf task Environment variable: "PATH"
INFO: CVU tracingEnabled = false
INFO: Preparation of nodes for running verifications failed. Reason:
- Cause Of Problem Not Available
INFO: *********************************************
INFO: Physical Memory: This is a prerequisite condition to test whether the system has at least 128MB (131072.0KB) of total physical memory.
INFO: Severity:IGNORABLE
INFO: OverallStatus:OPERATION_FAILED
INFO: -----------------------------------------------
INFO: Verification Result for Node:xxx-xxxxxxx-xxx
WARNING: Result values are not available for this verification task
INFO: *********************************************
INFO: Free Space: xxx-xxxxxxx-xxx:C:\Users\xxxxxxxx\AppData\Local\Temp: This is a prerequisite condition to test whether sufficient free space is available in the file system.
INFO: Severity:IGNORABLE
INFO: OverallStatus:OPERATION_FAILED
INFO: -----------------------------------------------
INFO: Verification Result for Node:xxx-xxxxxxx-xxx
WARNING: Result values are not available for this verification task
INFO: Error Message:PRVF-4001 : Check: Space available on "C:\Users\xxxxxxxx\AppData\Local\Temp"
INFO: Cause: Could not determine mount point for location specified.
INFO: Action: Ensure location specified is available.
INFO: *********************************************
INFO: Architecture: This is a prerequisite condition to test whether the system has a certified architecture.
INFO: Severity:CRITICAL
INFO: OverallStatus:OPERATION_FAILED
INFO: -----------------------------------------------
INFO: Verification Result for Node:xxx-xxxxxxx-xxx
WARNING: Result values are not available for this verification task
INFO: *********************************************
INFO: Environment variable: "PATH": This test checks whether the length of the environment variable "PATH" does not exceed the recommended length.
INFO: Severity:CRITICAL
INFO: OverallStatus:OPERATION_FAILED
INFO: -----------------------------------------------
INFO: Verification Result for Node:xxx-xxxxxxx-xxx
WARNING: Result values are not available for this verification task
INFO: Expected value not found.
INFO: Actual value not found.
INFO: Expected value not found.
INFO: Actual value not found.
INFO: Expected value not found.
INFO: Actual value not found.
INFO: Expected value not found.
INFO: Actual value not found.
INFO: Expected value not found.
INFO: Actual value not found.
INFO: Expected value not found.
INFO: Actual value not found.
INFO: Expected value not found.
INFO: Actual value not found.
INFO: Expected value not found.
INFO: Actual value not found.
INFO: Expected value not found.
INFO: Actual value not found.
INFO: Expected value not found.
INFO: Actual value not found.
INFO: Expected value not found.
INFO: Actual value not found.
INFO: Expected value not found.
INFO: Actual value not found.
INFO: All forked task are completed at state checkPrereqs
INFO: Completed background operations
INFO: Moved to state <checkPrereqs>
INFO: Expected value not found.
INFO: Actual value not found.
INFO: Expected value not found.
INFO: Actual value not found.
INFO: Expected value not found.
INFO: Actual value not found.
INFO: Expected value not found.
INFO: Actual value not found.
INFO: Expected value not found.
INFO: Actual value not found.
INFO: Expected value not found.
INFO: Actual value not found.
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Validating view at state <checkPrereqs>
INFO: Completed validating view at state <checkPrereqs>
INFO: Validating state <checkPrereqs>
INFO: Using default Validator configured in the Action class oracle.install.ivw.client.action.PrereqAction
INFO: Completed validating state <checkPrereqs>
INFO: Verifying route success
INFO: Get view named [SummaryUI]I disagree with your assessment, for two reasons.
One is the severity for RAM is listed as Severity:IGNORABLE.
Secondly I just saw this happen to myself just a moment ago (which is how I found this threat) as well using a silent install on a Windows 2008r2 server I can install to using the setup.exe manually. so disk and memory really isn't an issue.
I suspect something else is going on here. If you read those warnings the Critical they are just the last two about disk space and the PATH variable. Perhaps I am not running as elevated as I thought or the C$ share is not reach able. I am going to keep trying and will report back here when I get my silent install working.
INFO: Verification Result for Node:xxx-xxxxxxx-xxx
WARNING: Result values are not available for this verification task
INFO: Error Message:PRVF-4001 : Check: Space available on "C:\Users\xxxxxxxx\AppData\Local\Temp"
INFO: Cause: Could not determine mount point for location specified.
INFO: Action: Ensure location specified is available.
INFO: *********************************************
INFO: Architecture: This is a prerequisite condition to test whether the system has a certified architecture.
INFO: Severity:CRITICAL
INFO: OverallStatus:OPERATION_FAILED
INFO:
INFO: Verification Result for Node:xxx-xxxxxxx-xxx
WARNING: Result values are not available for this verification task
INFO: *********************************************
INFO: Environment variable: "PATH": This test checks whether the length of the environment variable "PATH" does not exceed the recommended length.
INFO: Severity:CRITICAL
INFO: OverallStatus:OPERATION_FAILED
INFO: -
SSIS Oracle 11g 64 bit client upgrade Issue
After the oracle client upgrade from 10g to 11g, the ssis jobs are getting failed for the BadImageFormatException. Attempt to load Oracle client libraries threw This problem will occur when running in 64 bit mode with the 32 bit Oracle client components installed.
But the same package with same system requirements and same sql agent configuration is wroking fine in DIT. Please find below the system configuration in both environment.
DIT
Oracle Client - Oracle 11g 64 bit , Microsoft SQL Server - 32 and 64bit, Windows machine - 64 bt SP4, In job there is no configuration in command line to run in 32 bit mode since we are using the are using the .Net Provider/OracleClient Data Provider connection manager to the database .
UAT :
Oracle Client - Oracle 11g 64 bit , Microsoft SQL Server - 32 and 64bit, Windows machine - 64 bt SP4, In job there is no configuration in command line to run in 32 bit mode
In UAT, Everything looks as DIT but the job is not working fine in DIT.
I have gone through all the thread related to 32 64 bit, .Net Oracle client provide but i haven't found any solution for this problem.
Can you please tell me the missed out configuration in DIT and UAT? the exact problem for this issue ? what is the oracle components required for this connection? Its urgent.
What is missing in the oracle end?
Thanks
Satheesh32 bit apps will need 32 bit Oracle client software installed.
Hope it helps,
Greg -
How to pass username/password through WebService proxy client to E-BS.
Hi
We are using ADF Webservice proxy client to integrate E-Business suite with ADF. It asks for username/password to access details from E-BS. In the generated webservice XSD file, a method is available with 2 parameters.
1) SOAP header( Contains Username, responsibility and 2 more fields)
2) Class object(Nested Object)
However i didn't find "*Password*" field anywhere in it. Then how can I pass "*Password*" along with username to invoke this method?
When i checked SOAP, the password is defined like this
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">XXXX</wsse:Password>a
Thanks
Rajahi Dario
Thank you for your post. It is really helpful. Now I got stuck with a doubt, in this piece of code
final Binding binding = ((BindingProvider) servicePort).getBinding();
List<Handler> handlerList = binding.getHandlerChain();
if (handlerList == null)
handlerList = new ArrayList<Handler>();
They didn't mention properly about "*servicePort*". What object is this?
I checked in Oracle document, even in that I was not clear with that piece of code.
public class HandlerWS{
@Resource WebServiceContext ctx;
@WebMethod()
public String getProperty(String propertyName) {
return (String) ctx.getMessageContext().get(propertyName);
public class Main {
public static void main(String[] args) {
HandlerWS test;
try {
test = new HandlerWS(new URL(args[0] + "?WSDL"), new
QName("http://example.org", "HandlerWS") );
} catch (MalformedURLException murl) { throw new RuntimeException(murl); }
HandlerWSPortType port = test.*getHandlerWSPortTypePort*();
What is this HandlerWSPortType object???. Can you give me little more explanation about it?
Thanks -
Hi
in the new jdev 11g r1 I get this exception
java.io.FileNotFoundException: \ade\aime_xdk_407339\oracle\xdk\lib\xmlparserv2.jar
in debugging a ws proxy client . when I run it normally it works perfectly .
the old 11g jdev does it also fine
thanks EdwinHi,
I have the exact same problem!!!
Kind regards
Tage -
3.1EA1: proxy client used allows only BASIC authentication
The proxy client used only use BASIC authentication. The problem the proxy we're using uses NTLM authentication, and the user/password are the domain user/password, thereby very dangerous to send using a non-secure authentication mode as BASIC (a simple base64 enconding of user and password...)
Edited by: user8381214 on Oct 21, 2011 3:52 AMHi user8381214 ,
Can you give me more details?
Note that there are two main types of proxy connection:
1/username1[username2]/password
and
2/username1/password with proxyClient username2/password
Which one is affected?
-Turloch
SQLDeveloper team
If you would prefer this to be off the forum my email address is:
turloch<dot>otierney<AT>oracle.com -
Subject: 11g asm cp command gives ASMCMD-08202: internal error: [asmcmdshare_error_m
I'm having problems using the 11g cp command to copy a remote asm file:
ASMCMD [+] > cp DBQNL8_G1_DATA_AREA/admt/parameterfile/spfile.325.678643027 [email protected]_dbd0121:+DBDNL2_G2_DATA_AREA/ditob/tmp/spfileADMT.ora
Enter password: ***********
ASMCMD-08202: internal error: [asmcmdshare_error_msg_05] [8201]
E: amscmd failed
The source and target asm are 11g, databases ditob en admt are 10.2.0.4.0.
Any help would be appreciated.
Regards,
TimYes:
target and source are RAC databases in asm.
sourcedb ORACLE_SID=ADMT1
sourceasm ORACLE_SID=+asm_dbq0125
targetdb ORACLE_SID=DITOB1
targetasm ORACLE_SID=+asm_dbd0121
target service_name = ito.b.de.grid
target ldap_name = ito-b-de-grid
ASMCMD [+] > cp DBQNL8_G1_DATA_AREA/admt/parameterfile/spfile.325.678643027 [email protected]:DBDNL2_G2_DATA_AREA/ditob/tmp/spfileADMT.ora
Enter password: ******
ASMCMD-08202: internal error: [asmcmdshare_error_msg_05] [8201]
E: amscmd failed
ASMCMD [+] > cp DBQNL8_G1_DATA_AREA/admt/parameterfile/spfile.325.678643027 [email protected]:DBDNL2_G2_DATA_AREA/ditob/tmp/spfileADMT.ora
Enter password: ******
ASMCMD-08202: internal error: [asmcmdshare_error_msg_05] [8201]
E: amscmd failed
ASMCMD [+] > cp DBQNL8_G1_DATA_AREA/admt/parameterfile/spfile.325.678643027 [email protected]:DBDNL2_G2_DATA_AREA/ditob/tmp/spfileADMT.ora
Enter password: ******
ASMCMD-08202: internal error: [asmcmdshare_error_msg_05] [8201]
E: amscmd failed
regards,
Tim
Maybe you are looking for
-
Hi! I tried to install SAP NetWeaver 7.1 with Oracle 10 under Windows Server 2003 64bit in english fully updated. But I ran into two problems which prevented the SAP installation to finish : first once all the oracles updates were installed, the orac
-
Can Mac OS be infected with the USPS email scam?
-
Size limitation for system-jazn.xml
Hi helping hands, In sytem-jazn-data.xml and users-properties.xml , I want to include 1 lakh users. When I tried 1 lakh users,the bpel engine is not getting restarted. However I tried with 50k list of users, it works very fine. Is there any file size
-
Firewall keeps prompting to allow incoming connections
Hi, This is, by far, Lion's most annoying new feature. Every time I open iTunes after startup, I get asked to allow incoming connections through the firewall. This behavior started happening after I made the mistake of upgrading to Lion. Removing itu
-
About JSP's application variables
Hi, I want to use some XML files in my project for which i have got some URLs. Now there are two ways to use the files. The first is that i get these XML files from their particular URLs and store them into application variable, while the second way