File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss/WildFly and the fly likes BRMS on JBOSS 4.0.2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Reply locked New topic
Author

BRMS on JBOSS 4.0.2

Kamil Wojcik
Ranch Hand

Joined: May 19, 2008
Posts: 78

Hi, I have problem with deploying drools-jbrms.war on JBOSS AS 4.0.2. In documentation recommended AS is JBoss Application Server 4.0.5, but i need to use 4.0.2.
ERROR:



Does Anyone solved that problem? Thanks for help!


SCJP 6.0 Passed | SCWCD Passed | PSM in progress...
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5812
    
    7

What you posted is the report that is printed by the deployer after it is finished deploying apps on startup. This report rarely identifies the cause for the deployment issues. Look through he complete console log and post the first exception stack trace that shows up in that log. You might have to redirect the console log to a file or increase the command line or terminal buffer, otherwise the console log could overflow the buffer in which case you would miss the first exception.


JBoss In Action
Kamil Wojcik
Ranch Hand

Joined: May 19, 2008
Posts: 78

Thanks for answer. This is code of the first exception which I get in log file:


Thanks for reply!
[ November 25, 2008: Message edited by: Kamil W�jcik ]
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5812
    
    7

The problem is that Drools BRMS relies on JSF, and JBossAS 4.0.2 does not come with JSF support.

You could try packaging the JSF jar files into the Drools BRMS WAR file.
Kamil Wojcik
Ranch Hand

Joined: May 19, 2008
Posts: 78

Peter Johnson thank you for reply!
I added jsf libs and it's work fine
Lee Mark
Ranch Hand

Joined: Mar 05, 2009
Posts: 46
Kamil Wojcik wrote:Peter Johnson thank you for reply!
I added jsf libs and it's work fine


are you sure you have deployed JSF application in jboss 4.0.2 ?

can you post web.xml
]

vinay sangappa
Greenhorn

Joined: Apr 21, 2010
Posts: 2
Hi
I have same problem i am using jboss 4.05 and followed the steps as given in this link http://www.installationwiki.org/Set_Up_for_JBoss_Drools" target="_new" rel="nofollow">jboss installation for Drools .
But during installation of step Installing the BRMS/Guvnor i got error as drools-jbrms-exp.war deployment failed
and then i downloaded file jboss_jsf_libs and copied them to lib file of jboss 5.00 .
then i restarted jboss but getting same error of not deployed .please help on this. send me any link on this to move forward


error message:

NTag=JBoss_5_0_0_GA date=200812041714)
14:11:29,810 INFO [ServerImpl] Bootstrap URL: null
14:11:29,810 INFO [ServerImpl] Home Dir: C:\Users\vinay\Downloads\jboss-5.0.0.G
A
14:11:29,810 INFO [ServerImpl] Home URL: file:/C:/Users/vinay/Downloads/jboss-5
.0.0.GA/
14:11:29,811 INFO [ServerImpl] Library URL: file:/C:/Users/vinay/Downloads/jbos
s-5.0.0.GA/lib/
14:11:29,812 INFO [ServerImpl] Patch URL: null
14:11:29,816 INFO [ServerImpl] Common Base URL: file:/C:/Users/vinay/Downloads/
jboss-5.0.0.GA/common/
14:11:29,817 INFO [ServerImpl] Common Library URL: file:/C:/Users/vinay/Downloa
ds/jboss-5.0.0.GA/common/lib/
14:11:29,818 INFO [ServerImpl] Server Name: default
14:11:29,818 INFO [ServerImpl] Server Base Dir: C:\Users\vinay\Downloads\jboss-
5.0.0.GA\server
14:11:29,819 INFO [ServerImpl] Server Base URL: file:/C:/Users/vinay/Downloads/
jboss-5.0.0.GA/server/
14:11:29,820 INFO [ServerImpl] Server Config URL: file:/C:/Users/vinay/Download
s/jboss-5.0.0.GA/server/default/conf/
14:11:29,821 INFO [ServerImpl] Server Home Dir: C:\Users\vinay\Downloads\jboss-
5.0.0.GA\server\default
14:11:29,823 INFO [ServerImpl] Server Home URL: file:/C:/Users/vinay/Downloads/
jboss-5.0.0.GA/server/default/
14:11:29,824 INFO [ServerImpl] Server Data Dir: C:\Users\vinay\Downloads\jboss-
5.0.0.GA\server\default\data
14:11:29,825 INFO [ServerImpl] Server Library URL: file:/C:/Users/vinay/Downloa
ds/jboss-5.0.0.GA/server/default/lib/
14:11:29,826 INFO [ServerImpl] Server Log Dir: C:\Users\vinay\Downloads\jboss-5
.0.0.GA\server\default\log
14:11:29,828 INFO [ServerImpl] Server Native Dir: C:\Users\vinay\Downloads\jbos
s-5.0.0.GA\server\default\tmp\native
14:11:29,828 INFO [ServerImpl] Server Temp Dir: C:\Users\vinay\Downloads\jboss-
5.0.0.GA\server\default\tmp
14:11:29,829 INFO [ServerImpl] Server Temp Deploy Dir: C:\Users\vinay\Downloads
\jboss-5.0.0.GA\server\default\tmp\deploy
14:11:30,694 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/C:/U
sers/vinay/Downloads/jboss-5.0.0.GA/server/default/conf/bootstrap.xml
14:11:31,350 INFO [VFSCacheFactory] Initializing VFSCache [org.jboss.virtual.pl
ugins.cache.IterableTimedVFSCache]
14:11:31,363 INFO [VFSCacheFactory] Using VFSCache [IterableTimedVFSCache{lifet
ime=1800, resolution=60}]
14:11:31,768 INFO [CopyMechanism] VFS temp dir: C:\Users\vinay\Downloads\jboss-
5.0.0.GA\server\default\tmp
14:11:31,770 INFO [ZipEntryContext] VFS force nested jars copy-mode is enabled.

14:11:33,483 INFO [ServerInfo] Java version: 1.6.0_19,Sun Microsystems Inc.
14:11:33,490 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 16.2-b04,Sun
Microsystems Inc.
14:11:33,492 INFO [ServerInfo] OS-System: Windows 7 6.1,x86
14:11:33,601 INFO [JMXKernel] Legacy JMX core initialized
14:11:36,939 INFO [ProfileServiceImpl] Loading profile: default from: org.jboss
.system.server.profileservice.repository.SerializableDeploymentRepository@235085
(root=C:\Users\vinay\Downloads\jboss-5.0.0.GA\server, key=org.jboss.profileservi
ce.spi.ProfileKey@143b82c3[domain=default,server=default,name=default])
14:11:36,941 INFO [ProfileImpl] Using repositoryrg.jboss.system.server.profil
eservice.repository.SerializableDeploymentRepository@235085(root=C:\Users\vinay\
Downloads\jboss-5.0.0.GA\server, key=org.jboss.profileservice.spi.ProfileKey@143
b82c3[domain=default,server=default,name=default])
14:11:36,942 INFO [ProfileServiceImpl] Loaded profile: ProfileImpl@d6ee28{key=o
rg.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,na
me=default]}
14:11:39,455 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083
/
14:11:39,465 ERROR [AbstractKernelController] Error installing to Start: name=jb
oss:service=WebService state=Create mode=Manual requiredState=Installed
java.lang.Exception: Port 8083 already in use.
at org.jboss.web.WebServer.start(WebServer.java:233)
at org.jboss.web.WebService.startService(WebService.java:322)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
upport.java:376)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
eanSupport.java:322)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:157)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java
:189)
at $Proxy36.start(Unknown Source)
at org.jboss.system.microcontainer.StartStopLifecycleAction.installActio
n(StartStopLifecycleAction.java:42)
at org.jboss.system.microcontainer.StartStopLifecycleAction.installActio
n(StartStopLifecycleAction.java:37)
at org.jboss.dependency.plugins.action.SimpleControllerContextAction.sim
pleInstallAction(SimpleControllerContextAction.java:62)
at org.jboss.dependency.plugins.action.AccessControllerContextAction.ins
tall(AccessControllerContextAction.java:71)
at org.jboss.dependency.plugins.AbstractControllerContextActions.install
(AbstractControllerContextActions.java:51)
at org.jboss.dependency.plugins.AbstractControllerContext.install(Abstra
ctControllerContext.java:348)
at org.jboss.system.microcontainer.ServiceControllerContext.install(Serv
iceControllerContext.java:286)
at org.jboss.dependency.plugins.AbstractController.install(AbstractContr
oller.java:1598)
at org.jboss.dependency.plugins.AbstractController.incrementState(Abstra
ctController.java:934)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
actController.java:1062)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
actController.java:984)
at org.jboss.dependency.plugins.AbstractController.change(AbstractContro
ller.java:822)
at org.jboss.dependency.plugins.AbstractController.change(AbstractContro
ller.java:553)
at org.jboss.system.ServiceController.doChange(ServiceController.java:68
8)
at org.jboss.system.ServiceController.start(ServiceController.java:460)
at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java
:146)
at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.jav
a:104)
at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.jav
a:45)
at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.i
nternalDeploy(AbstractSimpleRealDeployer.java:62)
at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(
AbstractRealDeployer.java:50)
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(Deployer
Wrapper.java:171)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(Deployer
sImpl.java:1439)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFi
rst(DeployersImpl.java:1157)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFi
rst(DeployersImpl.java:1178)
at org.jboss.deployers.plugins.deployers.DeployersImpl.install(Deployers
Impl.java:1098)
at org.jboss.dependency.plugins.AbstractControllerContext.install(Abstra
ctControllerContext.java:348)
at org.jboss.dependency.plugins.AbstractController.install(AbstractContr
oller.java:1598)
at org.jboss.dependency.plugins.AbstractController.incrementState(Abstra
ctController.java:934)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
actController.java:1062)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
actController.java:984)
at org.jboss.dependency.plugins.AbstractController.change(AbstractContro
ller.java:822)
at org.jboss.dependency.plugins.AbstractController.change(AbstractContro
ller.java:553)
at org.jboss.deployers.plugins.deployers.DeployersImpl.process(Deployers
Impl.java:781)
at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeploye
rImpl.java:545)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadPr
ofile(ProfileServiceBootstrap.java:274)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(
ProfileServiceBootstrap.java:205)
at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:
405)
at org.jboss.Main.boot(Main.java:209)
at org.jboss.Main$1.run(Main.java:547)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:365)
at java.net.ServerSocket.bind(ServerSocket.java:319)
at java.net.ServerSocket.<init>(ServerSocket.java:185)
at org.jboss.web.WebServer.start(WebServer.java:226)
... 54 more
14:11:39,497 ERROR [AbstractKernelController] Error installing to Real: name=vfs
file:/C:/Users/vinay/Downloads/jboss-5.0.0.GA/server/default/conf/jboss-service.
xml state=PreReal mode=Manual requiredState=Real
org.jboss.deployers.spi.DeploymentException: Error deploying: jboss:service=WebS
ervice

at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentExcept
ion(DeploymentException.java:49)
at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.jav
a:123)
at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.jav
a:45)
at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.i
nternalDeploy(AbstractSimpleRealDeployer.java:62)
at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(
AbstractRealDeployer.java:50)
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(Deployer
Wrapper.java:171)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(Deployer
sImpl.java:1439)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFi
rst(DeployersImpl.java:1157)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFi
rst(DeployersImpl.java:1178)
at org.jboss.deployers.plugins.deployers.DeployersImpl.install(Deployers
Impl.java:1098)
at org.jboss.dependency.plugins.AbstractControllerContext.install(Abstra
ctControllerContext.java:348)
at org.jboss.dependency.plugins.AbstractController.install(AbstractContr
oller.java:1598)
at org.jboss.dependency.plugins.AbstractController.incrementState(Abstra
ctController.java:934)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
actController.java:1062)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
actController.java:984)
at org.jboss.dependency.plugins.AbstractController.change(AbstractContro
ller.java:822)
at org.jboss.dependency.plugins.AbstractController.change(AbstractContro
ller.java:553)
at org.jboss.deployers.plugins.deployers.DeployersImpl.process(Deployers
Impl.java:781)
at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeploye
rImpl.java:545)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadPr
ofile(ProfileServiceBootstrap.java:274)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(
ProfileServiceBootstrap.java:205)
at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:
405)
at org.jboss.Main.boot(Main.java:209)
at org.jboss.Main$1.run(Main.java:547)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.Exception: Port 8083 already in use.
at org.jboss.web.WebServer.start(WebServer.java:233)
at org.jboss.web.WebService.startService(WebService.java:322)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
upport.java:376)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
eanSupport.java:322)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:157)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java
:189)
at $Proxy36.start(Unknown Source)
at org.jboss.system.microcontainer.StartStopLifecycleAction.installActio
n(StartStopLifecycleAction.java:42)
at org.jboss.system.microcontainer.StartStopLifecycleAction.installActio
n(StartStopLifecycleAction.java:37)
at org.jboss.dependency.plugins.action.SimpleControllerContextAction.sim
pleInstallAction(SimpleControllerContextAction.java:62)
at org.jboss.dependency.plugins.action.AccessControllerContextAction.ins
tall(AccessControllerContextAction.java:71)
at org.jboss.dependency.plugins.AbstractControllerContextActions.install
(AbstractControllerContextActions.java:51)
at org.jboss.dependency.plugins.AbstractControllerContext.install(Abstra
ctControllerContext.java:348)
at org.jboss.system.microcontainer.ServiceControllerContext.install(Serv
iceControllerContext.java:286)
at org.jboss.dependency.plugins.AbstractController.install(AbstractContr
oller.java:1598)
at org.jboss.dependency.plugins.AbstractController.incrementState(Abstra
ctController.java:934)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
actController.java:1062)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
actController.java:984)
at org.jboss.dependency.plugins.AbstractController.change(AbstractContro
ller.java:822)
at org.jboss.dependency.plugins.AbstractController.change(AbstractContro
ller.java:553)
at org.jboss.system.ServiceController.doChange(ServiceController.java:68
8)
at org.jboss.system.ServiceController.start(ServiceController.java:460)
at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java
:146)
at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.jav
a:104)
... 23 more
Caused by: java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:365)
at java.net.ServerSocket.bind(ServerSocket.java:319)
at java.net.ServerSocket.<init>(ServerSocket.java:185)
at org.jboss.web.WebServer.start(WebServer.java:226)
... 54 more
14:11:39,525 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of
incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

*** CONTEXTS IN ERROR: Name -> Error

vfsfile:/C:/Users/vinay/Downloads/jboss-5.0.0.GA/server/default/conf/jboss-servi
ce.xml -> java.net.BindException: Address already in use: JVM_Bind


14:11:39,527 INFO [ServerImpl] JBoss (Microcontainer) [5.0.0.GA (build: SVNTag=
JBoss_5_0_0_GA date=200812041714)] Started in 9s:692ms
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9924
    
158

Vinay,

Please create a separate topic, to discuss your issue. Also while posting logs, code or xml, please wrap them in a code block. Please use the Preview button to make sure your post is correctly formatted.


[My Blog] [JavaRanch Journal]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: BRMS on JBOSS 4.0.2
 
Similar Threads
Deployment Exception
JBoss compiles, but doesn't run on server
MBeans waiting for other MBeans
jboss deploy problems in icefaces
DeploymentException in Seam example dvdstore