You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Matthias Wessendorf <mw...@gmail.com> on 2006/03/01 17:15:13 UTC
[OC4J] tld files inside of a jar
Hi,
I noticed a problem, with OC4J 9.0.4.1.0 and .tld files, which are
located in a jar under "META-INF". MyFaces, Tiles (core / standalone)
and Shale stores all files there.
Works fine for me in Tomcat (standalone and included into JBoss)
However, a co-workers JAR file contains the .tld under
"META-INF/tlds/" that works in OC4J fine too. (no jsf components
contained, just *regular* jsp custom actions)
When I try something like this inside my web.xml
<taglib>
<taglib-uri>http://java.sun.com/jsf/core</taglib-uri>
<taglib-location>/WEB-INF/core.tld</taglib-location>
</taglib>
I got the (interesting) stack trace.
Any ideas? (under tomcat/jboss it works out of the box)
-Matthias
<snip>
Exception:
java.lang.NullPointerException
at oracle.jsp.parse.JspDirectiveTaglib.validateAttributes(JspDirectiveTaglib.java:183)
at oracle.jsp.parse.JspParseTagDirective.validateTagAttributes(JspParseTagDirective.java:179)
at oracle.jsp.parse.JspParseTag.parse(JspParseTag.java:921)
at oracle.jsp.parse.JspParseTagDirective.parse(JspParseTagDirective.java:318)
at oracle.jsp.parse.JspParseTag.parseNextTag(JspParseTag.java:705)
at oracle.jsp.parse.JspParseTagFile.parse(JspParseTagFile.java:184)
at oracle.jsp.parse.OracleJsp2Java.transform(OracleJsp2Java.java:154)
at oracle.jsp.runtimev2.JspPageCompiler.attemptCompilePage(JspPageCompiler.java:427)
at oracle.jsp.runtimev2.JspPageCompiler.compilePage(JspPageCompiler.java:283)
at oracle.jsp.runtimev2.JspPageInfo.compileAndLoad(JspPageInfo.java:438)
at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:542)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:304)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:251)
at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:416)
at org.apache.shale.tiles.TilesViewHandler.dispatchToTile(TilesViewHandler.java:318)
at org.apache.shale.tiles.TilesViewHandler.renderView(TilesViewHandler.java:159)
at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:372)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:124)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
at org.apache.shale.faces.ShaleApplicationFilter.doFilter(ShaleApplicationFilter.java:278)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:600)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:793)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
at java.lang.Thread.run(Thread.java:534)
</snip>
--
Matthias Wessendorf
Zülpicher Wall 12, 239
50674 Köln
http://www.wessendorf.net
mwessendorf-at-gmail-dot-com
Re: [OC4J] tld files inside of a jar
Posted by Matthias Wessendorf <mw...@gmail.com>.
Ah, I saw, but haven't tried, because of we have to use 9.0.4.1.0
I'll give it a try when I am in office tomorrow
-Matthias
On 3/1/06, Mike Kienenberger <mk...@gmail.com> wrote:
> Have you looked at the various tweaks listed in the container wiki page?
>
> http://wiki.apache.org/myfaces/Installation_and_Configuration
>
> I had some issues with JSP EL -- I was told by Oracle to include two
> more jar files (see 10.1.2.0.0 entry)
>
> I'm fairly certain that I'm also registering the listener using the
> web.xml file rather than relying on the TLD listener entries.
>
> -Mike
>
>
> On 3/1/06, Matthias Wessendorf <mw...@gmail.com> wrote:
> > After removing the Tiles (standalone) and the Shale-Tiles JARs,
> > I got this interesting exception:
> >
> > My application includes the jsp-2.0.jar as pointed out here:
> > http://tinyurl.com/jcwxh
> >
> > Because of, when I haven't it included I got a classDefNotFound for
> > JSP EL (ELExcepption)
> >
> > I think there is a mismatch between OC4J 9.0.4.1.0' JSP files...
> > :-(
> >
> > Any ideas, howto patch/fix this ...
> >
> >
> > <snip>
> > Exception:
> >
> > java.lang.VerifyError: (class: javax/faces/webapp/UIComponentTag,
> > method: getParentUIComponentTag signature:
> > (Ljavax/servlet/jsp/PageContext;)Ljavax/faces/webapp/UIComponentTag;)
> > Incompatible object argument for function call
> > at java.lang.Class.getDeclaredMethods0(Native Method)
> > at java.lang.Class.privateGetDeclaredMethods(Class.java:1655)
> > at java.lang.Class.privateGetPublicMethods(Class.java:1778)
> > at java.lang.Class.getMethods(Class.java:832)
> > at oracle.jsp.parse.JspBeanInfo.determineSetPropertyOverloading(JspBeanInfo.java:394)
> > at oracle.jsp.parse.JspBeanInfo.getSetProperty(JspBeanInfo.java:704)
> > at oracle.jsp.parse.JspBeanDictionary.getSetPropertyInfo(JspBeanDictionary.java:193)
> > at oracle.jsp.parse.JspRTTag.getSetProperties(JspRTTag.java:1063)
> > at oracle.jsp.parse.JspRTTag.validateTagParse(JspRTTag.java:479)
> > at oracle.jsp.parse.JspParseTag.parse(JspParseTag.java:949)
> > at oracle.jsp.parse.OpenJspTagHandler.parse(OpenJspTagHandler.java:633)
> > at oracle.jsp.parse.JspParseTag.parseNextTag(JspParseTag.java:705)
> > at oracle.jsp.parse.JspParseTag.parseBody(JspParseTag.java:814)
> > at oracle.jsp.parse.OpenJspTagHandler.parseBody(OpenJspTagHandler.java:514)
> > at oracle.jsp.parse.JspParseTag.parse(JspParseTag.java:929)
> > at oracle.jsp.parse.OpenJspTagHandler.parse(OpenJspTagHandler.java:633)
> > at oracle.jsp.parse.JspParseTag.parseNextTag(JspParseTag.java:705)
> > at oracle.jsp.parse.JspParseTagFile.parse(JspParseTagFile.java:184)
> > at oracle.jsp.parse.OracleJsp2Java.transform(OracleJsp2Java.java:154)
> > at oracle.jsp.runtimev2.JspPageCompiler.attemptCompilePage(JspPageCompiler.java:427)
> > at oracle.jsp.runtimev2.JspPageCompiler.compilePage(JspPageCompiler.java:283)
> > at oracle.jsp.runtimev2.JspPageInfo.compileAndLoad(JspPageInfo.java:438)
> > at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:542)
> > at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:304)
> > at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
> > at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765)
> > at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
> > at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:251)
> > at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:416)
> > at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234)
> > at org.apache.shale.view.faces.ViewViewHandler.renderView(ViewViewHandler.java:146)
> > at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:372)
> > at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
> > at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
> > at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:124)
> > at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
> > at org.apache.shale.faces.ShaleApplicationFilter.doFilter(ShaleApplicationFilter.java:278)
> > at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:600)
> > at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
> > at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:793)
> > at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
> > at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
> > at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
> > at java.lang.Thread.run(Thread.java:534)
> >
> >
> > </snip>
> >
> >
> > On 3/1/06, Matthias Wessendorf <mw...@gmail.com> wrote:
> > > The adf-jars also contain their .tld directly under "META-INF" instead
> > > of "META-INF/tlds"
> > >
> > > -Matthias
> > >
> > > On 3/1/06, Matthias Wessendorf <mw...@gmail.com> wrote:
> > > > Hi,
> > > >
> > > > I noticed a problem, with OC4J 9.0.4.1.0 and .tld files, which are
> > > > located in a jar under "META-INF". MyFaces, Tiles (core / standalone)
> > > > and Shale stores all files there.
> > > >
> > > > Works fine for me in Tomcat (standalone and included into JBoss)
> > > >
> > > > However, a co-workers JAR file contains the .tld under
> > > > "META-INF/tlds/" that works in OC4J fine too. (no jsf components
> > > > contained, just *regular* jsp custom actions)
> > > >
> > > > When I try something like this inside my web.xml
> > > > <taglib>
> > > > <taglib-uri>http://java.sun.com/jsf/core</taglib-uri>
> > > > <taglib-location>/WEB-INF/core.tld</taglib-location>
> > > > </taglib>
> > > >
> > > >
> > > > I got the (interesting) stack trace.
> > > >
> > > > Any ideas? (under tomcat/jboss it works out of the box)
> > > > -Matthias
> > > >
> > > > <snip>
> > > > Exception:
> > > >
> > > > java.lang.NullPointerException
> > > > at oracle.jsp.parse.JspDirectiveTaglib.validateAttributes(JspDirectiveTaglib.java:183)
> > > > at oracle.jsp.parse.JspParseTagDirective.validateTagAttributes(JspParseTagDirective.java:179)
> > > > at oracle.jsp.parse.JspParseTag.parse(JspParseTag.java:921)
> > > > at oracle.jsp.parse.JspParseTagDirective.parse(JspParseTagDirective.java:318)
> > > > at oracle.jsp.parse.JspParseTag.parseNextTag(JspParseTag.java:705)
> > > > at oracle.jsp.parse.JspParseTagFile.parse(JspParseTagFile.java:184)
> > > > at oracle.jsp.parse.OracleJsp2Java.transform(OracleJsp2Java.java:154)
> > > > at oracle.jsp.runtimev2.JspPageCompiler.attemptCompilePage(JspPageCompiler.java:427)
> > > > at oracle.jsp.runtimev2.JspPageCompiler.compilePage(JspPageCompiler.java:283)
> > > > at oracle.jsp.runtimev2.JspPageInfo.compileAndLoad(JspPageInfo.java:438)
> > > > at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:542)
> > > > at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:304)
> > > > at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
> > > > at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
> > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > > > at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765)
> > > > at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
> > > > at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:251)
> > > > at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:416)
> > > > at org.apache.shale.tiles.TilesViewHandler.dispatchToTile(TilesViewHandler.java:318)
> > > > at org.apache.shale.tiles.TilesViewHandler.renderView(TilesViewHandler.java:159)
> > > > at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:372)
> > > > at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
> > > > at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
> > > > at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:124)
> > > > at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
> > > > at org.apache.shale.faces.ShaleApplicationFilter.doFilter(ShaleApplicationFilter.java:278)
> > > > at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:600)
> > > > at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
> > > > at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:793)
> > > > at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
> > > > at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
> > > > at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
> > > > at java.lang.Thread.run(Thread.java:534)
> > > >
> > > >
> > > > </snip>
> > > >
> > > > --
> > > > Matthias Wessendorf
> > > > Zülpicher Wall 12, 239
> > > > 50674 Köln
> > > > http://www.wessendorf.net
> > > > mwessendorf-at-gmail-dot-com
> > > >
> > >
> > >
> > > --
> > > Matthias Wessendorf
> > > Zülpicher Wall 12, 239
> > > 50674 Köln
> > > http://www.wessendorf.net
> > > mwessendorf-at-gmail-dot-com
> > >
> >
> >
> > --
> > Matthias Wessendorf
> > Zülpicher Wall 12, 239
> > 50674 Köln
> > http://www.wessendorf.net
> > mwessendorf-at-gmail-dot-com
> >
>
--
Matthias Wessendorf
Zülpicher Wall 12, 239
50674 Köln
http://www.wessendorf.net
mwessendorf-at-gmail-dot-com
Re: [OC4J] tld files inside of a jar
Posted by Mike Kienenberger <mk...@gmail.com>.
Have you looked at the various tweaks listed in the container wiki page?
http://wiki.apache.org/myfaces/Installation_and_Configuration
I had some issues with JSP EL -- I was told by Oracle to include two
more jar files (see 10.1.2.0.0 entry)
I'm fairly certain that I'm also registering the listener using the
web.xml file rather than relying on the TLD listener entries.
-Mike
On 3/1/06, Matthias Wessendorf <mw...@gmail.com> wrote:
> After removing the Tiles (standalone) and the Shale-Tiles JARs,
> I got this interesting exception:
>
> My application includes the jsp-2.0.jar as pointed out here:
> http://tinyurl.com/jcwxh
>
> Because of, when I haven't it included I got a classDefNotFound for
> JSP EL (ELExcepption)
>
> I think there is a mismatch between OC4J 9.0.4.1.0' JSP files...
> :-(
>
> Any ideas, howto patch/fix this ...
>
>
> <snip>
> Exception:
>
> java.lang.VerifyError: (class: javax/faces/webapp/UIComponentTag,
> method: getParentUIComponentTag signature:
> (Ljavax/servlet/jsp/PageContext;)Ljavax/faces/webapp/UIComponentTag;)
> Incompatible object argument for function call
> at java.lang.Class.getDeclaredMethods0(Native Method)
> at java.lang.Class.privateGetDeclaredMethods(Class.java:1655)
> at java.lang.Class.privateGetPublicMethods(Class.java:1778)
> at java.lang.Class.getMethods(Class.java:832)
> at oracle.jsp.parse.JspBeanInfo.determineSetPropertyOverloading(JspBeanInfo.java:394)
> at oracle.jsp.parse.JspBeanInfo.getSetProperty(JspBeanInfo.java:704)
> at oracle.jsp.parse.JspBeanDictionary.getSetPropertyInfo(JspBeanDictionary.java:193)
> at oracle.jsp.parse.JspRTTag.getSetProperties(JspRTTag.java:1063)
> at oracle.jsp.parse.JspRTTag.validateTagParse(JspRTTag.java:479)
> at oracle.jsp.parse.JspParseTag.parse(JspParseTag.java:949)
> at oracle.jsp.parse.OpenJspTagHandler.parse(OpenJspTagHandler.java:633)
> at oracle.jsp.parse.JspParseTag.parseNextTag(JspParseTag.java:705)
> at oracle.jsp.parse.JspParseTag.parseBody(JspParseTag.java:814)
> at oracle.jsp.parse.OpenJspTagHandler.parseBody(OpenJspTagHandler.java:514)
> at oracle.jsp.parse.JspParseTag.parse(JspParseTag.java:929)
> at oracle.jsp.parse.OpenJspTagHandler.parse(OpenJspTagHandler.java:633)
> at oracle.jsp.parse.JspParseTag.parseNextTag(JspParseTag.java:705)
> at oracle.jsp.parse.JspParseTagFile.parse(JspParseTagFile.java:184)
> at oracle.jsp.parse.OracleJsp2Java.transform(OracleJsp2Java.java:154)
> at oracle.jsp.runtimev2.JspPageCompiler.attemptCompilePage(JspPageCompiler.java:427)
> at oracle.jsp.runtimev2.JspPageCompiler.compilePage(JspPageCompiler.java:283)
> at oracle.jsp.runtimev2.JspPageInfo.compileAndLoad(JspPageInfo.java:438)
> at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:542)
> at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:304)
> at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
> at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765)
> at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
> at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:251)
> at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:416)
> at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234)
> at org.apache.shale.view.faces.ViewViewHandler.renderView(ViewViewHandler.java:146)
> at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:372)
> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
> at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
> at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:124)
> at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
> at org.apache.shale.faces.ShaleApplicationFilter.doFilter(ShaleApplicationFilter.java:278)
> at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:600)
> at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
> at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:793)
> at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
> at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
> at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
> at java.lang.Thread.run(Thread.java:534)
>
>
> </snip>
>
>
> On 3/1/06, Matthias Wessendorf <mw...@gmail.com> wrote:
> > The adf-jars also contain their .tld directly under "META-INF" instead
> > of "META-INF/tlds"
> >
> > -Matthias
> >
> > On 3/1/06, Matthias Wessendorf <mw...@gmail.com> wrote:
> > > Hi,
> > >
> > > I noticed a problem, with OC4J 9.0.4.1.0 and .tld files, which are
> > > located in a jar under "META-INF". MyFaces, Tiles (core / standalone)
> > > and Shale stores all files there.
> > >
> > > Works fine for me in Tomcat (standalone and included into JBoss)
> > >
> > > However, a co-workers JAR file contains the .tld under
> > > "META-INF/tlds/" that works in OC4J fine too. (no jsf components
> > > contained, just *regular* jsp custom actions)
> > >
> > > When I try something like this inside my web.xml
> > > <taglib>
> > > <taglib-uri>http://java.sun.com/jsf/core</taglib-uri>
> > > <taglib-location>/WEB-INF/core.tld</taglib-location>
> > > </taglib>
> > >
> > >
> > > I got the (interesting) stack trace.
> > >
> > > Any ideas? (under tomcat/jboss it works out of the box)
> > > -Matthias
> > >
> > > <snip>
> > > Exception:
> > >
> > > java.lang.NullPointerException
> > > at oracle.jsp.parse.JspDirectiveTaglib.validateAttributes(JspDirectiveTaglib.java:183)
> > > at oracle.jsp.parse.JspParseTagDirective.validateTagAttributes(JspParseTagDirective.java:179)
> > > at oracle.jsp.parse.JspParseTag.parse(JspParseTag.java:921)
> > > at oracle.jsp.parse.JspParseTagDirective.parse(JspParseTagDirective.java:318)
> > > at oracle.jsp.parse.JspParseTag.parseNextTag(JspParseTag.java:705)
> > > at oracle.jsp.parse.JspParseTagFile.parse(JspParseTagFile.java:184)
> > > at oracle.jsp.parse.OracleJsp2Java.transform(OracleJsp2Java.java:154)
> > > at oracle.jsp.runtimev2.JspPageCompiler.attemptCompilePage(JspPageCompiler.java:427)
> > > at oracle.jsp.runtimev2.JspPageCompiler.compilePage(JspPageCompiler.java:283)
> > > at oracle.jsp.runtimev2.JspPageInfo.compileAndLoad(JspPageInfo.java:438)
> > > at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:542)
> > > at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:304)
> > > at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
> > > at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
> > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > > at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765)
> > > at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
> > > at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:251)
> > > at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:416)
> > > at org.apache.shale.tiles.TilesViewHandler.dispatchToTile(TilesViewHandler.java:318)
> > > at org.apache.shale.tiles.TilesViewHandler.renderView(TilesViewHandler.java:159)
> > > at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:372)
> > > at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
> > > at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
> > > at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:124)
> > > at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
> > > at org.apache.shale.faces.ShaleApplicationFilter.doFilter(ShaleApplicationFilter.java:278)
> > > at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:600)
> > > at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
> > > at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:793)
> > > at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
> > > at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
> > > at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
> > > at java.lang.Thread.run(Thread.java:534)
> > >
> > >
> > > </snip>
> > >
> > > --
> > > Matthias Wessendorf
> > > Zülpicher Wall 12, 239
> > > 50674 Köln
> > > http://www.wessendorf.net
> > > mwessendorf-at-gmail-dot-com
> > >
> >
> >
> > --
> > Matthias Wessendorf
> > Zülpicher Wall 12, 239
> > 50674 Köln
> > http://www.wessendorf.net
> > mwessendorf-at-gmail-dot-com
> >
>
>
> --
> Matthias Wessendorf
> Zülpicher Wall 12, 239
> 50674 Köln
> http://www.wessendorf.net
> mwessendorf-at-gmail-dot-com
>
Re: [OC4J] tld files inside of a jar
Posted by Matthias Wessendorf <mw...@gmail.com>.
Maybe this an a problem with the submitted arg (PageContext), since I
provide my own JSP-20.jar (includes javax/servlet/jsp/PageContext)
and OC4J's JSP-jars (includes also javax/servlet/jsp/PageContext)
--> servlet.jar from j2ee 1.3.x
On 3/1/06, Matthias Wessendorf <mw...@gmail.com> wrote:
> After removing the Tiles (standalone) and the Shale-Tiles JARs,
> I got this interesting exception:
>
> My application includes the jsp-2.0.jar as pointed out here:
> http://tinyurl.com/jcwxh
>
> Because of, when I haven't it included I got a classDefNotFound for
> JSP EL (ELExcepption)
>
> I think there is a mismatch between OC4J 9.0.4.1.0' JSP files...
> :-(
>
> Any ideas, howto patch/fix this ...
>
>
> <snip>
> Exception:
>
> java.lang.VerifyError: (class: javax/faces/webapp/UIComponentTag,
> method: getParentUIComponentTag signature:
> (Ljavax/servlet/jsp/PageContext;)Ljavax/faces/webapp/UIComponentTag;)
> Incompatible object argument for function call
> at java.lang.Class.getDeclaredMethods0(Native Method)
> at java.lang.Class.privateGetDeclaredMethods(Class.java:1655)
> at java.lang.Class.privateGetPublicMethods(Class.java:1778)
> at java.lang.Class.getMethods(Class.java:832)
> at oracle.jsp.parse.JspBeanInfo.determineSetPropertyOverloading(JspBeanInfo.java:394)
> at oracle.jsp.parse.JspBeanInfo.getSetProperty(JspBeanInfo.java:704)
> at oracle.jsp.parse.JspBeanDictionary.getSetPropertyInfo(JspBeanDictionary.java:193)
> at oracle.jsp.parse.JspRTTag.getSetProperties(JspRTTag.java:1063)
> at oracle.jsp.parse.JspRTTag.validateTagParse(JspRTTag.java:479)
> at oracle.jsp.parse.JspParseTag.parse(JspParseTag.java:949)
> at oracle.jsp.parse.OpenJspTagHandler.parse(OpenJspTagHandler.java:633)
> at oracle.jsp.parse.JspParseTag.parseNextTag(JspParseTag.java:705)
> at oracle.jsp.parse.JspParseTag.parseBody(JspParseTag.java:814)
> at oracle.jsp.parse.OpenJspTagHandler.parseBody(OpenJspTagHandler.java:514)
> at oracle.jsp.parse.JspParseTag.parse(JspParseTag.java:929)
> at oracle.jsp.parse.OpenJspTagHandler.parse(OpenJspTagHandler.java:633)
> at oracle.jsp.parse.JspParseTag.parseNextTag(JspParseTag.java:705)
> at oracle.jsp.parse.JspParseTagFile.parse(JspParseTagFile.java:184)
> at oracle.jsp.parse.OracleJsp2Java.transform(OracleJsp2Java.java:154)
> at oracle.jsp.runtimev2.JspPageCompiler.attemptCompilePage(JspPageCompiler.java:427)
> at oracle.jsp.runtimev2.JspPageCompiler.compilePage(JspPageCompiler.java:283)
> at oracle.jsp.runtimev2.JspPageInfo.compileAndLoad(JspPageInfo.java:438)
> at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:542)
> at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:304)
> at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
> at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765)
> at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
> at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:251)
> at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:416)
> at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234)
> at org.apache.shale.view.faces.ViewViewHandler.renderView(ViewViewHandler.java:146)
> at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:372)
> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
> at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
> at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:124)
> at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
> at org.apache.shale.faces.ShaleApplicationFilter.doFilter(ShaleApplicationFilter.java:278)
> at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:600)
> at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
> at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:793)
> at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
> at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
> at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
> at java.lang.Thread.run(Thread.java:534)
>
>
> </snip>
>
>
> On 3/1/06, Matthias Wessendorf <mw...@gmail.com> wrote:
> > The adf-jars also contain their .tld directly under "META-INF" instead
> > of "META-INF/tlds"
> >
> > -Matthias
> >
> > On 3/1/06, Matthias Wessendorf <mw...@gmail.com> wrote:
> > > Hi,
> > >
> > > I noticed a problem, with OC4J 9.0.4.1.0 and .tld files, which are
> > > located in a jar under "META-INF". MyFaces, Tiles (core / standalone)
> > > and Shale stores all files there.
> > >
> > > Works fine for me in Tomcat (standalone and included into JBoss)
> > >
> > > However, a co-workers JAR file contains the .tld under
> > > "META-INF/tlds/" that works in OC4J fine too. (no jsf components
> > > contained, just *regular* jsp custom actions)
> > >
> > > When I try something like this inside my web.xml
> > > <taglib>
> > > <taglib-uri>http://java.sun.com/jsf/core</taglib-uri>
> > > <taglib-location>/WEB-INF/core.tld</taglib-location>
> > > </taglib>
> > >
> > >
> > > I got the (interesting) stack trace.
> > >
> > > Any ideas? (under tomcat/jboss it works out of the box)
> > > -Matthias
> > >
> > > <snip>
> > > Exception:
> > >
> > > java.lang.NullPointerException
> > > at oracle.jsp.parse.JspDirectiveTaglib.validateAttributes(JspDirectiveTaglib.java:183)
> > > at oracle.jsp.parse.JspParseTagDirective.validateTagAttributes(JspParseTagDirective.java:179)
> > > at oracle.jsp.parse.JspParseTag.parse(JspParseTag.java:921)
> > > at oracle.jsp.parse.JspParseTagDirective.parse(JspParseTagDirective.java:318)
> > > at oracle.jsp.parse.JspParseTag.parseNextTag(JspParseTag.java:705)
> > > at oracle.jsp.parse.JspParseTagFile.parse(JspParseTagFile.java:184)
> > > at oracle.jsp.parse.OracleJsp2Java.transform(OracleJsp2Java.java:154)
> > > at oracle.jsp.runtimev2.JspPageCompiler.attemptCompilePage(JspPageCompiler.java:427)
> > > at oracle.jsp.runtimev2.JspPageCompiler.compilePage(JspPageCompiler.java:283)
> > > at oracle.jsp.runtimev2.JspPageInfo.compileAndLoad(JspPageInfo.java:438)
> > > at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:542)
> > > at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:304)
> > > at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
> > > at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
> > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > > at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765)
> > > at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
> > > at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:251)
> > > at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:416)
> > > at org.apache.shale.tiles.TilesViewHandler.dispatchToTile(TilesViewHandler.java:318)
> > > at org.apache.shale.tiles.TilesViewHandler.renderView(TilesViewHandler.java:159)
> > > at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:372)
> > > at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
> > > at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
> > > at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:124)
> > > at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
> > > at org.apache.shale.faces.ShaleApplicationFilter.doFilter(ShaleApplicationFilter.java:278)
> > > at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:600)
> > > at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
> > > at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:793)
> > > at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
> > > at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
> > > at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
> > > at java.lang.Thread.run(Thread.java:534)
> > >
> > >
> > > </snip>
> > >
> > > --
> > > Matthias Wessendorf
> > > Zülpicher Wall 12, 239
> > > 50674 Köln
> > > http://www.wessendorf.net
> > > mwessendorf-at-gmail-dot-com
> > >
> >
> >
> > --
> > Matthias Wessendorf
> > Zülpicher Wall 12, 239
> > 50674 Köln
> > http://www.wessendorf.net
> > mwessendorf-at-gmail-dot-com
> >
>
>
> --
> Matthias Wessendorf
> Zülpicher Wall 12, 239
> 50674 Köln
> http://www.wessendorf.net
> mwessendorf-at-gmail-dot-com
>
--
Matthias Wessendorf
Zülpicher Wall 12, 239
50674 Köln
http://www.wessendorf.net
mwessendorf-at-gmail-dot-com
Re: [OC4J] tld files inside of a jar
Posted by Matthias Wessendorf <mw...@gmail.com>.
After removing the Tiles (standalone) and the Shale-Tiles JARs,
I got this interesting exception:
My application includes the jsp-2.0.jar as pointed out here:
http://tinyurl.com/jcwxh
Because of, when I haven't it included I got a classDefNotFound for
JSP EL (ELExcepption)
I think there is a mismatch between OC4J 9.0.4.1.0' JSP files...
:-(
Any ideas, howto patch/fix this ...
<snip>
Exception:
java.lang.VerifyError: (class: javax/faces/webapp/UIComponentTag,
method: getParentUIComponentTag signature:
(Ljavax/servlet/jsp/PageContext;)Ljavax/faces/webapp/UIComponentTag;)
Incompatible object argument for function call
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:1655)
at java.lang.Class.privateGetPublicMethods(Class.java:1778)
at java.lang.Class.getMethods(Class.java:832)
at oracle.jsp.parse.JspBeanInfo.determineSetPropertyOverloading(JspBeanInfo.java:394)
at oracle.jsp.parse.JspBeanInfo.getSetProperty(JspBeanInfo.java:704)
at oracle.jsp.parse.JspBeanDictionary.getSetPropertyInfo(JspBeanDictionary.java:193)
at oracle.jsp.parse.JspRTTag.getSetProperties(JspRTTag.java:1063)
at oracle.jsp.parse.JspRTTag.validateTagParse(JspRTTag.java:479)
at oracle.jsp.parse.JspParseTag.parse(JspParseTag.java:949)
at oracle.jsp.parse.OpenJspTagHandler.parse(OpenJspTagHandler.java:633)
at oracle.jsp.parse.JspParseTag.parseNextTag(JspParseTag.java:705)
at oracle.jsp.parse.JspParseTag.parseBody(JspParseTag.java:814)
at oracle.jsp.parse.OpenJspTagHandler.parseBody(OpenJspTagHandler.java:514)
at oracle.jsp.parse.JspParseTag.parse(JspParseTag.java:929)
at oracle.jsp.parse.OpenJspTagHandler.parse(OpenJspTagHandler.java:633)
at oracle.jsp.parse.JspParseTag.parseNextTag(JspParseTag.java:705)
at oracle.jsp.parse.JspParseTagFile.parse(JspParseTagFile.java:184)
at oracle.jsp.parse.OracleJsp2Java.transform(OracleJsp2Java.java:154)
at oracle.jsp.runtimev2.JspPageCompiler.attemptCompilePage(JspPageCompiler.java:427)
at oracle.jsp.runtimev2.JspPageCompiler.compilePage(JspPageCompiler.java:283)
at oracle.jsp.runtimev2.JspPageInfo.compileAndLoad(JspPageInfo.java:438)
at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:542)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:304)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:251)
at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:416)
at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234)
at org.apache.shale.view.faces.ViewViewHandler.renderView(ViewViewHandler.java:146)
at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:372)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:124)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
at org.apache.shale.faces.ShaleApplicationFilter.doFilter(ShaleApplicationFilter.java:278)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:600)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:793)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
at java.lang.Thread.run(Thread.java:534)
</snip>
On 3/1/06, Matthias Wessendorf <mw...@gmail.com> wrote:
> The adf-jars also contain their .tld directly under "META-INF" instead
> of "META-INF/tlds"
>
> -Matthias
>
> On 3/1/06, Matthias Wessendorf <mw...@gmail.com> wrote:
> > Hi,
> >
> > I noticed a problem, with OC4J 9.0.4.1.0 and .tld files, which are
> > located in a jar under "META-INF". MyFaces, Tiles (core / standalone)
> > and Shale stores all files there.
> >
> > Works fine for me in Tomcat (standalone and included into JBoss)
> >
> > However, a co-workers JAR file contains the .tld under
> > "META-INF/tlds/" that works in OC4J fine too. (no jsf components
> > contained, just *regular* jsp custom actions)
> >
> > When I try something like this inside my web.xml
> > <taglib>
> > <taglib-uri>http://java.sun.com/jsf/core</taglib-uri>
> > <taglib-location>/WEB-INF/core.tld</taglib-location>
> > </taglib>
> >
> >
> > I got the (interesting) stack trace.
> >
> > Any ideas? (under tomcat/jboss it works out of the box)
> > -Matthias
> >
> > <snip>
> > Exception:
> >
> > java.lang.NullPointerException
> > at oracle.jsp.parse.JspDirectiveTaglib.validateAttributes(JspDirectiveTaglib.java:183)
> > at oracle.jsp.parse.JspParseTagDirective.validateTagAttributes(JspParseTagDirective.java:179)
> > at oracle.jsp.parse.JspParseTag.parse(JspParseTag.java:921)
> > at oracle.jsp.parse.JspParseTagDirective.parse(JspParseTagDirective.java:318)
> > at oracle.jsp.parse.JspParseTag.parseNextTag(JspParseTag.java:705)
> > at oracle.jsp.parse.JspParseTagFile.parse(JspParseTagFile.java:184)
> > at oracle.jsp.parse.OracleJsp2Java.transform(OracleJsp2Java.java:154)
> > at oracle.jsp.runtimev2.JspPageCompiler.attemptCompilePage(JspPageCompiler.java:427)
> > at oracle.jsp.runtimev2.JspPageCompiler.compilePage(JspPageCompiler.java:283)
> > at oracle.jsp.runtimev2.JspPageInfo.compileAndLoad(JspPageInfo.java:438)
> > at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:542)
> > at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:304)
> > at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
> > at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765)
> > at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
> > at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:251)
> > at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:416)
> > at org.apache.shale.tiles.TilesViewHandler.dispatchToTile(TilesViewHandler.java:318)
> > at org.apache.shale.tiles.TilesViewHandler.renderView(TilesViewHandler.java:159)
> > at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:372)
> > at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
> > at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
> > at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:124)
> > at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
> > at org.apache.shale.faces.ShaleApplicationFilter.doFilter(ShaleApplicationFilter.java:278)
> > at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:600)
> > at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
> > at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:793)
> > at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
> > at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
> > at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
> > at java.lang.Thread.run(Thread.java:534)
> >
> >
> > </snip>
> >
> > --
> > Matthias Wessendorf
> > Zülpicher Wall 12, 239
> > 50674 Köln
> > http://www.wessendorf.net
> > mwessendorf-at-gmail-dot-com
> >
>
>
> --
> Matthias Wessendorf
> Zülpicher Wall 12, 239
> 50674 Köln
> http://www.wessendorf.net
> mwessendorf-at-gmail-dot-com
>
--
Matthias Wessendorf
Zülpicher Wall 12, 239
50674 Köln
http://www.wessendorf.net
mwessendorf-at-gmail-dot-com
Re: [OC4J] tld files inside of a jar
Posted by Matthias Wessendorf <mw...@gmail.com>.
The adf-jars also contain their .tld directly under "META-INF" instead
of "META-INF/tlds"
-Matthias
On 3/1/06, Matthias Wessendorf <mw...@gmail.com> wrote:
> Hi,
>
> I noticed a problem, with OC4J 9.0.4.1.0 and .tld files, which are
> located in a jar under "META-INF". MyFaces, Tiles (core / standalone)
> and Shale stores all files there.
>
> Works fine for me in Tomcat (standalone and included into JBoss)
>
> However, a co-workers JAR file contains the .tld under
> "META-INF/tlds/" that works in OC4J fine too. (no jsf components
> contained, just *regular* jsp custom actions)
>
> When I try something like this inside my web.xml
> <taglib>
> <taglib-uri>http://java.sun.com/jsf/core</taglib-uri>
> <taglib-location>/WEB-INF/core.tld</taglib-location>
> </taglib>
>
>
> I got the (interesting) stack trace.
>
> Any ideas? (under tomcat/jboss it works out of the box)
> -Matthias
>
> <snip>
> Exception:
>
> java.lang.NullPointerException
> at oracle.jsp.parse.JspDirectiveTaglib.validateAttributes(JspDirectiveTaglib.java:183)
> at oracle.jsp.parse.JspParseTagDirective.validateTagAttributes(JspParseTagDirective.java:179)
> at oracle.jsp.parse.JspParseTag.parse(JspParseTag.java:921)
> at oracle.jsp.parse.JspParseTagDirective.parse(JspParseTagDirective.java:318)
> at oracle.jsp.parse.JspParseTag.parseNextTag(JspParseTag.java:705)
> at oracle.jsp.parse.JspParseTagFile.parse(JspParseTagFile.java:184)
> at oracle.jsp.parse.OracleJsp2Java.transform(OracleJsp2Java.java:154)
> at oracle.jsp.runtimev2.JspPageCompiler.attemptCompilePage(JspPageCompiler.java:427)
> at oracle.jsp.runtimev2.JspPageCompiler.compilePage(JspPageCompiler.java:283)
> at oracle.jsp.runtimev2.JspPageInfo.compileAndLoad(JspPageInfo.java:438)
> at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:542)
> at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:304)
> at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
> at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765)
> at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
> at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:251)
> at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:416)
> at org.apache.shale.tiles.TilesViewHandler.dispatchToTile(TilesViewHandler.java:318)
> at org.apache.shale.tiles.TilesViewHandler.renderView(TilesViewHandler.java:159)
> at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:372)
> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
> at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
> at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:124)
> at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
> at org.apache.shale.faces.ShaleApplicationFilter.doFilter(ShaleApplicationFilter.java:278)
> at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:600)
> at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
> at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:793)
> at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
> at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
> at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
> at java.lang.Thread.run(Thread.java:534)
>
>
> </snip>
>
> --
> Matthias Wessendorf
> Zülpicher Wall 12, 239
> 50674 Köln
> http://www.wessendorf.net
> mwessendorf-at-gmail-dot-com
>
--
Matthias Wessendorf
Zülpicher Wall 12, 239
50674 Köln
http://www.wessendorf.net
mwessendorf-at-gmail-dot-com