You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Han Hong Fang (JIRA)" <ji...@apache.org> on 2011/09/02 10:54:10 UTC

[jira] [Commented] (GERONIMO-6130) spring sample "webflow-richfaces-showcase" can't be accessed successfully

    [ https://issues.apache.org/jira/browse/GERONIMO-6130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13095865#comment-13095865 ] 

Han Hong Fang commented on GERONIMO-6130:
-----------------------------------------

The log shows that this sample also has bundle resource URL problem. By setting GERONIMO_OPTS=-Dorg.apache.geronimo.equinox.useURLClassLoader=true and then start geronimo server can solve the bundle resource URL problem.

Another problem in this sample is that it provides the jsf api (v1.2) and impl jars (RI implementation) which are also provided in Geronimo server (jsf api v2.0 and myfaces implementation). I tried to add a geronimo-web.xml file and add followings in geronimo-web.xml but still failed.
<import-package>!javax.faces*</import-package-->
<import-package>!org.apache.myfaces*</import-package>
Removing jsp api jar from the sample, and add <import-package>!org.apache.myfaces*</import-package> in geronimo-web.xml is also failed.

> spring sample "webflow-richfaces-showcase" can't be accessed successfully
> -------------------------------------------------------------------------
>
>                 Key: GERONIMO-6130
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-6130
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: myfaces
>    Affects Versions: 3.0
>         Environment: JRE 1.6.0 IBM J9 2.4 Windows XP x86-32 jvmwi3260sr9-20110203_74623 (JIT enabled, AOT enabled)
>            Reporter: Tina Li
>            Priority: Minor
>         Attachments: geronimo.log
>
>
> 1.Use Aug 23 build of Geronimo server,start the server if it's not started
> 2.Download spring sample from svn: https://src.springframework.org/svn/spring-samples
> 3.According to sample named "webflow-richfaces-showcase", modify the pom.xml file which under trunk folder: Change the element of spring vesion from <spring.version>3.0.0.RELEASE</spring.version> to <spring.version>3.0.6.RELEASE</spring.version>
> 4.Build this sample successfully using cmd : mvn clean package, then can find web application: webflow-richfaces-showcase-1.0.0-BUILD-SNAPSHOT.war under \webflow-richfaces-showcase\target folder
> 5.Deploy and start the webflow-richfaces-showcase application via admin console succuessfully
> 6.When access this application via firefox 3.6.20, HTTP Status 500 error happened.
> 7.geronimo.log file is attached for detail.
> 8.For apache-tomcat-7.0.20, this web application runs successfully.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira