Hi every one,

I had been using jo still now and now
I have installed tomcat with IIS

I have problems with tag libraries which were working well in JO.

I have a folder vtr in the webapp inside which
I have my jsp files.

my directory structure is like this
inside
webapp/vtr/ i have the web-inf
inside which is the class,lib,tlds folders
i have the tld files in the tlds/jktl/ and
the jar files in the lib folder and
in the web.xml
i have  the following

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application
2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";>
<web-app>
<taglib>
 <taglib-uri>
  http://jakarta.apache.org/taglibs/datetime
 </taglib-uri>
 <taglib-location>
  /WEB-INF/tlds/jaktl/datetime/datetime.tld
        </taglib-location>
</taglib>
<taglib>
 <taglib-uri>
  http://jakarta.apache.org/taglibs/mailer
 </taglib-uri>
 <taglib-location>
  /WEB-INF/tlds/jaktl/mailer/mailer.tld
        </taglib-location>
</taglib>
<security-constraint>
<web-resource-collection>
<web-resource-name>Protected Area</web-resource-name>
<!-- Define the context-relative URL(s) to be protected -->
<url-pattern>/jsp/security/protected/*</url-pattern>
<!-- If you list http methods, only those methods are protected -->
<http-method>DELETE</http-method>
<http-method>GET</http-method>
<http-method>POST</http-method>
<http-method>PUT</http-method>
</web-resource-collection>
<auth-constraint>
<!-- Anyone with one of the listed roles may access this area -->
<role-name>tomcat</role-name>
<role-name>role1</role-name>
</auth-constraint>
</security-constraint>
<!-- Default login configuration uses BASIC authentication -->
<!-- <login-config>
      <auth-method>BASIC</auth-method>
 <realm-name>Example Basic Authentication Area</realm-name>
     </login-config>-->
<!-- Form-based login is enabled by default.  If you wish to try Basic
authentication, comment out the
<login-config>section below and uncomment the one above. -->
    <login-config>
      <auth-method>FORM</auth-method>
      <realm-name>Example Form-Based Authentication Area</realm-name>
      <form-login-config>
        <form-login-page>/jsp/security/login/login.jsp</form-login-page>
        <form-error-page>/jsp/security/login/error.jsp</form-error-page>
      </form-login-config>
    </login-config>
</web-app>

 but when i run a jsp which uses taglib i get the following message

Error: 500
Location: /vtr/jsp/tll.jsp
Internal Servlet Error:

org.apache.jasper.compiler.CompileException:
C:\jakarta-tomcat\webapps\vtr\jsp\tll.jsp(8,0) Unable to open taglibrary
http://jakarta.apache.org/taglibs/mailer : Could not locate TLD
http://jakarta.apache.org/taglibs/mailer
 at
org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseEve
ntListener.java, Compiled Code)
 at
org.apache.jasper.compiler.DelegatingListener.handleDirective(DelegatingList
ener.java:116)
 at org.apache.jasper.compiler.Parser$Directive.accept(Parser.java, Compiled
Code)
 at org.apache.jasper.compiler.Parser.parse(Parser.java, Compiled Code)
 at org.apache.jasper.compiler.Parser.parse(Parser.java:1042)
 at org.apache.jasper.compiler.Parser.parse(Parser.java:1038)
 at org.apache.jasper.compiler.Compiler.compile(Compiler.java, Compiled
Code)
 at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:612)
 at
org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)
 at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:542)
 at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe
rvlet.java:258)
 at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:268)
 at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java, Compiled
Code)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
 at org.apache.tomcat.core.Handler.service(Handler.java:287)
 at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
 at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:81
2)
 at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
 at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:213)
 at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java,
Compiled Code)
 at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java,
Compiled Code)
 at java.lang.Thread.run(Thread.java:479)


any help is welcome  ...

Regards

V.T.R.Ravi Kumar,

Engineer, CCX,
BHEL, Hardwar, INDIA
*****************************************
Phone          : 0133-485405.
Fax            : 0133-423948.
Web            : http://vtr.2itb.com
Alternate mails: [EMAIL PROTECTED]
                 [EMAIL PROTECTED]
*****************************************
----- Original Message -----
From: "Walter Meyer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 03, 2002 9:30 AM
Subject: Re: Tomcat Installation Question


> What do the logs show? Anything?
>
>
>
> ---- David <[EMAIL PROTECTED]> wrote:
> > I just installed Tomcat 4.0 on Windows 2000.
> > The install found the working Java2 JDK 1.3.1 fine and Apache 1.3 runs
> > fine.
> > But the Start Tomcat Service just hangs.
> > Did I miss something?
> >
> >
===========================================================================
> > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> > DIGEST".
> > Some relevant FAQs on JSP/Servlets can be found at:
> >
> >  http://archives.java.sun.com/jsp-interest.html
> >  http://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.jsp
> >  http://www.jguru.com/faq/index.jsp
> >  http://www.jspinsider.com
> >
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://archives.java.sun.com/jsp-interest.html
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>  http://www.jguru.com/faq/index.jsp
>  http://www.jspinsider.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to