[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - problem with JSF 1.2 on JBoss5Beta

sedat do-not-reply at jboss.com
Fri Feb 9 09:31:55 EST 2007


Hello,

  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. What can be the problem? Any suggestions?
Thanks,
  Sedat

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013644#4013644

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013644



More information about the jboss-user mailing list