[JBoss jBPM] - Server restart fails after bp deployment
by pkovgan
Hi,
My jboss 4.0.4.GA (default configuration) fails to restart after bpel process deployment.
Process works fine, but after restart server comes to lines below and fails to proceed further.
Server does not move from this point and also no errors or warnings appear.
If I delete BP from deploy directory - it able to restart.
What may be a cause for the problem?
Listening for transport dt_socket at address: 8787
| 08:47:47,474 INFO [Server] Starting JBoss (MX MicroKernel)...
| 08:47:47,474 INFO [Server] Release ID: JBoss [Zion] 4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)
| 08:47:47,484 INFO [Server] Home Dir: C:\t_dir\servers\jboss-4.0.4.GA
| 08:47:47,484 INFO [Server] Home URL: file:/C:/t_dir/servers/jboss-4.0.4.GA/
| 08:47:47,484 INFO [Server] Patch URL: null
| 08:47:47,494 INFO [Server] Server Name: default
| 08:47:47,494 INFO [Server] Server Home Dir: C:\t_dir\servers\jboss-4.0.4.GA\server\default
| 08:47:47,494 INFO [Server] Server Home URL: file:/C:/t_dir/servers/jboss-4.0.4.GA/server/default/
| 08:47:47,494 INFO [Server] Server Log Dir: C:\t_dir\servers\jboss-4.0.4.GA\server\default\log
| 08:47:47,494 INFO [Server] Server Temp Dir: C:\t_dir\servers\jboss-4.0.4.GA\server\default\tmp
| 08:47:47,494 INFO [Server] Root Deployment Filename: jboss-service.xml
| 08:47:47,915 INFO [ServerInfo] Java version: 1.5.0_06,Sun Microsystems Inc.
| 08:47:47,915 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_06-b05,Sun Microsystems Inc.
| 08:47:47,915 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
| 08:47:48,806 INFO [Server] Core system initialized
| 08:47:51,019 INFO [WebService] Using RMI server codebase: http://TLVD60155051A:8083/
| 08:47:51,059 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
| 08:47:51,460 INFO [NamingService] JNDI bootstrap JNP=/0.0.0.0:1099, RMI=/0.0.0.0:1098, backlog=50, no client SocketFactory, Server SocketFactory=class org.jboss.net.sockets.DefaultSock
| etFactory
| 08:47:55,836 INFO [Embedded] Catalina naming disabled
| 08:47:55,946 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set.
| 08:47:55,946 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set.
| 08:47:56,537 INFO [Http11BaseProtocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
| 08:47:56,537 INFO [Catalina] Initialization processed in 591 ms
| 08:47:56,537 INFO [StandardService] Starting service jboss.web
| 08:47:56,547 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.17
| 08:47:56,627 INFO [StandardHost] XML validation disabled
| 08:47:56,667 INFO [Catalina] Server startup in 130 ms
| 08:47:56,878 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/
| 08:47:57,819 INFO [WebappLoader] Dual registration of jndi stream handler: factory already defined
| 08:47:58,680 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jbossweb-tomcat55.sar/ROOT.war/
| 08:47:59,752 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../tmp/deploy/tmp40016jbossws-exp.war/
| 08:48:00,172 INFO [SubscriptionManager] Bound event dispatcher to java:/EventDispatcher
| 08:48:00,973 INFO [TomcatDeployer] deploy, ctxPath=/jbpm-bpel, warUrl=.../tmp/deploy/tmp40024jbpm-bpel-exp.war/
| 08:48:01,434 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
| 08:48:06,181 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
| 08:48:07,743 INFO [MailService] Mail Service bound to java:/Mail
| 08:48:08,194 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
| 08:48:08,294 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
| 08:48:08,364 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
| 08:48:08,434 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=jbpmBpelDS' to JNDI name 'java:jbpmBpelDS'
| 08:48:08,444 INFO [JbpmConfiguration] using jbpm configuration resource 'jbpm.cfg.xml'
| 08:48:08,604 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
| 08:48:08,705 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar
| 08:48:08,785 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar
| 08:48:09,195 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
| 08:48:09,616 INFO [A] Bound to JNDI name: queue/A
| 08:48:09,616 INFO [B] Bound to JNDI name: queue/B
| 08:48:09,626 INFO [C] Bound to JNDI name: queue/C
| 08:48:09,626 INFO [D] Bound to JNDI name: queue/D
| 08:48:09,636 INFO [ex] Bound to JNDI name: queue/ex
| 08:48:09,906 INFO [testTopic] Bound to JNDI name: topic/testTopic
| 08:48:09,916 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
| 08:48:09,916 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
| 08:48:09,916 INFO [testQueue] Bound to JNDI name: queue/testQueue
| 08:48:10,006 INFO [UILServerILService] JBossMQ UIL service available at : /0.0.0.0:8093
| 08:48:10,107 INFO [DLQ] Bound to JNDI name: queue/DLQ
| 08:48:10,407 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4004478#4004478
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4004478
19 years, 3 months
[JBoss Seam] - jboss-seam-1.1.0.GA embedded ejb container won't run
by bfayle
I have downloaded the most recent SEAM release and can successfully build the example applications, deploy them and run them.
However, if I try and run any of the tests:
ant testexample
on any of the projects the tests fail when trying to launch the embedded JBoss container. I'm running jdk1.5.0_05 on Windows XP.
I would expect this to work - there's really not many variables here - just SEAM and Java.
I get the following error:
| [testng] 23:16:44,450 INFO [Component] Component: register, scope: STATELESS, type: STATELESS_SESSION_BEAN, class: org.jboss.seam.example.registration.RegisterAction, JNDI: RegisterAction/local
| [testng] 23:16:44,465 INFO [Lifecycle] starting up: org.jboss.seam.core.ejb
| [testng] 23:16:44,465 INFO [Ejb] starting the embedded EJB container
| [testng] 23:16:44,732 ERROR [Util] Failed to create schema loader.
| [testng] java.lang.ClassCastException: org.apache.xerces.dom.DOMXSImplementationSourceImpl
| [testng] at org.w3c.dom.bootstrap.DOMImplementationRegistry.newInstance(DOMImplementationRegistry.java:144)
| [testng] at org.jboss.xb.binding.Util$2.run(Util.java:506)
| [testng] at java.security.AccessController.doPrivileged(Native Method)
| [testng] at org.jboss.xb.binding.Util.getXSImplementation(Util.java:482)
| [testng] at org.jboss.xb.binding.Util.loadSchema(Util.java:381)
| [testng] at org.jboss.xb.binding.sunday.unmarshalling.XsdBinder.bind(XsdBinder.java:177)
| [testng] at org.jboss.xb.binding.sunday.unmarshalling.XsdBinder.bind(XsdBinder.java:148)
| [testng] at org.jboss.xb.binding.sunday.unmarshalling.DefaultSchemaResolver.resolve(DefaultSchemaResolver.java:248)
| [testng] at org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.startElement(SundayContentHandler.java:159)
| [testng] at org.jboss.xb.binding.parser.sax.SaxJBossXBParser$DelegatingContentHandler.startElement(SaxJBossXBParser.java:299)
| [testng] at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
| [testng] at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
| [testng] at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown Source)
| [testng] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
| [testng] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
| [testng] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
| [testng] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
| [testng] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
| [testng] at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
| [testng] at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:124)
| [testng] at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:132)
| [testng] at org.jboss.kernel.plugins.deployment.xml.BeanXMLDeployer.deploy(BeanXMLDeployer.java:85)
| [testng] at org.jboss.ejb3.embedded.EJB3StandaloneBootstrap.boot(EJB3StandaloneBootstrap.java:380)
| [testng] at org.jboss.seam.core.Ejb.startup(Ejb.java:42)
| [testng] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| [testng] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| [testng] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| [testng] at java.lang.reflect.Method.invoke(Method.java:585)
| [testng] at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
| [testng] at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:102)
| [testng] at org.jboss.seam.Component.callComponentMethod(Component.java:1791)
| [testng] at org.jboss.seam.Component.callCreateMethod(Component.java:1739)
| [testng] at org.jboss.seam.Component.newInstance(Component.java:1728)
| [testng] at org.jboss.seam.contexts.Lifecycle.startup(Lifecycle.java:152)
| [testng] at org.jboss.seam.contexts.Lifecycle.endInitialization(Lifecycle.java:126)
| [testng] at org.jboss.seam.init.Initialization.init(Initialization.java:430)
| [testng] at org.jboss.seam.mock.SeamTest.init(SeamTest.java:686)
| [testng] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| [testng] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| [testng] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| [testng] at java.lang.reflect.Method.invoke(Method.java:585)
| [testng] at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:529)
| [testng] at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:311)
| [testng] at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:149)
| [testng] at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:77)
| [testng] at org.testng.TestRunner.privateRun(TestRunner.java:614)
| [testng] at org.testng.TestRunner.run(TestRunner.java:505)
| [testng] at org.testng.SuiteRunner.privateRun(SuiteRunner.java:221)
| [testng] at org.testng.SuiteRunner.run(SuiteRunner.java:147)
| [testng] at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:576)
| [testng] at org.testng.TestNG.runSuitesLocally(TestNG.java:539)
| [testng] at org.testng.TestNG.run(TestNG.java:316)
| [testng] at org.testng.TestNG.privateMain(TestNG.java:666)
| [testng] at org.testng.TestNG.main(TestNG.java:608)
| [testng] Creating D:\dev\seam\jboss-seam-1.1.0.GA\examples\registration\test-output\Register.html
| [testng] FAILED: org.jboss.seam.mock.SeamTest.init()
| [testng] java.lang.RuntimeException: org.jboss.xb.binding.JBossXBException: Failed to parse source: file:/D:/dev/seam/jboss-seam-1.1.0.GA/embedded-ejb/conf/embedded-jboss-beans.xml@5,45
| [testng] at org.jboss.ejb3.embedded.EJB3StandaloneBootstrap.boot(EJB3StandaloneBootstrap.java:391)
| [testng] at org.jboss.seam.core.Ejb.startup(Ejb.java:42)
| [testng] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| [testng] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| [testng] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| [testng] at java.lang.reflect.Method.invoke(Method.java:585)
| [testng] at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
| [testng] at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:102)
| [testng] at org.jboss.seam.Component.callComponentMethod(Component.java:1791)
| [testng] at org.jboss.seam.Component.callCreateMethod(Component.java:1739)
| [testng] at org.jboss.seam.Component.newInstance(Component.java:1728)
| [testng] at org.jboss.seam.contexts.Lifecycle.startup(Lifecycle.java:152)
| [testng] at org.jboss.seam.contexts.Lifecycle.endInitialization(Lifecycle.java:126)
| [testng] at org.jboss.seam.init.Initialization.init(Initialization.java:430)
| [testng] at org.jboss.seam.mock.SeamTest.init(SeamTest.java:686)
| [testng] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| [testng] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| [testng] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| [testng] at java.lang.reflect.Method.invoke(Method.java:585)
| [testng] at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:529)
| [testng] at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:311)
| [testng] at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:149)
| [testng] at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:77)
| [testng] at org.testng.TestRunner.privateRun(TestRunner.java:614)
| [testng] at org.testng.TestRunner.run(TestRunner.java:505)
| [testng] at org.testng.SuiteRunner.privateRun(SuiteRunner.java:221)
| [testng] at org.testng.SuiteRunner.run(SuiteRunner.java:147)
| [testng] at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:576)
| [testng] at org.testng.TestNG.runSuitesLocally(TestNG.java:539)
| [testng] at org.testng.TestNG.run(TestNG.java:316)
| [testng] at org.testng.TestNG.privateMain(TestNG.java:666)
| [testng] at org.testng.TestNG.main(TestNG.java:608)
| [testng] Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: file:/D:/dev/seam/jboss-seam-1.1.0.GA/embedded-ejb/conf/embedded-jboss-beans.xml@5,45
| [testng] at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:128)
| [testng] at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:132)
| [testng] at org.jboss.kernel.plugins.deployment.xml.BeanXMLDeployer.deploy(BeanXMLDeployer.java:85)
| [testng] at org.jboss.ejb3.embedded.EJB3StandaloneBootstrap.boot(EJB3StandaloneBootstrap.java:380)
| [testng] ... 31 more
| [testng] Caused by: java.lang.IllegalStateException: Failed to create schema loader: org.apache.xerces.dom.DOMXSImplementationSourceImpl
| [testng] at org.jboss.xb.binding.Util$2.run(Util.java:512)
| [testng] at java.security.AccessController.doPrivileged(Native Method)
| [testng] at org.jboss.xb.binding.Util.getXSImplementation(Util.java:482)
| [testng] at org.jboss.xb.binding.Util.loadSchema(Util.java:381)
| [testng] at org.jboss.xb.binding.sunday.unmarshalling.XsdBinder.bind(XsdBinder.java:177)
| [testng] at org.jboss.xb.binding.sunday.unmarshalling.XsdBinder.bind(XsdBinder.java:148)
| [testng] at org.jboss.xb.binding.sunday.unmarshalling.DefaultSchemaResolver.resolve(DefaultSchemaResolver.java:248)
| [testng] at org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.startElement(SundayContentHandler.java:159)
| [testng] at org.jboss.xb.binding.parser.sax.SaxJBossXBParser$DelegatingContentHandler.startElement(SaxJBossXBParser.java:299)
| [testng] at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
| [testng] at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
| [testng] at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown Source)
| [testng] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
| [testng] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
| [testng] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
| [testng] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
| [testng] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
| [testng] at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
| [testng] at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:124)
| [testng] ... 34 more
|
I'm stumped - anyone got any ideas?
Benj
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4004463#4004463
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4004463
19 years, 3 months
[Messaging, JMS & JBossMQ] - Re: JbossMQ problem opening MQ cluster queue
by Byorn
To use the singleton fail-over HA-JMS service, you must configure JMS services identically on all nodes in the
cluster. That includes all JMS related service MBeans and all deployed JMS applications.
The JMS server is configured to persist its data in the DefaultDS. By default, that is the embedded HSQLDB. In
most cluster environments, however, all nodes need to persist data against a shared database. So, the first thing to
do before you start clustered JMS is to setup a shared database for JMS. You need to do the following:
? Configure DefaultDS to point to the database server of your choice. That is to replace the deploy/
hsqlsb-ds.xml file with the xxx-ds.xml file in the docs/examples/jca directory, where xxx is the name of the
target shared database (e.g., mysql-ds.xml).
? Replace the hsqldb-jdbc2-service.xml file under the server/all/deploy-hasingleton/jms directory with
one tuned to the specific database. For example if you use MySQL the file is mysql-jdbc2-service.xml. Configuration
files for a number of RDBMS are bundled with the JBoss AS distribution. They can be found under
docs/examples/jms.
Note
There is no need to replace the hsqldb-jdbc-state-service.xml file under the server/
all/deploy-hasingleton/jms directory. Despite the hsql in its name, it works with all SQL92 compliant
databases, including HSQL, MySQL, SQL Server, and more. It automatically uses the DefaultDS for storage,
as we configured above.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4004459#4004459
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4004459
19 years, 3 months