tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pid...@pidster.com>
Subject Re: class loader for native library
Date Tue, 08 Aug 2006 08:58:13 GMT


Le Nguyen-Thinh wrote:
> I use following taglibs in my JSP:
> 
> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
> <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
> <%@ taglib prefix="ora" uri="orataglib" %>

> Could you help me please, how to configure/ specify the taglibs we want
> to use?

You should check that the TLD and the JAR for the JSTL tags are
correctly deployed in your WEB-INF/lib and WEB-INF/tld (or wherever you
have configured your TLDs).

Your controller servlet also looks like it's missing, so you may wish to
check that the WEB-INF/classes or WEB-INF/lib folder contains the
appropriate files.

> Did I export the JAVA_OPTS in order to access to the native library
> correctly?

I think what Mark was saying is that the error doesn't appear to have
anything to do with the native library, which may be working perfectly well.

> JAVA_OPTS="-Djava.library.path=/opt/pkg/pl/lib/pl-5.6.6/lib/i686-linux"
> 
> Thanks a lot for your advice.
> 
> Thinh
> 
> 
> Mark Thomas wrote:
> 
>> Le Nguyen-Thinh wrote:
>>  
>>
>>> Dear friends,
>>>
>>> My web-based application needs to communicate with a native library.
>>> Therefore, I specify the JAVA_OPTS variable with the path to a native
>>> library before running startup.sh:
>>>
>>> export
>>> JAVA_OPTS="-Djava.library.path=/opt/pkg/pl/lib/pl-5.6.6/lib/i686-linux"
>>>
>>> Unfortunately, I got the following message when calling my JSP:
>>>
>>> org.apache.jasper.JasperException: The absolute uri:
>>> http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml
>>> or the jar files deployed with this application
>>>   
>>
>> This is nothing to do with your native library. The problem is that
>> the standard taglibs cannot be found. What steps have you taken to
>> configure taglibs for your application?
>>
>> Mark
>>
>> ---------------------------------------------------------------------
>> To start a new topic, e-mail: users@tomcat.apache.org
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>  
>>
> 
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 
> 

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message