[jboss-user] [Installation, Configuration & DEPLOYMENT] - Shared lib failure: org.apache.jasper.JasperException

rodfreire do-not-reply at jboss.com
Tue Nov 25 14:05:52 EST 2008


Hello,

When using the displaytag feature from an in-house built .war, the server yields exception:

16:24:46,181 ERROR [HibernateSessionFilter] Hibernate Session Filter runtime error. The absolute uri: http://displaytag.sf.net cannot be rolved in either web.xml or the jar files deployed with this application
  | org.apache.jasper.JasperException: The absolute uri: http://displaytag.sf.net cannot be resolved in either web.xml or the jar files deployed with this application

The clues:

* It worked with tomcat 5.5; the displaytag libs were installed at shared/lib (we migrated from Tomcat -> JBoss) ;
  | 
  | * It does work with our official JBoss [EAP] 4.3.0.GA_CP02 if the lib is packaged inside the application WAR at WEB-INF/lib;
  | Our development team highly resists this solution; they allege it worked on Tomcat; they have lots of .war and the maintainability of all of them on new releases of the lib would make their life miserable
  | 
  | * Throws exception on JBoss if the lib is located at JBOSS_HOME/server/instance/lib, or even $CLASSPATH, JBOSS_HOME/lib or JBOSS_HOME/lib/endorsed (desperate attempt);
  | 
  | * When the lib is at JBOSS_HOME/server/instance/lib, it *is* recognized, see sysout from boot.log:
  | 
  | 11:50:01,338 DEBUG [RepositoryClassLoader] Added url: file:/usr/local/j2ee/jboss-eap-4.3/jboss-as/server/01/lib/displaytag-1.1.jar, to ucl: org.jboss.mx.loading.UnifiedClassLoader3 at 3295cfbe{ url=null ,addedOrder=2}
  |   | 
  |   | 11:50:00,574 DEBUG [SARDeployer] deployed classes for file:/usr/local/j2ee/jboss-eap-4.3/jboss-as/server/01/lib/displaytag-1.1.jar 
  | 
  | Any hints regarding this issue?
  | 
  | OS:
  | anonymous wrote : # cat /etc/issue
  |   | Red Hat Enterprise Linux Server release 5.2 (Tikanga)
  |   | 
  |   | # uname -a
  |   | Linux hostname.blahblah 2.6.18-92.1.13.el5 #1 SMP Thu Sep 4 03:51:21 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux
  | 
  | Java + JBoss:
  | anonymous wrote : 16:24:21,639 INFO  [Server] Release ID: JBoss [EAP] 4.3.0.GA_CP02 (build: SVNTag=JBPAPP_4_3_0_GA_CP02 date=200808051050)
  |   | 16:24:21,825 INFO  [ServerInfo] Java version: 1.5.0_15,Sun Microsystems Inc.
  |   | 16:24:21,825 INFO  [ServerInfo] Java VM: Java HotSpot(TM) 64-Bit Server VM 1.5.0_15-b04,Sun Microsystems Inc.
  |   | 16:24:21,825 INFO  [ServerInfo] OS-System: Linux 2.6.18-92.1.13.el5,amd64
  | 
  | Thanks,
  | 
  | Rodrigo A B Freire

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4192250#4192250

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4192250



More information about the jboss-user mailing list