I don't understand what you mean by "antlr madness" that got pulled into my system. All I see is that antlr from CentOS itself got installed instead
of the one from jpackage repo.  You seem to be using the RHEL6 version of
antlr yourself instead of jpackage, so I guess that is not the issue.

So what else can be causing the problem?

I can do "/usr/sbin/spacewalk-service start" and I can see tomcat running.
I am not sure because of where the setup script failed if everything is
properly configured or I will have to rerun?


Anyway, the service start gives me the following error:

Starting osa-dispatcher: RHN 31162 2013/01/15 13:34:04 -04:00: ('Traceback caught:',) RHN 31162 2013/01/15 13:34:04 -04:00: ('Traceback (most recent call last):\n File "/usr/share/rhn/osad/jabber_lib.py", line 616, in connect\n ssl.do_handshake()\nError: [(\'SSL routines\', \'SSL3_GET_SERVER_CERTIFICATE\', \'certificate verify failed\')]\n',)
                                                           [FAILED]

and if I go to the website, after accepting the selfsigned certificate,
I just get a 404 error after a failed redirect to /rhn/Login.do

The /var/log/tomcat6/catalina.out still has the antlr.jar errors.

Here are the location of the jar files from my antlr packages

[root@spacewalk ~]# rpm -ql ant-antlr | grep jar
/usr/lib64/gcj/ant/ant-antlr-1.7.1.jar.db
/usr/lib64/gcj/ant/ant-antlr-1.7.1.jar.so
/usr/share/ant/lib/ant-antlr.jar
/usr/share/java/ant/ant-antlr-1.7.1.jar
/usr/share/java/ant/ant-antlr.jar
[root@spacewalk ~]# rpm -ql antlr | grep jar
/usr/share/java/antlr-2.7.7.jar
/usr/share/java/antlr.jar

Is that not where they are supposed to be?

I have no idea what "/WEB-INF/" is.  It is certainly not a directory
on my filesystem.  I have very little java internal knowledge.


Here is more of the error:

Jan 15, 2013 4:36:51 PM org.apache.catalina.loader.WebappLoader start
SEVERE: LifecycleException
java.io.IOException: Failed to access resource /WEB-INF/lib/antlr.jar
at org.apache.catalina.loader.WebappLoader.setRepositories(WebappLoader.java:1022) at org.apache.catalina.loader.WebappLoader.start(WebappLoader.java:653) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4341) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1041) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:964) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
....


-- Paul Raines (http://help.nmr.mgh.harvard.edu)



On Tue, 15 Jan 2013 12:39pm, Jan Pazdziora wrote:

On Tue, Jan 15, 2013 at 12:05:17PM -0500, Paul Raines wrote:

We are trying to install Spacewalk 1.8 on a freshly installed CentOS 6.3 VM
following the directions at

  https://fedorahosted.org/spacewalk/wiki/HowToInstall

Anyway, the setup got to "Restarting services." and sat there thinking for
a long, long time before finallying failing with:

Tomcat failed to start properly or the installer ran out of tries.
Please check /var/log/tomcat*/catalina.out for errors.

So in that file I find:

SEVERE: Error deploying web application directory rhn
java.lang.IllegalStateException: ContainerBase.addChild: start:
LifecycleException:  start: :  java.io.IOException: Failed to access
resource /WEB-INF/lib/antlr.jar

I am pretty much at a total loss to figure out this one.  One thing I can
guess is that the 'antlr' spacewalk wants/expects to be installed is not
installed because of what this 'yum list' results shows to me

Installed Packages
ant-antlr.x86_64                        1.7.1-13.el6  
@anaconda-CentOS-201207061011.x86_64/6.3
antlr.x86_64                            2.7.7-6.5.el6 
@anaconda-CentOS-201207061011.x86_64/6.3
Available Packages
ant-antlr.noarch                        1.7.1-7.jpp5  jpackage-generic
antlr.noarch                            2.7.6-6.jpp5  jpackage-generic
antlr-javadoc.noarch                    2.7.6-6.jpp5  jpackage-generic
antlr-javadoc.x86_64                    2.7.7-6.5.el6 base
antlr-jedit.noarch                      2.7.6-6.jpp5  jpackage-generic
antlr-manual.noarch                     2.7.6-6.jpp5  jpackage-generic
antlr-manual.x86_64                     2.7.7-6.5.el6 base
antlr-repolib.noarch                    2.7.6-6.jpp5  jpackage-generic
jakarta-commons-jelly-tags-antlr.noarch 1.0-6.jpp5    jpackage-generic
maven-plugin-antlr.noarch               1.1-7.jpp5    jpackage-generic
mojo-maven2-plugin-antlr.noarch         17-5.jpp5     jpackage-generic

Looks like some newer version from the CentOS repo itself is installed
rather than the one from the jpackage repo.

Any suggestions on what really is wrong and how to fix it?

On my RHEL 6.4 (not CentOS but it should not matter for the purpose
of this case), I have

        # rpm -qa | grep antlr | sort
        antlr-2.7.7-6.5.el6.x86_64

-- package installed from the RHEL, the only package. Please check
your yum installation log to see why the antlr madness got pulled
in into your system.

--
Jan Pazdziora
Principal Software Engineer, Satellite Engineering, Red Hat

_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list





The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.

_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to