The issue is that with JDK1.4.1, if endorsed.dirs is set you may run into many kinds of weird classloading problems. Some classes in the CLASSPATH or in a loader will not be found, even if you place them in jre/lib/ext.
The problem goes away as soon as you remove endorsed.dirs. I still need to find out why is this happening - but for now I fixed jasper to work with crimson ( the parser in JDK1.4 ) and I use tomcat without endorsed.
Update: Remy has the same problem, this time JMX can't be loaded. There is only one solution - stop using endorsed.dirs until Sun fixes it.
Update: It seems one ClassPath attribute in a jar included in endorsed was referencing other jars, and removing that fixes some of the problems. Still - endorsed is supposed to override a number of packages, it shouldn't affect the others.
Technical stuff
Friday, January 17, 2003
Classloader fun with JDK1.4
Subscribe to:
Post Comments (Atom)
Blog Archive
-
▼
2003
(44)
-
►
February
(16)
- JMX console
- Sending mail to the blog
- Back from traffic school
- Wiki, Weblog and Pine
- First problem with mail blogs
- Mail aggregator
- mail and weblog (3)
- Soap over SSL without signed certs
- mail blog (2)
- Mail blog
- OS problems
- Got my linux back
- Blog reader distribution
- linux and java
- JMX servlets
- Gentoo (and gump)
-
▼
January
(23)
- Authorization and security
- Kde3.1 on RedHat 8
- Java security
- Tahoe
- JMX-enable a bean in 3 easy steps
- TLD listeners and context initialization
- int[] versus Integer or IntHolder
- Weblog and wiki
- Load balancing in jk
- Configurable TagPool in 50
- It's already done - nntp/rss gateway
- Using context params or JNDI for configuration
- SingleThreadedModel may be usefull
- Precompile the JSPs
- Classloader fun with JDK1.4
- More JMX in tomcat5
- Extension points in tomcat5
- UserDatabase needs changes
- Ser2xml
- Starting to "blog"
- Ant: delayed task creation
- import in ant
- JMX support in ThreadPool
-
►
February
(16)
0 comments:
Post a Comment