Hi,
We have installed Glassfishesb2.1 (linux)version .
We have created a bpel project and the corresponding composite
application for the same. We have security enabled on it using metro.
This works fine when we have the default domain but in cluster domain it
is not working.
The logs shows error about the keystore and Trustore.
We have added the new keystore and trustore in the config files of
cluster domain and also in the instances .
Following is the log file.
[#|2009-06-30T13:41:33.205-0400|FINEST|sun-appserver2.1|javax.enterprise
.system.container.web|_ThreadID=37;_ThreadName=httpWorkerThread-39080-3;
ClassName=com.sun.enterprise.web.connector.grizzly.AsyncReadTask;MethodN
ame=executeProcessorTask;_RequestID=d808347f-7e89-4a10-ad2e-e5bac0bbf76c
;|executeProcessorTask|#]
[#|2009-06-30T13:41:33.208-0400|FINE|sun-appserver2.1|org.apache.coyote.
tomcat5.InputBuffer|_ThreadID=38;_ThreadName=httpWorkerThread-39080-2;Cl
assName=org.apache.coyote.tomcat5.InputBuffer;MethodName=realReadBytes;_
RequestID=2725425b-4473-40fe-b2b5-c7c014f5a76a;|realRead() R(
/BlueGateway)|#]
[#|2009-06-30T13:41:33.210-0400|FINE|sun-appserver2.1|org.apache.coyote.
tomcat5.InputBuffer|_ThreadID=61;_ThreadName=HTTPBC-JAXWS-Engine-3;Class
Name=org.apache.coyote.tomcat5.InputBuffer;MethodName=realReadBytes;_Req
uestID=c4e28a57-51ad-4f9d-ac2e-0e69ca3138db;|realRead() R(
/BlueGateway)|#]
[#|2009-06-30T13:41:33.211-0400|FINE|sun-appserver2.1|org.apache.coyote.
tomcat5.InputBuffer|_ThreadID=61;_ThreadName=HTTPBC-JAXWS-Engine-3;Class
Name=org.apache.coyote.tomcat5.InputBuffer;MethodName=realReadBytes;_Req
uestID=c4e28a57-51ad-4f9d-ac2e-0e69ca3138db;|realRead() R(
/BlueGateway)|#]
[#|2009-06-30T13:41:33.223-0400|FINEST|sun-appserver2.1|javax.enterprise
.system.container.web|_ThreadID=39;_ThreadName=httpWorkerThread-39080-1;
ClassName=com.sun.enterprise.web.connector.grizzly.AsyncReadTask;MethodN
ame=executeProcessorTask;_RequestID=091abcae-2524-4456-898f-aad8df96d1d5
;|executeProcessorTask|#]
[#|2009-06-30T13:41:33.224-0400|FINE|sun-appserver2.1|org.apache.coyote.
tomcat5.InputBuffer|_ThreadID=40;_ThreadName=httpWorkerThread-39080-0;Cl
assName=org.apache.coyote.tomcat5.InputBuffer;MethodName=realReadBytes;_
RequestID=ef03ffef-7881-4493-9f79-b75793d2bf2c;|realRead() R(
/service/ReqLog_iep)|#]
[#|2009-06-30T13:41:33.226-0400|FINE|sun-appserver2.1|org.apache.coyote.
tomcat5.InputBuffer|_ThreadID=55;_ThreadName=HTTPBC-JAXWS-Engine-4;Class
Name=org.apache.coyote.tomcat5.InputBuffer;MethodName=realReadBytes;_Req
uestID=e0fb2f59-0d44-4a5d-afce-d436ace42fe0;|realRead() R(
/service/ReqLog_iep)|#]
[#|2009-06-30T13:41:33.234-0400|FINEST|sun-appserver2.1|javax.enterprise
.system.container.web|_ThreadID=36;_ThreadName=httpWorkerThread-39080-4;
ClassName=com.sun.enterprise.web.connector.grizzly.DefaultReadTask;Metho
dName=registerKey;_RequestID=6b0e4983-8560-4d2b-83de-8b652eb65cd6;|regis
terKey|#]
[#|2009-06-30T13:41:33.240-0400|SEVERE|sun-appserver2.1|javax.enterprise
.resource.xml.webservices.security|_ThreadID=64;_ThreadName=HTTPBC-Outbo
undReceiver-3;_RequestID=f77743e9-af45-46b9-93a1-2d3332d450c9;|WSS0218:
Unable to locate a default certificate using Callback Handler. If you
are using WSIT, make sure appropriate Keystore/Truststore assertions are
present in wsit-client.xml/wsit-*.xml.|#]
[#|2009-06-30T13:41:33.242-0400|WARNING|sun-appserver2.1|com.sun.jbi.htt
psoapbc.OutboundMessageProcessor|_ThreadID=64;_ThreadName=HTTPBC-Outboun
dReceiver-3;_RequestID=f77743e9-af45-46b9-93a1-2d3332d450c9;|HTTPBC-E007
59: An exception occured while processing a reply message. Unable to
locate a default certificate
javax.xml.ws.soap.SOAPFaultException: Unable to locate a default
certificate
at
com.sun.xml.wss.jaxws.impl.SecurityPipeBase.getSOAPFaultException(Securi
tyPipeBase.java:640)
at
com.sun.xml.wss.jaxws.impl.SecurityPipeBase.secureOutboundMessage(Securi
tyPipeBase.java:401)
at
com.sun.xml.wss.jaxws.impl.SecurityClientPipe.process(SecurityClientPipe
.java:196)
at
com.sun.xml.ws.api.pipe.helper.PipeAdapter.processRequest(PipeAdapter.ja
va:115)
at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:595)
at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:554)
at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:539)
at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:436)
at com.sun.xml.ws.client.Stub.process(Stub.java:248)
at
com.sun.xml.ws.client.dispatch.DispatchImpl.doInvoke(DispatchImpl.java:1
80)
at
com.sun.xml.ws.client.dispatch.DispatchImpl.invoke(DispatchImpl.java:206
)
at
com.sun.jbi.httpsoapbc.OutboundMessageProcessor.outboundCall(OutboundMes
sageProcessor.java:1108)
at
com.sun.jbi.httpsoapbc.OutboundMessageProcessor.dispatch(OutboundMessage
Processor.java:1139)
at
com.sun.jbi.httpsoapbc.OutboundMessageProcessor.processRequestReplyOutbo
und(OutboundMessageProcessor.java:667)
at
com.sun.jbi.httpsoapbc.OutboundMessageProcessor.processMessage(OutboundM
essageProcessor.java:249)
at
com.sun.jbi.httpsoapbc.OutboundAction.run(OutboundAction.java:63)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecuto
r.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.ja
va:908)
at java.lang.Thread.run(Thread.java:619)
|#]
[#|2009-06-30T13:41:33.258-0400|FINEST|sun-appserver2.1|javax.enterprise
.system.container.web|_ThreadID=37;_ThreadName=httpWorkerThread-39080-3;
ClassName=com.sun.enterprise.web.connector.grizzly.AsyncReadTask;MethodN
ame=executeProcessorTask;_RequestID=d808347f-7e89-4a10-ad2e-e5bac0bbf76c
;|executeProcessorTask|#]
[#|2009-06-30T13:41:33.259-0400|FINE|sun-appserver2.1|org.apache.coyote.
tomcat5.InputBuffer|_ThreadID=38;_ThreadName=httpWorkerThread-39080-2;Cl
assName=org.apache.coyote.tomcat5.InputBuffer;MethodName=realReadBytes;_
RequestID=2725425b-4473-40fe-b2b5-c7c014f5a76a;|realRead() R(
/service/ResLog_iep)|#]
[#|2009-06-30T13:41:33.261-0400|FINE|sun-appserver2.1|org.apache.coyote.
tomcat5.InputBuffer|_ThreadID=52;_ThreadName=HTTPBC-JAXWS-Engine-1;Class
Name=org.apache.coyote.tomcat5.InputBuffer;MethodName=realReadBytes;_Req
uestID=537f5e70-a8ea-4a94-a33f-6f129f710cba;|realRead() R(
/service/ResLog_iep)|#]
[#|2009-06-30T13:41:33.261-0400|FINE|sun-appserver2.1|org.apache.coyote.
tomcat5.InputBuffer|_ThreadID=52;_ThreadName=HTTPBC-JAXWS-Engine-1;Class
Name=org.apache.coyote.tomcat5.InputBuffer;MethodName=realReadBytes;_Req
uestID=537f5e70-a8ea-4a94-a33f-6f129f710cba;|realRead() R(
/service/ResLog_iep)|#]
[#|2009-06-30T13:41:33.268-0400|FINEST|sun-appserver2.1|javax.enterprise
.system.container.web|_ThreadID=39;_ThreadName=httpWorkerThread-39080-1;
ClassName=com.sun.enterprise.web.connector.grizzly.DefaultReadTask;Metho
dName=registerKey;_RequestID=091abcae-2524-4456-898f-aad8df96d1d5;|regis
terKey|#]
[#|2009-06-30T13:41:33.279-0400|FINE|sun-appserver2.1|org.apache.coyote.
tomcat5.OutputBuffer|_ThreadID=61;_ThreadName=HTTPBC-JAXWS-Engine-3;Clas
sName=org.apache.coyote.tomcat5.OutputBuffer;MethodName=realWriteBytes;_
RequestID=c4e28a57-51ad-4f9d-ac2e-0e69ca3138db;|realWrite(b, 0, 677)
org.apache.coyote.Response_at_107e4df|#]
[#|2009-06-30T13:41:33.279-0400|FINEST|sun-appserver2.1|javax.enterprise
.system.container.web|_ThreadID=40;_ThreadName=httpWorkerThread-39080-0;
ClassName=com.sun.enterprise.web.connector.grizzly.DefaultReadTask;Metho
dName=finishConnection;_RequestID=ef03ffef-7881-4493-9f79-b75793d2bf2c;|
finishConnection|#]
Thanks & Regards
Balbir Singh Bhogal