Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Deployment Error: JSF Demo program  RSS feed

 
Prathamesh Gaddam
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have followed the step given @ http://www.jboss.org/file-access/default/members/jbossrichfaces/freezone/docs/devguide/en/html/GettingStarted.html.

1. Towards deployment through Eclipse, it throws these errors:

.
.
18:56:03,799 ERROR [[/JSFDemos]] Error configuring application listener of class com.sun.faces.config.ConfigureListener
java.lang.ClassNotFoundException: com.sun.faces.config.ConfigureListener
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1352)
.
.
8:56:03,799 ERROR [[/JSFDemos]] Skipped installing application listeners due to previous error(s)
18:56:03,799 ERROR [StandardContext] Error listenerStart
18:56:03,799 ERROR [StandardContext] Context [/JSFDemos] startup failed due to previous errors
18:56:03,815 WARN [ServiceController] Problem starting service jboss.web.deployment:war=JSFDemos.war,id=677928148
org.jboss.deployment.DeploymentException: URL file:/D:/jboss-4.0.4.CR2/server/default/tmp/deploy/tmp8176JSFDemos-exp.war/ deployment failed
.
.
18:56:03,815 ERROR [MainDeployer] Could not start deployment: file:/D:/jboss-4.0.4.CR2/server/default/deploy/JSFDemos.war
org.jboss.deployment.DeploymentException: URL file:/D:/jboss-4.0.4.CR2/server/default/tmp/deploy/tmp8176JSFDemos-exp.war/ deployment failed
.
.
.
--- MBeans waiting for other MBeans ---
ObjectName: jboss.web.deployment:war=JSFDemos.war,id=677928148
State: FAILED
Reason: org.jboss.deployment.DeploymentException: URL file:/D:/jboss-4.0.4.CR2/server/default/tmp/deploy/tmp8176JSFDemos-exp.war/ deployment failed

--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss.web.deployment:war=JSFDemos.war,id=677928148
State: FAILED
Reason: org.jboss.deployment.DeploymentException: URL file:/D:/jboss-4.0.4.CR2/server/default/tmp/deploy/tmp8176JSFDemos-exp.war/ deployment failed

2. Do we need to create the 'faces-config.xml' or already the file is existing in RichFaces jars?

3. Please provide the directory structure how to place the files ttowards the above mentioned JSF example?

Thank you in advance.
 
Tim Holloway
Bartender
Posts: 18705
71
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JBoss has been a real pain to me lately. There's a JSF implementation built into the latest JBoss, and it gets into fights with apps built with MyFaces.

There are ways to make it happy, but the whole issue is apparently still evolving, so I have no simple no-think solution. I can only recommend you do the same thing I do: Google.
 
Prathamesh Gaddam
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I googled, however I didnt find the solution to the above mentioned problem. Kindly help to scrutinize the error. Or any other tutorial with detailed demo program.

Thank you in advance !
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!