Netbean and JBoss

I am using Netbeans 5.5 for a web project (with JSF, MySql server) it's working fine,

now copied all the files from "build/web" directory and I've added the code:

<listener>

<listener-class>com.sun.faces.config.ConfigureListener</listener-class>

</listener>

in web.xml file & created projectname.war moved this war file into jboss server/deploy folder

in JBoss server says: projectname.war/ deployment failed and throws many errors

Any one can help to run this project in JBoss Server

-VK

[576 byte] By [vkjsfa] at [2007-11-27 9:57:37]
# 1
Post the first error JBoss gives you.Also, what version of JBoss? JBoss 4.0.x comes with MyFaces; JBoss 4.2.0 comes with the Sun RI of JSF. In either case make sure that you are not re-packaging the JSF implementation.
RaymondDeCampoa at 2007-7-13 0:27:57 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2

Hi Raymond,

Thank you for your reply

it's JBoss 4.2.0

and error is :

4.2.0.CR1/server/default/tmp/deploy/tmp11172project-exp.war/ deployment failed

at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:378)

at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)

at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:372)

at org.jboss.web.WebModule.startModule(WebModule.java:83)

at org.jboss.web.WebModule.startService(WebModule.java:61)

at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)

at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)

at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:585)

at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)

at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)

at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)

'

...........

Awaiting for your valuable reply / suggestions

-VK

vkjsfa at 2007-7-13 0:27:57 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3
OK, let's try the next exception, or the first one that involves JSF.JBoss 4.2.0 comes bundled with the Sun RI of JSF 1.2. Were you able to verify if NetBeans is packaging the JSF implementation in your EAR or WAR? If so, you should try to convinve it not to.
RaymondDeCampoa at 2007-7-13 0:27:57 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...