Implementing Tomahawk into JSF 1.0 RI

View: New views
6 Messages — Rating Filter:   Alert me  

Implementing Tomahawk into JSF 1.0 RI

by steve-345 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I am trying to implement Tomahawk into our application, which is running JSF 1.0 RI on WAS 6.0.  I have followed all the setup instructions correctly to the best of my knowledge, but I am still getting the following error when trying to use a tag on a JSP:

SRVE0026E: [Servlet Error]-[JSPG0047E: Unable to locate tag library for uri http://myfaces.apache.org/tomahawk ]: com.ibm.ws.jsp.JspCoreException: JSPG0047E: Unable to locate tag library for uri http://myfaces.apache.org/tomahawk 


Following are the JARs I have added to my classpath:

tomahawk-1.1.6.jar
commons-fileupload-1.2.1.jar
commons-logging-1.1.1.jar
commons-el.jar
commons-io-1.4.jar

And this is added to my JSP:

<%@taglib uri="http://myfaces.apache.org/tomahawk" prefix="t" %>

Is there something I am missing here?  I am getting a Broken Link warning on my JSP and then when I try to access that page, I get the exception listed above in my console.  Any help would be appreciated.

Re: Implementing Tomahawk into JSF 1.0 RI

by Deepesh Garg :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



On Fri, May 9, 2008 at 1:22 PM, steve <steve@...> wrote:
Hello,

I am trying to implement Tomahawk into our application, which is running JSF 1.0 RI on WAS 6.0.  I have followed all the setup instructions correctly to the best of my knowledge, but I am still getting the following error when trying to use a tag on a JSP:

SRVE0026E: [Servlet Error]-[JSPG0047E: Unable to locate tag library for uri http://myfaces.apache.org/tomahawk ]: com.ibm.ws.jsp.JspCoreException: JSPG0047E: Unable to locate tag library for uri http://myfaces.apache.org/tomahawk


Following are the JARs I have added to my classpath:

tomahawk-1.1.6.jar
commons-fileupload-1.2.1.jar
commons-logging-1.1.1.jar
commons-el.jar
commons-io-1.4.jar

And this is added to my JSP:

<%@taglib uri="http://myfaces.apache.org/tomahawk" prefix="t" %>

Is there something I am missing here?  I am getting a Broken Link warning on my JSP and then when I try to access that page, I get the exception listed above in my console.  Any help would be appreciated.

Do you have tomahawk-1.1.6.jar in your WEB-INF/lib? Auto-discovery of tag libraries only looks for jars in WEB-INF/lib of your web application.
Deepesh

Parent Message unknown Re: Implementing Tomahawk into JSF 1.0 RI

by steve-345 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Deepesh,

Yes, I do.  That's what I don't understand.  I have all of the previously mentioned JARs in WEB-INF/lib.


>  -------Original Message-------
>  From: Deepesh Garg <deepesh.g@...>
>  Subject: Re: Implementing Tomahawk into JSF 1.0 RI
>  Sent: May 09 '08 07:45
>  
>  On Fri, May 9, 2008 at 1:22 PM, steve <[LINK: mailto:steve@...]
>  steve@...> wrote:
>  Hello,
>  
>  I am trying to implement Tomahawk into our application, which is running
>  JSF 1.0 RI on WAS 6.0.  I have followed all the setup instructions
>  correctly to the best of my knowledge, but I am still getting the following
>  error when trying to use a tag on a JSP:
>  
>  SRVE0026E: [Servlet Error]-[JSPG0047E: Unable to locate tag library for
>  uri [LINK: http://myfaces.apache.org/tomahawk]
>  http://myfaces.apache.org/tomahawk ]: com.ibm.ws.jsp.JspCoreException:
>  JSPG0047E: Unable to locate tag library for uri [LINK:
>  http://myfaces.apache.org/tomahawk] http://myfaces.apache.org/tomahawk
>  
>  
>  Following are the JARs I have added to my classpath:
>  
>  tomahawk-1.1.6.jar
>  commons-fileupload-1.2.1.jar
>  commons-logging-1.1.1.jar
>  commons-el.jar
>  commons-io-1.4.jar
>  
>  And this is added to my JSP:
>  
>  <%@taglib uri="[LINK: http://myfaces.apache.org/tomahawk]
>  http://myfaces.apache.org/tomahawk" prefix="t" %>
>  
>  Is there something I am missing here?  I am getting a Broken Link warning
>  on my JSP and then when I try to access that page, I get the exception
>  listed above in my console.  Any help would be appreciated.
>  
>  Do you have tomahawk-1.1.6.jar in your WEB-INF/lib? Auto-discovery of tag
>  libraries only looks for jars in WEB-INF/lib of your web application.
>  Deepesh

Re: Implementing Tomahawk into JSF 1.0 RI

by Deepesh Garg :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

See if this helps:
http://mail-archives.apache.org/mod_mbox/myfaces-users/200605.mbox/%3Cf00bce7e0605291500g2446645fh25d9a97f5a3189ff@...%3E

On Fri, May 9, 2008 at 1:55 PM, steve <steve@...> wrote:
Deepesh,

Yes, I do.  That's what I don't understand.  I have all of the previously mentioned JARs in WEB-INF/lib.


>  -------Original Message-------
>  From: Deepesh Garg <deepesh.g@...>
>  Subject: Re: Implementing Tomahawk into JSF 1.0 RI
>  Sent: May 09 '08 07:45
>
>  On Fri, May 9, 2008 at 1:22 PM, steve <[LINK: mailto:steve@...]
>  steve@...> wrote:
>  Hello,
>
>  I am trying to implement Tomahawk into our application, which is running
>  JSF 1.0 RI on WAS 6.0.  I have followed all the setup instructions
>  correctly to the best of my knowledge, but I am still getting the following
>  error when trying to use a tag on a JSP:
>
>  SRVE0026E: [Servlet Error]-[JSPG0047E: Unable to locate tag library for
>  uri [LINK: http://myfaces.apache.org/tomahawk]
>  http://myfaces.apache.org/tomahawk ]: com.ibm.ws.jsp.JspCoreException:
>  JSPG0047E: Unable to locate tag library for uri [LINK:
>  http://myfaces.apache.org/tomahawk] http://myfaces.apache.org/tomahawk
>
>
>  Following are the JARs I have added to my classpath:
>
>  tomahawk-1.1.6.jar
>  commons-fileupload-1.2.1.jar
>  commons-logging-1.1.1.jar
>  commons-el.jar
>  commons-io-1.4.jar
>
>  And this is added to my JSP:
>
>  <%@taglib uri="[LINK: http://myfaces.apache.org/tomahawk]
&gt;  http://myfaces.apache.org/tomahawk" prefix="t" %>
>
>  Is there something I am missing here?  I am getting a Broken Link warning
>  on my JSP and then when I try to access that page, I get the exception
>  listed above in my console.  Any help would be appreciated.
>
>  Do you have tomahawk-1.1.6.jar in your WEB-INF/lib? Auto-discovery of tag
>  libraries only looks for jars in WEB-INF/lib of your web application.
>  Deepesh


Parent Message unknown Re: Implementing Tomahawk into JSF 1.0 RI

by steve-345 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Yes, I've actually seen this thread.  I tried changing the classloading mode of the WAR to Parent Last and that still didn't fix the issue.  Our classloader policy was already set to Module, also.

I'm not entirely sure where to check on the mode and policy of the EAR.  I was only able to find the WAR settings in the server admin console.  Is there something else to check?


>  -------Original Message-------
>  From: Deepesh Garg <deepesh.g@...>
>  Subject: Re: Implementing Tomahawk into JSF 1.0 RI
>  Sent: May 09 '08 08:06
>  
>  See if this helps:
>  [LINK:
>  http://mail-archives.apache.org/mod_mbox/myfaces-users/200605.mbox/%3Cf00bce7e0605291500g2446645fh25d9a97f5a3189ff@...%3E]
>  http://mail-archives.apache.org/mod_mbox/myfaces-users/200605.mbox/%3Cf00bce7e0605291500g2446645fh25d9a97f5a3189ff@...%3E
>  
>  
>  On Fri, May 9, 2008 at 1:55 PM, steve <[LINK: mailto:steve@...]
>  steve@...> wrote:
>  Deepesh,
>  
>  Yes, I do.  That's what I don't understand.  I have all of the
>  previously mentioned JARs in WEB-INF/lib.
>  
>  
>  >  -------Original Message-------
>  >  From: Deepesh Garg <[LINK: mailto:deepesh.g@...]
>  deepesh.g@...>
>  >  Subject: Re: Implementing Tomahawk into JSF 1.0 RI
>  >  Sent: May 09 '08 07:45
>  >
>  >  On Fri, May 9, 2008 at 1:22 PM, steve <[LINK: mailto:[LINK:
>  mailto:steve@...] steve@...]
>  >  [LINK: mailto:steve@...] steve@...> wrote:
>  >  Hello,
>  >
>  >  I am trying to implement Tomahawk into our application, which is
>  running
>  >  JSF 1.0 RI on WAS 6.0.  I have followed all the setup instructions
>  >  correctly to the best of my knowledge, but I am still getting the
>  following
>  >  error when trying to use a tag on a JSP:
>  >
>  >  SRVE0026E: [Servlet Error]-[JSPG0047E: Unable to locate tag library
>  for
>  >  uri [LINK: [LINK: http://myfaces.apache.org/tomahawk]
>  http://myfaces.apache.org/tomahawk]
>  
>  >  [LINK: http://myfaces.apache.org/tomahawk]
>  http://myfaces.apache.org/tomahawk ]: com.ibm.ws.jsp.JspCoreException:
>  >  JSPG0047E: Unable to locate tag library for uri [LINK:
>  >  [LINK: http://myfaces.apache.org/tomahawk]
>  http://myfaces.apache.org/tomahawk] [LINK:
>  http://myfaces.apache.org/tomahawk] http://myfaces.apache.org/tomahawk
>  
>  >
>  >
>  >  Following are the JARs I have added to my classpath:
>  >
>  >  tomahawk-1.1.6.jar
>  >  commons-fileupload-1.2.1.jar
>  >  commons-logging-1.1.1.jar
>  >  commons-el.jar
>  >  commons-io-1.4.jar
>  >
>  >  And this is added to my JSP:
>  >
>  >  <%@taglib uri="[LINK: [LINK: http://myfaces.apache.org/tomahawk]
>  http://myfaces.apache.org/tomahawk]
>  >  [LINK: http://myfaces.apache.org/tomahawk]
>  http://myfaces.apache.org/tomahawk" prefix="t" %>
>  
>  
>  >
>  >  Is there something I am missing here?  I am getting a Broken Link
>  warning
>  >  on my JSP and then when I try to access that page, I get the exception
>  >  listed above in my console.  Any help would be appreciated.
>  >
>  >  Do you have tomahawk-1.1.6.jar in your WEB-INF/lib? Auto-discovery of
>  tag
>  >  libraries only looks for jars in WEB-INF/lib of your web application.
>  >  Deepesh

Re: Implementing Tomahawk into JSF 1.0 RI

by speedrace :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Not sure if you have already found a solution for this issue but I was facing this issue and i got it resolved by adding tomahawk.taglib.xml to WEB-INF and adding the following in web.xml

    <context-param>
        <param-name>facelets.LIBRARIES</param-name>
        <param-value>/WEB-INF/tomahawk.taglib.xml</param-value>
    </context-param>

Thanks,
Raj



steve-345 wrote:
Hello,

I am trying to implement Tomahawk into our application, which is running JSF 1.0 RI on WAS 6.0.  I have followed all the setup instructions correctly to the best of my knowledge, but I am still getting the following error when trying to use a tag on a JSP:

SRVE0026E: [Servlet Error]-[JSPG0047E: Unable to locate tag library for uri http://myfaces.apache.org/tomahawk ]: com.ibm.ws.jsp.JspCoreException: JSPG0047E: Unable to locate tag library for uri http://myfaces.apache.org/tomahawk 


Following are the JARs I have added to my classpath:

tomahawk-1.1.6.jar
commons-fileupload-1.2.1.jar
commons-logging-1.1.1.jar
commons-el.jar
commons-io-1.4.jar

And this is added to my JSP:

<%@taglib uri="http://myfaces.apache.org/tomahawk" prefix="t" %>

Is there something I am missing here?  I am getting a Broken Link warning on my JSP and then when I try to access that page, I get the exception listed above in my console.  Any help would be appreciated.