Ok
when I download and use JDK 5.0 Update 16 from
http://java.sun.com/javase/downloads/index_jdk5.jsp
I get a whole other set of errors showing up when I start tomcat.
I switch JAVA_HOME to
JAVA_HOME="/usr/java/jdk1.5.0_16"
then I restart tomcat5 and I get these errors...
[EMAIL PROTECTED] ~]# service tomcat5 restart
Stopping tomcat5: [ OK ]
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
when I reload the URL the same errors that started this thread show up.
any thoughts?
Thanks
] duran goodyear
] web developer
] administrative computing // office of information services // the
university of the arts
] [EMAIL PROTECTED]
] 215.717.6068
] skype://duran.goodyear
On Oct 14, 2008, at 4:28 PM, Scott Battaglia wrote:
The GNU Jvm has some issues I believe. You may wish to try the Sun
JVM.
_Scott
-Scott Battaglia
PGP Public Key Id: 0x383733AA
LinkedIn: http://www.linkedin.com/in/scottbattaglia
On Tue, Oct 14, 2008 at 4:17 PM, Duran Goodyear
<[EMAIL PROTECTED]> wrote:
Thanks in advance....
from /etc/tomcat5/tomcat5.conf
JAVA_HOME="/usr/lib/jvm/java"
[EMAIL PROTECTED] lib]# /usr/lib/jvm/java/bin/java -version
java version "1.4.2"
gij (GNU libgcj) version 4.1.1 20070105 (Red Hat 4.1.1-52)
as for Tomcat...
Name : tomcat5
Arch : i386
Version: 5.5.23
Release: 0jpp.7.el5_2.1
Size : 712 k
Repo : installed
Summary: Apache Servlet/JSP Engine, RI for Servlet 2.4/JSP 2.0 API
And, I have no idea what the appropriate spring JARs' are.
I simply did "mvn clean install" and copied the cas.war file to my
TOMCAT_HOME/webapps/ directory and restarted tomcat.
Here's a list of whats in .../var/lib/tomcat5/webapps/cas/WEB-INF/lib
-rw-r--r-- 1 tomcat tomcat 443432 Jun 20 12:15 antlr-2.7.6.jar
-rw-r--r-- 1 tomcat tomcat 4467 Jun 20 12:15 aopalliance-1.0.jar
-rw-r--r-- 1 tomcat tomcat 26360 Jun 20 12:15 asm-1.5.3.jar
-rw-r--r-- 1 tomcat tomcat 16777 Jun 20 12:15 asm-attrs-1.5.3.jar
-rw-r--r-- 1 tomcat tomcat 114989 Jun 20 12:15 aspectjrt-1.5.3.jar
-rw-r--r-- 1 tomcat tomcat 1887781 Jun 20 12:15
aspectjweaver-1.5.3.jar
-rw-r--r-- 1 tomcat tomcat 57798 Oct 13 14:14 cas-client-
core-3.1.3.jar
-rw-r--r-- 1 tomcat tomcat 174312 Oct 13 14:11 cas-server-
core-3.3.jar
-rw-r--r-- 1 tomcat tomcat 282338 Jun 20 12:15 cglib-2.1_3.jar
-rw-r--r-- 1 tomcat tomcat 46725 Jun 20 12:15 commons-codec-1.3.jar
-rw-r--r-- 1 tomcat tomcat 571259 Jun 20 12:14 commons-
collections-3.2.jar
-rw-r--r-- 1 tomcat tomcat 243016 Jun 20 12:15 commons-lang-2.2.jar
-rw-r--r-- 1 tomcat tomcat 52915 Jun 20 12:15 commons-
logging-1.1.jar
-rw-r--r-- 1 tomcat tomcat 313898 Jun 20 12:15 dom4j-1.6.1.jar
-rw-r--r-- 1 tomcat tomcat 208048 Oct 13 14:10 ehcache-1.2.3.jar
-rw-r--r-- 1 tomcat tomcat 52847 Oct 13 14:09 ejb3-
persistence-1.0.1.GA.jar
-rw-r--r-- 1 tomcat tomcat 2274768 Oct 13 14:12 hibernate-3.2.6.ga.jar
-rw-r--r-- 1 tomcat tomcat 280196 Oct 13 14:09 hibernate-
annotations-3.3.1.GA.jar
-rw-r--r-- 1 tomcat tomcat 66426 Oct 13 14:12 hibernate-commons-
annotations-3.0.0.ga.jar
-rw-r--r-- 1 tomcat tomcat 53958 Jun 20 12:15 inspektr-
core-0.7.0.jar
-rw-r--r-- 1 tomcat tomcat 153253 Jun 20 12:15 jdom-1.0.jar
-rw-r--r-- 1 tomcat tomcat 20682 Jun 20 13:21 jstl-1.1.2.jar
-rw-r--r-- 1 tomcat tomcat 8726 Jun 20 12:15 jta-1.0.1B.jar
-rw-r--r-- 1 tomcat tomcat 391834 Jun 20 12:15 log4j-1.2.15.jar
-rw-r--r-- 1 tomcat tomcat 167958 Jun 20 12:15 ognl-2.6.9.jar
-rw-r--r-- 1 tomcat tomcat 155714 Jun 20 12:15 opensaml-1.1b.jar
-rw-r--r-- 1 tomcat tomcat 52150 Jun 20 12:15 persistence-
api-1.0.jar
-rw-r--r-- 1 tomcat tomcat 2772 Jun 20 12:15 person-directory-
api-1.1.2.jar
-rw-r--r-- 1 tomcat tomcat 54057 Jun 20 12:15 person-directory-
impl-1.1.2.jar
-rw-r--r-- 1 tomcat tomcat 405607 Jun 20 13:21 quartz-1.5.2.jar
-rw-r--r-- 1 tomcat tomcat 326477 Oct 13 14:14 spring-aop-2.5.5.jar
-rw-r--r-- 1 tomcat tomcat 486031 Oct 13 14:08 spring-beans-2.5.5.jar
-rw-r--r-- 1 tomcat tomcat 86817 Jun 20 12:15 spring-
binding-1.0.5.jar
-rw-r--r-- 1 tomcat tomcat 473513 Oct 13 14:09 spring-
context-2.5.5.jar
-rw-r--r-- 1 tomcat tomcat 94147 Oct 13 14:09 spring-context-
support-2.5.5.jar
-rw-r--r-- 1 tomcat tomcat 287235 Oct 13 14:08 spring-core-2.5.5.jar
-rw-r--r-- 1 tomcat tomcat 374339 Oct 13 14:08 spring-orm-2.5.5.jar
-rw-r--r-- 1 tomcat tomcat 16006 Oct 13 14:14 spring-security-cas-
client-2.0.3.jar
-rw-r--r-- 1 tomcat tomcat 757507 Oct 13 14:14 spring-security-
core-2.0.3.jar
-rw-r--r-- 1 tomcat tomcat 231371 Oct 13 14:09 spring-tx-2.5.5.jar
-rw-r--r-- 1 tomcat tomcat 193662 Oct 13 14:09 spring-web-2.5.5.jar
-rw-r--r-- 1 tomcat tomcat 406438 Jun 20 12:15 spring-
webflow-1.0.5.jar
-rw-r--r-- 1 tomcat tomcat 404466 Oct 13 14:09 spring-
webmvc-2.5.5.jar
-rw-r--r-- 1 tomcat tomcat 393259 Jun 20 13:21 standard-1.1.2.jar
-rw-r--r-- 1 tomcat tomcat 159930 Jun 20 12:15 xmldsig-1.0.jar
-rw-r--r-- 1 tomcat tomcat 413902 Jun 20 12:15 xmlsec-1.4.0.jar
] duran goodyear
] web developer
] administrative computing // office of information services // the
university of the arts
] [EMAIL PROTECTED]
] 215.717.6068
] skype://duran.goodyear
On Oct 13, 2008, at 8:19 PM, Scott Battaglia wrote:
Which version of Java are you using to start Tomcat?
Also, in the TOMCAT_HOME/webapps/cas/WEB-INF/lib directory are the
appropriate Spring jars in there? Are there duplicate Spring jars
(i.e. spring-jdbc-2.5.jar and spring-jdbc-2.0.8.jar)?
-Scott
-Scott Battaglia
PGP Public Key Id: 0x383733AA
LinkedIn: http://www.linkedin.com/in/scottbattaglia
On Mon, Oct 13, 2008 at 2:55 PM, Duran Goodyear
<[EMAIL PROTECTED]> wrote:
I was able to download the source files, get maven2 to chew at it,
and
copied the cas.war file to my .../webapps/ directory, restarted
tomcat, and loaded up http://foo.tld:8080/cas/login"
and below I've copied in the error I get.
I'm running on RHEL5, with the YUM installed tomcat5 defaults
mvn --version reports
[EMAIL PROTECTED] target]# mvn --version
Maven version: 2.0.9
Java version: 1.5.0_08
OS name: "linux" version: "2.6.18-8.el5pae" arch: "i386" Family:
"unix"
java --version
java version "1.4.2"
gij (GNU libgcj) version 4.1.1 20070105 (Red Hat 4.1.1-52)
I have jdk1.5.0_08 in /usr/java/jdk1.5.0_08
and java 1.4.2 in /usr/bin/java as per RHEL default.
Any thoughts?
Thanks
Here's the error....
CAS is Unavailable
There was a fatal error initializing the CAS application context.
This
is almost always because of an error in the Spring bean configuration
files. Are the files valid XML? Do the beans they refer to all exist?
Before placing CAS in production, you should change this page to
present a UI appropriate for the case where the CAS web application
is
fundamentally broken. Perhaps "Sorry, CAS is currently unavailable."
with some links to your user support information.
The Throwable encountered at context listener initialization was:
java.lang.NoClassDefFoundError:
org.springframework.core.CollectionFactory
The Throwable encountered at dispatcher servlet initialization was:
java.lang.NoClassDefFoundError:
org.springframework.core.CollectionFactory
] duran goodyear
] web developer
] administrative computing // office of information services // the
university of the arts
] [EMAIL PROTECTED]
] 215.717.6068
] skype://duran.goodyear
_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas
<ATT00001.txt>
_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas
<ATT00001.txt>
_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas