Win a copy of Node.js Design Patterns: Design and implement production-grade Node.js applications using proven patterns and techniques this week in the Server-Side JavaScript and NodeJS forum!
    Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

BRMS on JBOSS 4.0.2

 
Ranch Hand
Posts: 78
Eclipse IDE Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
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!
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
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.
 
Kamil Wojcik
Ranch Hand
Posts: 78
Eclipse IDE Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
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
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
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
Posts: 78
Eclipse IDE Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Peter Johnson thank you for reply!
I added jsf libs and it's work fine
 
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator

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
]

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
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="_blank" 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 repository:org.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
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
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.

    Bookmark Topic Watch Topic
  • New Topic