geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rbaumhof <ralf.baum...@web.de>
Subject Problem using Geronimo 2.1.3 with MyFaces 1.2 and MyFaces/Trinidad 1.2.10
Date Sun, 08 Feb 2009 16:21:39 GMT

The following problem occurs:

our application is nearly ready for use, and for experimental purpose we
want to try out some additional trinidad controls. We use Geronimo 2.1.3
with build in MyFaces 1.2. The only non core library we use is tomahawk
1.1.6.  I have downloaded the appropriate trinidad version 1.2.10. When the
application is deployed the following error is shown in geronimo log. 

12:50:31,109 WARN  [JspModuleBuilderExtension] Invalid transformed taglib
org.apache.xmlbeans.XmlException: Invalid deployment descriptor: errors:

D:\geronimo\bin\jar:file:D:\geronimo\repository\vesuv-application\vesuv\1.0\vesuv-1.0.ear\VesuvWEB.war\WEB-INF\lib\trinidad-impl-1.2.10.jar!\META-INF\tr.tld:112:7:
error: cvc-complex-type.2.4a: Expected elements
'variable@http://java.sun.com/xml/ns/javaee
attribute@http://java.sun.com/xml/ns/javaee
dynamic-attributes@http://java.sun.com/xml/ns/javaee
example@http://java.sun.com/xml/ns/javaee
tag-extension@http://java.sun.com/xml/ns/javaee' instead of
'description@http://java.sun.com/xml/ns/javaee' here in element
tag@http://java.sun.com/xml/ns/javaee

Descriptor:
<taglib
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd"
version="2.1" xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <display-name>Apache Trinidad Core</display-name>
  <tlib-version>1.2.10</tlib-version>
  <short-name>tr</short-name>
  <uri>http://myfaces.apache.org/trinidad</uri>
  <listener>
   
<listener-class>org.apache.myfaces.trinidadinternal.webapp.TrinidadListenerImpl</listener-class>
  </listener>
  <tag>
    <description>The forEach tag is a replacement for the JSTL
&amp;lt;c:forEach&amp;gt; tag. 
As of JSF 1.2/JSP 2.1/JSTL 1.2, the regular &amp;lt;c:forEach&amp;gt; tag
does work with JSF components.  However, it does not support varStatus
with JSF!  (Unlike c:forEach, tr:forEach doesn't currently support anything
for "items" other than arrays and lists.)</description>
    <name>forEach</name>
   
<tag-class>org.apache.myfaces.trinidadinternal.taglib.ForEachTag</tag-class>
    <body-content>JSP</body-content>
    <attribute>
      <description>the items over which iteration takes place</description>
      <name>items</name>
      <deferred-value/>
    </attribute>
    <attribute>
      <description>the name of the variable to expose</description>
      <name>var</name>
      <rtexprvalue>false</rtexprvalue>


After this Trinidad shows a message that the config file trinidad-config.xml
is read. When i call the jsp page with a trinidad output text i get the
error:

WARNUNG: Renderer konnte nicht gefunden werden f³r
CoreForm[UIXFacesBeanImpl, i
=trinidadForm] rendererType = org.apache.myfaces.trinidad.Form
17:18:06,515 WARN  [HtmlRenderKitImpl] Unsupported
component-family/renderer-ty
e: org.apache.myfaces.trinidad.Output/org.apache.myfaces.trinidad.Text
08.02.2009 17:18:06 org.apache.myfaces.trinidad.component.UIXComponentBase
_get
endererImpl
WARNUNG: Renderer konnte nicht gefunden werden f³r
CoreOutputText[UIXFacesBeanI
pl, id=j_id_jsp_633416429_12] rendererType =
org.apache.myfaces.trinidad.Text



I also tried the version 1.0.10 of trinidad (for jsf 2.1). In this case the
deployment can be done without error, but NO JSP site can be shown. I alway
get an java.lang.UnsupportedOperationException:

12:43:58,734 ERROR [_ErrorPageWriter] An exception occurred
java.lang.UnsupportedOperationException
	at
javax.faces.context.ExternalContext.setResponse(ExternalContext.java:146)
	at
org.apache.myfaces.application.jsp.JspViewHandlerImpl.buildView(JspViewHandlerImpl.java:480)
	at
org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:334)
	at
org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:182)
	at
org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
	at
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
	at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
	at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
	at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
	at
org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:696)
	at
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:667)
	at org.apache.jsp.index_jsp._jspService(index_jsp.java:57)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
	at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at
de.nrw.hagen.ggrz.web.filter.SecurityFilter.doFilter(SecurityFilter.java:115)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
	at
org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke(DefaultSubjectValve.java:56)
	at
org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:406)
	at
org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:47)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
	at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
	at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
	at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
	at java.lang.Thread.run(Thread.java:595)

does anybody know how to make geronimo 2.1.3 work with trinidad 1.2.10?
thanks in advance,...





-- 
View this message in context: http://www.nabble.com/Problem-using-Geronimo-2.1.3-with-MyFaces-1.2-and-MyFaces-Trinidad-1.2.10-tp21900477s134p21900477.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Mime
View raw message