pkicreate issue - missing Catalina link?
pki-users I am attempting a load of Dogtag 1.3 on Fedora 14. When attempting to create a CA instance with 'pkicreate' I get this error at the end of pkicreate - ==== PKI instance creation completed ... Stopping idca-1: process already stopped ============================================================ Starting idca-1: /etc/init.d/pki-cad: line 868: /usr/share/tomcat5/bin/relink: No such file or directory /usr/bin/build-classpath: error: Could not find mx4j/mx4j-impl Java extension for this JVM /usr/bin/build-classpath: error: Some specified jars were not found /usr/bin/build-classpath: error: Could not find mx4j/mx4j-jmx Java extension for this JVM /usr/bin/build-classpath: error: Some specified jars were not found [ OK ] idca-1 (pid 30014) is running ... 'idca-1' must still be CONFIGURED! (see /var/log/idca-1-install.log) Before proceeding with the configuration, make sure the firewall settings of this machine permit proper access to this subsystem. ==== There is nothing in /var/log/idca-1-install.log corresponding to this error. After running pkicreate I cannot access the console to configure the CA. When removing the instance with 'pkiremove' I see a corresponding error - Stopping idca-1: /usr/bin/build-classpath: error: Could not find mx4j/mx4j-impl Java extension for this JVM /usr/bin/build-classpath: error: Some specified jars were not found /usr/bin/build-classpath: error: Could not find mx4j/mx4j-jmx Java extension for this JVM /usr/bin/build-classpath: error: Some specified jars were not found Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap Caused by: java.lang.ClassNotFoundException: org.apache.catalina.startup.Bootstrap at java.net.URLClassLoader$1.run(URLClassLoader.java:217) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:205) at java.lang.ClassLoader.loadClass(ClassLoader.java:321) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294) at java.lang.ClassLoader.loadClass(ClassLoader.java:266) Could not find the main class: org.apache.catalina.startup.Bootstrap. Program will exit. [ OK ] Running 'Alternatives --display java' indicates the system is pointing to openjdk-1.6.0 correctly Looking on the Fedora Dogtag site I note that there was what looks like a similar issue that was fixed referenced here - http://pki.fedoraproject.org/wiki/PKI_Known_Issues#PKI_Subsystem_Installatio... that indicates a missing symbolic link. Has anyone seen this issue with Dogtag 1.3/Fedora 14 before? Any suggestions?
A known good combination is F13 with tomcat 5 and tomcatjss 1.2 for Dogtag 1.3 I believe F14 is more for Dogtag 2.0 / pki-ca 9.0 along with tomcat 6 and tomcatjss 2.0 M. On 03/16/2011 11:59 AM, Michael Brown wrote:
pki-users
I am attempting a load of Dogtag 1.3 on Fedora 14. When attempting to create a CA instance with 'pkicreate' I get this error at the end of pkicreate -
====
PKI instance creation completed ...
Stopping idca-1: process already stopped
============================================================
Starting idca-1: /etc/init.d/pki-cad: line 868: /usr/share/tomcat5/bin/relink: No such file or directory /usr/bin/build-classpath: error: Could not find mx4j/mx4j-impl Java extension for this JVM /usr/bin/build-classpath: error: Some specified jars were not found /usr/bin/build-classpath: error: Could not find mx4j/mx4j-jmx Java extension for this JVM /usr/bin/build-classpath: error: Some specified jars were not found [ OK ]
idca-1 (pid 30014) is running ...
'idca-1' must still be CONFIGURED! (see /var/log/idca-1-install.log)
Before proceeding with the configuration, make sure the firewall settings of this machine permit proper access to this subsystem.
====
There is nothing in /var/log/idca-1-install.log corresponding to this error. After running pkicreate I cannot access the console to configure the CA.
When removing the instance with 'pkiremove' I see a corresponding error -
Stopping idca-1: /usr/bin/build-classpath: error: Could not find mx4j/mx4j-impl Java extension for this JVM /usr/bin/build-classpath: error: Some specified jars were not found /usr/bin/build-classpath: error: Could not find mx4j/mx4j-jmx Java extension for this JVM /usr/bin/build-classpath: error: Some specified jars were not found Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap Caused by: java.lang.ClassNotFoundException: org.apache.catalina.startup.Bootstrap at java.net.URLClassLoader$1.run(URLClassLoader.java:217) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:205) at java.lang.ClassLoader.loadClass(ClassLoader.java:321) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294) at java.lang.ClassLoader.loadClass(ClassLoader.java:266) Could not find the main class: org.apache.catalina.startup.Bootstrap. Program will exit. [ OK ]
Running 'Alternatives --display java' indicates the system is pointing to openjdk-1.6.0 correctly
Looking on the Fedora Dogtag site I note that there was what looks like a similar issue that was fixed referenced here -
http://pki.fedoraproject.org/wiki/PKI_Known_Issues#PKI_Subsystem_Installatio...
that indicates a missing symbolic link.
Has anyone seen this issue with Dogtag 1.3/Fedora 14 before? Any suggestions?
_______________________________________________ Pki-users mailing list Pki-users@redhat.com https://www.redhat.com/mailman/listinfo/pki-users
participants (2)
-
Marc Sauton -
Michael Brown