You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Galen Dunkleberger <ga...@gmail.com> on 2005/03/23 16:25:38 UTC

Problems on Weblogic 8.1 SP4

I'm trying to run MyFaces 1.0.9 rc1 on Weblogic SP4. When the
application starts up I get the following warning.

<Mar 23, 2005 8:19:55 AM MST> <Warning> <HTTP> <BEA-101248>
<[ServletContext(id=12659416,name=test,context-path=/)]: Deployment
descriptor "jar:file:E:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver__appsdir_isis-enterprise_dir_isis\jarfiles\WEB-INF\lib\myfaces.jar!/META-INF/myfaces_ext.tld"
is malformed. Check against the DTD: Attribute "xmlns" with value
"http://java.sun.com/xml/ns/j2ee" must have a value of
"http://java.sun.com/JSP/TagLibraryDescriptor". (line 17, column 49).>

Also it appears like the application is initializing itself twice wen
it starts up. Everything works fine in the same app running on JBoss 4
so I'm assuming it's a problem specific to Weblogic. Any ideas?

                                                      Thanks,
                                                       Galen

Re: Problems on Weblogic 8.1 SP4

Posted by Matthias Wessendorf <ma...@matthias-wessendorf.de>.
I guess I remember that this came up to the mailing list
some days before.

Can you try the last CVS_HEAD of MyFaces?

-Matthias

Galen Dunkleberger wrote:
> Along this same line I forgot to add that the application will run
> fine until I get to a page where I'm using the MyFaces taglib. Then I
> get the following exception...
> 
> <Mar 23, 2005 8:38:50 AM MST> <Error> <HTTP> <BEA-101017>
> <[ServletContext(id=32499060,name=test,context-path=/test)] Root cause
> of ServletException.
> weblogic.servlet.jsp.JspException: (line 5): Error in using tag
> library uri='http://myfaces.apache.org/extensions' prefix='x': The Tag
> class 'org.apache.myfaces.custom.htmlEditor.HtmlEditorTag' has no
> setter method corresponding to TLD declared attribute 'immediate',
> (JSP 1.1 spec, 5.4.1)
> 	at weblogic.servlet.jsp.StandardTagLib.tld_jspException(StandardTagLib.java:1243)
> 	at weblogic.servlet.jsp.StandardTagLib.parseTagDD(StandardTagLib.java:1371)
> 	at weblogic.servlet.jsp.StandardTagLib.parseDD(StandardTagLib.java:1269)
> 	at weblogic.servlet.jsp.StandardTagLib.<init>(StandardTagLib.java:292)
> 	at weblogic.servlet.jsp.TagLibHelper.loadTagLib(TagLibHelper.java:314)
> 	at weblogic.servlet.jsp.JspLexer.loadTagLib(JspLexer.java:145)
> 	at weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE_BODY(JspLexer.java:5053)
> 	at weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE(JspLexer.java:4891)
> 	at weblogic.servlet.jsp.JspLexer.mDIRECTIVE(JspLexer.java:4737)
> 	at weblogic.servlet.jsp.JspLexer.mSTANDARD_THING(JspLexer.java:2147)
> 	at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:1933)
> 	at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java:1806)
> 	at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:963)
> 	at weblogic.servlet.jsp.JspParser.doit(JspParser.java:106)
> 	at weblogic.servlet.jsp.JspParser.parse(JspParser.java:234)
> 	at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:125)
> 	at weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:258)
> 	at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:388)
> 	at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:238)
> 	at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:188)
> 	at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:535)
> 	at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:373)
> 	at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:463)
> 	at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
> 	at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:328)
> 	at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:405)
> 	at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:280)
> 	at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:300)
> 	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:110)
> 	at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
> 	at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
> 	at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
> 	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
> 	at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:115)
> 	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
> 	at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6724)
> 	at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
> 	at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
> 	at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
> 	at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
> 	at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
> 	at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
> 
> 
> On Wed, 23 Mar 2005 08:25:38 -0700, Galen Dunkleberger
> <ga...@gmail.com> wrote:
> 
>>I'm trying to run MyFaces 1.0.9 rc1 on Weblogic SP4. When the
>>application starts up I get the following warning.
>>
>><Mar 23, 2005 8:19:55 AM MST> <Warning> <HTTP> <BEA-101248>
>><[ServletContext(id=12659416,name=test,context-path=/)]: Deployment
>>descriptor "jar:file:E:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver__appsdir_isis-enterprise_dir_isis\jarfiles\WEB-INF\lib\myfaces.jar!/META-INF/myfaces_ext.tld"
>>is malformed. Check against the DTD: Attribute "xmlns" with value
>>"http://java.sun.com/xml/ns/j2ee" must have a value of
>>"http://java.sun.com/JSP/TagLibraryDescriptor". (line 17, column 49).>
>>
>>Also it appears like the application is initializing itself twice wen
>>it starts up. Everything works fine in the same app running on JBoss 4
>>so I'm assuming it's a problem specific to Weblogic. Any ideas?
>>
>>                                                      Thanks,
>>                                                       Galen
>>

Re: Problems on Weblogic 8.1 SP4

Posted by Galen Dunkleberger <ga...@gmail.com>.
Along this same line I forgot to add that the application will run
fine until I get to a page where I'm using the MyFaces taglib. Then I
get the following exception...

<Mar 23, 2005 8:38:50 AM MST> <Error> <HTTP> <BEA-101017>
<[ServletContext(id=32499060,name=test,context-path=/test)] Root cause
of ServletException.
weblogic.servlet.jsp.JspException: (line 5): Error in using tag
library uri='http://myfaces.apache.org/extensions' prefix='x': The Tag
class 'org.apache.myfaces.custom.htmlEditor.HtmlEditorTag' has no
setter method corresponding to TLD declared attribute 'immediate',
(JSP 1.1 spec, 5.4.1)
	at weblogic.servlet.jsp.StandardTagLib.tld_jspException(StandardTagLib.java:1243)
	at weblogic.servlet.jsp.StandardTagLib.parseTagDD(StandardTagLib.java:1371)
	at weblogic.servlet.jsp.StandardTagLib.parseDD(StandardTagLib.java:1269)
	at weblogic.servlet.jsp.StandardTagLib.<init>(StandardTagLib.java:292)
	at weblogic.servlet.jsp.TagLibHelper.loadTagLib(TagLibHelper.java:314)
	at weblogic.servlet.jsp.JspLexer.loadTagLib(JspLexer.java:145)
	at weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE_BODY(JspLexer.java:5053)
	at weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE(JspLexer.java:4891)
	at weblogic.servlet.jsp.JspLexer.mDIRECTIVE(JspLexer.java:4737)
	at weblogic.servlet.jsp.JspLexer.mSTANDARD_THING(JspLexer.java:2147)
	at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:1933)
	at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java:1806)
	at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:963)
	at weblogic.servlet.jsp.JspParser.doit(JspParser.java:106)
	at weblogic.servlet.jsp.JspParser.parse(JspParser.java:234)
	at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:125)
	at weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:258)
	at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:388)
	at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:238)
	at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:188)
	at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:535)
	at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:373)
	at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:463)
	at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
	at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:328)
	at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:405)
	at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:280)
	at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:300)
	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:110)
	at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
	at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
	at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
	at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:115)
	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
	at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6724)
	at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
	at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
	at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
	at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
	at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
	at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)


On Wed, 23 Mar 2005 08:25:38 -0700, Galen Dunkleberger
<ga...@gmail.com> wrote:
> I'm trying to run MyFaces 1.0.9 rc1 on Weblogic SP4. When the
> application starts up I get the following warning.
> 
> <Mar 23, 2005 8:19:55 AM MST> <Warning> <HTTP> <BEA-101248>
> <[ServletContext(id=12659416,name=test,context-path=/)]: Deployment
> descriptor "jar:file:E:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver__appsdir_isis-enterprise_dir_isis\jarfiles\WEB-INF\lib\myfaces.jar!/META-INF/myfaces_ext.tld"
> is malformed. Check against the DTD: Attribute "xmlns" with value
> "http://java.sun.com/xml/ns/j2ee" must have a value of
> "http://java.sun.com/JSP/TagLibraryDescriptor". (line 17, column 49).>
> 
> Also it appears like the application is initializing itself twice wen
> it starts up. Everything works fine in the same app running on JBoss 4
> so I'm assuming it's a problem specific to Weblogic. Any ideas?
> 
>                                                       Thanks,
>                                                        Galen
>