You are viewing a plain text version of this content. The canonical link for it is here.
Posted to stonehenge-dev@incubator.apache.org by Nick Hauenstein <ni...@quicklearn.com> on 2009/09/29 16:56:43 UTC
Metro CBS exception in trader_client application
Hello,
I went ahead and re-ran through the entire setup of the metro implementation with the CBS patch (starting with the STS Setup Manual document). Everything went smoothly (with a single exception which I will mention later), and I did not run into any errors until trying to access the trader_client application at the end of setup. I received an error message related to the agent [1] every time I tried to access the client.
I'm using the promoted July 13th build of Metro, the version of OpenSSO mentioned in the doc, and the August 1st nightly build of appserver_v9_agent_3.zip. I have three domains setup with applications as follows:
domain1 (www.sp.com)
- opensso
domain2 (www.stonehenge.com)
- business_service
- order_processor
- trader_client
- active_sts
- conifig_service
domain3 (www.idp.com)
- opensso
The one exception to everything running smoothly, was one of the steps mentioned a CONFIGSERVICE table in the database. I used the database setup scripts included in the dotnet implementation, and as such do not have this table. I did set the proper config service url in the resources\conf\TradeServiceConfig.properties however, and configured all the correct service endpoints in the database.
Any thoughts/suggestions at this point to get everything up and running?
- Nick Hauenstein
[1]
Timestamp Sep 29, 2009 09:41:05.709
Log Level SEVERE
Logger javax.enterprise.system.container.web
Name-Value Pairs _ThreadID=18;_ThreadName=httpSSLWorkerThread-60394-1;_RequestID=8453406e-de43-4536-8346-2e64736332d1;
Record Number 132
Message ID StandardWrapperValve[Faces Servlet]
Complete Message PWC1406: Servlet.service() for servlet Faces Servlet threw exception java.lang.NoClassDefFoundError: Could not initialize class com.sun.identity.agents.filter.AmFilterManager at com.sun.identity.agents.filter.AmAgentBaseFilter.initializeFilter(AmAgentBaseFilter.java:267) at com.sun.identity.agents.filter.AmAgentBaseFilter.getAmFilterInstance(AmAgentBaseFilter.java:357) at com.sun.identity.agents.filter.AmAgentBaseFilter.doFilter(AmAgentBaseFilter.java:69) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:313) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593) at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94) at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:288) at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:647) at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:579) at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:831) at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341) at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263) at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214) at com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:380) at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265) at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
RE: Metro CBS exception in trader_client application
Posted by Kent Brown <Ke...@microsoft.com>.
Hi Jiandong,
I saw you joined the Stonehenge list. Thanks much. We need your help! :-) Right before you joined Nick sent this exception he is still getting after setting things up by the document. Can you think of anything else he should try?
Kent
-----Original Message-----
From: Nick Hauenstein [mailto:nickh@quicklearn.com]
Sent: Tuesday, September 29, 2009 9:57 AM
To: stonehenge-dev@incubator.apache.org
Subject: Metro CBS exception in trader_client application
Hello,
I went ahead and re-ran through the entire setup of the metro implementation with the CBS patch (starting with the STS Setup Manual document). Everything went smoothly (with a single exception which I will mention later), and I did not run into any errors until trying to access the trader_client application at the end of setup. I received an error message related to the agent [1] every time I tried to access the client.
I'm using the promoted July 13th build of Metro, the version of OpenSSO mentioned in the doc, and the August 1st nightly build of appserver_v9_agent_3.zip. I have three domains setup with applications as follows:
domain1 (www.sp.com)
- opensso
domain2 (www.stonehenge.com)
- business_service
- order_processor
- trader_client
- active_sts
- conifig_service
domain3 (www.idp.com)
- opensso
The one exception to everything running smoothly, was one of the steps mentioned a CONFIGSERVICE table in the database. I used the database setup scripts included in the dotnet implementation, and as such do not have this table. I did set the proper config service url in the resources\conf\TradeServiceConfig.properties however, and configured all the correct service endpoints in the database.
Any thoughts/suggestions at this point to get everything up and running?
- Nick Hauenstein
[1]
Timestamp Sep 29, 2009 09:41:05.709
Log Level SEVERE
Logger javax.enterprise.system.container.web
Name-Value Pairs _ThreadID=18;_ThreadName=httpSSLWorkerThread-60394-1;_RequestID=8453406e-de43-4536-8346-2e64736332d1;
Record Number 132
Message ID StandardWrapperValve[Faces Servlet]
Complete Message PWC1406: Servlet.service() for servlet Faces Servlet threw exception java.lang.NoClassDefFoundError: Could not initialize class com.sun.identity.agents.filter.AmFilterManager at com.sun.identity.agents.filter.AmAgentBaseFilter.initializeFilter(AmAgentBaseFilter.java:267) at com.sun.identity.agents.filter.AmAgentBaseFilter.getAmFilterInstance(AmAgentBaseFilter.java:357) at com.sun.identity.agents.filter.AmAgentBaseFilter.doFilter(AmAgentBaseFilter.java:69) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:313) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593) at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94) at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:288) at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:647) at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:579) at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:831) at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341) at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263) at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214) at com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:380) at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265) at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)