[jboss-jira] [JBoss JIRA] Updated: (JBAS-4130) Simple HelloWorld JSF 1.2 application does not work
Dimitris Andreadis (JIRA)
jira-events at lists.jboss.org
Fri Oct 19 12:38:04 EDT 2007
[ http://jira.jboss.com/jira/browse/JBAS-4130?page=all ]
Dimitris Andreadis updated JBAS-4130:
-------------------------------------
Component/s: JavaServerFaces
(was: Deployment services)
Assignee: Stan Silvert (was: Dimitris Andreadis)
Assign to Stan to look at
> Simple HelloWorld JSF 1.2 application does not work
> ---------------------------------------------------
>
> Key: JBAS-4130
> URL: http://jira.jboss.com/jira/browse/JBAS-4130
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: JavaServerFaces
> Affects Versions: JBossAS-5.0.0.Beta1
> Environment: Windows XP, Suse 10.2
> Reporter: sedat ciftci
> Assigned To: Stan Silvert
>
> I have faced with a problem while deploying my JSF 1.2 web application (sun impl) ( I build with Netbeans 5.5 Visual Web pack) to JBoss5 Beta. It works with Glassfish. In order to find the problem, I make a simple Hello world web application and try to deploy it to JBoss5Beta. However, I get the same exception.
> The first exception that I overcome is related with web-facesconfig_1_2.xsd. JBoss says that it can not resolve this schema. I solve this problem by putting this file into the jboss.jar/schema.
> The second exception that I cannot solve is although my projects managed-beans.xml file is well formed, JBoss throws such an exception:
> org.jboss.deployers.spi.DeploymentException: The xml JBoss5Ex.war/WEB-INF/managed-beans.xml is not well formed!
> at org.jboss.deployers.plugins.deployers.helpers.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:94)
> at org.jboss.deployers.plugins.deployers.helpers.AbstractParsingDeployer.parse(AbstractParsingDeployer.java:173)
> at org.jboss.deployers.plugins.deployers.helpers.AbstractParsingDeployer.createMetaData(AbstractParsingDeployer.java:114)
> at org.jboss.deployers.plugins.deployers.helpers.AbstractParsingDeployer.createMetaData(AbstractParsingDeployer.java:88)
> at org.jboss.deployers.plugins.deployers.kernel.BeanDeployer.deploy(BeanDeployer.java:59)
> at org.jboss.deployers.plugins.deployer.AbstractSimpleDeployer.commitDeploy(AbstractSimpleDeployer.java:52)
> at org.jboss.deployers.plugins.deployer.DeployerWrapper.commitDeploy(DeployerWrapper.java:145)
> at org.jboss.deployers.plugins.deployment.MainDeployerImpl.commitDeploy(MainDeployerImpl.java:440)
> at org.jboss.deployers.plugins.deployment.MainDeployerImpl.process(MainDeployerImpl.java:381)
> at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:366)
> at org.jboss.system.server.profileservice.ProfileServiceBootstrap.bootstrap(ProfileServiceBootstrap.java:246)
> at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:89)
> at org.jboss.system.server.profileservice.ServerImpl.doStart(ServerImpl.java:401)
> at org.jboss.system.server.profileservice.ServerImpl.start(ServerImpl.java:340)
> at org.jboss.Main.boot(Main.java:210)
> at org.jboss.Main$1.run(Main.java:508)
> at java.lang.Thread.run(Thread.java:595)
> Note that JBoss5Ex.war is my web application.
> Here is the content of my managed-beans.xml file (starting after the #'s line):
> ######################################
> <?xml version="1.0" encoding="UTF-8"?>
> <faces-config version="1.2" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd">
> <managed-bean>
> <managed-bean-name>SessionBean1</managed-bean-name>
> <managed-bean-class>jboss5ex.SessionBean1</managed-bean-class>
> <managed-bean-scope>session</managed-bean-scope>
> </managed-bean>
> <managed-bean>
> <managed-bean-name>Page1</managed-bean-name>
> <managed-bean-class>jboss5ex.Page1</managed-bean-class>
> <managed-bean-scope>request</managed-bean-scope>
> </managed-bean>
> <managed-bean>
> <managed-bean-name>ApplicationBean1</managed-bean-name>
> <managed-bean-class>jboss5ex.ApplicationBean1</managed-bean-class>
> <managed-bean-scope>application</managed-bean-scope>
> </managed-bean>
> <managed-bean>
> <managed-bean-name>RequestBean1</managed-bean-name>
> <managed-bean-class>jboss5ex.RequestBean1</managed-bean-class>
> <managed-bean-scope>request</managed-bean-scope>
> </managed-bean>
> </faces-config>
> #################################################
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list