You can subscribe to this list here.
| 2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
(3) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2002 |
Jan
(3) |
Feb
(2) |
Mar
(8) |
Apr
(3) |
May
(6) |
Jun
(1) |
Jul
(15) |
Aug
(6) |
Sep
|
Oct
(10) |
Nov
(2) |
Dec
(4) |
| 2003 |
Jan
(1) |
Feb
(7) |
Mar
(3) |
Apr
(6) |
May
(7) |
Jun
(5) |
Jul
(5) |
Aug
(25) |
Sep
(14) |
Oct
(2) |
Nov
|
Dec
(2) |
| 2004 |
Jan
(7) |
Feb
(4) |
Mar
(12) |
Apr
(16) |
May
(43) |
Jun
(56) |
Jul
(43) |
Aug
(40) |
Sep
(66) |
Oct
(12) |
Nov
(26) |
Dec
(10) |
| 2005 |
Jan
(13) |
Feb
(33) |
Mar
(16) |
Apr
(7) |
May
(10) |
Jun
(34) |
Jul
(41) |
Aug
(8) |
Sep
(4) |
Oct
(32) |
Nov
(20) |
Dec
(25) |
| 2006 |
Jan
(30) |
Feb
(101) |
Mar
(5) |
Apr
(75) |
May
(74) |
Jun
(22) |
Jul
(6) |
Aug
(70) |
Sep
(19) |
Oct
(21) |
Nov
(31) |
Dec
(50) |
| 2007 |
Jan
(15) |
Feb
(20) |
Mar
(24) |
Apr
(33) |
May
(13) |
Jun
(18) |
Jul
(13) |
Aug
(7) |
Sep
(63) |
Oct
(68) |
Nov
(29) |
Dec
(68) |
| 2008 |
Jan
(30) |
Feb
(33) |
Mar
(30) |
Apr
(103) |
May
(78) |
Jun
(48) |
Jul
(72) |
Aug
(24) |
Sep
(62) |
Oct
(63) |
Nov
(70) |
Dec
(37) |
| 2009 |
Jan
(34) |
Feb
(35) |
Mar
(64) |
Apr
(34) |
May
(34) |
Jun
(58) |
Jul
(30) |
Aug
(30) |
Sep
(46) |
Oct
(52) |
Nov
(12) |
Dec
(23) |
| 2010 |
Jan
(121) |
Feb
(18) |
Mar
(53) |
Apr
(62) |
May
(62) |
Jun
(20) |
Jul
(33) |
Aug
(20) |
Sep
(36) |
Oct
(35) |
Nov
(44) |
Dec
(63) |
| 2011 |
Jan
(19) |
Feb
(32) |
Mar
(94) |
Apr
(41) |
May
(47) |
Jun
(25) |
Jul
(34) |
Aug
(20) |
Sep
(9) |
Oct
(41) |
Nov
(33) |
Dec
(24) |
| 2012 |
Jan
(12) |
Feb
(36) |
Mar
(48) |
Apr
(32) |
May
(20) |
Jun
(15) |
Jul
(32) |
Aug
(13) |
Sep
(33) |
Oct
(54) |
Nov
(25) |
Dec
(16) |
| 2013 |
Jan
(45) |
Feb
(39) |
Mar
(38) |
Apr
(50) |
May
(29) |
Jun
(30) |
Jul
(33) |
Aug
(12) |
Sep
(9) |
Oct
(25) |
Nov
(29) |
Dec
(20) |
| 2014 |
Jan
(25) |
Feb
(19) |
Mar
(16) |
Apr
(33) |
May
(27) |
Jun
(37) |
Jul
(29) |
Aug
(27) |
Sep
(37) |
Oct
(58) |
Nov
(109) |
Dec
(26) |
| 2015 |
Jan
(4) |
Feb
(35) |
Mar
(22) |
Apr
(35) |
May
(28) |
Jun
(20) |
Jul
(4) |
Aug
(16) |
Sep
(37) |
Oct
(13) |
Nov
(13) |
Dec
(14) |
| 2016 |
Jan
(22) |
Feb
(7) |
Mar
(23) |
Apr
(30) |
May
(10) |
Jun
(10) |
Jul
(15) |
Aug
(12) |
Sep
(22) |
Oct
(31) |
Nov
(5) |
Dec
(5) |
| 2017 |
Jan
(30) |
Feb
(25) |
Mar
(28) |
Apr
(4) |
May
(19) |
Jun
(13) |
Jul
(7) |
Aug
(1) |
Sep
(2) |
Oct
(5) |
Nov
(12) |
Dec
(2) |
| 2018 |
Jan
(7) |
Feb
|
Mar
(7) |
Apr
(2) |
May
(8) |
Jun
(18) |
Jul
(6) |
Aug
(3) |
Sep
(15) |
Oct
(33) |
Nov
(13) |
Dec
(7) |
| 2019 |
Jan
(5) |
Feb
(7) |
Mar
(30) |
Apr
(5) |
May
(4) |
Jun
(69) |
Jul
(86) |
Aug
(22) |
Sep
(6) |
Oct
(7) |
Nov
(5) |
Dec
(3) |
| 2020 |
Jan
(10) |
Feb
(12) |
Mar
(22) |
Apr
(5) |
May
(1) |
Jun
(4) |
Jul
(6) |
Aug
|
Sep
(9) |
Oct
|
Nov
|
Dec
(1) |
| 2021 |
Jan
(4) |
Feb
(11) |
Mar
(7) |
Apr
(7) |
May
|
Jun
(3) |
Jul
(10) |
Aug
(6) |
Sep
|
Oct
|
Nov
(18) |
Dec
(2) |
| 2022 |
Jan
(1) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
(4) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2023 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
(1) |
Jun
|
Jul
|
Aug
(5) |
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Duarte S. <dua...@se...> - 2013-04-15 12:19:43
|
Hi all, I have been using EJBCA since 2008, it is a old version (3.8.0) and at the time the way the installation was done, wasn't the smartest. Now I'm trying to migrate the old system to the new version of EJBCA. I have installed the new version in a proper manner (with an actual database and so on) in a different machine and I'm now trying to migrate the CA's and Entities to the newly created system. Whats the best approach to do this migration? Thanks in advance, Duarte Silva |
|
From: Hans W. <hw...@a-...> - 2013-04-10 10:14:51
|
-----Original Message----- From: Amir Masoud mojallal <dar...@gm...> Reply-to: ejb...@li... To: ejbca-develop <ejb...@li...> Subject: [Ejbca-develop] how to change ip address Date: Wed, 10 Apr 2013 11:38:12 +0430 hi we have a IP address change plan in our office and I wanna know how can I introduce database new ip address to ejbca? I add the new ip address of database in database.properties file and do a "ant deploy" but this error comes : [echo] No custom changes to merge. [echo] appserver.home: /opt/Archive/jboss-5.1.0.GA [echo] appserver.type: jboss BUILD FAILED .../build.xml:27: The following error occurred while executing this line: .../docs.xmli:1: The processing instruction target matching "[xX][mM][lL]" is not allowed. any solutions? Regards Amir masoud Mojallal -----Original Message----- It is not only changing the address in ejbca of the new mysql-server, you also have to take care of permissions/rights (on db-server), firewall-rules (on both sides) hw |
|
From: Amir M. m. <dar...@gm...> - 2013-04-10 07:13:46
|
hi we have a IP address change plan in our office and I wanna know how can I introduce database new ip address to ejbca? I add the new ip address of database in database.properties file and do a "ant deploy" but this error comes : [echo] No custom changes to merge. [echo] appserver.home: /opt/Archive/jboss-5.1.0.GA [echo] appserver.type: jboss BUILD FAILED .../build.xml:27: The following error occurred while executing this line: .../docs.xmli:1: The processing instruction target matching "[xX][mM][lL]" is not allowed. any solutions? Regards Amir masoud Mojallal |
|
From: Tomas G. <to...@pr...> - 2013-04-08 23:35:18
|
There is a responseType parameter to the certificateRequest call that you have not provided. Cheers, Tomas On 04/07/2013 05:50 PM, Christian Felsing wrote: > Hello, > > I would like to create an entity with following webservice request: > > <soapenv:Envelope > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" > xmlns:ws="http://ws.protocol.core.ejbca.org/"> > <soapenv:Header/> > <soapenv:Body> > <ws:certificateRequest> > <arg0> > <caName>ip6li user ca</caName> > <certificateProfileName>ip6.li user ca certificate > profile</certificateProfileName> > <certificateSerialNumber>4711</certificateSerialNumber> > <clearPwd>false</clearPwd> > <email>te...@ip...</email> > <endEntityProfileName>ip6.li user ca entity > profile</endEntityProfileName> > <endTime>7350:00:00</endTime> > <extendedInformation> > <name>customdata_ENDTIME</name> > <value>7350:00:00</value> > </extendedInformation> > <extendedInformation> > <name>customdata_STARTTIME</name> > <value>00:00:00</value> > </extendedInformation> > <extendedInformation> > <name>subjectdirattributes</name> > <value/> > </extendedInformation> > <!-- <hardTokenIssuerName>false</hardTokenIssuerName> --> > <keyRecoverable>false</keyRecoverable> > <password>Geheim1234</password> > <sendNotification>false</sendNotification> > <startTime>00:00:00</startTime> > <status>1</status> > <subjectAltName>rfc...@ip...</subjectAltName> > <subjectDN>CN=Test User 2,Ema...@ip...,OU=ip6.li > Certificates,O=ip6.li,C=DE</subjectDN> > <tokenType>P12</tokenType> > <username>Test User 2</username> > </arg0> > <arg2>0</arg2> > </ws:certificateRequest> > </soapenv:Body> > </soapenv:Envelope> > > This XML was created by SoapUI after reading WSDL file from ejbca > 4.0.14, most webservice requests were successful, so I consider a > problem with my parameters. > > result is > > <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"> > <env:Header/> > <env:Body> > <env:Fault> > <faultcode>env:Server</faultcode> > <faultstring>org.ejbca.core.EjbcaException</faultstring> > <detail> > <ns2:EjbcaException > xmlns:ns2="http://ws.protocol.core.ejbca.org/"> > <errorCode> > <internalErrorCode>INTERNAL_ERROR</internalErrorCode> > </errorCode> > </ns2:EjbcaException> > </detail> > </env:Fault> > </env:Body> > </env:Envelope> > > with following jboss log: > > 2013-04-07 11:48:03,697 WARN > [org.jboss.ejb3.stateless.StatelessBeanContext] (ajp-0.0.0.0-8009-1) > EJBTHREE-1337: do not get WebServiceContext property from stateless bean > context, it should already have been injected > 2013-04-07 11:48:03,738 ERROR [org.ejbca.core.protocol.ws.EjbcaWSHelper] > (ajp-0.0.0.0-8009-1) EJBCA WebService error > java.lang.NullPointerException > at org.ejbca.core.protocol.ws.EjbcaWS.certificateRequest(EjbcaWS.java:2428) > at sun.reflect.GeneratedMethodAccessor613.invoke(Unknown Source) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:616) > at > org.jboss.aop.joinpoint.MethodInvocation.invokeTarget(MethodInvocation.java:122) > at > org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111) > at > org.jboss.ejb3.EJBContainerInvocationWrapper.invokeNext(EJBContainerInvocationWrapper.java:69) > at > org.jboss.ejb3.interceptors.aop.InterceptorSequencer.invoke(InterceptorSequencer.java:73) > at > org.jboss.ejb3.interceptors.aop.InterceptorSequencer.aroundInvoke(InterceptorSequencer.java:59) > at sun.reflect.GeneratedMethodAccessor592.invoke(Unknown Source) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:616) > at > org.jboss.aop.advice.PerJoinpointAdvice.invoke(PerJoinpointAdvice.java:174) > at > org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) > at > org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.fillMethod(InvocationContextInterceptor.java:72) > at > org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_fillMethod_1834603600.invoke(InvocationContextInterceptor_z_fillMethod_1834603600.java) > at > org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) > at > org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.setup(InvocationContextInterceptor.java:88) > at > org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_setup_1834603600.invoke(InvocationContextInterceptor_z_setup_1834603600.java) > at > org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) > at > org.jboss.ejb3.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:62) > at > org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) > at > org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:56) > at > org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) > at > org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47) > at > org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) > at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42) > at > org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) > at > org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:68) > at > org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) > at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79) > at > org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:190) > at > org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) > at > org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76) > at > org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) > at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42) > at > org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) > at > org.jboss.ejb3.security.RoleBasedAuthorizationInterceptorv2.invoke(RoleBasedAuthorizationInterceptorv2.java:201) > at > org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) > at > org.jboss.ejb3.security.Ejb3AuthenticationInterceptorv2.invoke(Ejb3AuthenticationInterceptorv2.java:186) > at > org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) > at > org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:41) > at > org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) > at > org.jboss.ejb3.BlockContainerShutdownInterceptor.invoke(BlockContainerShutdownInterceptor.java:67) > at > org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) > at > org.jboss.aspects.currentinvocation.CurrentInvocationInterceptor.invoke(CurrentInvocationInterceptor.java:67) > at > org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) > at > org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:306) > at > org.jboss.ejb3.stateless.StatelessContainer.invokeEndpoint(StatelessContainer.java:662) > at > org.jboss.wsf.container.jboss50.invocation.InvocationHandlerEJB3.invoke(InvocationHandlerEJB3.java:96) > at > org.jboss.ws.core.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:222) > at > org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:474) > at > org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:295) > at > org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:205) > at > org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:131) > at > org.jboss.wsf.common.servlet.AbstractEndpointServlet.service(AbstractEndpointServlet.java:85) > 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.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525) > 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.ajp.AjpProcessor.process(AjpProcessor.java:436) > at > org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:384) > at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) > at java.lang.Thread.run(Thread.java:679) > 2013-04-07 11:48:03,739 WARN > [org.jboss.ejb3.stateless.StatelessBeanContext] (ajp-0.0.0.0-8009-1) > EJBTHREE-1337: do not get WebServiceContext property from stateless bean > context, it should already have been injected > 2013-04-07 11:48:03,740 ERROR > [org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS] (ajp-0.0.0.0-8009-1) SOAP > request exception > org.ejbca.core.EjbcaException > at > org.ejbca.core.protocol.ws.EjbcaWSHelper.getEjbcaException(EjbcaWSHelper.java:824) > at > org.ejbca.core.protocol.ws.EjbcaWSHelper.getInternalException(EjbcaWSHelper.java:816) > at org.ejbca.core.protocol.ws.EjbcaWS.certificateRequest(EjbcaWS.java:2479) > at sun.reflect.GeneratedMethodAccessor613.invoke(Unknown Source) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:616) > at > org.jboss.aop.joinpoint.MethodInvocation.invokeTarget(MethodInvocation.java:122) > at > org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111) > at > org.jboss.ejb3.EJBContainerInvocationWrapper.invokeNext(EJBContainerInvocationWrapper.java:69) > at > org.jboss.ejb3.interceptors.aop.InterceptorSequencer.invoke(InterceptorSequencer.java:73) > at > org.jboss.ejb3.interceptors.aop.InterceptorSequencer.aroundInvoke(InterceptorSequencer.java:59) > at sun.reflect.GeneratedMethodAccessor592.invoke(Unknown Source) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:616) > at > org.jboss.aop.advice.PerJoinpointAdvice.invoke(PerJoinpointAdvice.java:174) > at > org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) > at > org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.fillMethod(InvocationContextInterceptor.java:72) > at > org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_fillMethod_1834603600.invoke(InvocationContextInterceptor_z_fillMethod_1834603600.java) > at > org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) > at > org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.setup(InvocationContextInterceptor.java:88) > at > org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_setup_1834603600.invoke(InvocationContextInterceptor_z_setup_1834603600.java) > at > org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) > at > org.jboss.ejb3.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:62) > at > org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) > at > org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:56) > at > org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) > at > org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47) > at > org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) > at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42) > at > org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) > at > org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:68) > at > org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) > at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79) > at > org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:190) > at > org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) > at > org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76) > at > org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) > at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42) > at > org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) > at > org.jboss.ejb3.security.RoleBasedAuthorizationInterceptorv2.invoke(RoleBasedAuthorizationInterceptorv2.java:201) > at > org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) > at > org.jboss.ejb3.security.Ejb3AuthenticationInterceptorv2.invoke(Ejb3AuthenticationInterceptorv2.java:186) > at > org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) > at > org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:41) > at > org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) > at > org.jboss.ejb3.BlockContainerShutdownInterceptor.invoke(BlockContainerShutdownInterceptor.java:67) > at > org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) > at > org.jboss.aspects.currentinvocation.CurrentInvocationInterceptor.invoke(CurrentInvocationInterceptor.java:67) > at > org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) > at > org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:306) > at > org.jboss.ejb3.stateless.StatelessContainer.invokeEndpoint(StatelessContainer.java:662) > at > org.jboss.wsf.container.jboss50.invocation.InvocationHandlerEJB3.invoke(InvocationHandlerEJB3.java:96) > at > org.jboss.ws.core.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:222) > at > org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:474) > at > org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:295) > at > org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:205) > at > org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:131) > at > org.jboss.wsf.common.servlet.AbstractEndpointServlet.service(AbstractEndpointServlet.java:85) > 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.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525) > 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.ajp.AjpProcessor.process(AjpProcessor.java:436) > at > org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:384) > at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) > at java.lang.Thread.run(Thread.java:679) > > if I uncomment hardTokenIssuerName I get > > <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"> > <env:Header/> > <env:Body> > <env:Fault> > <faultcode>env:Server</faultcode> > <faultstring>Error Hard Token Issuer false doesn't > exists.</faultstring> > <detail> > <ns2:EjbcaException > xmlns:ns2="http://ws.protocol.core.ejbca.org/"> > <errorCode> > > <internalErrorCode>HARD_TOKEN_ISSUER_NOT_EXISTS</internalErrorCode> > </errorCode> > <message>Error Hard Token Issuer false doesn't > exists.</message> > </ns2:EjbcaException> > </detail> > </env:Fault> > </env:Body> > </env:Envelope> > > because there is no hard token. Maybe null pointer exception is caused > by missing hard token? > >>From responses from ejbca I consider my client certificate is working > for used CA. Shell tool bin/ejbca.sh works w/o any problems, but I would > like to implement a web service driven solution in Perl. > > Any hints? > > best regards > Christian > > ------------------------------------------------------------------------------ > Minimize network downtime and maximize team effectiveness. > Reduce network management and security costs.Learn how to hire > the most talented Cisco Certified professionals. Visit the > Employer Resources Portal > http://www.cisco.com/web/learning/employer_resources/index.html > _______________________________________________ > Ejbca-develop mailing list > Ejb...@li... > https://lists.sourceforge.net/lists/listinfo/ejbca-develop > |
|
From: sara <sar...@gm...> - 2013-04-08 06:20:10
|
hi, i can't configure CMP at my CA and i have been trying to follow the steps at ejbca.org but i failed. how can i bulid cmpclient ? and i have configured the cmp.propertirs file, so what else i need to do ? regards, sara |
|
From: Christian F. <hos...@ip...> - 2013-04-07 09:50:58
|
Hello, I would like to create an entity with following webservice request: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.protocol.core.ejbca.org/"> <soapenv:Header/> <soapenv:Body> <ws:certificateRequest> <arg0> <caName>ip6li user ca</caName> <certificateProfileName>ip6.li user ca certificate profile</certificateProfileName> <certificateSerialNumber>4711</certificateSerialNumber> <clearPwd>false</clearPwd> <email>te...@ip...</email> <endEntityProfileName>ip6.li user ca entity profile</endEntityProfileName> <endTime>7350:00:00</endTime> <extendedInformation> <name>customdata_ENDTIME</name> <value>7350:00:00</value> </extendedInformation> <extendedInformation> <name>customdata_STARTTIME</name> <value>00:00:00</value> </extendedInformation> <extendedInformation> <name>subjectdirattributes</name> <value/> </extendedInformation> <!-- <hardTokenIssuerName>false</hardTokenIssuerName> --> <keyRecoverable>false</keyRecoverable> <password>Geheim1234</password> <sendNotification>false</sendNotification> <startTime>00:00:00</startTime> <status>1</status> <subjectAltName>rfc...@ip...</subjectAltName> <subjectDN>CN=Test User 2,Ema...@ip...,OU=ip6.li Certificates,O=ip6.li,C=DE</subjectDN> <tokenType>P12</tokenType> <username>Test User 2</username> </arg0> <arg2>0</arg2> </ws:certificateRequest> </soapenv:Body> </soapenv:Envelope> This XML was created by SoapUI after reading WSDL file from ejbca 4.0.14, most webservice requests were successful, so I consider a problem with my parameters. result is <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"> <env:Header/> <env:Body> <env:Fault> <faultcode>env:Server</faultcode> <faultstring>org.ejbca.core.EjbcaException</faultstring> <detail> <ns2:EjbcaException xmlns:ns2="http://ws.protocol.core.ejbca.org/"> <errorCode> <internalErrorCode>INTERNAL_ERROR</internalErrorCode> </errorCode> </ns2:EjbcaException> </detail> </env:Fault> </env:Body> </env:Envelope> with following jboss log: 2013-04-07 11:48:03,697 WARN [org.jboss.ejb3.stateless.StatelessBeanContext] (ajp-0.0.0.0-8009-1) EJBTHREE-1337: do not get WebServiceContext property from stateless bean context, it should already have been injected 2013-04-07 11:48:03,738 ERROR [org.ejbca.core.protocol.ws.EjbcaWSHelper] (ajp-0.0.0.0-8009-1) EJBCA WebService error java.lang.NullPointerException at org.ejbca.core.protocol.ws.EjbcaWS.certificateRequest(EjbcaWS.java:2428) at sun.reflect.GeneratedMethodAccessor613.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.jboss.aop.joinpoint.MethodInvocation.invokeTarget(MethodInvocation.java:122) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111) at org.jboss.ejb3.EJBContainerInvocationWrapper.invokeNext(EJBContainerInvocationWrapper.java:69) at org.jboss.ejb3.interceptors.aop.InterceptorSequencer.invoke(InterceptorSequencer.java:73) at org.jboss.ejb3.interceptors.aop.InterceptorSequencer.aroundInvoke(InterceptorSequencer.java:59) at sun.reflect.GeneratedMethodAccessor592.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.jboss.aop.advice.PerJoinpointAdvice.invoke(PerJoinpointAdvice.java:174) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.fillMethod(InvocationContextInterceptor.java:72) at org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_fillMethod_1834603600.invoke(InvocationContextInterceptor_z_fillMethod_1834603600.java) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.setup(InvocationContextInterceptor.java:88) at org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_setup_1834603600.invoke(InvocationContextInterceptor_z_setup_1834603600.java) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) at org.jboss.ejb3.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:62) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:56) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:68) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79) at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:190) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) at org.jboss.ejb3.security.RoleBasedAuthorizationInterceptorv2.invoke(RoleBasedAuthorizationInterceptorv2.java:201) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) at org.jboss.ejb3.security.Ejb3AuthenticationInterceptorv2.invoke(Ejb3AuthenticationInterceptorv2.java:186) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:41) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) at org.jboss.ejb3.BlockContainerShutdownInterceptor.invoke(BlockContainerShutdownInterceptor.java:67) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) at org.jboss.aspects.currentinvocation.CurrentInvocationInterceptor.invoke(CurrentInvocationInterceptor.java:67) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:306) at org.jboss.ejb3.stateless.StatelessContainer.invokeEndpoint(StatelessContainer.java:662) at org.jboss.wsf.container.jboss50.invocation.InvocationHandlerEJB3.invoke(InvocationHandlerEJB3.java:96) at org.jboss.ws.core.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:222) at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:474) at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:295) at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:205) at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:131) at org.jboss.wsf.common.servlet.AbstractEndpointServlet.service(AbstractEndpointServlet.java:85) 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.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525) 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.ajp.AjpProcessor.process(AjpProcessor.java:436) at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:384) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:679) 2013-04-07 11:48:03,739 WARN [org.jboss.ejb3.stateless.StatelessBeanContext] (ajp-0.0.0.0-8009-1) EJBTHREE-1337: do not get WebServiceContext property from stateless bean context, it should already have been injected 2013-04-07 11:48:03,740 ERROR [org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS] (ajp-0.0.0.0-8009-1) SOAP request exception org.ejbca.core.EjbcaException at org.ejbca.core.protocol.ws.EjbcaWSHelper.getEjbcaException(EjbcaWSHelper.java:824) at org.ejbca.core.protocol.ws.EjbcaWSHelper.getInternalException(EjbcaWSHelper.java:816) at org.ejbca.core.protocol.ws.EjbcaWS.certificateRequest(EjbcaWS.java:2479) at sun.reflect.GeneratedMethodAccessor613.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.jboss.aop.joinpoint.MethodInvocation.invokeTarget(MethodInvocation.java:122) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111) at org.jboss.ejb3.EJBContainerInvocationWrapper.invokeNext(EJBContainerInvocationWrapper.java:69) at org.jboss.ejb3.interceptors.aop.InterceptorSequencer.invoke(InterceptorSequencer.java:73) at org.jboss.ejb3.interceptors.aop.InterceptorSequencer.aroundInvoke(InterceptorSequencer.java:59) at sun.reflect.GeneratedMethodAccessor592.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.jboss.aop.advice.PerJoinpointAdvice.invoke(PerJoinpointAdvice.java:174) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.fillMethod(InvocationContextInterceptor.java:72) at org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_fillMethod_1834603600.invoke(InvocationContextInterceptor_z_fillMethod_1834603600.java) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.setup(InvocationContextInterceptor.java:88) at org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_setup_1834603600.invoke(InvocationContextInterceptor_z_setup_1834603600.java) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) at org.jboss.ejb3.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:62) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:56) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:68) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79) at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:190) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) at org.jboss.ejb3.security.RoleBasedAuthorizationInterceptorv2.invoke(RoleBasedAuthorizationInterceptorv2.java:201) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) at org.jboss.ejb3.security.Ejb3AuthenticationInterceptorv2.invoke(Ejb3AuthenticationInterceptorv2.java:186) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:41) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) at org.jboss.ejb3.BlockContainerShutdownInterceptor.invoke(BlockContainerShutdownInterceptor.java:67) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) at org.jboss.aspects.currentinvocation.CurrentInvocationInterceptor.invoke(CurrentInvocationInterceptor.java:67) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:306) at org.jboss.ejb3.stateless.StatelessContainer.invokeEndpoint(StatelessContainer.java:662) at org.jboss.wsf.container.jboss50.invocation.InvocationHandlerEJB3.invoke(InvocationHandlerEJB3.java:96) at org.jboss.ws.core.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:222) at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:474) at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:295) at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:205) at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:131) at org.jboss.wsf.common.servlet.AbstractEndpointServlet.service(AbstractEndpointServlet.java:85) 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.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525) 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.ajp.AjpProcessor.process(AjpProcessor.java:436) at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:384) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:679) if I uncomment hardTokenIssuerName I get <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"> <env:Header/> <env:Body> <env:Fault> <faultcode>env:Server</faultcode> <faultstring>Error Hard Token Issuer false doesn't exists.</faultstring> <detail> <ns2:EjbcaException xmlns:ns2="http://ws.protocol.core.ejbca.org/"> <errorCode> <internalErrorCode>HARD_TOKEN_ISSUER_NOT_EXISTS</internalErrorCode> </errorCode> <message>Error Hard Token Issuer false doesn't exists.</message> </ns2:EjbcaException> </detail> </env:Fault> </env:Body> </env:Envelope> because there is no hard token. Maybe null pointer exception is caused by missing hard token? >From responses from ejbca I consider my client certificate is working for used CA. Shell tool bin/ejbca.sh works w/o any problems, but I would like to implement a web service driven solution in Perl. Any hints? best regards Christian |
|
From: Tomas G. <to...@pr...> - 2013-04-04 14:13:33
|
This is something that was fixed in EJBCA 5 some time ago. Due to differences in the underlying BC crypt library backporting to EJBCA 4 is not feasible (new version of BC needed to use different providers for signature and crypto operations). Cheers, Tomas ----- PrimeKey Solutions offers commercial EJBCA and SignServer support subscriptions and training courses. Please see www.primekey.se or contact in...@pr... for more information. http://www.primekey.se/Services/Support/ http://www.primekey.se/Services/Training/ On 04/04/2013 04:05 PM, Jean-Luc Chardon wrote: > Hi, > > We have performed integration tests between EJBCA 4.0.14 and a PKCS#11 > provider. We noticed the following behavior: > > When a user key is recovered, an AES key is created in the PKCS#11 token > with the following attributes: > > CKA_TOKEN: 01 > > CKA_CLASS: 04000000 > > CKA_KEY_TYPE: 1F000000 > > CKA_VALUE length=32 > > This key is used to decrypt the user key. > > The key is not deleted afterwards and remains in the PKCS#11 Token with > no CKA_LABEL and no CKA_ID. > > This generates a problem with the clientToolBox when it checks the > content of the key store. > > The questions are: > > -Why is this key created as a token key? > > -Is there a way to configure key recovery to avoid the creation of this key? > > Thanks. > > Jean-Luc Chardon > > > > ------------------------------------------------------------------------------ > Minimize network downtime and maximize team effectiveness. > Reduce network management and security costs.Learn how to hire > the most talented Cisco Certified professionals. Visit the > Employer Resources Portal > http://www.cisco.com/web/learning/employer_resources/index.html > > > > _______________________________________________ > Ejbca-develop mailing list > Ejb...@li... > https://lists.sourceforge.net/lists/listinfo/ejbca-develop > |
|
From: Jean-Luc C. <jea...@bu...> - 2013-04-04 14:06:15
|
Hi, We have performed integration tests between EJBCA 4.0.14 and a PKCS#11 provider. We noticed the following behavior: When a user key is recovered, an AES key is created in the PKCS#11 token with the following attributes: CKA_TOKEN: 01 CKA_CLASS: 04000000 CKA_KEY_TYPE: 1F000000 CKA_VALUE length=32 This key is used to decrypt the user key. The key is not deleted afterwards and remains in the PKCS#11 Token with no CKA_LABEL and no CKA_ID. This generates a problem with the clientToolBox when it checks the content of the key store. The questions are: - Why is this key created as a token key? - Is there a way to configure key recovery to avoid the creation of this key? Thanks. Jean-Luc Chardon |
|
From: Tham W. <ejb...@pr...> - 2013-04-04 13:44:03
|
Hello Eilaf, I believe what Tomas was trying to explain is that ExternalRA is a product which does not support CMP in any mode, it is not a CMP product. The ExternalRA is a pretty specific tool which is designed to allow a network configuration where are not allowing any calls from a DMZ to the CA. CMP is not designed for this, that is probably why noone has felt compelled to combine the two before. Cheers, Tham Wickenberg PrimeKey Solutions On 4/4/13 3:22 PM, eilaf sorkatti wrote: > Hello Tomas, > > Did you mean that she can't configure the CMP between external RA and > CA? even in RA mode? > > > On Tue, Apr 2, 2013 at 2:59 PM, sara <sar...@gm... > <mailto:sar...@gm...>> wrote: > > ok thank you > > ------------------------------------------------------------------------------ > Own the Future-Intel(R) Level Up Game Demo Contest 2013 > Rise to greatness in Intel's independent game demo contest. Compete > for recognition, cash, and the chance to get your game on Steam. > $5K grand prize plus 10 genre and skill prizes. Submit your demo > by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2 > _______________________________________________ > Ejbca-develop mailing list > Ejb...@li... > <mailto:Ejb...@li...> > https://lists.sourceforge.net/lists/listinfo/ejbca-develop > > > > > -- > Eilaf Hamad Elnil Mugbil > University Of Khartoum > School Of Mathematical science > > > ------------------------------------------------------------------------------ > Minimize network downtime and maximize team effectiveness. > Reduce network management and security costs.Learn how to hire > the most talented Cisco Certified professionals. Visit the > Employer Resources Portal > http://www.cisco.com/web/learning/employer_resources/index.html > > > _______________________________________________ > Ejbca-develop mailing list > Ejb...@li... > https://lists.sourceforge.net/lists/listinfo/ejbca-develop |
|
From: Tomas G. <to...@pr...> - 2013-04-04 13:43:10
|
To fill in (perhaps a bit too much) from what Tham already said...) * No, there is no built in CMP functionality in the External RA. You have to develop that yourselves. But EJBCA have excellent CMP support used in hundreds of installations and different use-cases world-wide. Since you have not fully understood how CMP and the External RA works it would be much easier if you describe what goal you try to accomplish. Then we can suggest best practice for doing this (we have seen hundreds of different installations). For example: - What are the users and clients? - Where is registration of users done? - What protocols do the clients use? - Who communicates with what? ----- Installing EJBCA in a server gives you a Certificate Authority, with built in Registration Authority functions. This means that on the EJBCA server you can register and issue certificates for users. You can do this with many different protocols: - Web GUIs - Command line interface - CMP - SCEP - Web Service - and more... Against one Certificate Authority you can have multiple Registration Authorities. "Registration Authority" is an abstract concept, that does not mandate any specific technology to be used. Local, remote, distributed, web based, java GUI based, carrier pigeon based. External RA is an external server that can be used to develop RAs _if_ there is a requirement that no incoming connections are allowed to the CA server. If there is _not_ any such requirements, there is no use of the external RA. The External RA is an API, so you can develop your own External RA GUI. EJBCA comes with two pre-made external RA functions, External RA browser enrollment GUI, and External RA SCEP service. The meaning of RA mode for CMP is that an RA connects to the CA using CMP. The requests that the RA sends over CMP to the CA is treated as "trusted" and certificates are issued, if the RA is authenticated. The EJBCA External RA does _not_ use CMP to communicate with the CA server. The most common usages of CMP are: - Card management system works as an RA. Card management system communicates with CMP to EJBCA. - 3GPP/LTE network nodes, specified in the 3GPP standard how eNodes communicates using CMP to the CA (EJBCA). - Network routers getting certificates from the CA If you want to use CMP directly from your clients and want some network shielding, you can use the CMP Proxy instead. This sits between the client and the CA and breaks/inspects all network connections. Regards, Tomas ----- PrimeKey Solutions offers commercial EJBCA and SignServer support subscriptions and training courses. Please see www.primekey.se or contact in...@pr... for more information. http://www.primekey.se/Services/Support/ http://www.primekey.se/Services/Training/ On 04/04/2013 03:22 PM, eilaf sorkatti wrote: > Hello Tomas, > > Did you mean that she can't configure the CMP between external RA and > CA? even in RA mode? > > > On Tue, Apr 2, 2013 at 2:59 PM, sara <sar...@gm... > <mailto:sar...@gm...>> wrote: > > ok thank you > > ------------------------------------------------------------------------------ > Own the Future-Intel(R) Level Up Game Demo Contest 2013 > Rise to greatness in Intel's independent game demo contest. Compete > for recognition, cash, and the chance to get your game on Steam. > $5K grand prize plus 10 genre and skill prizes. Submit your demo > by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2 > _______________________________________________ > Ejbca-develop mailing list > Ejb...@li... > <mailto:Ejb...@li...> > https://lists.sourceforge.net/lists/listinfo/ejbca-develop > > > > > -- > Eilaf Hamad Elnil Mugbil > University Of Khartoum > School Of Mathematical science > > > ------------------------------------------------------------------------------ > Minimize network downtime and maximize team effectiveness. > Reduce network management and security costs.Learn how to hire > the most talented Cisco Certified professionals. Visit the > Employer Resources Portal > http://www.cisco.com/web/learning/employer_resources/index.html > > > > _______________________________________________ > Ejbca-develop mailing list > Ejb...@li... > https://lists.sourceforge.net/lists/listinfo/ejbca-develop > |
|
From: Tham W. <ejb...@pr...> - 2013-04-04 13:36:45
|
Dear Sara, There may be many different reasons why you would want to communicate with EJBCA configured in RA mode. RA mode is a convenient mode to write clients with, also it is a pretty efficient protocol. In fact, many of our users have written RAs which communicate with EJBCA using CMP in RA mode, you could say we built it for them! Kind regards, Tham Wickenberg On 4/4/13 3:20 PM, sara wrote: > hi, > > i was wondering what is the point of the RA mode for CMP if it can not > be configured in an externalra? > i mean if the RA mode for CMP is inside my CA then the RA here is > useless because the main goal of RA is to issue the user certificate > without allowing the user to connect directly with the CA, so what is > the point of using RA mode for CMP if it will be inside my CA? > > regards, > > sara > > ------------------------------------------------------------------------------ > Minimize network downtime and maximize team effectiveness. > Reduce network management and security costs.Learn how to hire > the most talented Cisco Certified professionals. Visit the > Employer Resources Portal > http://www.cisco.com/web/learning/employer_resources/index.html > _______________________________________________ > Ejbca-develop mailing list > Ejb...@li... > https://lists.sourceforge.net/lists/listinfo/ejbca-develop |
|
From: eilaf s. <eil...@gm...> - 2013-04-04 13:22:44
|
Hello Tomas, Did you mean that she can't configure the CMP between external RA and CA? even in RA mode? On Tue, Apr 2, 2013 at 2:59 PM, sara <sar...@gm...> wrote: > ok thank you > > > ------------------------------------------------------------------------------ > Own the Future-Intel(R) Level Up Game Demo Contest 2013 > Rise to greatness in Intel's independent game demo contest. Compete > for recognition, cash, and the chance to get your game on Steam. > $5K grand prize plus 10 genre and skill prizes. Submit your demo > by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2 > _______________________________________________ > Ejbca-develop mailing list > Ejb...@li... > https://lists.sourceforge.net/lists/listinfo/ejbca-develop > -- Eilaf Hamad Elnil Mugbil University Of Khartoum School Of Mathematical science |
|
From: sara <sar...@gm...> - 2013-04-04 13:20:38
|
hi, i was wondering what is the point of the RA mode for CMP if it can not be configured in an externalra? i mean if the RA mode for CMP is inside my CA then the RA here is useless because the main goal of RA is to issue the user certificate without allowing the user to connect directly with the CA, so what is the point of using RA mode for CMP if it will be inside my CA? regards, sara |
|
From: Ghaidaa T. <gha...@gm...> - 2013-04-04 11:42:01
|
hello i would like to ask about certificate control protocol and how it can be configured as a registration authority...i read the directions and explanation written in ejbca website and followed it but no changes are noticed.. please need help.. best regards... |
|
From: sara <sar...@gm...> - 2013-04-02 11:59:21
|
ok thank you |
|
From: Tomas G. <to...@pr...> - 2013-04-02 11:54:57
|
No, your RA will not answer to CMP requests whatever you do. /Tomas On 04/02/2013 01:31 PM, sara wrote: > so if i edit the cmp.properties file in my CA and redeploy it my RA will > work at CMP mode? > will the RA be able to create useres and issue their certificates even > when the user isn't registered ? > > regards, > > sara > > ------------------------------------------------------------------------------ > Own the Future-Intel(R) Level Up Game Demo Contest 2013 > Rise to greatness in Intel's independent game demo contest. Compete > for recognition, cash, and the chance to get your game on Steam. > $5K grand prize plus 10 genre and skill prizes. Submit your demo > by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2 > _______________________________________________ > Ejbca-develop mailing list > Ejb...@li... > https://lists.sourceforge.net/lists/listinfo/ejbca-develop > |
|
From: sara <sar...@gm...> - 2013-04-02 11:31:58
|
so if i edit the cmp.properties file in my CA and redeploy it my RA will work at CMP mode? will the RA be able to create useres and issue their certificates even when the user isn't registered ? regards, sara |
|
From: Tomas G. <to...@pr...> - 2013-04-02 11:24:07
|
CMP is a feature of EJBCA (the CA). Not in the external RA. /Tomas On 04/02/2013 01:13 PM, sara wrote: > hi, > > i have configured a GUI RA and used it successfully, and know i want to > configure the RA mode for CMP, i did edit the conf file > (cmp.properties) and redeploy my ra but nothing changed, what are the > other changes that i need to do? i tried to figure it out from ejbca.org > but the steps are very misleading, so can you help me? > > > regards, > > sara > > ------------------------------------------------------------------------------ > Own the Future-Intel(R) Level Up Game Demo Contest 2013 > Rise to greatness in Intel's independent game demo contest. Compete > for recognition, cash, and the chance to get your game on Steam. > $5K grand prize plus 10 genre and skill prizes. Submit your demo > by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2 > _______________________________________________ > Ejbca-develop mailing list > Ejb...@li... > https://lists.sourceforge.net/lists/listinfo/ejbca-develop > |
|
From: sara <sar...@gm...> - 2013-04-02 11:13:19
|
hi, i have configured a GUI RA and used it successfully, and know i want to configure the RA mode for CMP, i did edit the conf file (cmp.properties) and redeploy my ra but nothing changed, what are the other changes that i need to do? i tried to figure it out from ejbca.org but the steps are very misleading, so can you help me? regards, sara |
|
From: Marcos F. <mar...@ho...> - 2013-04-01 18:16:58
|
Getting Null Pointer Exception when trying to get certificates by username. I dont know why this at $Proxy268.findCertificatesByUsername(Unknown Source) error is happening, im sure there ar certificates by the username i was passing. Here the stacktrace. java.lang.NullPointerException at org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:379) at org.jboss.ejb3.session.InvokableContextClassProxyHack._dynamicInvoke(InvokableContextClassProxyHack.java:53) at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:91) at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82) at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:891) at org.jboss.remoting.transport.socket.ServerThread.completeInvocation(ServerThread.java:744) at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:697) at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:524) at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:232) at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:211) at org.jboss.remoting.Client.invoke(Client.java:1724) at org.jboss.remoting.Client.invoke(Client.java:629) at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:60) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:61) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) at org.jboss.ejb3.security.client.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:65) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:74) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) at org.jboss.aspects.remoting.PojiProxy.invoke(PojiProxy.java:62) at $Proxy269.invoke(Unknown Source) at org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.invoke(SessionProxyInvocationHandlerBase.java:207) at org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.invoke(SessionProxyInvocationHandlerBase.java:164) at $Proxy268.findCertificatesByUsername(Unknown Source) at br.com.certificado.ejbca.ApiEjbcaBean.getCertificado(ApiEjbcaBean.java:201) at br.com.certificado.controlador.CertificadoControlador.getCertificado(CertificadoControlador.java:42) at br.com.certificado.beans.CertificadoBean.downloadCertificado(CertificadoBean.java:73) 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 org.apache.el.parser.AstValue.invoke(AstValue.java:170) at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276) at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:102) at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:84) at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:98) at javax.faces.component.UICommand.broadcast(UICommand.java:311) at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:781) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1246) at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:77) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:114) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:308) 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:662) at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:72) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:61) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) at org.jboss.ejb3.security.client.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:65) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:74) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) at org.jboss.aspects.remoting.PojiProxy.invoke(PojiProxy.java:62) at $Proxy269.invoke(Unknown Source) at org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.invoke(SessionProxyInvocationHandlerBase.java:207) at org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.invoke(SessionProxyInvocationHandlerBase.java:164) at $Proxy268.findCertificatesByUsername(Unknown Source) at br.com.certificado.ejbca.ApiEjbcaBean.getCertificado(ApiEjbcaBean.java:201) at br.com.certificado.controlador.CertificadoControlador.getCertificado(CertificadoControlador.java:42) at br.com.certificado.beans.CertificadoBean.downloadCertificado(CertificadoBean.java:73) 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 org.apache.el.parser.AstValue.invoke(AstValue.java:170) at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276) at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:102) at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:84) at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:98) at javax.faces.component.UICommand.broadcast(UICommand.java:311) at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:781) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1246) at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:77) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:114) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:308) 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:662) |
|
From: ejbca-support <ejb...@pr...> - 2013-04-01 13:39:27
|
On 2013-04-01 15:25, sara wrote: > hi, > i'm trying to start my Registeration Authority and i have done all the configuration at my RA and CA but when i start using the RA and select 'create keysore' and write the user name and passward the following error appears to me : Hi Sara, It seems that you don't get a connection to the database that the external RA uses for communication. Verify settings and check with an external tool like "mysql" that it is available. Cheers Anders tech support > > > > " > > > HTTP Status 500 - > > ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ > > *type* Exception report > > *message* > > *description* _The server encountered an internal error () that prevented it from fulfilling this request._ > > *exception* > > javax.servlet.ServletException: java.net.ConnectException: Connection refused > com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:141) > javax.servlet.http.HttpServlet.service(HttpServlet.java:717) > com.icesoft.faces.webapp.xmlhttp.BlockingServlet.service(BlockingServlet.java:56) > org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) > > *root cause* > > java.net.ConnectException: Connection refused > java.net.PlainSocketImpl.socketConnect(Native Method) > java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:327) > java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:193) > java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:180) > java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384) > java.net.Socket.connect(Socket.java:546) > java.net.Socket.connect(Socket.java:495) > java.net.Socket.<init>(Socket.java:392) > java.net.Socket.<init>(Socket.java:235) > com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:254) > com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:292) > com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2334) > com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2371) > com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2163) > com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:794) > com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47) > sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) > java.lang.reflect.Constructor.newInstance(Constructor.java:532) > com.mysql.jdbc.Util.handleNewInstance(Util.java:407) > com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:378) > com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:305) > org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.getLocalManagedConnection(LocalManagedConnectionFactory.java:207) > org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:195) > org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:633) > org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:267) > org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:622) > org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:404) > org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:381) > org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:496) > org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:941) > org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:89) > org.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.java:92) > org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:446) > org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167) > org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:142) > org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:85) > org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1353) > org.hibernate.ejb.TransactionImpl.begin(TransactionImpl.java:38) > org.ejbca.extra.db.MessageHome.getNewEntityManager(MessageHome.java:52) > org.ejbca.extra.db.MessageHome.create(MessageHome.java:79) > org.ejbca.externalra.gui.ExternalRARequestDispatcher.getResponseFromCA(ExternalRARequestDispatcher.java:181) > org.ejbca.externalra.gui.ExternalRARequestDispatcher.getKeyStoreResponse(ExternalRARequestDispatcher.java:125) > org.ejbca.externalra.gui.EnrollInterfaceBean.createKeystore(EnrollInterfaceBean.java:250) > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > java.lang.reflect.Method.invoke(Method.java:616) > org.apache.el.parser.AstValue.invoke(AstValue.java:170) > org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276) > com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68) > javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88) > com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102) > javax.faces.component.UICommand.broadcast(UICommand.java:387) > javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475) > javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756) > com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82) > com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100) > com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) > com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLifecycleExecutor.java:18) > com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.renderCycle(ReceiveSendUpdates.java:132) > com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.service(ReceiveSendUpdates.java:74) > com.icesoft.faces.webapp.http.core.RequestVerifier.service(RequestVerifier.java:31) > com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:24) > com.icesoft.faces.webapp.http.servlet.BasicAdaptingServlet.service(BasicAdaptingServlet.java:16) > com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:23) > com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:53) > com.icesoft.faces.webapp.http.servlet.SessionVerifier.service(SessionVerifier.java:26) > com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:23) > com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:131) > javax.servlet.http.HttpServlet.service(HttpServlet.java:717) > com.icesoft.faces.webapp.xmlhttp.BlockingServlet.service(BlockingServlet.java:56) > org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) > > *note* _The full stack trace of the root cause is available in the JBoss Web/2.1.3.GA logs._ > > ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ > > > JBoss Web/2.1.3.GA" > > > > can you help me? > > regards, > > sara > > > > ------------------------------------------------------------------------------ > Own the Future-Intel® Level Up Game Demo Contest 2013 > Rise to greatness in Intel's independent game demo contest. > Compete for recognition, cash, and the chance to get your game > on Steam. $5K grand prize plus 10 genre and skill prizes. > Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d > > > > _______________________________________________ > Ejbca-develop mailing list > Ejb...@li... > https://lists.sourceforge.net/lists/listinfo/ejbca-develop > |
|
From: sara <sa...@nc...> - 2013-04-01 13:26:11
|
hi,
i'm trying to start my Registeration Authority and i have done all the
configuration at my RA and CA but when i start using the RA and select
'create keysore' and write the user name and passward the following
error appears to me :
"
HTTP Status 500 -
------------------------------------------------------------------------
*type* Exception report
*message*
*description* _The server encountered an internal error () that
prevented it from fulfilling this request._
*exception*
javax.servlet.ServletException: java.net.ConnectException: Connection refused
com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:141)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
com.icesoft.faces.webapp.xmlhttp.BlockingServlet.service(BlockingServlet.java:56)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
*root cause*
java.net.ConnectException: Connection refused
java.net.PlainSocketImpl.socketConnect(Native Method)
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:327)
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:193)
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:180)
java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384)
java.net.Socket.connect(Socket.java:546)
java.net.Socket.connect(Socket.java:495)
java.net.Socket.<init>(Socket.java:392)
java.net.Socket.<init>(Socket.java:235)
com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:254)
com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:292)
com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2334)
com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2371)
com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2163)
com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:794)
com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
java.lang.reflect.Constructor.newInstance(Constructor.java:532)
com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:378)
com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:305)
org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.getLocalManagedConnection(LocalManagedConnectionFactory.java:207)
org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:195)
org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:633)
org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:267)
org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:622)
org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:404)
org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:381)
org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:496)
org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:941)
org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:89)
org.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.java:92)
org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:446)
org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167)
org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:142)
org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:85)
org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1353)
org.hibernate.ejb.TransactionImpl.begin(TransactionImpl.java:38)
org.ejbca.extra.db.MessageHome.getNewEntityManager(MessageHome.java:52)
org.ejbca.extra.db.MessageHome.create(MessageHome.java:79)
org.ejbca.externalra.gui.ExternalRARequestDispatcher.getResponseFromCA(ExternalRARequestDispatcher.java:181)
org.ejbca.externalra.gui.ExternalRARequestDispatcher.getKeyStoreResponse(ExternalRARequestDispatcher.java:125)
org.ejbca.externalra.gui.EnrollInterfaceBean.createKeystore(EnrollInterfaceBean.java:250)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:616)
org.apache.el.parser.AstValue.invoke(AstValue.java:170)
org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88)
com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
javax.faces.component.UICommand.broadcast(UICommand.java:387)
javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)
com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLifecycleExecutor.java:18)
com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.renderCycle(ReceiveSendUpdates.java:132)
com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.service(ReceiveSendUpdates.java:74)
com.icesoft.faces.webapp.http.core.RequestVerifier.service(RequestVerifier.java:31)
com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:24)
com.icesoft.faces.webapp.http.servlet.BasicAdaptingServlet.service(BasicAdaptingServlet.java:16)
com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:23)
com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:53)
com.icesoft.faces.webapp.http.servlet.SessionVerifier.service(SessionVerifier.java:26)
com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:23)
com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:131)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
com.icesoft.faces.webapp.xmlhttp.BlockingServlet.service(BlockingServlet.java:56)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
*note* _The full stack trace of the root cause is available in the JBoss
Web/2.1.3.GA logs._
------------------------------------------------------------------------
JBoss Web/2.1.3.GA"
can you help me?
regards,
sara
|
|
From: Gémes G. <ge...@kz...> - 2013-03-30 15:01:22
|
Hi,
Sorry for the noise it was my fault, I've symlinked the postgresql.ajr
to ${JBOSS_HOME}/server/all/lib instead of
${JBOSS_HOME}/server/default/lib, I only realized that when became aware
that nothing got into the database, while ant install is supposed to do
exactly that.
Cheers
Geza Gemes
> Hi,
>
> Sorry for asking beginner questions, but regarding ejbca/jboss that's
> what I am ;-)
>
> I've tried to install ejbca 4.0.14 onto an ubuntu 12.04.2 minimal
> install (just ssh and apache (for proxy) ) following
> http://www.ejbca.org/installation.html
> I've modified a few properties files, which I've attached (removed the
> comments and passwords). While ant bootstrap is able to run, after
> starting up jboss, ant install fails with:
>
> ejbca:batchsuperadmin:
> [echo] batch superadmin
> [java] Generating keys in directory /usr/local/ejbca/p12.
> [java] java.lang.reflect.UndeclaredThrowableException
> [java] at sun.proxy.$Proxy2.findUser(Unknown Source)
> [java] at
> org.ejbca.ui.cli.batch.BatchMakeP12.createUser(BatchMakeP12.java:557)
> [java] at
> org.ejbca.ui.cli.batch.BatchMakeP12.execute(BatchMakeP12.java:109)
> [java] at
> org.ejbca.ui.cli.EjbcaEjbCli.executeCommand(EjbcaEjbCli.java:118)
> [java] at org.ejbca.ui.cli.EjbcaEjbCli.main(EjbcaEjbCli.java:68)
> [java] Caused by: java.lang.ClassNotFoundException:
> org.jboss.resource.JBossResourceException
> [java] at
> org.jboss.remoting.serialization.ClassLoaderUtility.loadClass(ClassLoaderUtility.java:103)
> [java] at
> org.jboss.remoting.loading.RemotingClassLoader.loadClass(RemotingClassLoader.java:86)
> [java] at java.lang.Class.forName0(Native Method)
> [java] at java.lang.Class.forName(Class.java:266)
> [java] at
> org.jboss.remoting.loading.ObjectInputStreamWithClassLoader.resolveClass(ObjectInputStreamWithClassLoader.java:179)
> [java] at
> java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1592)
> [java] at
> java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1513)
> [java] at
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1749)
> [java] at
> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1346)
> [java] at
> java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1969)
> [java] at
> java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1893)
> [java] at
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1776)
> [java] at
> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1346)
> [java] at
> java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1969)
> [java] at
> java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1893)
> [java] at
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1776)
> [java] at
> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1346)
> [java] at
> java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1969)
> [java] at
> java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1893)
> [java] at
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1776)
> [java] at
> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1346)
> [java] at
> java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1969)
> [java] at
> java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1893)
> [java] at
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1776)
> [java] at
> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1346)
> [java] at
> java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1969)
> [java] at
> java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1893)
> [java] at
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1776)
> [java] at
> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1346)
> [java] at
> java.io.ObjectInputStream.readObject(ObjectInputStream.java:368)
> [java] at
> org.jboss.remoting.serialization.impl.java.JavaSerializationManager.receiveObjectVersion2_2(JavaSerializationManager.java:238)
> [java] at
> org.jboss.remoting.serialization.impl.java.JavaSerializationManager.receiveObject(JavaSerializationManager.java:138)
> [java] at
> org.jboss.remoting.marshal.serializable.SerializableUnMarshaller.read(SerializableUnMarshaller.java:123)
> [java] at
> org.jboss.remoting.transport.socket.MicroSocketClientInvoker.versionedRead(MicroSocketClientInvoker.java:1220)
> [java] at
> org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:850)
> [java] at
> org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:165)
> [java] at org.jboss.remoting.Client.invoke(Client.java:1724)
> [java] at org.jboss.remoting.Client.invoke(Client.java:629)
> [java] at
> org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:60)
> [java] at
> org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
> [java] at
> org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:61)
> [java] at
> org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
> [java] at
> org.jboss.ejb3.security.client.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:65)
> [java] at
> org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
> [java] at
> org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:74)
> [java] at
> org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
> [java] at
> org.jboss.aspects.remoting.PojiProxy.invoke(PojiProxy.java:62)
> [java] at sun.proxy.$Proxy3.invoke(Unknown Source)
> [java] at
> org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.invoke(SessionProxyInvocationHandlerBase.java:207)
> [java] at
> org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.invoke(SessionProxyInvocationHandlerBase.java:164)
> [java] at sun.proxy.$Proxy2.findUser(Unknown Source)
> [java] at
> org.ejbca.ui.cli.batch.BatchMakeP12.createUser(BatchMakeP12.java:557)
> [java] at
> org.ejbca.ui.cli.batch.BatchMakeP12.execute(BatchMakeP12.java:109)
> [java] at
> org.ejbca.ui.cli.EjbcaEjbCli.executeCommand(EjbcaEjbCli.java:118)
> [java] at org.ejbca.ui.cli.EjbcaEjbCli.main(EjbcaEjbCli.java:68)
> [java] at
> org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:72)
> [java] at
> org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
> [java] at
> org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:61)
> [java] at
> org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
> [java] at
> org.jboss.ejb3.security.client.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:65)
> [java] at
> org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
> [java] at
> org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:74)
> [java] at
> org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
> [java] at
> org.jboss.aspects.remoting.PojiProxy.invoke(PojiProxy.java:62)
> [java] at sun.proxy.$Proxy3.invoke(Unknown Source)
> [java] at
> org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.invoke(SessionProxyInvocationHandlerBase.java:207)
> [java] at
> org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.invoke(SessionProxyInvocationHandlerBase.java:164)
> [java] ... 5 more
> [java] Java Result: 1
>
> BUILD FAILED
> /usr/local/ejbca/build.xml:64: The following error occurred while
> executing this line:
> /usr/local/ejbca/bin/cli.xml:93: The following error occurred while
> executing this line:
> /usr/local/ejbca/bin/cli.xml:128: Batch generation failed!
>
> Total time: 15 seconds
>
> Thank you in advance!
>
> Cheers
>
> Geza Gemes
>
>
> ------------------------------------------------------------------------------
> Own the Future-Intel(R) Level Up Game Demo Contest 2013
> Rise to greatness in Intel's independent game demo contest. Compete
> for recognition, cash, and the chance to get your game on Steam.
> $5K grand prize plus 10 genre and skill prizes. Submit your demo
> by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2
>
>
> _______________________________________________
> Ejbca-develop mailing list
> Ejb...@li...
> https://lists.sourceforge.net/lists/listinfo/ejbca-develop
|
|
From: Gémes G. <ge...@kz...> - 2013-03-30 07:16:27
|
Hi, Sorry for asking beginner questions, but regarding ejbca/jboss that's what I am ;-) I've tried to install ejbca 4.0.14 onto an ubuntu 12.04.2 minimal install (just ssh and apache (for proxy) ) following http://www.ejbca.org/installation.html I've modified a few properties files, which I've attached (removed the comments and passwords). While ant bootstrap is able to run, after starting up jboss, ant install fails with: ejbca:batchsuperadmin: [echo] batch superadmin [java] Generating keys in directory /usr/local/ejbca/p12. [java] java.lang.reflect.UndeclaredThrowableException [java] at sun.proxy.$Proxy2.findUser(Unknown Source) [java] at org.ejbca.ui.cli.batch.BatchMakeP12.createUser(BatchMakeP12.java:557) [java] at org.ejbca.ui.cli.batch.BatchMakeP12.execute(BatchMakeP12.java:109) [java] at org.ejbca.ui.cli.EjbcaEjbCli.executeCommand(EjbcaEjbCli.java:118) [java] at org.ejbca.ui.cli.EjbcaEjbCli.main(EjbcaEjbCli.java:68) [java] Caused by: java.lang.ClassNotFoundException: org.jboss.resource.JBossResourceException [java] at org.jboss.remoting.serialization.ClassLoaderUtility.loadClass(ClassLoaderUtility.java:103) [java] at org.jboss.remoting.loading.RemotingClassLoader.loadClass(RemotingClassLoader.java:86) [java] at java.lang.Class.forName0(Native Method) [java] at java.lang.Class.forName(Class.java:266) [java] at org.jboss.remoting.loading.ObjectInputStreamWithClassLoader.resolveClass(ObjectInputStreamWithClassLoader.java:179) [java] at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1592) [java] at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1513) [java] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1749) [java] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1346) [java] at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1969) [java] at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1893) [java] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1776) [java] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1346) [java] at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1969) [java] at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1893) [java] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1776) [java] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1346) [java] at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1969) [java] at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1893) [java] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1776) [java] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1346) [java] at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1969) [java] at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1893) [java] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1776) [java] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1346) [java] at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1969) [java] at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1893) [java] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1776) [java] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1346) [java] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:368) [java] at org.jboss.remoting.serialization.impl.java.JavaSerializationManager.receiveObjectVersion2_2(JavaSerializationManager.java:238) [java] at org.jboss.remoting.serialization.impl.java.JavaSerializationManager.receiveObject(JavaSerializationManager.java:138) [java] at org.jboss.remoting.marshal.serializable.SerializableUnMarshaller.read(SerializableUnMarshaller.java:123) [java] at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.versionedRead(MicroSocketClientInvoker.java:1220) [java] at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:850) [java] at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:165) [java] at org.jboss.remoting.Client.invoke(Client.java:1724) [java] at org.jboss.remoting.Client.invoke(Client.java:629) [java] at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:60) [java] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [java] at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:61) [java] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [java] at org.jboss.ejb3.security.client.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:65) [java] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [java] at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:74) [java] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [java] at org.jboss.aspects.remoting.PojiProxy.invoke(PojiProxy.java:62) [java] at sun.proxy.$Proxy3.invoke(Unknown Source) [java] at org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.invoke(SessionProxyInvocationHandlerBase.java:207) [java] at org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.invoke(SessionProxyInvocationHandlerBase.java:164) [java] at sun.proxy.$Proxy2.findUser(Unknown Source) [java] at org.ejbca.ui.cli.batch.BatchMakeP12.createUser(BatchMakeP12.java:557) [java] at org.ejbca.ui.cli.batch.BatchMakeP12.execute(BatchMakeP12.java:109) [java] at org.ejbca.ui.cli.EjbcaEjbCli.executeCommand(EjbcaEjbCli.java:118) [java] at org.ejbca.ui.cli.EjbcaEjbCli.main(EjbcaEjbCli.java:68) [java] at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:72) [java] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [java] at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:61) [java] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [java] at org.jboss.ejb3.security.client.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:65) [java] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [java] at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:74) [java] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [java] at org.jboss.aspects.remoting.PojiProxy.invoke(PojiProxy.java:62) [java] at sun.proxy.$Proxy3.invoke(Unknown Source) [java] at org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.invoke(SessionProxyInvocationHandlerBase.java:207) [java] at org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.invoke(SessionProxyInvocationHandlerBase.java:164) [java] ... 5 more [java] Java Result: 1 BUILD FAILED /usr/local/ejbca/build.xml:64: The following error occurred while executing this line: /usr/local/ejbca/bin/cli.xml:93: The following error occurred while executing this line: /usr/local/ejbca/bin/cli.xml:128: Batch generation failed! Total time: 15 seconds Thank you in advance! Cheers Geza Gemes |
|
From: ejbca-support <ejb...@pr...> - 2013-03-28 19:11:23
|
On 2013-03-28 11:51, ha...@nc... wrote: > Dear sir, > i am installed SCEP RA model on external RA host and installation done > successfully. but when am trying to access the scep RA by using URL that > point in the ejbca documentation , the connection refused by error : > server not found > how can i access the Scep RA Server on the external RA host > plz help The RA host log should indicate if it is working or not and on which port it is listening to. Cheers Anders tech support > > > regard > > > > > ------------------------------------------------------------------------------ > Own the Future-Intel® Level Up Game Demo Contest 2013 > Rise to greatness in Intel's independent game demo contest. > Compete for recognition, cash, and the chance to get your game > on Steam. $5K grand prize plus 10 genre and skill prizes. > Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d > _______________________________________________ > Ejbca-develop mailing list > Ejb...@li... > https://lists.sourceforge.net/lists/listinfo/ejbca-develop > |