myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ganesh Jung (JIRA)" <...@myfaces.apache.org>
Subject [jira] Commented: (MYFACES-2523) files for beta release don't run the most trivial application
Date Fri, 29 Jan 2010 15:44:34 GMT

    [ https://issues.apache.org/jira/browse/MYFACES-2523?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12806365#action_12806365
] 

Ganesh Jung commented on MYFACES-2523:
--------------------------------------

Looks like this is an issue with Eclipse. After creating the demo war and deploying it directly
to tomcat-webapps the application works, but when creating an Eclipse Dynamic Web Project,
adding the test.xhtml above, the MyFaces 2.0 beta and the following web.xml then the error
occurs.

<web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	version="2.5"
	xsi:schemaLocation="http://java.sun.com/xml/ns/javaee   
                      http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
	<context-param>
		<param-name>javax.faces.PROJECT_STAGE</param-name>
		<param-value>Production</param-value>
	</context-param>
	<servlet>
		<servlet-name>Faces Servlet</servlet-name>
		<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
		<load-on-startup>1</load-on-startup>
	</servlet>
	<servlet-mapping>
		<servlet-name>Faces Servlet</servlet-name>
		<url-pattern>*.faces</url-pattern>
	</servlet-mapping>
	<welcome-file-list>
		<welcome-file>index.html</welcome-file>
	</welcome-file-list>
</web-app>

I still consider this as a MyFaces bug, because the app works with Mojarra 2.0 and MyFaces
1.2 projects do work within Eclipse.

> files for beta release don't run the most trivial application
> -------------------------------------------------------------
>
>                 Key: MYFACES-2523
>                 URL: https://issues.apache.org/jira/browse/MYFACES-2523
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: JSR-314
>    Affects Versions: 2.0.0-beta-2
>         Environment: tomcat
>            Reporter: Ganesh Jung
>
> This most basic page:
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
>        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml"
>      xmlns:h="http://java.sun.com/jsf/html"
>      xmlns:f="http://java.sun.com/jsf/core"
>      xmlns:ui="http://java.sun.com/jsf/facelets">
> <body>
> 	<h:form>
> 		<h:commandButton value="test">
> 		</h:commandButton>
>    </h:form>
> </body>
> </html>
> yields a security exception:
> java.security.NoSuchAlgorithmException: Cannot find any provider supporting DES/ECB/PKCS5Padding
> when creating a minimal project that only contains the files from 2.0.0-beta. I'll attach
a war to demonstrate
> the bug.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message