[Installation, Configuration & Deployment] - Re: JBoss crashes on Fedora Core RH Linux
by gohip@ichibancomputers.com
Hey guys, I am having trouble getting JBoss/JBoss Mail server to run on Fedora 5... I think I got it setup correctly, but get these errors...
[root@localhost bin]# ./run.sh
=========================================================================
JBoss Bootstrap Environment
JBOSS_HOME: /home/email_server/1.0M4_usePageFalse
[root@localhost bin]# ./run.sh
=========================================================================
JBoss Bootstrap Environment
JBOSS_HOME: /home/email_server/1.0M4_usePageFalse
JAVA: /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/bin/java
JAVA_OPTS: -server -Xms128m -Xmx128m -Dprogram.name=run.sh
CLASSPATH: /home/email_server/1.0M4_usePageFalse/bin/run.jar:/usr/lib/jvm/java-1.4.2-gcj-1.4.
2.0/lib/tools.jar
=========================================================================
16:11:34,811 INFO [Server] Starting JBoss (MX MicroKernel)...
16:11:34,813 INFO [Server] Release ID: JBoss [Zion] 4.0.3SP1 (build: CVSTag=JBoss_4_0_3_SP1 da
te=200601171717)
16:11:34,816 INFO [Server] Home Dir: /home/email_server/1.0M4_usePageFalse
16:11:34,816 INFO [Server] Home URL: file:/home/email_server/1.0M4_usePageFalse/
16:11:34,818 INFO [Server] Patch URL: null
16:11:34,818 INFO [Server] Server Name: default
16:11:34,819 INFO [Server] Server Home Dir: /home/email_server/1.0M4_usePageFalse/server/defau
lt
16:11:34,819 INFO [Server] Server Home URL: file:/home/email_server/1.0M4_usePageFalse/server/
default/
16:11:34,820 INFO [Server] Server Temp Dir: /home/email_server/1.0M4_usePageFalse/server/defau
lt/tmp
16:11:34,821 INFO [Server] Root Deployment Filename: jboss-service.xml
16:11:36,660 INFO [ServerInfo] Java version: 1.4.2,Free Software Foundation, Inc.
16:11:36,661 INFO [ServerInfo] Java VM: GNU libgcj 4.1.1 20060525 (Red Hat 4.1.1-1),Free Softw
are Foundation, Inc.
16:11:36,662 INFO [ServerInfo] OS-System: Linux 2.6.17-1.2157_FC5smp,i386
16:11:37,088 WARN [ServiceController] Problem creating service jboss.system:service=MainDeploy
er
java.lang.NoClassDefFoundError: $Proxy1
at java.lang.Class.initializeClass(libgcj.so.7)
at java.lang.reflect.Field.set(libgcj.so.7)
at java.lang.reflect.Field.set(libgcj.so.7)
at java.lang.reflect.Field.set(libgcj.so.7)
at java.lang.reflect.Proxy$ClassFactory.generate(libgcj.so.7)
at java.lang.reflect.Proxy.getProxyClass(libgcj.so.7)
at java.lang.reflect.Proxy.newProxyInstance(libgcj.so.7)
at org.jboss.mx.util.MBeanProxyExt.create(MBeanProxyExt.java:345)
at org.jboss.mx.util.MBeanProxyExt.create(MBeanProxyExt.java:308)
at org.jboss.mx.util.MBeanProxyExt.create(MBeanProxyExt.java:294)
at org.jboss.system.server.ServerConfigLocator.locate(ServerConfigLocator.java:30)
at org.jboss.deployment.MainDeployer.createService(MainDeployer.java:461)
at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:246)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:228)
at java.lang.reflect.Method.invoke(libgcj.so.7)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943)
at $Proxy0.create(Unknown Source).invoke(Invocation.java:72)
at org.jboss.system.ServiceController.create(ServiceController.java:342)java:245)
at org.jboss.system.ServiceController.create(ServiceController.java:285)67)
at java.lang.reflect.Method.invoke(libgcj.so.7)Service(ServerImpl.java:535)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)5)5)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)a:738)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)her.java:141)
at org.jboss.system.server.ServerImpl.startBootService(ServerImpl.java:535)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:414)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:335)Invoker.java:245)
at org.jboss.Main.boot(Main.java:188)bgcj.so.7)BeanServerImpl.java:644)
at org.jboss.Main$1.run(Main.java:444).loadClass(MBeanProxyExt.java:325)
at java.lang.Thread.run(libgcj.so.7)ibgcj.so.7)
Caused by: java.lang.ClassNotFoundException: javax.management.MBeanServer
at java.lang.ClassLoader.findClass(libgcj.so.7)verImpl.java:335)
at java.lang.ClassLoader.loadClass(libgcj.so.7)ating service jboss.system:service=JARDeploye
at java.lang.ClassLoader.loadClass(libgcj.so.7)
at org.jboss.mx.util.MBeanProxyExt$1$1.loadClass(MBeanProxyExt.java:325)
at java.lang.Class.initializeClass(libgcj.so.7)
...35 moreng.reflect.Field.set(libgcj.so.7)
at java.lang.reflect.Field.set(libgcj.so.7)d not initialise deployment: file:/home/email_ser
16:11:37,592 WARN [ServiceController] Problem creating service jboss.system:service=JARDeploye
r at java.lang.reflect.Proxy$ClassFactory.generate(libgcj.so.7)
java.lang.NoClassDefFoundError: $Proxy2lass(libgcj.so.7)DeploymentException(DeploymentException
at java.lang.Class.initializeClass(libgcj.so.7)gcj.so.7)
at java.lang.reflect.Field.set(libgcj.so.7)BeanProxyExt.java:345))
at java.lang.reflect.Field.set(libgcj.so.7)BeanProxyExt.java:308))
at java.lang.reflect.Field.set(libgcj.so.7)BeanProxyExt.java:294))
at java.lang.reflect.Proxy$ClassFactory.generate(libgcj.so.7)onfigLocator.java:30)
at java.lang.reflect.Proxy.getProxyClass(libgcj.so.7)ice(SubDeployerSupport.java:91)
at java.lang.reflect.Proxy.newProxyInstance(libgcj.so.7)ate(ServiceMBeanSupport.java:246)
at org.jboss.mx.util.MBeanProxyExt.create(MBeanProxyExt.java:345)rviceMBeanSupport.java:228)
at org.jboss.mx.util.MBeanProxyExt.create(MBeanProxyExt.java:308)nvoker.java:245)
at org.jboss.mx.util.MBeanProxyExt.create(MBeanProxyExt.java:294)a:644)
at org.jboss.system.server.ServerConfigLocator.locate(ServerConfigLocator.java:30)1)
at org.jboss.deployment.SubDeployerSupport.createService(SubDeployerSupport.java:91)
at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:246)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:228)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at java.lang.reflect.Method.invoke(libgcj.so.7)oxy.invoke(ServiceController.java:943)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80).java:342)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)er.java:285)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)her.java:141)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943)
at $Proxy0.create(Unknown Source).invoke(Invocation.java:72)
at org.jboss.system.ServiceController.create(ServiceController.java:342)java:245)
at org.jboss.system.ServiceController.create(ServiceController.java:285)
at java.lang.reflect.Method.invoke(libgcj.so.7)Service(ServerImpl.java:535)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)5)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.system.server.ServerImpl.startBootService(ServerImpl.java:535)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:434)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:335)
at org.jboss.Main.boot(Main.java:188)bgcj.so.7)
at org.jboss.Main$1.run(Main.java:444).loadClass(MBeanProxyExt.java:325)
at java.lang.Thread.run(libgcj.so.7)ibgcj.so.7)
Caused by: java.lang.ClassNotFoundException: javax.management.MBeanServer
at java.lang.ClassLoader.findClass(libgcj.so.7)
at java.lang.ClassLoader.loadClass(libgcj.so.7)ating service jboss.system:service=ServiceDep
at java.lang.ClassLoader.loadClass(libgcj.so.7)
at org.jboss.mx.util.MBeanProxyExt$1$1.loadClass(MBeanProxyExt.java:325)
at java.lang.Class.initializeClass(libgcj.so.7)
...35 moreng.reflect.Field.set(libgcj.so.7)
at java.lang.reflect.Field.set(libgcj.so.7)
16:11:37,944 WARN [ServiceController] Problem creating service jboss.system:service=ServiceDep
loyer java.lang.reflect.Proxy$ClassFactory.generate(libgcj.so.7)
java.lang.NoClassDefFoundError: $Proxy3lass(libgcj.so.7)
at java.lang.Class.initializeClass(libgcj.so.7)gcj.so.7)
at java.lang.reflect.Field.set(libgcj.so.7)BeanProxyExt.java:345)
at java.lang.reflect.Field.set(libgcj.so.7)BeanProxyExt.java:308)
at java.lang.reflect.Field.set(libgcj.so.7)BeanProxyExt.java:294)
at java.lang.reflect.Proxy$ClassFactory.generate(libgcj.so.7)onfigLocator.java:30)
at java.lang.reflect.Proxy.getProxyClass(libgcj.so.7)ice(SubDeployerSupport.java:91)
at java.lang.reflect.Proxy.newProxyInstance(libgcj.so.7)ate(ServiceMBeanSupport.java:246)
at org.jboss.mx.util.MBeanProxyExt.create(MBeanProxyExt.java:345)rviceMBeanSupport.java:228)
at org.jboss.mx.util.MBeanProxyExt.create(MBeanProxyExt.java:308)
at org.jboss.mx.util.MBeanProxyExt.create(MBeanProxyExt.java:294)
at org.jboss.system.server.ServerConfigLocator.locate(ServerConfigLocator.java:30)1)
at org.jboss.deployment.SubDeployerSupport.createService(SubDeployerSupport.java:91)
at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:246)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:228)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at java.lang.reflect.Method.invoke(libgcj.so.7)oxy.invoke(ServiceController.java:943)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80).java:342)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)er.java:285)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)her.java:141)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943)
at $Proxy0.create(Unknown Source).invoke(Invocation.java:72)
at org.jboss.system.ServiceController.create(ServiceController.java:342)java:245)
at org.jboss.system.ServiceController.create(ServiceController.java:285)
at java.lang.reflect.Method.invoke(libgcj.so.7)Service(ServerImpl.java:535)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)5)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.system.server.ServerImpl.startBootService(ServerImpl.java:535)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:438)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:335)
at org.jboss.Main.boot(Main.java:188)bgcj.so.7)
at org.jboss.Main$1.run(Main.java:444).loadClass(MBeanProxyExt.java:325)
at java.lang.Thread.run(libgcj.so.7)ibgcj.so.7)
Caused by: java.lang.ClassNotFoundException: javax.management.MBeanServer
at java.lang.ClassLoader.findClass(libgcj.so.7)
at java.lang.ClassLoader.loadClass(libgcj.so.7)d
at java.lang.ClassLoader.loadClass(libgcj.so.7)ocal copy for file:/home/email_server/1.0M4_u
at org.jboss.mx.util.MBeanProxyExt$1$1.loadClass(MBeanProxyExt.java:325)
at java.lang.Class.initializeClass(libgcj.so.7)
...35 moreng.String.startsWith(libgcj.so.7)
at org.jboss.deployment.MainDeployer.inLocalCopyDir(MainDeployer.java:1167)
16:11:38,205 INFO [Server] Core system initializedpy(MainDeployer.java:1141)
16:11:38,357 ERROR [MainDeployer] Could not make local copy for file:/home/email_server/1.0M4_u
sePageFalse/server/default/conf/jboss-service.xmlinDeployer.java:780)
java.lang.NullPointerExceptionnDeployer.deploy(MainDeployer.java:755)
at java.lang.String.startsWith(libgcj.so.7)(MainDeployer.java:738)
at org.jboss.deployment.MainDeployer.inLocalCopyDir(MainDeployer.java:1167)
at org.jboss.deployment.MainDeployer.makeLocalCopy(MainDeployer.java:1141).java:141)
at org.jboss.deployment.MainDeployer.init(MainDeployer.java:823)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:780)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755)voker.java:245)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738):644)
at java.lang.reflect.Method.invoke(libgcj.so.7)ProxyExt.java:176)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)458)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)335)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy4.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:458)le:/home/email_server/1.0M
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:335)
at org.jboss.Main.boot(Main.java:188)
at org.jboss.Main$1.run(Main.java:444)so.7)
at java.lang.Thread.run(libgcj.so.7).inLocalCopyDir(MainDeployer.java:1167)
at org.jboss.deployment.MainDeployer.init(MainDeployer.java:897)
16:11:38,451 ERROR [MainDeployer] Could not initialise deployment: file:/home/email_server/1.0M
4_usePageFalse/server/default/conf/jboss-service.xmleployer.java:755)
java.lang.NullPointerExceptionnDeployer.deploy(MainDeployer.java:738)
at java.lang.String.startsWith(libgcj.so.7)o.7)
at org.jboss.deployment.MainDeployer.inLocalCopyDir(MainDeployer.java:1167)java:141)
at org.jboss.deployment.MainDeployer.init(MainDeployer.java:897)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:780)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755)voker.java:245)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738):644)
at java.lang.reflect.Method.invoke(libgcj.so.7)ProxyExt.java:176)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)458)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)335)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy4.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:458)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:335)oyment: file:/home/email_ser
at org.jboss.Main.boot(Main.java:188)nf/jboss-service.xml; - nested throwable: (java.lang.Nu
at org.jboss.Main$1.run(Main.java:444)
at java.lang.Thread.run(libgcj.so.7)ception.rethrowAsDeploymentException(DeploymentException
.java:39)
Failed to boot JBoss:yment.MainDeployer.deploy(MainDeployer.java:787)
org.jboss.deployment.DeploymentException: Could not initialise deployment: file:/home/email_ser
ver/1.0M4_usePageFalse/server/default/conf/jboss-service.xml; - nested throwable: (java.lang.Nu
llPointerException)lect.Method.invoke(libgcj.so.7)
at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException
.java:39).jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:787)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755)voker.java:245)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738):644)
at java.lang.reflect.Method.invoke(libgcj.so.7)ProxyExt.java:176)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)458)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)335)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy4.deploy(Unknown Source)ption
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:458)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:335).java:1167)
at org.jboss.Main.boot(Main.java:188)init(MainDeployer.java:897)
at org.jboss.Main$1.run(Main.java:444)eploy(MainDeployer.java:780)
at java.lang.Thread.run(libgcj.so.7)
Caused by: java.lang.NullPointerExceptionown hook called, forceHalt: true
at java.lang.String.startsWith(libgcj.so.7)deploying all packages
at org.jboss.deployment.MainDeployer.inLocalCopyDir(MainDeployer.java:1167)
at org.jboss.deployment.MainDeployer.init(MainDeployer.java:897)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:780)
...15 more
16:11:38,666 INFO [Server] Runtime shutdown hook called, forceHalt: true
16:11:38,667 INFO [Server] JBoss SHUTDOWN: Undeploying all packages
Shutting down
16:11:38,690 INFO [Server] Shutdown complete
Shutdown complete
Halting VM
[root@localhost bin]#
any help, comments, or suggestions would be greatly appreciated...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962652#3962652
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962652
18 years, 5 months
[JBoss jBPM] - Best way to structure a business process with a delay.
by brado
Hello -- I need your advice on the best way to structure a particular business process using jbpm 3.1.1. What the business process actually needs to accomplish is the following in order:
1) Save information to custom tables in the database.
2) Wait until midnight.
3) Retrieve the information saved in step 1 from the database, and perform an action based on that informaiton.
So far, I have tried to structure this with a simple business process with the following nodes:
start > saveInfo > createTimer > End
and another path in the business process that looks like this:
performAction > End
I have 3 questions regarding this:
1) First, I am able to create a timer and save the timer to the scheduler. The business process instance is saved prior to the business process executing and after as well. However, there is nothing saved to the JBPM_TIMER table in the database. How can I get the timers that are created (not on a task, as there is no human intervention needed, but in a process node) to save to the database?
2) My timer is set to transition to my performAction node. However, the business process has ended, by merits of completing the saving of the timer and traversing the end node. Will the timer appropriately transition to the performAction node? I'm sensing it will not, and there's probably a more appropriate way to structure this.
3) How would you structure this requirement?
Thanks a lot for your help. If there is specific documentation that addresses this, please direct me to it, as I haven't found the answers readily in the documentation.
Thanks,
Brad
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962649#3962649
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962649
18 years, 5 months