geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tina Li (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GERONIMO-6130) spring sample "webflow-richfaces-showcase" can't be accessed successfully
Date Tue, 06 Sep 2011 09:04:10 GMT

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

Tina Li commented on GERONIMO-6130:
-----------------------------------

Another way for solve problem of this spring sample:
1. set GERONIMO_OPTS=-Dorg.apache.geronimo.equinox.useURLClassLoader=true and then start geronimo
server
2. Change the pom.xml file: add <scope>provided</scope> to related dependency:

		<!-- Sun JSF implementation and Facelets -->
		<dependency>
			<groupId>javax.faces</groupId>
			<artifactId>jsf-api</artifactId>
			<version>2.0</version>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>javax.faces</groupId>
			<artifactId>jsf-impl</artifactId>
			<version>1.2_15</version>
			<scope>provided</scope>
3.Build the sample again and deploy it on server ,this sample also can works well.

> 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-web.xml, 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

        

Mime
View raw message