PlanetJava
Custom Search

java-ejbca-devel
[Top] [All Lists]

Re: ant install --- Error creating CRL

Subject: Re: ant install --- Error creating CRL
Date: Mon, 07 Apr 2008 20:49:46 -0700
Oh, the only usual problem we run into with linux boxes are that they 
tend to include gnu java, which will be first in the path. Nothing works 
with gnu java, so you have to install the real java to be first in the 
path etc.
I think that ejbca 3.6 will warn you and give you errors during ant if 
trying to run on gnu java though. So if you're running 3.6 I don't think 
this should be a problem.
Cheers,
Tomas
zhiqian wrote:
> Hi,
> 
> I've been using root account for all the installs and deployment including
> JBoss. I've installed an old ejbca windows version on my own laptop before
> and I never had problems. I don't know why it's so hard to install it on the
> linux box :-( ....
> 
> I'm sorry that I'm not familiar with JBoss, what would be your suggestion to
> find out what has happened?
> 
> Thank you so much!!
> 
> Zhiqian
> 
> 
> Ejbca support wrote:
>>
>> How about file permissions? Have you done somethings as root so some 
>> files have become read-only for the JBoss server?
>>
>> It looks strange that it should stop at that point.
>>
>>
>> zhiqian wrote:
>>> Hi Johan,
>>>
>>> Thank you so much for your infomation. I think I found why it's not
>>> having
>>> error messages logged.
>>> It looked like that JBoss never was able to deploy the ejbca completely
>>> after ant bootstap
>>>
>>> After ant bootstrap, I started JBoss and it's staying at the following
>>> point
>>> for more than an hour now,
>>> I also checked the log file, there were nothing to be logged after that
>>> either. Please find the following 
>>> output from the console which started JBoss. Please find the uploaded
>>> server.log. Would you please let me
>>> know what could be the problem? If you need more info from me, please let
>>> me
>>> know. I really need to get it set up as soon as possible for our
>>> prototype.
>>> I really appreciate your help and time on helping me out!!!
>>>
>>> http://www.nabble.com/file/p16537547/server.log server.log 
>>>
>>> The following is the last lines from ant bootstrap:
>>>
>>> jbosscmptcplistener:
>>>
>>> buildwithcmptcpservice:
>>>
>>> deploy:
>>>      [echo] Merging available external modifications from
>>> /export/home/zxu/ejbca-custom.
>>>      [copy] Warning: /export/home/zxu/ejbca-custom not found.
>>> Trying to override old definition of task apt
>>> Trying to override old definition of task wsimport
>>>
>>> j2ee:check:
>>>      [echo] Using appserver.home : /home/zxu/jboss-4.2.2.GA
>>>
>>> j2ee:web-noconfigure:
>>>
>>> j2ee:web-configure:
>>>
>>> j2ee:configure:
>>>      [copy] Copying 1 file to
>>> /home/zxu/jboss-4.2.2.GA/server/default/deploy/jboss-web.deployer
>>>
>>> j2ee:deployBase:
>>>      [copy] Copying 2 files to
>>> /home/zxu/jboss-4.2.2.GA/server/default/deploy
>>>      [copy] Copying 1 file to
>>> /home/zxu/jboss-4.2.2.GA/server/default/deploy
>>>
>>> j2ee:deploy:
>>>
>>> BUILD SUCCESSFUL
>>> Total time: 32 seconds
>>>
>>> The following is the output of another console for starting JBoss:
>>>
>>> 10:36:05,618 INFO  [BaseLocalProxyFactory] Bound EJB LocalHome
>>> 'UserAdminSession' to jndi 'UserAdminSessionLocal'
>>> 10:36:05,625 INFO  [ProxyFactory] Bound EJB Home 'UserAdminSession' to
>>> jndi
>>> 'UserAdminSession'
>>> 10:36:05,631 INFO  [BaseLocalProxyFactory] Bound EJB LocalHome
>>> 'CreateCRLSession' to jndi 'CreateCRLSessionLocal'
>>> 10:36:05,635 INFO  [ProxyFactory] Bound EJB Home 'CreateCRLSession' to
>>> jndi
>>> 'CreateCRLSession'
>>> 10:36:05,644 INFO  [BaseLocalProxyFactory] Bound EJB LocalHome
>>> 'RSASignSession' to jndi 'SignSessionLocal'
>>> 10:36:05,651 INFO  [ProxyFactory] Bound EJB Home 'RSASignSession' to jndi
>>> 'RSASignSession'
>>> 10:36:05,656 INFO  [BaseLocalProxyFactory] Bound EJB LocalHome
>>> 'AuthenticationSession' to jndi 'AuthenticationSessionLocal'
>>> 10:36:05,659 INFO  [ProxyFactory] Bound EJB Home 'AuthenticationSession'
>>> to
>>> jndi 'AuthenticationSession'
>>> 10:36:05,664 INFO  [BaseLocalProxyFactory] Bound EJB LocalHome
>>> 'TableProtectSession' to jndi 'TableProtectSessionLocal'
>>> 10:36:05,668 INFO  [ProxyFactory] Bound EJB Home 'TableProtectSession' to
>>> jndi 'TableProtectSession'
>>> 10:36:05,669 INFO  [EJBDeployer] Deployed:
>>> file:/export/home/zxu/jboss-4.2.2.GA/server/default/tmp/deploy/tmp39619ejbca.ear-contents/ejbca-ejb.jar
>>> 10:36:05,754 INFO  [TomcatDeployer] deploy, ctxPath=/ejbca/adminweb,
>>> warUrl=.../tmp/deploy/tmp39619ejbca.ear-contents/adminweb-exp.war/
>>>
>>> Thank you so much!!!
>>>
>>> Zhiqian
>>>
>>>
>>> Johan Eklund wrote:
>>>> Hi Zhiqian,
>>>>
>>>> JBoss log are replaced each time you restart JBoss.
>>>>
>>>> Normal EJBCA install:
>>>> * Create clean DB and make sure $EJCBA_HOME/conf/* are the way you want 
>>>> them to be.
>>>> * ~/ejbca$ ant clean
>>>> * ~/ejbca$ ant bootstrap
>>>> * Start JBoss in another console and wait for it to be fully started.
>>>> * ~/ejbca$ ant install
>>>> * Stop JBoss and wait for it to go down completely.
>>>> *** Upload this $JBOSS_HOME/server/default/log/server.log ***
>>>> * ~/ejbca$ ant deploy
>>>> * Start JBoss (this will replace server.log) and wait for it to be fully 
>>>> started (this wont work if install failed..)
>>>>
>>>> Best regards,
>>>> Johan
>>>>
>>>> zhiqian skrev:
>>>>> Tomas,
>>>>>
>>>>> I don't know why I didn't get the error messages in the log file except
>>>>> the
>>>>> error messages regarding creating CRL and not being able to find CA in
>>>>> database on the console.
>>>>>
>>>>> I saw that the ejbca was deployed by JBoss after ant bootstrap and
>>>>> started
>>>>> JBoss. I didn't see any error messages on deploying ejbca. 
>>>>>
>>>>> Would you please let me know how can I check if ejbca has been properly
>>>>> deployed or not? When ant install is run, does JBoss start ejbca? Do
>>>>> you
>>>>> happen to know what could be wrong causing ejbca couldn't be started?
>>>>>
>>>>> Thank you so much for your help!
>>>>>
>>>>> Zhiqian
>>>>>  
>>>>>
>>>>> Ejbca support wrote:
>>>>>   
>>>>>> I'm sorry but that server.log only contains information about the 
>>>>>> deployment, it stops when it's supposedly to start EJBCA.
>>>>>>
>>>>>> The only parts needed are from when you EJBCA and get the error I
>>>>>> think.
>>>>>> If you look in server.log you will have java exceptions when you get
>>>>>> the 
>>>>>> error.
>>>>>>
>>>>>> Regards,
>>>>>> Tomas
>>>>>>
>>>>>>
>>>>>> zhiqian wrote:
>>>>>>     
>>>>>>> Hi Tomas,
>>>>>>>
>>>>>>> http://www.nabble.com/file/p16512394/server.log server.log 
>>>>>>>
>>>>>>> OK. I just uploaded it again. It seems to get through this time....
>>>>>>>
>>>>>>> Thank you very much for your help!!!
>>>>>>>
>>>>>>> Zhiqian
>>>>>>>
>>>>>>>
>>>>>>> Ejbca support wrote:
>>>>>>>       
>>>>>>>> Hi,
>>>>>>>> Where can I fetch the server.log file?
>>>>>>>>
>>>>>>>> Cheers,
>>>>>>>> Tomas
>>>>>>>>
>>>>>>>>
>>>>>>>> zhiqian wrote:
>>>>>>>>         
>>>>>>>>> Hi Tomas,
>>>>>>>>>
>>>>>>>>> I've uploaded the server.log file. I'd just like you to know that I
>>>>>>>>> switched
>>>>>>>>> back to 2048 for ca key 
>>>>>>>>> as it didn't seem to be the problem...
>>>>>>>>>
>>>>>>>>> Thank you so much for your time and help. Please let me know if you
>>>>>>>>> need
>>>>>>>>> more info from me.
>>>>>>>>>
>>>>>>>>> Zhiqian
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Ejbca support wrote:
>>>>>>>>>           
>>>>>>>>>> Can you send some errors from
>>>>>>>>>> JBOSS_HOME/server/default/log/server.log. 
>>>>>>>>>> It should be visible clearly what the underlyng problem is.
>>>>>>>>>>
>>>>>>>>>> Regards,
>>>>>>>>>> Tomas
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> zhiqian wrote:
>>>>>>>>>>             
>>>>>>>>>>> Hi Johan,
>>>>>>>>>>>
>>>>>>>>>>> I've changed the CA key as 1024 bit, but I'm still having the
>>>>>>>>>>> same
>>>>>>>>>>> errors.
>>>>>>>>>>> It didn't seem to take a long time before it put out the error
>>>>>>>>>>> messages.
>>>>>>>>>>> Would you please let me know what else could be wrong? By the way
>>>>>>>>>>> I
>>>>>>>>>>> simply
>>>>>>>>>>> copied catoken.properties.sample as catoken.properties. I tried
>>>>>>>>>>> both
>>>>>>>>>>> situations: with or without catoken.properties, the result is the
>>>>>>>>>>> same....
>>>>>>>>>>>
>>>>>>>>>>> Thank you so much for your help and time! The detail info is as
>>>>>>>>>>> the
>>>>>>>>>>> following:
>>>>>>>>>>>
>>>>>>>>>>> ant install
>>>>>>>>>>> Buildfile: build.xml
>>>>>>>>>>>      [echo] Merging available external modifications from
>>>>>>>>>>> /export/home/zxu/ejbca-custom.
>>>>>>>>>>>      [copy] Warning: /export/home/zxu/ejbca-custom not found.
>>>>>>>>>>> Trying to override old definition of task apt
>>>>>>>>>>>
>>>>>>>>>>> install:
>>>>>>>>>>>
>>>>>>>>>>> check:bootstrapdone:
>>>>>>>>>>>
>>>>>>>>>>> ejbca:noprompt:
>>>>>>>>>>>
>>>>>>>>>>> ejbca:prompt:
>>>>>>>>>>>     [input] skipping input as property ca.name has already been
>>>>>>>>>>> set.
>>>>>>>>>>>     [input] skipping input as property ca.dn has already been
>>>>>>>>>>> set.
>>>>>>>>>>>     [input] skipping input as property ca.keyspec has already
>>>>>>>>>>> been
>>>>>>>>>>> set.
>>>>>>>>>>>     [input] skipping input as property ca.keytype has already
>>>>>>>>>>> been
>>>>>>>>>>> set.
>>>>>>>>>>>     [input] skipping input as property ca.signaturealgorithm has
>>>>>>>>>>> already
>>>>>>>>>>> been set.
>>>>>>>>>>>     [input] skipping input as property ca.validity has already
>>>>>>>>>>> been
>>>>>>>>>>> set.
>>>>>>>>>>>     [input] skipping input as property ca.policy has already been
>>>>>>>>>>> set.
>>>>>>>>>>>     [input] skipping input as property httpsserver.hostname has
>>>>>>>>>>> already
>>>>>>>>>>> been
>>>>>>>>>>> set.
>>>>>>>>>>>     [input] Please enter the server dn (default:
>>>>>>>>>>> CN=localhost,O=EJBCA
>>>>>>>>>>> Sample,C=SE) ? [CN=localhost,O=EJBCA Sample,C=SE]
>>>>>>>>>>> [[email protected] ejbca_3_6_b1]# ant install
>>>>>>>>>>> Buildfile: build.xml
>>>>>>>>>>>      [echo] Merging available external modifications from
>>>>>>>>>>> /export/home/zxu/ejbca-custom.
>>>>>>>>>>>      [copy] Warning: /export/home/zxu/ejbca-custom not found.
>>>>>>>>>>> Trying to override old definition of task apt
>>>>>>>>>>>
>>>>>>>>>>> install:
>>>>>>>>>>>
>>>>>>>>>>> check:bootstrapdone:
>>>>>>>>>>>
>>>>>>>>>>> ejbca:noprompt:
>>>>>>>>>>>
>>>>>>>>>>> ejbca:prompt:
>>>>>>>>>>>     [input] skipping input as property ca.name has already been
>>>>>>>>>>> set.
>>>>>>>>>>>     [input] skipping input as property ca.dn has already been
>>>>>>>>>>> set.
>>>>>>>>>>>     [input] skipping input as property ca.keyspec has already
>>>>>>>>>>> been
>>>>>>>>>>> set.
>>>>>>>>>>>     [input] skipping input as property ca.keytype has already
>>>>>>>>>>> been
>>>>>>>>>>> set.
>>>>>>>>>>>     [input] skipping input as property ca.signaturealgorithm has
>>>>>>>>>>> already
>>>>>>>>>>> been set.
>>>>>>>>>>>     [input] skipping input as property ca.validity has already
>>>>>>>>>>> been
>>>>>>>>>>> set.
>>>>>>>>>>>     [input] skipping input as property ca.policy has already been
>>>>>>>>>>> set.
>>>>>>>>>>>     [input] skipping input as property httpsserver.hostname has
>>>>>>>>>>> already
>>>>>>>>>>> been
>>>>>>>>>>> set.
>>>>>>>>>>>     [input] Please enter the server dn (default:
>>>>>>>>>>> CN=localhost,O=EJBCA
>>>>>>>>>>> Sample,C=SE) ? [CN=localhost,O=EJBCA Sample,C=SE]
>>>>>>>>>>>
>>>>>>>>>>>     [input] Please enter the superadmin password (default: ejbca)
>>>>>>>>>>> ?
>>>>>>>>>>> [ejbca]
>>>>>>>>>>>
>>>>>>>>>>>     [input] Please enter the if superadmin keystore should be
>>>>>>>>>>> batched
>>>>>>>>>>> (default: true) ? [true]
>>>>>>>>>>>
>>>>>>>>>>>     [input] skipping input as property java.trustpassword has
>>>>>>>>>>> already
>>>>>>>>>>> been
>>>>>>>>>>> set.
>>>>>>>>>>>
>>>>>>>>>>> ejbca:init:
>>>>>>>>>>>      [echo]
>>>>>>>>>>>      [echo] ------------------- CA Properties ----------------
>>>>>>>>>>>      [echo] ca.name                : AdminCA1
>>>>>>>>>>>      [echo] ca.dn                  : CN=AdminCA1,O=EJBCA
>>>>>>>>>>> Sample,C=SE
>>>>>>>>>>>      [echo] ca.tokentype           : soft
>>>>>>>>>>>      [echo] ca.tokenpassword       : null
>>>>>>>>>>>      [echo] ca.keyspec             : 1024
>>>>>>>>>>>      [echo] ca.keytype             : RSA
>>>>>>>>>>>      [echo] ca.signaturealgorithm  : SHA1WithRSA
>>>>>>>>>>>      [echo] ca.validity            : 3650
>>>>>>>>>>>      [echo] ca.policy              : null
>>>>>>>>>>>      [echo] ca.tokenproperties     : conf/catoken.properties
>>>>>>>>>>>      [echo] httpsserver.hostname   : localhost
>>>>>>>>>>>      [echo] httpsserver.dn         : CN=localhost,O=EJBCA
>>>>>>>>>>> Sample,C=SE
>>>>>>>>>>>      [echo] httpsserver.password   : serverpwd
>>>>>>>>>>>      [echo] superadmin.password    : ejbca
>>>>>>>>>>>      [echo] superadmin.batch       : true
>>>>>>>>>>>      [echo] java.trustpassword     : changeit
>>>>>>>>>>>      [echo] appserver.home         : /home/zxu/jboss-4.2.2.GA
>>>>>>>>>>>      [echo]
>>>>>>>>>>>
>>>>>>>>>>> ejbca:install:
>>>>>>>>>>>      [echo] Initializing CA with AdminCA1 'CN=AdminCA1,O=EJBCA
>>>>>>>>>>> Sample,C=SE'
>>>>>>>>>>> soft null 1024 RSA 3650 null SHA1WithRSA
>>>>>>>>>>> conf/catoken.properties...
>>>>>>>>>>>      [echo] ca init AdminCA1 "CN=AdminCA1,O=EJBCA Sample,C=SE"
>>>>>>>>>>> soft
>>>>>>>>>>> null
>>>>>>>>>>> 1024 RSA 3650 null SHA1WithRSA conf/catoken.properties
>>>>>>>>>>>      [java] Initializing CA
>>>>>>>>>>>      [java] Generating rootCA keystore:
>>>>>>>>>>>      [java] CA name: AdminCA1
>>>>>>>>>>>      [java] DN: CN=AdminCA1,O=EJBCA Sample,C=SE
>>>>>>>>>>>      [java] CA token type: soft
>>>>>>>>>>>      [java] CA token password: null
>>>>>>>>>>>      [java] Keyspec: 1024
>>>>>>>>>>>      [java] Keytype: RSA
>>>>>>>>>>>      [java] Validity (days): 3650
>>>>>>>>>>>      [java] Policy ID: null
>>>>>>>>>>>      [java] Signature alg: SHA1WithRSA
>>>>>>>>>>>      [java] CA token properties: null
>>>>>>>>>>>      [java] Initalizing Temporary Authorization Module.
>>>>>>>>>>>      [java] Creating CA...
>>>>>>>>>>>      [java] org.jboss.tm.JBossTransactionRolledbackException:
>>>>>>>>>>> javax.ejb.TransactionRolledbackLocalException: Error creating
>>>>>>>>>>> CRL.;
>>>>>>>>>>> nested
>>>>>>>>>>> exception is:
>>>>>>>>>>>      [java]     javax.ejb.EJBException:
>>>>>>>>>>> javax.ejb.TransactionRolledbackLocalException: Error creating
>>>>>>>>>>> CRL.;
>>>>>>>>>>> -
>>>>>>>>>>> nested
>>>>>>>>>>> throwable: (javax.ejb.EJBException:
>>>>>>>>>>> javax.ejb.TransactionRolledbackLocalException: Error creating
>>>>>>>>>>> CRL.)
>>>>>>>>>>>      [java] Java Result: 255
>>>>>>>>>>>
>>>>>>>>>>> ejbca:adminweb:
>>>>>>>>>>>      [echo] setup setdefaultbaseurl localhost ejbca
>>>>>>>>>>>      [echo] ra adduser tomcat serverpwd "CN=localhost,O=EJBCA
>>>>>>>>>>> Sample,C=SE"
>>>>>>>>>>> "IPAddress=127.0.0.1" AdminCA1 null 1 JKS
>>>>>>>>>>>      [java] Error : Couldn't find CA in database.
>>>>>>>>>>>      [echo] ra setclearpwd tomcat serverpwd
>>>>>>>>>>>      [java] Setting clear text password serverpwd for user tomcat
>>>>>>>>>>>      [java] javax.ejb.ObjectNotFoundException: No such entity!
>>>>>>>>>>>      [java] Java Result: 255
>>>>>>>>>>>      [echo] ra adduser superadmin ejbca "CN=SuperAdmin" null
>>>>>>>>>>> AdminCA1
>>>>>>>>>>> null
>>>>>>>>>>> 65 P12
>>>>>>>>>>>      [java] Error : Couldn't find CA in database.
>>>>>>>>>>>      [echo] ra setclearpwd superadmin ejbca
>>>>>>>>>>>      [java] Setting clear text password ejbca for user superadmin
>>>>>>>>>>>      [java] javax.ejb.ObjectNotFoundException: No such entity!
>>>>>>>>>>>      [java] Java Result: 255
>>>>>>>>>>>      [java] 0    [main] INFO  org.ejbca.ui.cli.batch.BatchMakeP12 
>>>>>>>>>>> -
>>>>>>>>>>> Generating keys in directory /export/home/zxu/ejbca_3_6_b1/p12.
>>>>>>>>>>>      [java] 1    [main] INFO  org.ejbca.ui.cli.batch.BatchMakeP12 
>>>>>>>>>>> -
>>>>>>>>>>> Generating for all NEW.
>>>>>>>>>>>      [java] 36   [main] INFO  org.ejbca.ui.cli.batch.BatchMakeP12 
>>>>>>>>>>> -
>>>>>>>>>>> Batch
>>>>>>>>>>> generating 0 users.
>>>>>>>>>>>      [java] 36   [main] INFO  org.ejbca.ui.cli.batch.BatchMakeP12 
>>>>>>>>>>> -
>>>>>>>>>>> Generating for all FAILED.
>>>>>>>>>>>      [java] 51   [main] INFO  org.ejbca.ui.cli.batch.BatchMakeP12 
>>>>>>>>>>> -
>>>>>>>>>>> Batch
>>>>>>>>>>> generating 0 users.
>>>>>>>>>>>
>>>>>>>>>>> BUILD FAILED
>>>>>>>>>>> /export/home/zxu/ejbca_3_6_b1/build.xml:40: The following error
>>>>>>>>>>> occurred
>>>>>>>>>>> while executing this line:
>>>>>>>>>>> /export/home/zxu/ejbca_3_6_b1/bin/cli.xml:116: The following
>>>>>>>>>>> error
>>>>>>>>>>> occurred
>>>>>>>>>>> while executing this line:
>>>>>>>>>>> /export/home/zxu/ejbca_3_6_b1/bin/cli.xml:140: Batch generation
>>>>>>>>>>> failed!
>>>>>>>>>>>
>>>>>>>>>>> Total time: 50 seconds
>>>>>>>>>>>
>>>>>>>>>>> Best Regards,
>>>>>>>>>>>
>>>>>>>>>>> Zhiqian 
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Ejbca support wrote:
>>>>>>>>>>>               
>>>>>>>>>>>> Hi Zhiqian,
>>>>>>>>>>>>
>>>>>>>>>>>> JBossTransactionRolledbackException sounds like it took to long
>>>>>>>>>>>> time
>>>>>>>>>>>> to
>>>>>>>>>>>> generate the CA so the transaction timed out. You can try using
>>>>>>>>>>>> 1024
>>>>>>>>>>>> bit
>>>>>>>>>>>> key for the initial CA just to see if this is the issue. If it
>>>>>>>>>>>> is,
>>>>>>>>>>>> you
>>>>>>>>>>>> probably have to change your database specific properties to
>>>>>>>>>>>> allow
>>>>>>>>>>>> longer
>>>>>>>>>>>> transaction times.
>>>>>>>>>>>>
>>>>>>>>>>>> Best regards,
>>>>>>>>>>>> Johan Eklund
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> zhiqian skrev:
>>>>>>>>>>>>                 
>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>
>>>>>>>>>>>>> I have deployed ejbca in JBoss without any error messages. When
>>>>>>>>>>>>> I
>>>>>>>>>>>>> ran
>>>>>>>>>>>>> ant
>>>>>>>>>>>>> install, I have the
>>>>>>>>>>>>> errors: Error creating CRL and Couldn't find CA in database.
>>>>>>>>>>>>> I've
>>>>>>>>>>>>> also
>>>>>>>>>>>>> checked JBoss log messages. I didn't find any error messages
>>>>>>>>>>>>> logged
>>>>>>>>>>>>> when
>>>>>>>>>>>>> the
>>>>>>>>>>>>> ear file is deployed.
>>>>>>>>>>>>>
>>>>>>>>>>>>> The detail error messages from ant install are the following:
>>>>>>>>>>>>>
>>>>>>>>>>>>> ant install
>>>>>>>>>>>>> Buildfile: build.xml
>>>>>>>>>>>>>      [echo] Merging available external modifications from
>>>>>>>>>>>>> /export/home/zxu/ejbca-custom.
>>>>>>>>>>>>>      [copy] Warning: /export/home/zxu/ejbca-custom not found.
>>>>>>>>>>>>> Trying to override old definition of task apt
>>>>>>>>>>>>>
>>>>>>>>>>>>> install:
>>>>>>>>>>>>>
>>>>>>>>>>>>> check:bootstrapdone:
>>>>>>>>>>>>>
>>>>>>>>>>>>> ejbca:noprompt:
>>>>>>>>>>>>>
>>>>>>>>>>>>> ejbca:prompt:
>>>>>>>>>>>>>     [input] skipping input as property ca.name has already been
>>>>>>>>>>>>> set.
>>>>>>>>>>>>>     [input] skipping input as property ca.dn has already been
>>>>>>>>>>>>> set.
>>>>>>>>>>>>>     [input] skipping input as property ca.keyspec has already
>>>>>>>>>>>>> been
>>>>>>>>>>>>> set.
>>>>>>>>>>>>>     [input] skipping input as property ca.keytype has already
>>>>>>>>>>>>> been
>>>>>>>>>>>>> set.
>>>>>>>>>>>>>     [input] skipping input as property ca.signaturealgorithm
>>>>>>>>>>>>> has
>>>>>>>>>>>>> already
>>>>>>>>>>>>> been set.
>>>>>>>>>>>>>     [input] skipping input as property ca.validity has already
>>>>>>>>>>>>> been
>>>>>>>>>>>>> set.
>>>>>>>>>>>>>     [input] skipping input as property ca.policy has already
>>>>>>>>>>>>> been
>>>>>>>>>>>>> set.
>>>>>>>>>>>>>     [input] skipping input as property httpsserver.hostname has
>>>>>>>>>>>>> already
>>>>>>>>>>>>> been
>>>>>>>>>>>>> set.
>>>>>>>>>>>>>     [input] Please enter the server dn (default:
>>>>>>>>>>>>> CN=localhost,O=EJBCA
>>>>>>>>>>>>> Sample,C=SE) ? [CN=localhost,O=EJBCA Sample,C=SE]
>>>>>>>>>>>>>
>>>>>>>>>>>>>     [input] Please enter the superadmin password (default:
>>>>>>>>>>>>> ejbca)
>>>>>>>>>>>>> ?
>>>>>>>>>>>>> [ejbca]
>>>>>>>>>>>>>
>>>>>>>>>>>>>     [input] Please enter the if superadmin keystore should be
>>>>>>>>>>>>> batched
>>>>>>>>>>>>> (default: true) ? [true]
>>>>>>>>>>>>>
>>>>>>>>>>>>>     [input] skipping input as property java.trustpassword has
>>>>>>>>>>>>> already
>>>>>>>>>>>>> been
>>>>>>>>>>>>> set.
>>>>>>>>>>>>>
>>>>>>>>>>>>> ejbca:init:
>>>>>>>>>>>>>      [echo]
>>>>>>>>>>>>>      [echo] ------------------- CA Properties ----------------
>>>>>>>>>>>>>      [echo] ca.name                : AdminCA1
>>>>>>>>>>>>>      [echo] ca.dn                  : CN=AdminCA1,O=EJBCA
>>>>>>>>>>>>> Sample,C=SE
>>>>>>>>>>>>>      [echo] ca.tokentype           : soft
>>>>>>>>>>>>>      [echo] ca.tokenpassword       : null
>>>>>>>>>>>>>      [echo] ca.keyspec             : 2048
>>>>>>>>>>>>>      [echo] ca.keytype             : RSA
>>>>>>>>>>>>>      [echo] ca.signaturealgorithm  : SHA1WithRSA
>>>>>>>>>>>>>      [echo] ca.validity            : 3650
>>>>>>>>>>>>>      [echo] ca.policy              : null
>>>>>>>>>>>>>      [echo] ca.tokenproperties     : conf/catoken.properties
>>>>>>>>>>>>>      [echo] httpsserver.hostname   : localhost
>>>>>>>>>>>>>      [echo] httpsserver.dn         : CN=localhost,O=EJBCA
>>>>>>>>>>>>> Sample,C=SE
>>>>>>>>>>>>>      [echo] httpsserver.password   : serverpwd
>>>>>>>>>>>>>      [echo] superadmin.password    : ejbca
>>>>>>>>>>>>>      [echo] superadmin.batch       : true
>>>>>>>>>>>>>      [echo] java.trustpassword     : changeit
>>>>>>>>>>>>>      [echo] appserver.home         : /home/zxu/jboss-4.2.2.GA
>>>>>>>>>>>>>      [echo]
>>>>>>>>>>>>>
>>>>>>>>>>>>> ejbca:install:
>>>>>>>>>>>>>      [echo] Initializing CA with AdminCA1 'CN=AdminCA1,O=EJBCA
>>>>>>>>>>>>> Sample,C=SE'
>>>>>>>>>>>>> soft null 2048 RSA 3650 null SHA1WithRSA
>>>>>>>>>>>>> conf/catoken.properties...
>>>>>>>>>>>>>      [echo] ca init AdminCA1 "CN=AdminCA1,O=EJBCA Sample,C=SE"
>>>>>>>>>>>>> soft
>>>>>>>>>>>>> null
>>>>>>>>>>>>> 2048 RSA 3650 null SHA1WithRSA conf/catoken.properties
>>>>>>>>>>>>>      [java] Initializing CA
>>>>>>>>>>>>>      [java] Generating rootCA keystore:
>>>>>>>>>>>>>      [java] CA name: AdminCA1
>>>>>>>>>>>>>      [java] DN: CN=AdminCA1,O=EJBCA Sample,C=SE
>>>>>>>>>>>>>      [java] CA token type: soft
>>>>>>>>>>>>>      [java] CA token password: null
>>>>>>>>>>>>>      [java] Keyspec: 2048
>>>>>>>>>>>>>      [java] Keytype: RSA
>>>>>>>>>>>>>      [java] Validity (days): 3650
>>>>>>>>>>>>>      [java] Policy ID: null
>>>>>>>>>>>>>      [java] Signature alg: SHA1WithRSA
>>>>>>>>>>>>>      [java] CA token properties: null
>>>>>>>>>>>>>      [java] Initalizing Temporary Authorization Module.
>>>>>>>>>>>>>      [java] Creating CA...
>>>>>>>>>>>>>      [java] org.jboss.tm.JBossTransactionRolledbackException:
>>>>>>>>>>>>> javax.ejb.TransactionRolledbackLocalException: Error creating
>>>>>>>>>>>>> CRL.;
>>>>>>>>>>>>> nested
>>>>>>>>>>>>> exception is:
>>>>>>>>>>>>>      [java]     javax.ejb.EJBException:
>>>>>>>>>>>>> javax.ejb.TransactionRolledbackLocalException: Error creating
>>>>>>>>>>>>> CRL.;
>>>>>>>>>>>>> -
>>>>>>>>>>>>> nested
>>>>>>>>>>>>> throwable: (javax.ejb.EJBException:
>>>>>>>>>>>>> javax.ejb.TransactionRolledbackLocalException: Error creating
>>>>>>>>>>>>> CRL.)
>>>>>>>>>>>>>      [java] Java Result: 255
>>>>>>>>>>>>>
>>>>>>>>>>>>> ejbca:adminweb:
>>>>>>>>>>>>>      [echo] setup setdefaultbaseurl localhost ejbca
>>>>>>>>>>>>>      [echo] ra adduser tomcat serverpwd "CN=localhost,O=EJBCA
>>>>>>>>>>>>> Sample,C=SE"
>>>>>>>>>>>>> "IPAddress=127.0.0.1" AdminCA1 null 1 JKS
>>>>>>>>>>>>>      [java] Error : Couldn't find CA in database.
>>>>>>>>>>>>>      [echo] ra setclearpwd tomcat serverpwd
>>>>>>>>>>>>>      [java] Setting clear text password serverpwd for user
>>>>>>>>>>>>> tomcat
>>>>>>>>>>>>>      [java] javax.ejb.ObjectNotFoundException: No such entity!
>>>>>>>>>>>>>      [java] Java Result: 255
>>>>>>>>>>>>>      [echo] ra adduser superadmin ejbca "CN=SuperAdmin" null
>>>>>>>>>>>>> AdminCA1
>>>>>>>>>>>>> null
>>>>>>>>>>>>> 65 P12
>>>>>>>>>>>>>      [java] Error : Couldn't find CA in database.
>>>>>>>>>>>>>      [echo] ra setclearpwd superadmin ejbca
>>>>>>>>>>>>>      [java] Setting clear text password ejbca for user
>>>>>>>>>>>>> superadmin
>>>>>>>>>>>>>      [java] javax.ejb.ObjectNotFoundException: No such entity!
>>>>>>>>>>>>>      [java] Java Result: 255
>>>>>>>>>>>>>      [java] 0    [main] INFO 
>>>>>>>>>>>>> org.ejbca.ui.cli.batch.BatchMakeP12 
>>>>>>>>>>>>> -
>>>>>>>>>>>>> Generating keys in directory /export/home/zxu/ejbca_3_6_b1/p12.
>>>>>>>>>>>>>      [java] 1    [main] INFO 
>>>>>>>>>>>>> org.ejbca.ui.cli.batch.BatchMakeP12 
>>>>>>>>>>>>> -
>>>>>>>>>>>>> Generating for all NEW.
>>>>>>>>>>>>>      [java] 32   [main] INFO 
>>>>>>>>>>>>> org.ejbca.ui.cli.batch.BatchMakeP12 
>>>>>>>>>>>>> -
>>>>>>>>>>>>> Batch
>>>>>>>>>>>>> generating 0 users.
>>>>>>>>>>>>>      [java] 32   [main] INFO 
>>>>>>>>>>>>> org.ejbca.ui.cli.batch.BatchMakeP12 
>>>>>>>>>>>>> -
>>>>>>>>>>>>> Generating for all FAILED.
>>>>>>>>>>>>>      [java] 53   [main] INFO 
>>>>>>>>>>>>> org.ejbca.ui.cli.batch.BatchMakeP12 
>>>>>>>>>>>>> -
>>>>>>>>>>>>> Batch
>>>>>>>>>>>>> generating 0 users.
>>>>>>>>>>>>>
>>>>>>>>>>>>> BUILD FAILED
>>>>>>>>>>>>> /export/home/zxu/ejbca_3_6_b1/build.xml:40: The following error
>>>>>>>>>>>>> occurred
>>>>>>>>>>>>> while executing this line:
>>>>>>>>>>>>> /export/home/zxu/ejbca_3_6_b1/bin/cli.xml:116: The following
>>>>>>>>>>>>> error
>>>>>>>>>>>>> occurred
>>>>>>>>>>>>> while executing this line:
>>>>>>>>>>>>> /export/home/zxu/ejbca_3_6_b1/bin/cli.xml:140: Batch generation
>>>>>>>>>>>>> failed!
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> Thank you so much for your help!!
>>>>>>>>>>>>>
>>>>>>>>>>>>> Zhiqian
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>   
>>>>>>>>>>>>>                   
>>>>>>>>>>>> -- 
>>>>>>>>>>>> PrimeKey Solutions offers a commercial EJBCA support
>>>>>>>>>>>> subscription
>>>>>>>>>>>> and
>>>>>>>>>>>> training for EJBCA. Please see www.primekey.se or contact
>>>>>>>>>>>> info-3wPoBD9/[email protected]
>>>>>>>>>>>> for more information.
>>>>>>>>>>>> http://download.primekey.se/documents/ejbca_subscription.pdf
>>>>>>>>>>>> http://download.primekey.se/documents/ejbca_training.pdf
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>  
>>>>>>>>>>>> -------------------------------------------------------------------------
>>>>>>>>>>>> Check out the new SourceForge.net Marketplace.
>>>>>>>>>>>> It's the best place to buy or sell services for
>>>>>>>>>>>> just about anything Open Source.
>>>>>>>>>>>> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>> Ejbca-develop mailing list
>>>>>>>>>>>> [email protected]
>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/ejbca-develop
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>                 
>>>>>>>>>> -------------------------------------------------------------------------
>>>>>>>>>> Check out the new SourceForge.net Marketplace.
>>>>>>>>>> It's the best place to buy or sell services for
>>>>>>>>>> just about anything Open Source.
>>>>>>>>>> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Ejbca-develop mailing list
>>>>>>>>>> [email protected]
>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/ejbca-develop
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>             
>>>>>>>>> http://www.nabble.com/file/p16499202/server.log server.log 
>>>>>>>>>           
>>>>>>>> -------------------------------------------------------------------------
>>>>>>>> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
>>>>>>>> Register now and save $200. Hurry, offer ends at 11:59 p.m., 
>>>>>>>> Monday, April 7! Use priority code J8TLD2. 
>>>>>>>> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
>>>>>>>> _______________________________________________
>>>>>>>> Ejbca-develop mailing list
>>>>>>>> [email protected]
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/ejbca-develop
>>>>>>>>
>>>>>>>>
>>>>>>>>         
>>>>>> -------------------------------------------------------------------------
>>>>>> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
>>>>>> Register now and save $200. Hurry, offer ends at 11:59 p.m., 
>>>>>> Monday, April 7! Use priority code J8TLD2. 
>>>>>> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
>>>>>> _______________________________________________
>>>>>> Ejbca-develop mailing list
>>>>>> [email protected]
>>>>>> 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-3wPoBD9/[email protected]
>>>> for more information.
>>>> http://download.primekey.se/documents/ejbca_subscription.pdf
>>>> http://download.primekey.se/documents/ejbca_training.pdf
>>>>
>>>>
>>>>
>>>>  
>>>> -------------------------------------------------------------------------
>>>> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
>>>> Register now and save $200. Hurry, offer ends at 11:59 p.m., 
>>>> Monday, April 7! Use priority code J8TLD2. 
>>>> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
>>>> _______________________________________________
>>>> Ejbca-develop mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/ejbca-develop
>>>>
>>>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
>> Register now and save $200. Hurry, offer ends at 11:59 p.m., 
>> Monday, April 7! Use priority code J8TLD2. 
>> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
>> _______________________________________________
>> Ejbca-develop mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/ejbca-develop
>>
>>
> :-((:-((
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
msgmiddle
<Prev in Thread] Current Thread [Next in Thread>
Current Sitemap | © 2012 planetjava | Contact | Privacy Policy