Error with External RA deployment on the RA Server

View: New views
3 Messages — Rating Filter:   Alert me  

Error with External RA deployment on the RA Server

by fred2676 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hello
Could someone help me with the following problem about Extra API ?
 
I use :
- EJBCA 3.9.0
- EXTRA 3.9.0
- JBOSS 4.2.2.GA
- JDK1.6.0_13
 
I read the manual external-ra-server.pdf to try to install an external RA SERVER
When I try to make 'ant deployscepraserver' I have the following error in JBOSS (see below):
Thanks in advance
Fred
***
 
12:03:06,553 INFO  [TomcatDeployer] deploy, ctxPath=/scepraserver, warUrl=.../tm
p/deploy/tmp5749170087583784791scepraserver-exp.war/
12:03:06,837 INFO  [ExtraConfiguration] Added url to configuration source: file:
/C:/srv_001/jboss-4.2.2.GA/server/default/tmp/deploy/tmp5749170087583784791scepr
aserver-exp.war/WEB-INF/classes/scep.properties
12:03:06,880 INFO  [ExtraConfiguration] Allow external re-configuration: false
12:03:06,991 ERROR [[/scepraserver]] StandardWrapper.Throwable
java.lang.NoSuchFieldError: NAME
        at org.ejbca.util.dn.DnComponents.<clinit>(DnComponents.java:82)
        at org.ejbca.util.CertTools.<clinit>(CertTools.java:142)
        at org.ejbca.extra.ra.ScepRAServlet.init(ScepRAServlet.java:116)
        at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.
java:1161)
        at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:98
1)
        at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex
t.java:4071)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
375)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:790)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:77
0)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.j
ava:296)
        at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:1
64)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        at org.apache.catalina.core.StandardContext.init(StandardContext.java:53
12)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.j
ava:296)
        at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:1
64)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Ejbca-develop mailing list
Ejbca-develop@...
https://lists.sourceforge.net/lists/listinfo/ejbca-develop

Re: Error with External RA deployment on the RA Server

by Johan Eklund :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Fred,

This is most likely caused by an old BouncyCastle library being
somewhere in the classpath. Try using EJBCA 3.9.1 that has an updated
version of this library.

Best Regards,
Johan

Gilloteau Frederic skrev:

> Hello
> Could someone help me with the following problem about Extra API ?
>  
> I use :
> - EJBCA 3.9.0
> - EXTRA 3.9.0
> - JBOSS 4.2.2.GA
> - JDK1.6.0_13
>  
> I read the manual external-ra-server.pdf to try to install an external
> RA SERVER
> When I try to make 'ant deployscepraserver' I have the following error
> in JBOSS (see below):
> Thanks in advance
> Fred
> ***
>  
> 12:03:06,553 INFO  [TomcatDeployer] deploy, ctxPath=/scepraserver,
> warUrl=.../tm
> p/deploy/tmp5749170087583784791scepraserver-exp.war/
> 12:03:06,837 INFO  [ExtraConfiguration] Added url to configuration
> source: file:
> /C:/srv_001/jboss-4.2.2.GA/server/default/tmp/deploy/tmp5749170087583784791scepr
> aserver-exp.war/WEB-INF/classes/scep.properties
> 12:03:06,880 INFO  [ExtraConfiguration] Allow external
> re-configuration: false
> 12:03:06,991 ERROR [[/scepraserver]] StandardWrapper.Throwable
> java.lang.NoSuchFieldError: NAME
>         at org.ejbca.util.dn.DnComponents.<clinit>(DnComponents.java:82)
>         at org.ejbca.util.CertTools.<clinit>(CertTools.java:142)
>         at org.ejbca.extra.ra.ScepRAServlet.init(ScepRAServlet.java:116)
>         at
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.
> java:1161)
>         at
> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:98
> 1)
>         at
> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex
> t.java:4071)
>         at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4
> 375)
>         at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
> .java:790)
>         at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:77
> 0)
>         at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.j
> ava:296)
>         at
> org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:1
> 64)
>         at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
>         at
> org.apache.catalina.core.StandardContext.init(StandardContext.java:53
> 12)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.j
> ava:296)
>         at
> org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:1
> 64)
>         at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9-12, 2009. Register now!
> http://p.sf.net/sfu/devconf
> ------------------------------------------------------------------------
>
> _______________________________________________
> Ejbca-develop mailing list
> Ejbca-develop@...
> https://lists.sourceforge.net/lists/listinfo/ejbca-develop
>  

--
PrimeKey Solutions offers a commercial EJBCA support subscription and training for EJBCA. Please see www.primekey.se or contact info@... for more information. http://download.primekey.se/documents/ejbca_subscription.pdf http://download.primekey.se/documents/ejbca_training.pdf




------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Ejbca-develop mailing list
Ejbca-develop@...
https://lists.sourceforge.net/lists/listinfo/ejbca-develop

smime.p7s (3K) Download Attachment

Re: Error with External RA deployment on the RAServer

by fred2676 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Johan

Thank you for your reply!
It "works" with EXTRA 3.9.1 and EJBCA 3.9.1.

Now I have the same CISCO IOS error that you describe in your HOWTO:
I will try to get some infos from CISCO ...

****************************************************************************
Note! This would only have a chance to work in EJBCA 3.8.1 and later, and
actually it does not work due to the following error in Cisco. If you have
any ideas, please contact us.

Router#debug crypto pki API
Router#debug crypto pki messages
Router#debug crypto pki server
Router#debug crypto pki transactions
Router#debug crypto pki validation

...

*Jan 16 21:47:32.546: CRYPTO_PKI: make trustedCerts list for ScepRA
*Jan 16 21:47:32.550: CRYPTO_PKI: subject="c=SE,o=Foo,cn=Scep RA" serial
number= 3A 46 2F B4 5B AC 06 47                        

*Jan 16 21:47:32.554: CRYPTO_PKI: subject="c=SE,o=EJBCA Sample,cn=ScepCA"
serial number= 19 A6 7D 78 AF 9D 3B 27                        

*Jan 16 21:47:32.566: E ../cert-c/source/p7digdat.c(377) : Error #703h
*Jan 16 21:47:32.566: E ../cert-c/source/p7spprt.c(589) : Error #703h
*Jan 16 21:47:32.582: pkcs7 verify data returned status 0x703
*Jan 16 21:47:32.582: CRYPTO_PKI: status = 1795: failed to verify
*Jan 16 21:47:32.582: %PKI-6-CERTFAIL: Certificate enrollment failed.
*Jan 16 21:47:32.582: CRYPTO_PKI: All enrollment requests completed for
trustpoint ScepRA.
****************************************************************************


-----Message d'origine-----
De : Johan Eklund [mailto:ejbca-support@...]
Envoyé : jeudi 24 septembre 2009 13:43
À : ejbca-develop@...
Objet : Re: [Ejbca-develop] Error with External RA deployment on the
RAServer

Hi Fred,

This is most likely caused by an old BouncyCastle library being
somewhere in the classpath. Try using EJBCA 3.9.1 that has an updated
version of this library.

Best Regards,
Johan

Gilloteau Frederic skrev:

> Hello
> Could someone help me with the following problem about Extra API ?
>  
> I use :
> - EJBCA 3.9.0
> - EXTRA 3.9.0
> - JBOSS 4.2.2.GA
> - JDK1.6.0_13
>  
> I read the manual external-ra-server.pdf to try to install an external
> RA SERVER
> When I try to make 'ant deployscepraserver' I have the following error
> in JBOSS (see below):
> Thanks in advance
> Fred
> ***
>  
> 12:03:06,553 INFO  [TomcatDeployer] deploy, ctxPath=/scepraserver,
> warUrl=.../tm
> p/deploy/tmp5749170087583784791scepraserver-exp.war/
> 12:03:06,837 INFO  [ExtraConfiguration] Added url to configuration
> source: file:
>
/C:/srv_001/jboss-4.2.2.GA/server/default/tmp/deploy/tmp5749170087583784791s
cepr

> aserver-exp.war/WEB-INF/classes/scep.properties
> 12:03:06,880 INFO  [ExtraConfiguration] Allow external
> re-configuration: false
> 12:03:06,991 ERROR [[/scepraserver]] StandardWrapper.Throwable
> java.lang.NoSuchFieldError: NAME
>         at org.ejbca.util.dn.DnComponents.<clinit>(DnComponents.java:82)
>         at org.ejbca.util.CertTools.<clinit>(CertTools.java:142)
>         at org.ejbca.extra.ra.ScepRAServlet.init(ScepRAServlet.java:116)
>         at
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.
> java:1161)
>         at
> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:98
> 1)
>         at
> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex
> t.java:4071)
>         at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4
> 375)
>         at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
> .java:790)
>         at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:77
> 0)
>         at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.j
> ava:296)
>         at
> org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:1
> 64)
>         at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
>         at
> org.apache.catalina.core.StandardContext.init(StandardContext.java:53
> 12)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.j
> ava:296)
>         at
> org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:1
> 64)
>         at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
>
> ------------------------------------------------------------------------
>
>
----------------------------------------------------------------------------
--
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9-12, 2009. Register
now!
> http://p.sf.net/sfu/devconf
> ------------------------------------------------------------------------
>
> _______________________________________________
> Ejbca-develop mailing list
> Ejbca-develop@...
> https://lists.sourceforge.net/lists/listinfo/ejbca-develop
>  


--
PrimeKey Solutions offers a commercial EJBCA support subscription and
training for EJBCA. Please see www.primekey.se or contact info@...
for more information.
http://download.primekey.se/documents/ejbca_subscription.pdf
http://download.primekey.se/documents/ejbca_training.pdf




------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Ejbca-develop mailing list
Ejbca-develop@...
https://lists.sourceforge.net/lists/listinfo/ejbca-develop