Hi,
after installing D2 4.2 trying to import sample configuration raise this errors:
In D2-Config:
A popup saying "A cryptography error has occured, please consult the documentation.{0}"
In JMS log:
2014-04-08 15:18:28,857 INFO [STDOUT] (http-0.0.0.0-9080-1) 15:18:28,857 ERROR [http-0.0.0.0-9080-1] com.documentum.mthdservlet.DoMethod - Exception invoking com.emc.d2.api.methods.D2Method.
java.lang.IllegalArgumentException: -scope : [DFC_CORE_CRYPTO_ERROR] A cryptography error has occurred, please consult the documentation. {0}
at com.emc.common.dctm.methods.C6MethodReturn.getParameterValue(C6MethodReturn.java:198)
at com.emc.common.dctm.methods.C6MethodReturn___PROXY.getParameterValue(C6MethodReturn___PROXY.java)
at com.emc.common.java.utils.ArgumentParser.getStringArgument(ArgumentParser.java:142)
at com.emc.common.java.utils.ArgumentParser.getStringArgument(ArgumentParser.java:187)
at com.emc.d2.api.methods.D2GetAdminTicketMethod.execute(D2GetAdminTicketMethod.java:69)
at com.emc.d2.api.methods.D2Method.main(D2Method.java:893)
at com.emc.d2.api.methods.D2Method.execute(D2Method.java:952)
at com.documentum.mthdservlet.DfMethodRunner.runIt(Unknown Source)
at com.documentum.mthdservlet.AMethodRunner.runAndReturnStatus(Unknown Source)
at com.documentum.mthdservlet.DoMethod.invokeMethod(Unknown Source)
at com.documentum.mthdservlet.DoMethod.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:736)
2014-04-08 15:18:28,858 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/DmMethods].[DoMethod]] (http-0.0.0.0-9080-1) Servlet.service() for servlet DoMethod threw exception
javax.servlet.ServletException: java.lang.IllegalArgumentException: -scope : [DFC_CORE_CRYPTO_ERROR] A cryptography error has occurred, please consult the documentation. {0}
at com.documentum.mthdservlet.DoMethod.invokeMethod(Unknown Source)
at com.documentum.mthdservlet.DoMethod.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:736)
In D2-Config.log:
2014-04-08 15:18:28 [INFO ] - c.e.d.w.s.D2HttpServlet[ ] : DestroyObjectByName - Plugins (0.002s)
2014-04-08 15:18:28 [INFO ] - c.e.d.w.s.D2HttpServlet[ ] : DestroyObjectByName - Standard Servlet :
2014-04-08 15:18:29 [ERROR] - c.e.d.w.s.D2HttpServlet[ ] : DestroyObjectByName - DfException:: THREAD: WebContainer : 1; MSG: -scope : [DFC_CORE_CRYPTO_ERROR] A cryptography error has occurred, please consult the documentation. {0}; ERRORCODE: ff; NEXT: null
2014-04-08 15:18:29 [ERROR] - c.e.d.w.s.D2HttpServlet[ ] : {}
com.documentum.fc.common.DfException: -scope : [DFC_CORE_CRYPTO_ERROR] A cryptography error has occurred, please consult the documentation. {0}
at com.emc.d2.api.methods.D2Method.start(D2Method.java:431) [D2-API-4.2.0.jar:na]
at com.emc.d2.api.methods.D2Method.start(D2Method.java:239) [D2-API-4.2.0.jar:na]
at com.emc.d2.api.methods.D2Method.start(D2Method.java:219) [D2-API-4.2.0.jar:na]
at com.emc.d2.api.D2Session.getAdminTicket(D2Session.java:529) [D2-API-4.2.0.jar:na]
at com.emc.d2.web.servlets.D2Context.getAdminSession(D2Context.java:949) [D2-Web-4.2.0.jar:na]
at com.emc.d2.web.servlets.destroy.DestroyObjectByName.processRequest(DestroyObjectByName.java:72) [classes/:na]
at com.emc.d2.web.servlets.D2HttpServlet.execute(D2HttpServlet.java:233) [D2-Web-4.2.0.jar:na]
at com.emc.d2.web.servlets.D2HttpServlet.doGetAndPost(D2HttpServlet.java:421) [D2-Web-4.2.0.jar:na]
at com.emc.d2.web.servlets.D2HttpServlet.doPost(D2HttpServlet.java:127) [D2-Web-4.2.0.jar:na]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:595) [javax.j2ee.servlet.jar:na]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:668) [javax.j2ee.servlet.jar:na]
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1224) [com.ibm.ws.webcontainer.jar:na]
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:774) [com.ibm.ws.webcontainer.jar:na]
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:456) [com.ibm.ws.webcontainer.jar:na]
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178) [com.ibm.ws.webcontainer.jar:na]
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1032) [com.ibm.ws.webcontainer.jar:na]
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:87) [com.ibm.ws.webcontainer.jar:na]
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:895) [com.ibm.ws.webcontainer.jar:na]
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662) [com.ibm.ws.webcontainer.jar:na]
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:195) [com.ibm.ws.webcontainer.jar:na]
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:452) [com.ibm.ws.runtime.jar:na]
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:511) [com.ibm.ws.runtime.jar:na]
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:305) [com.ibm.ws.runtime.jar:na]
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83) [com.ibm.ws.runtime.jar:na]
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165) [com.ibm.ws.runtime.jar:na]
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217) [com.ibm.ws.runtime.jar:na]
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161) [com.ibm.ws.runtime.jar:na]
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138) [com.ibm.ws.runtime.jar:na]
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204) [com.ibm.ws.runtime.jar:na]
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775) [com.ibm.ws.runtime.jar:na]
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905) [com.ibm.ws.runtime.jar:na]
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1690) [com.ibm.ws.runtime.jar:na]
2014-04-08 15:18:29 [INFO ] - c.e.d.w.s.D2HttpServlet[ ] : DestroyObjectByName - Response encoding : utf-8
2014-04-08 15:18:29 [INFO ] - c.e.d.w.s.D2HttpServlet[ ] : DestroyObjectByName - Free memory=695 MB. Total memory=1 GB.
2014-04-08 15:18:29 [INFO ] - c.e.d.w.s.D2HttpServlet[ ] : DestroyObjectByName - END (1.459s)
I think there is something regarding lockbox configuration, but i didn't find the solution and not everything is clear.
I also checked thsi post https://community.emc.com/people/aldago-zF7Lc/blog/2014/03/06/unofficial-d2-42-developer-edition
but i didn't follow some steps, expecially this:
- Create the following path:
[dmadmin@vm-dctm71 D2]$ mkdir -p /opt/documentum/jboss7.1.1/modules/emc/d2/lockbox/main
beacuse in my environment (6.7 SP2 on AIX) there is jboss 5.1.0
On CS D2.lockbox file was successfully generated and now it is on this paths:
/opt/documentum/d2/D2.lockbox -- it was where i creted the file
/opt/documentum/dfc/jboss5.1.0/server/DctmServer_MethodServer/deploy/ServerApps.ear/APP-INF/classes/D2.lockbox -- it was where i copied the file
Envoronment variables was set with the correct path, so i'm searching for suggestion.
The deploy of D2 and D2-Config was on another host running websphere 8.0.5, it is not clear to me if i need to create a new D2.lockbox file on websphere and ventually in witch position must be placed. Dose anyone can clarify me this ?
On page 41 of documentation there is written
12. Set up lockbox:
a. Copy LB.jar and LBJNI.jar to the <install path to
Websphere>\AppServer\lib\ folder.
b. In the WebSphere Administration console, navigate to Applications > Application Types and
click WebSphere enterprise applications.
c. For LB.jar and LBJNI.jar, select Manage modules and select Classes loaded with
local class loader first (parent last).
13. Return to the instructions: Instructions for Installing D2, page 11.
I copied LB.jar and LBJNI.jar in my
/apps/WebSphere/AppServer8/lib/
but after restarting websphere I didn't see nothing new in
"Applications > Application Types and click WebSphere enterprise applications."
Any suggestion ?
Thanks
Bye