JBoss Community

Re: Migrating Applications from Tomcat 6 to Jboss AS 5.1

created by Bruce Klein in Beginner's Corner - View the full discussion

Hi Wolfgang,

 

Yes. I found that file and inserted a taglib to my web.xml and moved the file into my WEB_INF/tld directory

 

<taglib>

       <taglib-uri>http://tiles.apache.org/tags-tiles</taglib-uri>

       <taglib-location>/WEB-INF/tld/tiles-jsp.tld</taglib-location>

    </taglib>

 

That solved the immediate issue but then jboss produced the following error:

 

org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jsp/jstl/functions cannot be resolved in either web.xml or the jar files deployed with this application

 

So there seems to be a pattern here. None of these tld issues exist when I run my apps in a pure Tomcat environment so I am curious as to why they are showing up by dropping these wars into jboss. What I've done so far after dropping my war file into my servers deploy dir is created a WEB-INF/jboss-classloading.xml file with the following contents to isolate my war's classes.

 

<?xml version="1.0" encoding="UTF-8"?>

<classloading xmlns="urn:jboss:classloading:1.0"

              name="mobile.war"

              domain="mobile.com"

              export-all="NON_EMPTY"

              import-all="true">

</classloading>

 

Whats happening in jboss to cause these issues?

 

Is there a more global solution to fix this or do I have to go through one by one and find the tld files and create a taglib for each one that comes up in error?

 

Thanks!
Bruce

Reply to this message by going to Community

Start a new discussion in Beginner's Corner at Community