|
From: Tomas G. <to...@pr...> - 2013-03-07 09:35:05
|
JBoss 4 is not JEE5 compliant so you can forget about JBoss 4. 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 03/07/2013 10:07 AM, sa...@nc... wrote: > ---------------------------- Original Message ---------------------------- > Subject: > From: sa...@nc... > Date: Thu, March 7, 2013 12:07 pm > To: ejb...@li... > -------------------------------------------------------------------------- > > hi, > i am trying to instal ejbca in my ubuntu , first i used JBoss version 5 > and everything worked right, but now i need to use JBoss version 4 , but > it failed from the begining "ant bootstrap" and i get the following error > > > > " > root@sara-VirtualBox:/home/sara/sara/ejbca# ant bootstrap > Buildfile: /home/sara/sara/ejbca/build.xml > [echo] No custom changes to merge. > [echo] appserver.home: /home/sara/sara/jboss > [echo] appserver.type: jboss > > testforgnujava: > > bootstrap: > > failinproduction-ca: > > fail-unless-appserver-detected: > > testforgnujava: > > display-properties: > [echo] > [echo] ---------- EJBCA 4.0.9 (r14066) CONFIGURATION PROPERTIES > ---------- > [echo] appserver.type = jboss > [echo] appserver.home = /home/sara/sara/jboss > [echo] ocsp.defaultresponder = CN=AdminCA1,O=EJBCA Sample,C=SE > [echo] ocsp.signaturealgorithm = SHA1WithRSA;SHA1WithECDSA;SHA1WithDSA > [echo] datasource.jndi-name = EjbcaDS > [echo] datasource.jndi-name-prefix = java:/ > [echo] database.name = mysql > [echo] database.url = > jdbc:mysql://127.0.0.1:3306/ejbca?characterEncoding=UTF-8 > [echo] database.driver = com.mysql.jdbc.Driver > [echo] database.username = ejbca > [echo] database.password = ejbca > [echo] weblogic-oracle-columntype = > [echo] mail.jndi-name = java:/EjbcaMail > [echo] mail.from = ejb...@do... > [echo] mail.user = ejbca_user > [echo] mail.password = > [echo] mail.smtp.host = localhost > [echo] mail.smtp.port = 25 > [echo] mail.smtp.auth = false > [echo] mail.debug = false > [echo] httpserver.pubhttp = 8080 > [echo] httpserver.pubhttps = 8442 > [echo] httpserver.privhttps = 8443 > [echo] httpsserver.hostname = localhost > [echo] httpsserver.password = ${httpsserver.password} > [echo] web.contentencoding = UTF-8 > [echo] web.renewalenabled = false > [echo] ejbcaws.enabled = true > [echo] cmp.allowraverifypopo = false > [echo] cmp.defaultca = > [echo] cmp.extractusernamecomponent = > [echo] cmp.operationmode = normal > [echo] cmp.responseprotection = signature > [echo] cmp.ra.authenticationsecret = > [echo] cmp.ra.namegenerationscheme = DN > [echo] cmp.ra.namegenerationparameters = CN > [echo] cmp.ra.namegenerationprefix = > [echo] cmp.ra.namegenerationpostfix = > [echo] cmp.ra.endentityprofile = EMPTY > [echo] cmp.ra.certificateprofile = ENDUSER > [echo] cmp.ra.caname = AdminCA1 > [echo] cmp.tcp.enabled = false > [echo] cmp.tcp.portno = 829 > [echo] cmp.tcp.logdir = ./log > [echo] cmp.tcp.conffile = > [echo] xkms.enabled = false > [echo] xkms.serviceport = 8080 > [echo] > > ejbca.ear.module-dependencies: > > ejbca-util: > > -check.clover: > > with.clover: > > compile-util: > > build-util: > > ejbca-entity: > > -check.clover: > > with.clover: > > compile-external-deps: > > compile: > > handlepersistence: > [copy] Copying 1 file to > /home/sara/sara/ejbca/modules/ejbca-entity/build/META-INF > [copy] Copying 1 file to > /home/sara/sara/ejbca/modules/ejbca-entity/build-va/META-INF > [copy] Copying 1 file to > /home/sara/sara/ejbca/modules/ejbca-entity/build-test/META-INF > > handleorm: > [copy] Copying 1 file to > /home/sara/sara/ejbca/modules/ejbca-entity/build/META-INF > [copy] Copying 1 file to > /home/sara/sara/ejbca/modules/ejbca-entity/build-test/META-INF > > build: > [jar] Building jar: /home/sara/sara/ejbca/modules/dist/ejbca-entity.jar > > ejbca-ejb-interface: > > -check.clover: > > with.clover: > > ejbca-util: > > -check.clover: > > with.clover: > > compile-util: > > build-util: > > ejbca-entity: > > -check.clover: > > with.clover: > > compile-external-deps: > > compile: > > handlepersistence: > [copy] Copying 1 file to > /home/sara/sara/ejbca/modules/ejbca-entity/build/META-INF > [copy] Copying 1 file to > /home/sara/sara/ejbca/modules/ejbca-entity/build-va/META-INF > [copy] Copying 1 file to > /home/sara/sara/ejbca/modules/ejbca-entity/build-test/META-INF > > handleorm: > [copy] Copying 1 file to > /home/sara/sara/ejbca/modules/ejbca-entity/build/META-INF > [copy] Copying 1 file to > /home/sara/sara/ejbca/modules/ejbca-entity/build-test/META-INF > > build: > > compile-ejb3: > [javac] Compiling 101 source files to > /home/sara/sara/ejbca/modules/ejbca-ejb-interface/ejb3build > [javac] > /home/sara/sara/ejbca/modules/ejbca-ejb-interface/src/org/ejbca/core/ejb/ra/UserAdminSession.java:24: > package javax.persistence does not exist > [javac] import javax.persistence.PersistenceException; > [javac] ^ > [javac] > /home/sara/sara/ejbca/modules/ejbca-ejb-interface/src/org/ejbca/core/ejb/ra/UserAdminSession.java:72: > cannot find symbol > [javac] symbol : class PersistenceException > [javac] location: interface org.ejbca.core.ejb.ra.UserAdminSession > [javac] throws PersistenceException, > AuthorizationDeniedException, UserDoesntFullfillEndEntityProfile, > WaitingForApprovalException, > [javac] ^ > [javac] > /home/sara/sara/ejbca/modules/ejbca-ejb-interface/src/org/ejbca/core/ejb/ra/UserAdminSession.java:101: > cannot find symbol > [javac] symbol : class PersistenceException > [javac] location: interface org.ejbca.core.ejb.ra.UserAdminSession > [javac] PersistenceException, WaitingForApprovalException, > CADoesntExistsException, EjbcaException; > [javac] ^ > [javac] > /home/sara/sara/ejbca/modules/ejbca-ejb-interface/src/org/ejbca/core/ejb/ra/UserAdminSession.java:127: > cannot find symbol > [javac] symbol : class PersistenceException > [javac] location: interface org.ejbca.core.ejb.ra.UserAdminSession > [javac] PersistenceException, WaitingForApprovalException, > CADoesntExistsException, EjbcaException; > [javac] ^ > [javac] > /home/sara/sara/ejbca/modules/ejbca-ejb-interface/src/org/ejbca/core/ejb/ra/CertificateRequestSession.java:27: > package javax.persistence does not exist > [javac] import javax.persistence.PersistenceException; > [javac] ^ > [javac] > /home/sara/sara/ejbca/modules/ejbca-ejb-interface/src/org/ejbca/core/ejb/ra/CertificateRequestSession.java:73: > cannot find symbol > [javac] symbol : class PersistenceException > [javac] location: interface > org.ejbca.core.ejb.ra.CertificateRequestSession > [javac] public IResponseMessage processCertReq(Admin admin, > UserDataVO userdata, IRequestMessage req, Class responseClass) throws > PersistenceException, > [javac] > ^ > [javac] > /home/sara/sara/ejbca/modules/ejbca-ejb-interface/src/org/ejbca/core/ejb/ra/CertificateRequestSession.java:91: > cannot find symbol > [javac] symbol : class PersistenceException > [javac] location: interface > org.ejbca.core.ejb.ra.CertificateRequestSession > [javac] KeyStoreException, NoSuchAlgorithmException, > InvalidAlgorithmParameterException, PersistenceException; > [javac] > ^ > [javac] > /home/sara/sara/ejbca/modules/dist/ejbca-entity.jar(org/ejbca/core/ejb/authorization/AuthorizationTreeUpdateData.class): > warning: Cannot find annotation method 'name()' in type > 'javax.persistence.Table': class file for javax.persistence.Table not > found > [javac] > /home/sara/sara/ejbca/modules/dist/ejbca-entity.jar(org/ejbca/core/ejb/approval/ApprovalData.class): > warning: Cannot find annotation method 'name()' in type > 'javax.persistence.Table' > [javac] > /home/sara/sara/ejbca/modules/dist/ejbca-entity.jar(org/ejbca/core/ejb/services/ServiceData.class): > warning: Cannot find annotation method 'name()' in type > 'javax.persistence.Table' > [javac] Note: > /home/sara/sara/ejbca/modules/ejbca-ejb-interface/src/org/ejbca/core/ejb/JndiHelper.java > uses unchecked or unsafe operations. > [javac] Note: Recompile with -Xlint:unchecked for details. > [javac] 7 errors > [javac] 3 warnings > > BUILD FAILED > /home/sara/sara/ejbca/build.xml:54: The following error occurred while > executing this line: > /home/sara/sara/ejbca/build.xml:764: The following error occurred while > executing this line: > /home/sara/sara/ejbca/modules/build.xml:95: The following error occurred > while executing this line: > /home/sara/sara/ejbca/modules/ejbca-ejb-interface/build.xml:64: Compile > failed; see the compiler error output for details. > > Total time: 6 seconds > " > > thank you for your support > regards, > Sara Ibrahim > > > > > > ------------------------------------------------------------------------------ > Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester > Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the > endpoint security space. For insight on selecting the right partner to > tackle endpoint security challenges, access the full report. > http://p.sf.net/sfu/symantec-dev2dev > _______________________________________________ > Ejbca-develop mailing list > Ejb...@li... > https://lists.sourceforge.net/lists/listinfo/ejbca-develop > |