[rules-users] Problems deploying BRMS on Jboss 4.0.1 AS

Rahul Upadhyay email2upadhyay at gmail.com
Sat Jan 5 00:15:51 EST 2008


 I Think you don't have  full permission of  JBOSS or BRMS war. Go to root
login then  try run .. it will work or change the permission.
also stop any  eclipse or netbeans  any application that use java process..
I don't know why but  it will work..

Let me know if it works

all the Best

Rahul  upadhyay

On Jan 4, 2008 9:13 PM, <kissro at lidp.com> wrote:

> I followed the instructions on the wiki page below and copied the 2 jar
> files to server/default/lib.  I then tried both 4.0.3 and 4.0.1 BRMS
> .war files but got different errors for each.  They are below.
>
> 4.0.3
> INFO  [Contexts] starting up: repositoryConfiguration
> ERROR [Engine] StandardContext[/drools-jbrms]Exception sending context
> initialized event to listener instance of class
> org.jboss.seam.servlet.SeamListener
> java.lang.NoSuchMethodError:
> javassist.bytecode.Bytecode.addPutfield
> (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
>        at
> org.jboss.seam.util.ProxyFactory.makeConstructor(ProxyFactory.java:519)
>        at
> org.jboss.seam.util.ProxyFactory.makeConstructors(ProxyFactory.java:414)
>
> 4.0.1
> INFO  [org.jboss.seam.contexts.Lifecycle] starting up:
> repositoryConfiguration
> DEBUG [org.jboss.seam.Component] instantiating Seam component:
> repositoryConfiguration
> ERROR [org.jboss.web.localhost.Engine]
> StandardContext[/drools-jbrms]Exception sending context initialized
> event to listener instance of class org.jboss.seam.servlet.SeamListener
> java.lang.NoSuchMethodError:
> net.sf.cglib.proxy.Enhancer.setInterceptDuringConstruction(Z)V
>        at
> org.jboss.seam.Component.createProxyFactory(Component.java:1933)
>        at org.jboss.seam.Component.getProxyFactory(Component.java:1122)
>
> I don't know if it makes a difference, so I didn't mention it before,
> but I'm using JBossIDE 2.0 with eclipse.
>
> On Fri, Jan 04, 2008 at 12:05:14PM -0200, Fernando Meyer wrote:
> > http://wiki.jboss.org/wiki/Wiki.jsp?page=JBRMSjsfdependencies
> >
> > On Jan 4, 2008 12:01 PM, < kissro at lidp.com> wrote:
> >
> >     I'm sorry, I'm just learning all this.  Could you be more specific;
> >     which files do I need (and where do I get them) and in which
> directory
> >     should I put them?
> >
> >     Thank you
> >     On Fri, Jan 04, 2008 at 11:54:31AM -0200, Fernando Meyer wrote:
> >     > Try to install jsf dependencies on your app server
> >     >
> >     > On Jan 4, 2008 11:45 AM, <kissro at lidp.com> wrote:
> >     >
> >     >     I tried version 4.0.3 with Jboss 4.0.1 AS and these are the
> errors I
> >     get
> >     >
> >     >     ERROR [Engine] StandardContext[/drools-jbrms]Exception sending
> >     context
> >     >     initialized event to listener instance of class
> >     >     org.jboss.seam.servlet.SeamListener
> >     >     java.lang.RuntimeException: Could not create Component:
> >     >     org.jboss.seam.security.identity
> >     >            at
> >     >     org.jboss.seam.init.Initialization.addComponent(
> Initialization.java
> >     :964)
> >     >            at
> >     >     org.jboss.seam.init.Initialization.installComponents
> >     >     (Initialization.java :891)
> >     >            at
> >     >     org.jboss.seam.init.Initialization.init(Initialization.java
> :547)
> >     >            at
> >     >     org.jboss.seam.servlet.SeamListener.contextInitialized
> >     >     (SeamListener.java :34)
> >     >
> >     >     Caused by: java.lang.NoClassDefFoundError:
> >     >     javax/faces/application/FacesMessage$Severity
> >     >            at java.lang.Class.getDeclaredMethods0(Native Method)
> >     >            at java.lang.Class.privateGetDeclaredMethods (Unknown
> Source)
> >     >            at java.lang.Class.getDeclaredMethods(Unknown Source)
> >     >
> >     >     ERROR [URLDeploymentScanner] Incomplete Deployment listing:
> >     >     Incompletely deployed packages:
> >     >     org.jboss.deployment.DeploymentInfo at cbf5aa95 {
> >     >     url=file:/C:/apps/jboss-4.0.1sp1/server/default/deploy/
> >     drools-jbrms.war
> >     >     }
> >     >      deployer: org.jboss.web.tomcat.tc5.Tomcat5 at 15780d9
> >     >      status: Deployment FAILED reason: URL
> >     >     file:/C:/apps/jboss- 4.0.1sp1/server/default/tmp/deploy/
> >     >     tmp56124drools-jbrms-exp.war/
> >     >     deployment failed
> >     >      state: FAILED
> >     >      watch:
> >     >     file:/C:/apps/jboss-4.0.1sp1/server/default/deploy/drools-
> jbrms.war
> >     >      altDD: null
> >     >      lastDeployed: 1199453750061
> >     >      lastModified: 1199453749483
> >     >      mbeans:
> >     >
> >     >     Any other ideas why Drools 4.0.1 BRMS (or 4.0.3) won't work
> with
> >     Jboss
> >     >     4.0.1 AS?
> >     >
> >     >     On Fri, Jan 04, 2008 at 09:03:32AM +0530, Rahul Upadhyay
> wrote:
> >     >     > It seems that some class files are missing in your BRMS war.
> >     >     > domload BRMS war version4.0.3 form
> >     >     > http://labs.jboss.com/drools/downloads.html.
> >     >     >
> >     >     > This will work.
> >     >     >
> >     >     > cheers
> >     >     > Rahul Upadhyay
> >     >     >
> >     >     > On Jan 3, 2008 10:37 PM, <kissro at lidp.com > wrote:
> >     >     >
> >     >     >     Hello,
> >     >     >
> >     >     >     I'm trying to deploy the Drools 4.0.1 JBRMS on the Jboss
> 4.0.1
> >     AS and
> >     >     >     these are the errors I'm getting.  Can somone tell me
> why?
> >     >     >
> >     >     >     INFO  [Scanner] scanning:
> >     >     >     C:\apps\jboss-4.0.1sp1\server\default\tmp\deploy\
> >     >     >     tmp7104drools-jbrms-exp.war\WEB-INF\classes
> >     >     >     INFO  [Initialization] reading /WEB-INF/components.xml
> >     >     >     ERROR [Engine] StandardContext[/drools-jbrms]Exception
> sending
> >     >     context
> >     >     >     initialized event to listener instance of class
> >     >     >     org.jboss.seam.servlet.SeamListener
> >     >     >     java.lang.NoClassDefFoundError: javax/faces/context/
> >     FacesContext
> >     >     >     at org.jboss.seam.util.Resources.getResourceAsStream
> >     >     (Resources.java:21)
> >     >     >
> >     >     >     ERROR [Context] Error listenerStart
> >     >     >     ERROR [Context] Context startup failed due to previous
> errors
> >     >     >     ERROR [WebModule] Starting failed
> >     >     >     jboss.web.deployment:war=drools-jbrms.war ,id=-873092459
> >     >     >     org.jboss.deployment.DeploymentException: URL
> >     >     >     file:/C:/apps/jboss-4.0.1sp1/server/default/tmp/deploy/
> >     >     >     tmp7104drools-jbrms-exp.war /
> >     >     >     deployment failed at
> >     >     >
> org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal
> >     >     >     (TomcatDeployer.java:365)
> >     >     >     at
> >     >     >     org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy
> >     >     >     ( TomcatDeployer.java:92)
> >     >     >
> >     >     >     WARN  [ServiceController] Problem starting service
> >     >     >     jboss.web.deployment:war=drools-jbrms.war,id=-873092459
> >     >     >     org.jboss.deployment.DeploymentException : URL
> >     >     >     file:/C:/apps/jboss- 4.0.1sp1/server/default/tmp/deploy/
> >     >     >     tmp7104drools-jbrms-exp.war/
> >     >     >     deployment failed at
> >     >     >
> org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal
> >     >     >     (TomcatDeployer.java:365)
> >     >     >     at
> >     >     >     org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy
> >     >     >     (TomcatDeployer.java:92)
> >     >     >
> >     >     >     ERROR [MainDeployer] could not start deployment:
> >     >     >     file:/C:/apps/jboss-4.0.1sp1 /server/default/deploy/
> >     drools-jbrms.war
> >     >     >     org.jboss.deployment.DeploymentException: URL
> >     >     >     file:/C:/apps/jboss-4.0.1sp1/server/default/tmp/deploy/
> >     >     >     tmp7104drools-jbrms-exp.war/
> >     >     >     deployment failed at
> >     >     >
> org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal
> >     >     >     (TomcatDeployer.java:365)
> >     >     >     at
> >     >     >     org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy
> >     >     >     (TomcatDeployer.java :92)
> >     >     >
> >     >     >
> >     >     >     ERROR [URLDeploymentScanner] Incomplete Deployment
> listing:
> >     >     >     Incompletely deployed packages:
> >     >     >     org.jboss.deployment.DeploymentInfo at cbf5aa95 {
> >     >     >     url=file:/C:/apps/jboss- 4.0.1sp1/server/default/deploy/
> >     >     drools-jbrms.war
> >     >     >     }
> >     >     >     deployer: org.jboss.web.tomcat.tc5.Tomcat5 at 1c45731
> >     >     >     status: Deployment FAILED reason: URL
> >     >     >     file:/C:/apps/jboss-4.0.1sp1/server/default/tmp/deploy/
> >     >     >     tmp7104drools-jbrms-exp.war/
> >     >     >     deployment failed
> >     >     >      state: FAILED
> >     >     >      watch:
> >     >     >     file:/C:/apps/jboss-4.0.1sp1
> /server/default/deploy/drools-
> >     jbrms.war
> >     >     >      altDD: null
> >     >     >      lastDeployed: 1199378127367
> >     >     >      lastModified: 1199378127038
> >     >     >      mbeans:
> >     >     >
> >     >     >     MBeans waiting for other MBeans:
> >     >     >     ObjectName: jboss.web.deployment:war=drools-jbrms.war,id=
> >     -873092459
> >     >     >      state: FAILED
> >     >     >      I Depend On:
> >     >     >      Depends On Me: org.jboss.deployment.DeploymentException: URL
> >     >     >     file:/C:/apps/jboss-4.0.1sp1/server/default/tmp/deploy/
> >     >     >     tmp7104drools-jbrms-exp.war/
> >     >     >     deployment failed
> >     >     >
> >     >     >     MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM:
> >     >     >     ObjectName: jboss.web.deployment:war=drools-jbrms.war
> ,id=
> >     -873092459
> >     >     >      state: FAILED
> >     >     >      I Depend On:
> >     >     >      Depends On Me: org.jboss.deployment.DeploymentException: URL
> >     >     >     file:/C:/apps/jboss-4.0.1sp1/server/default/tmp/deploy/
> >     tmp7104drools-
> >     >     >     jbrms-exp.war/
> >     >     >     deployment failed
> >     >     >
> >     >     >     Thanks,
> >     >     >     Rod
> >     >     >     _______________________________________________
> >     >     >     rules-users mailing list
> >     >     >     rules-users at lists.jboss.org
> >     >     >     https://lists.jboss.org/mailman/listinfo/rules-users
> >     >     >
> >     >     >
> >     >     _______________________________________________
> >     >     rules-users mailing list
> >     >     rules-users at lists.jboss.org
> >     >     https://lists.jboss.org/mailman/listinfo/rules-users
> >     >
> >     >
> >     >
> >     >
> >     > --
> >     > Fernando Meyer http://fmeyer.org
> >     > JBoss Rules Core Developer
> >     > fernando at fmeyer.org
> >
> >
> >
> >
> > --
> > Fernando Meyer http://fmeyer.org
> > JBoss Rules Core Developer
> > fernando at fmeyer.org
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20080105/f1bbfadf/attachment.html 


More information about the rules-users mailing list