[CentOS] tomcat errors starting after upgrade from cent5.3 to 5.5 (/rebuild-jar-repository: error: Could not find)

Mon Dec 27 15:26:36 UTC 2010
Frank Even <lists+centos.org at elitists.org>

On Mon, Dec 27, 2010 at 4:32 AM, Jim Perrin <jperrin at gmail.com> wrote:
> On Mon, Dec 27, 2010 at 2:48 AM, Frank Even
> <lists+centos.org at elitists.org> wrote:
>> Anyone have any ideas what might be going wrong here or where I might
>> look to figure out what's up?  Thanks!
>
> It looks like you might possibly have two separate java instances
> installed. you have the openjdk java shipped by centos, but there are
> also some packages java-sun\* packages as well from a mamba
> repository. Depending on your setup, it's possible that you're not
> using the proper java jvm to run your setup. Can you verify that
> you're using the proper java jvm environment?
>

The thing that currently has me stumped is that it all blows up when I
upgrade the Tomcat package.  None of the configs have changed.  I can
update the base OS and it still all works fine.  Install Tomcat
package, errors.  How many different places does Cent try to set Java?
 I've found server.xml, tomcat5.conf, /etc/sysconfig/tomcat5 so
far.....any I've missed?

Also from what I've gathered is that "rebuild-jar-repository" isn't
part of a standard Tomcat install.  Is "rebuild-jar-repository" trying
to accomplish something special missing in a standard Tomcat install?

>> --------------------
>> From: Frank Even
>> Date: Thu, Dec 23, 2010 at 11:55 AM
>> Subject: tomcat errors starting after upgrade from cent5.3 to 5.5
>> (/rebuild-jar-repository: error: Could not find)
>> To: centos
>>
>>
>> We just upgraded Cent from 5.3 to 5.5 on a bunch of servers with
>> little to no issues (kudos to you guys) except on a few servers where
>> it appears we are having a problem w/ the Tomcat upgrade.  Previously
>> our application server was working fine under 5.3 with Tomcat/Java
>> installed as such:
>>
>> java-1.4.2-gcj-compat-1.4.2.0-40jpp.115
>> java-1.6.0-openjdk-1.6.0.0-0.30.b09.el5
>> java-1.6.0-openjdk-devel-1.6.0.0-0.30.b09.el5
>> java-sun-jdbc-stdext-2.0.1-1mamba
>> java-sun-jdbc-stdext-javadoc-2.0.1-1mamba
>> tomcat5-5.5.23-0jpp.7.el5_2.1
>> tomcat5-common-lib-5.5.23-0jpp.7.el5_2.1
>> tomcat5-jasper-5.5.23-0jpp.7.el5_2.1
>> tomcat5-jsp-2.0-api-5.5.23-0jpp.7.el5_2.1
>> tomcat5-server-lib-5.5.23-0jpp.7.el5_2.1
>> tomcat5-servlet-2.4-api-5.5.23-0jpp.7.el5_2.1
>>
>> Now that we've run the full update, we have this installed:
>>
>> java-1.4.2-gcj-compat-1.4.2.0-40jpp.115
>> java-1.6.0-openjdk-1.6.0.0-1.16.b17.el5
>> java-1.6.0-openjdk-devel-1.6.0.0-1.16.b17.el5
>> java-sun-jdbc-stdext-2.0.1-1mamba
>> java-sun-jdbc-stdext-javadoc-2.0.1-1mamba
>> tomcat5-5.5.23-0jpp.11.el5_5
>> tomcat5-common-lib-5.5.23-0jpp.11.el5_5
>> tomcat5-jasper-5.5.23-0jpp.11.el5_5
>> tomcat5-jsp-2.0-api-5.5.23-0jpp.11.el5_5
>> tomcat5-server-lib-5.5.23-0jpp.11.el5_5
>> tomcat5-servlet-2.4-api-5.5.23-0jpp.11.el5_5
>> tzdata-java-2010l-1.el5
>>
>> I don't see any significant changes.  All of the configs appear to be
>> the same.   Yet now on our application startup, we see the following:
>>
>> Starting tomcat5: /usr/bin/rebuild-jar-repository: error: Could not
>> find jdbc-stdext Java extension for this JVM
>> /usr/bin/rebuild-jar-repository: error: Could not find jndi Java
>> extension for this JVM
>> /usr/bin/rebuild-jar-repository: error: Some detected jars were not
>> found for this jvm
>> /usr/bin/rebuild-jar-repository: error: Could not find jaas Java
>> extension for this JVM
>> /usr/bin/rebuild-jar-repository: error: Some detected jars were not
>> found for this jvm
>>
>> ....what could have changed to have caused these issues?  Having
>> trouble hunting this down.  Any help that could be provided would be
>> sincerely appreciated.
>>
>> Thanks,
>> Frank
>> _______________________________________________
>> CentOS mailing list
>> CentOS at centos.org
>> http://lists.centos.org/mailman/listinfo/centos
>>
>
>
>
> --
> During times of universal deceit, telling the truth becomes a revolutionary act.
> George Orwell
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>