Problem running the internationalization example

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem running the internationalization example

Alex Sharaz

Hi,

I’m running the 1st July nightly build of ops on a resin-3.0.19 application server..

When I try running the Internationalization example I get the select locale page, but when I select one, I get theerrors below  following appearing:-

I’ve  attached my web.xml file

The following error has occurred:

Error Message

ResponseAdapter.getInputStream() does not yet support content written with getWriter().

OPS Call Stack

The OPS Call Stack helps you determine what sequence of OPS operations have caused the error.

Resource URL

Line

Column

Description

XML Element

oxf:/ops/pfc/xforms-epilogue.xpl

106

71

reading processor output (name='document', ref='xformed-data')

  <p:output name="document" ref="xformed-data"/>

oxf:/config/epilogue.xpl

41

58

reading processor output (name='xformed-data', id='xformed-data')

  <p:output name="xformed-data" id="xformed-data"/>

oxf:/config/epilogue-portlet.xpl

29

48

reading processor output (name='xformed-data')

  <p:param type="input" name="xformed-data"/>

oxf:/config/epilogue-portlet.xpl

101

49

reading processor output (name='data', id='themed-data')

  <p:output name="data" id="themed-data"/>

oxf:/config/epilogue-portlet.xpl

106

60

reading processor output (name='rewrite-out', id='rewritten-data')

  <p:output name="rewrite-out" id="rewritten-data"/>

oxf:/config/epilogue-portlet.xpl

118

47

reading processor output (name='data', id='converted')

  <p:output name="data" id="converted"/>

oxf:/config/epilogue-portlet.xpl

120

45

executing processor (name='{http://www.orbeon.com/oxf/processors}http-serializer')

  <p:processor name="oxf:http-serializer">...</p:processor>

oxf:/config/epilogue.xpl

68

46

executing processor (name='{http://www.orbeon.com/oxf/processors}pipeline')

  <p:processor name="oxf:pipeline">...</p:processor>

oxf:/examples/xforms/xforms-i18n/page-flow.xml

22

47

executing processor (name='{http://www.orbeon.com/oxf/processors}pipeline')

 

oxf:/examples/dispatch.xpl

67

47

executing processor (name='{http://www.orbeon.com/oxf/processors}page-flow')

  <p:processor name="oxf:page-flow">...</p:processor>

 


*****************************************************************************************
To view the terms under which this email is distributed, please go to http://www.hull.ac.uk/legal/email_disclaimer.html
*****************************************************************************************

--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws

web.xml (19K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Problem running the internationalization example

Erik Bruchez
Administrator
Alex,

This example causes problems with WebSphere and WebLogic as well:

http://forge.objectweb.org/tracker/index.php?func=detail&aid=304481&group_id=168&atid=350207
http://forge.objectweb.org/tracker/index.php?func=detail&aid=304471&group_id=168&atid=350207

This said, can you try it standalone, i.e. outside the examples portal,
with a URL like:

   http://localhost:8888/ops/xforms-i18n

and report if this works?

If it doesn't, is this a blocker for you at the moment?

-Erik

Alex Sharaz wrote:

> Hi,
>
> I’m running the 1^st July nightly build of ops on a resin-3.0.19
> application server..
>
> When I try running the Internationalization example I get the select
> locale page, but when I select one, I get theerrors below  following
> appearing:-
>
> I’ve  attached my web.xml file
>
> The following error has occurred:
>
> Error Message
>
> ResponseAdapter.getInputStream() does not yet support content written
> with getWriter().
>
>
>     *OPS Call Stack*
>
> The OPS Call Stack helps you determine what sequence of OPS operations
> have caused the error.
>
> *Resource URL*
>
>
>
> *Line*
>
>
>
> *Column*
>
>
>
> *Description*
>
>
>
> *XML Element*
>
> oxf:/ops/pfc/xforms-epilogue.xpl
>
>
>
> 106
>
>
>
> 71
>
>
>
> reading processor output (name='document', ref='xformed-data')
>
>
>
>   <p:output name="document" ref="xformed-data"/>
>
> oxf:/config/epilogue.xpl
>
>
>
> 41
>
>
>
> 58
>
>
>
> reading processor output (name='xformed-data', id='xformed-data')
>
>
>
>   <p:output name="xformed-data" id="xformed-data"/>
>
> oxf:/config/epilogue-portlet.xpl
>
>
>
> 29
>
>
>
> 48
>
>
>
> reading processor output (name='xformed-data')
>
>
>
>   <p:param type="input" name="xformed-data"/>
>
> oxf:/config/epilogue-portlet.xpl
>
>
>
> 101
>
>
>
> 49
>
>
>
> reading processor output (name='data', id='themed-data')
>
>
>
>   <p:output name="data" id="themed-data"/>
>
> oxf:/config/epilogue-portlet.xpl
>
>
>
> 106
>
>
>
> 60
>
>
>
> reading processor output (name='rewrite-out', id='rewritten-data')
>
>
>
>   <p:output name="rewrite-out" id="rewritten-data"/>
>
> oxf:/config/epilogue-portlet.xpl
>
>
>
> 118
>
>
>
> 47
>
>
>
> reading processor output (name='data', id='converted')
>
>
>
>   <p:output name="data" id="converted"/>
>
> oxf:/config/epilogue-portlet.xpl
>
>
>
> 120
>
>
>
> 45
>
>
>
> executing processor
> (name='{http://www.orbeon.com/oxf/processors}http-serializer')
>
>
>
>   <p:processor name="oxf:http-serializer">...</p:processor>
>
> oxf:/config/epilogue.xpl
>
>
>
> 68
>
>
>
> 46
>
>
>
> executing processor (name='{http://www.orbeon.com/oxf/processors}pipeline')
>
>
>
>   <p:processor name="oxf:pipeline">...</p:processor>
>
> oxf:/examples/xforms/xforms-i18n/page-flow.xml
>
>
>
> 22
>
>
>
> 47
>
>
>
> executing processor (name='{http://www.orbeon.com/oxf/processors}pipeline')
>
>
>
>  
>
> oxf:/examples/dispatch.xpl
>
>
>
> 67
>
>
>
> 47
>
>
>
> executing processor (name='{http://www.orbeon.com/oxf/processors}page-flow')
>
>
>
>   <p:processor name="oxf:page-flow">...</p:processor>
>
>  
>
>
> ------------------------------------------------------------------------
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
> <web-app>
>  <class-loader>
>         <tree-loader path='WEB-INF/lib'/>
>         <simple-loader path='WEB-INF/xsl'/>
>       </class-loader>
>  <database>
>          <jndi-name>jdbc/hds2</jndi-name>
>          <driver type="com.ibm.db2.jcc.DB2Driver">
>            <url>jdbc:db2://databases.hull.ac.uk:50002/hds2</url>
>            <user>db2inst3</user>
>            <password>userdb2</password>
>           </driver>
>           <prepared-statement-cache-size>8</prepared-statement-cache-size>
>           <max-connections>80</max-connections>
>           <max-idle-time>30s</max-idle-time>
>         </database>
>
>     <display-name>Orbeon PresentationServer 3.0.1</display-name>
>     <description>
>                 Orbeon PresentationServer is an open source platform that uses standard XForms to make your form-based
>                 web applications more user-friendly and simpler to create.
>             </description>
>
>     <!-- Initialize resource manager -->
>     <context-param>
>         <param-name>oxf.resources.factory</param-name>
>         <param-value>org.orbeon.oxf.resources.PriorityResourceManagerFactory</param-value>
>     </context-param>
>
>     <!--Web app. resource manager-->
>     <context-param>
>         <param-name>oxf.resources.webapp.rootdir</param-name>
>         <param-value>/WEB-INF/resources</param-value>
>     </context-param>
>     <context-param>
>         <param-name>oxf.resources.priority.3</param-name>
>         <param-value>org.orbeon.oxf.resources.WebAppResourceManagerFactory</param-value>
>     </context-param>
>
>     <!-- Uncomment this for the flat file resource manager -->
>     <context-param>
>         <param-name>oxf.resources.filesystem.sandbox-directory</param-name>
>         <param-value>/usr/web/hdsurvey/deploy/ops/WEB-INF/resources</param-value>
>     </context-param>
>     <context-param>
>         <param-name>oxf.resources.priority.1</param-name>
>         <param-value>org.orbeon.oxf.resources.FilesystemResourceManagerFactory</param-value>
>     </context-param>
>     <!-- End flat file resource manager -->
>
>     <context-param>
>         <param-name>oxf.resources.priority.2</param-name>
>         <param-value>org.orbeon.oxf.resources.ClassLoaderResourceManagerFactory</param-value>
>     </context-param>
>
>     <!-- OXF Class Loader -->
>     <context-param>
>         <param-name>oxf.classloader.enable</param-name>
>         <param-value>false</param-value>
>     </context-param>
>     <context-param>
>         <param-name>oxf.classloader.ignore-packages</param-name>
>         <param-value>java. javax. org.apache.log4j. org.xml. org.w3c.</param-value>
>     </context-param>
>
>     <!-- Set location of properties.xml (read by resource manager) -->
>     <context-param>
>         <param-name>oxf.properties</param-name>
>         <param-value>oxf:/config/properties.xml</param-value>
>     </context-param>
>
>     <!-- Uncomment this for the Set XML Server configuration file -->
>     <context-param>
>         <param-name>oxf.xml-server.config</param-name>
>         <param-value>oxf:/ops/xml-server/xml-server.xml</param-value>
>     </context-param>
>     <!--
>     -->
>     <!-- End Set XML Server configuration file -->
>
>     <!-- Set context listener processors -->
>     <!-- Uncomment this for the context listener processors -->
>     <context-param>
>         <param-name>oxf.context-initialized-processor.name</param-name>
>         <param-value>{http://www.orbeon.com/oxf/processors}pipeline</param-value>
>     </context-param>
>     <context-param>
>         <param-name>oxf.context-initialized-processor.input.config</param-name>
>         <param-value>oxf:/context/context-initialized.xpl</param-value>
>     </context-param>
>     <context-param>
>         <param-name>oxf.context-destroyed-processor.name</param-name>
>         <param-value>{http://www.orbeon.com/oxf/processors}pipeline</param-value>
>     </context-param>
>     <context-param>
>         <param-name>oxf.context-destroyed-processor.input.config</param-name>
>         <param-value>oxf:/context/context-destroyed.xpl</param-value>
>     </context-param>
>     <!-- End context listener processors -->
>
>     <!-- Set session listener processors -->
>     <!-- Uncomment this for the session listener processors -->
>     <context-param>
>         <param-name>oxf.session-created-processor.name</param-name>
>         <param-value>{http://www.orbeon.com/oxf/processors}pipeline</param-value>
>     </context-param>
>     <context-param>
>         <param-name>oxf.session-created-processor.input.config</param-name>
>         <param-value>oxf:/context/session-created.xpl</param-value>
>     </context-param>
>     <context-param>
>         <param-name>oxf.session-destroyed-processor.name</param-name>
>         <param-value>{http://www.orbeon.com/oxf/processors}pipeline</param-value>
>     </context-param>
>     <context-param>
>         <param-name>oxf.session-destroyed-processor.input.config</param-name>
>         <param-value>oxf:/context/session-destroyed.xpl</param-value>
>     </context-param>
>     <!-- End session listener processors -->
>
>     <!-- All JSP files under /xforms-jsp go through the OPS filter -->
>     <filter>
>         <filter-name>ops-main-filter</filter-name>
>         <filter-class>org.orbeon.oxf.servlet.OXFServletFilter</filter-class>
>         <init-param>
>             <param-name>oxf.main-processor.name</param-name>
>             <param-value>{http://www.orbeon.com/oxf/processors}pipeline</param-value>
>         </init-param>
>         <init-param>
>             <param-name>oxf.main-processor.input.config</param-name>
>             <param-value>oxf:/config/filter.xpl</param-value>
>         </init-param>
>         <init-param>
>             <param-name>oxf.error-processor.name</param-name>
>             <param-value>{http://www.orbeon.com/oxf/processors}pipeline</param-value>
>         </init-param>
>         <init-param>
>             <param-name>oxf.error-processor.input.config</param-name>
>             <param-value>oxf:/config/error.xpl</param-value>
>         </init-param>
>     </filter>
>     <filter-mapping>
>         <filter-name>ops-main-filter</filter-name>
>         <url-pattern>/xforms-jsp/*</url-pattern>
>     </filter-mapping>
>     <!-- Set PresentationServer listeners -->
>     <!-- Uncomment this for the listeners -->
>     <listener>
>         <listener-class>org.orbeon.oxf.webapp.OPSServletContextListener</listener-class>
>     </listener>
>     <listener>
>         <listener-class>org.orbeon.oxf.webapp.OPSSessionListener</listener-class>
>     </listener>
>     <!-- End listeners -->
>     <!-- Uncomment this for the XML Server -->
>     <!--
>     -->
>     <listener>
>         <listener-class>org.orbeon.oxf.xmlserver.ContextListener</listener-class>
>     </listener>
>     <!-- End XML Server -->
>     <servlet>
>         <servlet-name>ops-main-servlet</servlet-name>
>         <servlet-class>org.orbeon.oxf.servlet.OPSServlet</servlet-class>
>         <!-- Set main processor -->
>         <init-param>
>             <param-name>oxf.main-processor.name</param-name>
>             <param-value>{http://www.orbeon.com/oxf/processors}page-flow</param-value>
>         </init-param>
>         <init-param>
>             <param-name>oxf.main-processor.input.controller</param-name>
>             <param-value>oxf:/page-flow.xml</param-value>
>         </init-param>
>         <!-- Set error processor -->
>         <init-param>
>             <param-name>oxf.error-processor.name</param-name>
>             <param-name>oxf.main-processor.name</param-name>
>             <param-value>{http://www.orbeon.com/oxf/processors}page-flow</param-value>
>         </init-param>
>         <init-param>
>             <param-name>oxf.main-processor.input.controller</param-name>
>             <param-value>oxf:/page-flow.xml</param-value>
>         </init-param>
>         <!-- Set error processor -->
>         <init-param>
>             <param-name>oxf.error-processor.name</param-name>
>             <param-value>{http://www.orbeon.com/oxf/processors}pipeline</param-value>
>         </init-param>
>         <init-param>
>             <param-name>oxf.error-processor.input.config</param-name>
>             <param-value>oxf:/config/error.xpl</param-value>
>         </init-param>
>         <!-- Set initialization listener -->
>         <init-param>
>             <param-name>oxf.servlet-initialized-processor.name</param-name>
>             <param-value>{http://www.orbeon.com/oxf/processors}pipeline</param-value>
>         </init-param>
>         <init-param>
>             <param-name>oxf.servlet-initialized-processor.input.config</param-name>
>             <param-value>oxf:/context/servlet-initialized.xpl</param-value>
>         </init-param>
>         <!-- Set destruction listener -->
>         <init-param>
>             <param-name>oxf.servlet-destroyed-processor.name</param-name>
>             <param-value>{http://www.orbeon.com/oxf/processors}pipeline</param-value>
>         </init-param>
>         <init-param>
>             <param-name>oxf.servlet-destroyed-processor.input.config</param-name>
>             <param-value>oxf:/context/servlet-destroyed.xpl</param-value>
>         </init-param>
>         <load-on-startup>1</load-on-startup>
>     </servlet>
>     <servlet>
>         <servlet-name>ops-xforms-server-servlet</servlet-name>
>         <servlet-class>org.orbeon.oxf.servlet.OPSServlet</servlet-class>
>         <!-- Set main processor -->
>         <init-param>
>             <param-name>oxf.main-processor.name</param-name>
>             <param-value>{http://www.orbeon.com/oxf/processors}pipeline</param-value>
>         </init-param>
>         <init-param>
>             <param-name>oxf.main-processor.input.config</param-name>
>             <param-value>oxf:/ops/xforms/xforms-server.xpl</param-value>
>         </init-param>
>         <!-- Set error processor -->
>         <init-param>
>             <param-name>oxf.error-processor.name</param-name>
>             <param-value>{http://www.orbeon.com/oxf/processors}pipeline</param-value>
>         </init-param>
>         <init-param>
>             <param-name>oxf.error-processor.input.config</param-name>
>             <param-value>oxf:/ops/xforms/xforms-server-error.xpl</param-value>
>         </init-param>
>         <load-on-startup>1</load-on-startup>
>     </servlet>
>     <servlet>
>         <servlet-name>display-chart-servlet</servlet-name>
>         <servlet-class>org.jfree.chart.servlet.DisplayChart</servlet-class>
>         <load-on-startup>2</load-on-startup>
>     </servlet>
>     <servlet>
>         <servlet-name>exist-rest-servlet</servlet-name>
>         <servlet-class>org.exist.http.servlets.EXistServlet</servlet-class>
>         <init-param>
>             <param-name>basedir</param-name>
>             <param-value>WEB-INF/</param-value>
>         </init-param>
>         <init-param>
>             <param-name>configuration</param-name>
>             <param-value>exist-conf.xml</param-value>
>         </init-param>
>         <init-param>
>             <param-name>start</param-name>
>             <param-value>true</param-value>
>         </init-param>
>         <load-on-startup>2</load-on-startup>
>     </servlet>
>     <servlet>
>         <servlet-name>exist-webdav-servlet</servlet-name>
>         <servlet-class>org.exist.http.servlets.WebDAVServlet</servlet-class>
>         <init-param>
>             <param-name>authentication</param-name>
>         </init-param>
>         <init-param>
>             <param-name>config/examples/struts/module</param-name>
>             <param-value>/WEB-INF/struts-module.xml</param-value>
>         </init-param>
>         <load-on-startup>3</load-on-startup>
>     </servlet>
>     <!-- Uncomment this for the SQL examples -->
>     <servlet>
>         <servlet-name>hsqldb-servlet</servlet-name>
>         <servlet-class>org.hsqldb.Servlet</servlet-class>
>         <init-param>
>             <param-name>hsqldb.server.database</param-name>
>             <param-value>orbeondb</param-value>
>         </init-param>
>         <load-on-startup>4</load-on-startup>
>     </servlet>
>     <!-- End SQL examples -->
>     <servlet-mapping>
>         <servlet-name>ops-main-servlet</servlet-name>
>         <url-pattern>/</url-pattern>
>     </servlet-mapping>
>     <servlet-mapping>
>         <servlet-name>ops-xforms-server-servlet</servlet-name>
>         <url-pattern>/xforms-server</url-pattern>
>     </servlet-mapping>
>     <servlet-mapping>
>         <servlet-name>exist-rest-servlet</servlet-name>
>         <url-pattern>/exist/rest/*</url-pattern>
>     </servlet-mapping>
>     <servlet-mapping>
>         <servlet-name>exist-webdav-servlet</servlet-name>
>         <url-pattern>/exist/webdav/*</url-pattern>
>     </servlet-mapping>
>     <!--
>     <servlet-mapping>
>         <servlet-name>struts-servlet</servlet-name>
>         <url-pattern>/struts/*</url-pattern>
>     </servlet-mapping>
>     -->
>     <!-- Uncomment this for the SQL examples -->
>     <!--
>     <servlet-mapping>
>         <servlet-name>hsqldb-servlet</servlet-name>
>         <url-pattern>/db</url-pattern>
>     </servlet-mapping>
>     -->
>     <!-- End SQL examples -->
>     <servlet-mapping>
>         <servlet-name>display-chart-servlet</servlet-name>
>         <url-pattern>/chartDisplay</url-pattern>
>     </servlet-mapping>
>     <!-- Uncomment this for the SQL examples -->
>    <!--
>      <resource-ref>
>         <description>DataSource</description>
>         <res-ref-name>jdbc/db</res-ref-name>
>         <res-type>javax.sql.DataSource</res-type>
>         <res-auth>Container</res-auth>
>     </resource-ref>
>     -->
>     <!-- End SQL examples -->
>     <!-- Uncomment this for the authentication example -->
>     <security-constraint>
>         <web-resource-collection>
>             <web-resource-name>Administration</web-resource-name>
>             <url-pattern>/examples-standalone/authentication</url-pattern>
>         </web-resource-collection>
>         <auth-constraint>
>             <role-name>administrator</role-name>
>         </auth-constraint>
>     </security-constraint>
>     <login-config>
>         <auth-method>FORM</auth-method>
>         <form-login-config>
>             <form-login-page>/examples-standalone/authentication/login</form-login-page>
>             <form-error-page>/examples-standalone/authentication/login-error</form-error-page>
>         </form-login-config>
>     </login-config>
>     <security-role>
>         <role-name>administrator</role-name>
>     </security-role>
>     <!-- End authentication example -->
> </web-app>
>
>
> ------------------------------------------------------------------------
>
> *****************************************************************************************
> To view the terms under which this email is distributed, please go to http://www.hull.ac.uk/legal/email_disclaimer.html
> *****************************************************************************************
>
>
> ------------------------------------------------------------------------
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws

--
Orbeon - XForms Everywhere:
http://www.orbeon.com/blog/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws