| Author |
Message |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 02/26/2008 05:39:34
|
danut.iurascu
Joined: 02/26/2008 05:17:33
Messages: 2
Offline
|
I take a look at your work. Nice!
I folowed the instructions and I deploy your demo application on a apache-tomcat- server (more exactly v 6.0.10) and it works, but when i try to deploy on a JBoss server (4.2.2GA, 5.0.0Beta2, 5.0.0Beta4) I encourage the folowing errors:
12:30:12,118 ERROR [[/doc-examples]] Exception sending context initialized event to listener instance of class org.jboss.web.jsf.integration.config.JBossJSFConfigureListener
java.lang.ClassCastException: com.sun.faces.application.ApplicationAssociate
at com.sun.faces.application.ApplicationAssociate.getInstance(ApplicationAssociate.java:172)
at com.sun.faces.config.JSFVersionTracker.publishInstanceToApplication(JSFVersionTracker.java:266)
....
12:30:12,124 ERROR [[/doc-examples]] Exception sending context destroyed event to listener instance of class com.sun.faces.application.WebappLifecycleListener
java.lang.ClassCastException: com.sun.faces.application.ApplicationAssociate
at com.sun.faces.application.ApplicationAssociate.getInstance(ApplicationAssociate.java:180)
...
12:30:12,382 WARN [ServiceController] Problem starting service jboss.web.deployment:war=doc-examples.war,id=792215747
org.jboss.deployment.DeploymentException: URL file:/opt/jboss-4.2.2.GA/server/default/tmp/deploy/tmp49732doc-examples-exp.war/ deployment failed
at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:379)
...
I am just curios if Simplifica could be used in web-applications which are deloyed on JBoss server, since the demo dosen't work.
|
|
|
 |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 02/26/2008 08:42:41
|
adina_mihai
Simplica Team
Joined: 04/01/2007 00:00:00
Messages: 183
Offline
|
I tested doc-examples.war on JBoss 4.0.4.GA and it is working fine. If you follow the stack trace below, you'll see that the error is not because of an Ecruiser component. It seems to be a deployment issue.
|
|
|
 |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 02/26/2008 09:22:30
|
danut.iurascu
Joined: 02/26/2008 05:17:33
Messages: 2
Offline
|
thanks a lot!
but that fact doesn't helt me.
I was interested about JBoss 4.2.2 or newer like 5.0.0.Beta4.
|
|
|
 |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 02/29/2008 11:00:40
|
adina_mihai
Simplica Team
Joined: 04/01/2007 00:00:00
Messages: 183
Offline
|
Because our demos are built with JSF 1.1_02, and JBoss 4.2.0 works with JSF 1.2_04, you have to make following changes:
1. remove jsf-api.jar and jsf-impl.jar from [demo.war]\WEB-INF\lib folder. JBoss will take these libs from his folders.
2. delete the tld folder from [demo.war]\WEB-INF\
3. edit web.xml and comment or remove all three <taglib> tags from there.
|
|
|
 |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 07/14/2008 05:37:25
|
MasterGenny
Joined: 07/14/2008 04:23:47
Messages: 2
Offline
|
adina_mihai wrote:
Because our demos are built with JSF 1.1_02, and JBoss 4.2.0 works with JSF 1.2_04, you have to make following changes:
1. remove jsf-api.jar and jsf-impl.jar from [demo.war]\WEB-INF\lib folder. JBoss will take these libs from his folders.
2. delete the tld folder from [demo.war]\WEB-INF\
3. edit web.xml and comment or remove all three <taglib> tags from there.
I followed these steps to run the ecruiser suite on jboss 4.2.1. The error from the first post is fixed, but now I have errors about instantiating ecruiser components.
|
|
|
 |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 07/14/2008 07:49:56
|
adina_mihai
Simplica Team
Joined: 04/01/2007 00:00:00
Messages: 183
Offline
|
Try to set this parameter in web.xml, and see if you can reproduce this error.
|
|
|
 |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 07/14/2008 08:02:03
|
MasterGenny
Joined: 07/14/2008 04:23:47
Messages: 2
Offline
|
Now the demo ist deployed succesfull. But if I try to run it causes:
|
|
|
 |
|
|