[JBoss Seam] - Re: Seam components in different jars
by Ci
I have a similar problem, a component is in the second jar.
Seam from cvs, JBoss 4.0.5.GA.
Component(a)Scope(ScopeType.STATELESS)
| @Name("localeStuff")
| @Intercept(InterceptionType.NEVER)
| public class LocaleStuff {
| public void select(ValueChangeEvent event) {...}
| }
lives in add.jar. It is set up similar to jboss-seam.jar in application.xml:
...
| <module>
| <java>jboss-seam.jar</java>
| </module>
|
| <module>
| <java>add.jar</java>
| </module>
| ...
The add.jar is put into ear file as jboss-seam.jar is.
The component is used in xhtml file:
...
| <h:selectOneMenu valueChangeListener="#{localeStuff.select}"
| onchange="submit();" styleClass="smallselect">
| <f:selectItems value="#{localeSelector.supportedLocales}"/>
| </h:selectOneMenu>
| ...
But when I access a page, I had:
/abc.xhtml @40,72 valueChangeListener="#{localeStuff.select}": Target Unreachable, identifier 'localeStuff' resolved to null
Can components be put into different jars and how to do it correctly?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985832#3985832
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985832
19Â years, 8Â months
[JBoss Messaging] - NullPointerException in org.jboss.remoting.Lease.notifyClien
by rtm333
We are using Messaging 1.0.1.GA with JBoss 4.0.5.GA. We are experiencing a serious problem that prevents further client connections to JMS. It can be reproduced by the following steps:
1. Start JBoss (standard messaging configuration).
| 2. Start a JMS topic subscriber.
| 3. Shutdown JBoss (client ExceptionListener is triggered, no action, client remains running).
| 4. Restart JBoss.
| 5. Stop JMS topic subscriber.
| 6. After about a minute JBoss throws a NullPointerException.
| 7. No further JMS connections will be accepted by the server.
|
|
| This is the server side exception from step 6:
|
|
| | Exception in thread "Timer-1"
| | java.lang.NullPointerException
| | at org.jboss.remoting.Lease.notifyClientLost(Lease.java:211)
| | at org.jboss.remoting.Lease.access$300(Lease.java:39)
| | at org.jboss.remoting.Lease$LeaseTimerTask.run(Lease.java:242)
| | at java.util.TimerThread.mainLoop(Timer.java:512)
| | at java.util.TimerThread.run(Timer.java:462)
| |
|
| This is the exception that is thrown when a new JMS client tries to connect in step 7:
|
|
| | [java] java.lang.RuntimeException: Error setting up client lease upon performing connect.
| | [java] at org.jboss.remoting.Client.connect(Client.java:394)
| | [java] at org.jboss.remoting.Client.connect(Client.java:380)
| | [java] at org.jboss.jms.client.remoting.JMSRemotingConnection.start(JMSRemotingConnection.java:99)
| | [java] at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.invoke(ClientConnectionFactoryDelegate.java:159)
| | [java] at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_N6840474864420126404.invokeNext(ClientConnectionFactoryDelegate$createConnectionDelegate_N6840474864420126404.java)
| | [java] at org.jboss.jms.client.container.StateCreationAspect.handleCreateConnectionDelegate(StateCreationAspect.java:81)
| | [java] at org.jboss.aop.advice.org.jboss.jms.client.container.StateCreationAspect0.invoke(StateCreationAspect0.java)
| | [java] at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_N6840474864420126404.invokeNext(ClientConnectionFactoryDelegate$createConnectionDelegate_N6840474864420126404.java)
| | [java] at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69)
| | [java] at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_N6840474864420126404.invokeNext(ClientConnectionFactoryDelegate$createConnectionDelegate_N6840474864420126404.java)
| | [java] at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107)
| | [java] at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_N6840474864420126404.invokeNext(ClientConnectionFactoryDelegate$createConnectionDelegate_N6840474864420126404.java)
| | [java] at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.createConnectionDelegate(ClientConnectionFactoryDelegate.java)
| | [java] at org.jboss.jms.client.JBossConnectionFactory.createConnectionInternal(JBossConnectionFactory.java:202)
| | [java] at org.jboss.jms.client.JBossConnectionFactory.createTopicConnection(JBossConnectionFactory.java:120)
| | [java] at org.jboss.jms.client.JBossConnectionFactory.createTopicConnection(JBossConnectionFactory.java:115)
| | [java] at testjms.JmsTestDriver.<init>(JmsTestDriver.java:31)
| | [java] at testjms.TestTopicSubscriber.<init>(TestTopicSubscriber.java:5)
| | [java] at testjms.TestTopicSubscriber.main(TestTopicSubscriber.java:35)
| | [java] Caused by: java.lang.Exception: Error setting up client lease.
| | [java] at org.jboss.remoting.MicroRemoteClientInvoker.establishLease(MicroRemoteClientInvoker.java:393)
| | [java] at org.jboss.remoting.Client.setupClientLease(Client.java:481)
| | [java] at org.jboss.remoting.Client.connect(Client.java:390)
| | [java] ... 18 more
| | [java] Caused by: java.lang.IllegalStateException: Timer already cancelled.
| | [java] at java.util.Timer.sched(Timer.java:354)
| | [java] at java.util.Timer.schedule(Timer.java:222)
| | [java] at org.jboss.remoting.util.TimerUtil.schedule(TimerUtil.java:27)
| | [java] at org.jboss.remoting.Lease.startLease(Lease.java:80)
| | [java] at org.jboss.remoting.ServerInvoker.updateClientLease(ServerInvoker.java:1086)
| | [java] at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:946)
| | [java] at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:857)
| | [java] at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:454)
| | [java] at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:541)
| | [java] at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:261)
| | [java] at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:172)
| | [java] at org.jboss.remoting.MicroRemoteClientInvoker.establishLease(MicroRemoteClientInvoker.java:362)
| | [java] ... 20 more
| | [java] 16:17:41,952 ERROR [ExceptionInterceptor] Cause of exception:
| | [java] java.lang.Exception: Error setting up client lease.
| | [java] at org.jboss.remoting.MicroRemoteClientInvoker.establishLease(MicroRemoteClientInvoker.java:393)
| | [java] at org.jboss.remoting.Client.setupClientLease(Client.java:481)
| | [java] at org.jboss.remoting.Client.connect(Client.java:390)
| | [java] at org.jboss.remoting.Client.connect(Client.java:380)
| | [java] at org.jboss.jms.client.remoting.JMSRemotingConnection.start(JMSRemotingConnection.java:99)
| | [java] at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.invoke(ClientConnectionFactoryDelegate.java:159)
| | [java] at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_N6840474864420126404.invokeNext(ClientConnectionFactoryDelegate$createConnectionDelegate_N6840474864420126404.java)
| | [java] at org.jboss.jms.client.container.StateCreationAspect.handleCreateConnectionDelegate(StateCreationAspect.java:81)
| | [java] at org.jboss.aop.advice.org.jboss.jms.client.container.StateCreationAspect0.invoke(StateCreationAspect0.java)
| | [java] at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_N6840474864420126404.invokeNext(ClientConnectionFactoryDelegate$createConnectionDelegate_N6840474864420126404.java)
| | [java] at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69)
| | [java] at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_N6840474864420126404.invokeNext(ClientConnectionFactoryDelegate$createConnectionDelegate_N6840474864420126404.java)
| | [java] at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107)
| | [java] at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_N6840474864420126404.invokeNext(ClientConnectionFactoryDelegate$createConnectionDelegate_N6840474864420126404.java)
| | [java] at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.createConnectionDelegate(ClientConnectionFactoryDelegate.java)
| | [java] at org.jboss.jms.client.JBossConnectionFactory.createConnectionInternal(JBossConnectionFactory.java:202)
| | [java] at org.jboss.jms.client.JBossConnectionFactory.createTopicConnection(JBossConnectionFactory.java:120)
| | [java] at org.jboss.jms.client.JBossConnectionFactory.createTopicConnection(JBossConnectionFactory.java:115)
| | [java] at testjms.JmsTestDriver.<init>(JmsTestDriver.java:31)
| | [java] at testjms.TestTopicSubscriber.<init>(TestTopicSubscriber.java:5)
| | [java] at testjms.TestTopicSubscriber.main(TestTopicSubscriber.java:35)
| | [java] Caused by: java.lang.IllegalStateException: Timer already cancelled.
| | [java] at java.util.Timer.sched(Timer.java:354)
| | [java] at java.util.Timer.schedule(Timer.java:222)
| | [java] at org.jboss.remoting.util.TimerUtil.schedule(TimerUtil.java:27)
| | [java] at org.jboss.remoting.Lease.startLease(Lease.java:80)
| | [java] at org.jboss.remoting.ServerInvoker.updateClientLease(ServerInvoker.java:1086)
| | [java] at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:946)
| | [java] at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:857)
| | [java] at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:454)
| | [java] at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:541)
| | [java] at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:261)
| | [java] at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:172)
| | [java] at org.jboss.remoting.MicroRemoteClientInvoker.establishLease(MicroRemoteClientInvoker.java:362)
| | [java] javax.jms.IllegalStateException: Error setting up client lease upon performing connect.
| | [java] at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:91)
| | [java] at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_N6840474864420126404.invokeNext(ClientConnectionFactoryDelegate$createConnectionDelegate_N6840474864420126404.java)
| | [java] ... 20 more
| | [java] 16:17:42,718 ERROR [ExceptionInterceptor] Cause of exception:
| | [java] java.lang.IllegalStateException: Timer already cancelled.
| | [java] at java.util.Timer.sched(Timer.java:354)
| | [java] at java.util.Timer.schedule(Timer.java:222)
| | [java] at org.jboss.remoting.util.TimerUtil.schedule(TimerUtil.java:27)
| | [java] at org.jboss.remoting.Lease.startLease(Lease.java:80)
| | [java] at org.jboss.remoting.ServerInvoker.updateClientLease(ServerInvoker.java:1086)
| | [java] at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:946)
| | [java] at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:857)
| | [java] at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:454)
| | [java] at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:541)
| | [java] at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:261)
| | [java] at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:172)
| | [java] at org.jboss.remoting.MicroRemoteClientInvoker.establishLease(MicroRemoteClientInvoker.java:362)
| | [java] at org.jboss.remoting.Client.setupClientLease(Client.java:481)
| | [java] at org.jboss.remoting.Client.connect(Client.java:390)
| | [java] at org.jboss.remoting.Client.connect(Client.java:380)
| | [java] at org.jboss.jms.client.remoting.JMSRemotingConnection.start(JMSRemotingConnection.java:99)
| | [java] at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.invoke(ClientConnectionFactoryDelegate.java:159)
| | [java] at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_N6840474864420126404.invokeNext(ClientConnectionFactoryDelegate$createConnectionDelegate_N6840474864420126404.java)
| | [java] at org.jboss.jms.client.container.StateCreationAspect.handleCreateConnectionDelegate(StateCreationAspect.java:81)
| | [java] at org.jboss.aop.advice.org.jboss.jms.client.container.StateCreationAspect0.invoke(StateCreationAspect0.java)
| | [java] at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_N6840474864420126404.invokeNext(ClientConnectionFactoryDelegate$createConnectionDelegate_N6840474864420126404.java)
| | [java] at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69)
| | [java] at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_N6840474864420126404.invokeNext(ClientConnectionFactoryDelegate$createConnectionDelegate_N6840474864420126404.java)
| | [java] at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107)
| | [java] at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_N6840474864420126404.invokeNext(ClientConnectionFactoryDelegate$createConnectionDelegate_N6840474864420126404.java)
| | [java] at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.createConnectionDelegate(ClientConnectionFactoryDelegate.java)
| | [java] at org.jboss.jms.client.JBossConnectionFactory.createConnectionInternal(JBossConnectionFactory.java:202)
| | [java] at org.jboss.jms.client.JBossConnectionFactory.createTopicConnection(JBossConnectionFactory.java:120)
| | [java] at org.jboss.jms.client.JBossConnectionFactory.createTopicConnection(JBossConnectionFactory.java:115)
| | [java] at testjms.JmsTestDriver.<init>(JmsTestDriver.java:31)
| | [java] at testjms.TestTopicSubscriber.<init>(TestTopicSubscriber.java:5)
| | [java] at testjms.TestTopicSubscriber.main(TestTopicSubscriber.java:35)
| | [java] at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107)
| | [java] at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_N6840474864420126404.invokeNext(ClientConnectionFactoryDelegate$createConnectionDelegate_N6840474864420126404.java)
| | [java] at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.createConnectionDelegate(ClientConnectionFactoryDelegate.java)
| | [java] at org.jboss.jms.client.JBossConnectionFactory.createConnectionInternal(JBossConnectionFactory.java:202)
| | [java] at org.jboss.jms.client.JBossConnectionFactory.createTopicConnection(JBossConnectionFactory.java:120)
| | [java] at org.jboss.jms.client.JBossConnectionFactory.createTopicConnection(JBossConnectionFactory.java:115)
| | [java] at testjms.JmsTestDriver.<init>(JmsTestDriver.java:31)
| | [java] at testjms.TestTopicSubscriber.<init>(TestTopicSubscriber.java:5)
| | [java] at testjms.TestTopicSubscriber.main(TestTopicSubscriber.java:35)
| |
|
| TRACE output for remoting on the server indicates that the previous client lease is re-established early during step 4. I suppose the server's lease registration gets disturbed when the client is finally terminated in step 5.
|
| This is a major show stopper for us, as any client kept running during a server restart and terminated subsequently will render the JMS server unusable.
|
| Any suggestions appreciated.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985830#3985830
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985830
19Â years, 8Â months
[JBoss Portal] - Building 2.4.0 from source Fails
by walbar
Hi,
I am trying to compile JBoss Portal 2.4.0 from source. I downloaded it and following the manual I executed:
build datasource
getting the following:
C:\java\jboss-portal-2.4.0-src\core>build datasource
| Executing C:\java\jboss-portal-2.4.0-src\core\..\tools\bin\ant.bat -logger org.
| apache.tools.ant.NoBannerLogger datasource
| Buildfile: build.xml
|
| _buildmagic:init:
| Trying to override old definition of task property
|
| BUILD FAILED
| C:\java\jboss-portal-2.4.0-src\tools\etc\buildfragments\libraries.ent:3: Could n
| ot create task or type of type: target.
|
| Ant could not find the task or a class this task relies upon.
|
| This is common and has a number of causes; the usual
| solutions are to read the manual pages then download and
| install needed JAR files, or fix the build file:
| - You have misspelt 'target'.
| Fix: check your spelling.
| - The task needs an external JAR file to execute
| and this is not found at the right place in the classpath.
| Fix: check the documentation for dependencies.
| Fix: declare the task.
| - The task is an Ant optional task and the JAR file and/or libraries
| implementing the functionality were not found at the time you
| yourself built your installation of Ant from the Ant sources.
| Fix: Look in the ANT_HOME/lib for the 'ant-' JAR corresponding to the
| task and make sure it contains more than merely a META-INF/MANIFEST.MF.
| If all it contains is the manifest, then rebuild Ant with the needed
| libraries present in ${ant.home}/lib/optional/ , or alternatively,
| download a pre-built release version from apache.org
| - The build file was written for a later version of Ant
| Fix: upgrade to at least the latest release version of Ant
| - The task is not an Ant core or optional task
| and needs to be declared using <taskdef>.
| - You are attempting to use a task defined using
| <presetdef> or <macrodef> but have spelt wrong or not
| defined it at the point of use
|
| Remember that for JAR files to be visible to Ant tasks implemented
| in ANT_HOME/lib, the files must be in the same directory or on the
| classpath
|
| Please neither file bug reports on this problem, nor email the
| Ant mailing lists, until all of these causes have been explored,
| as this is not an Ant bug.
|
| Total time: 1 second
| Press any key to continue . . .
|
Then, guessing what it should do I copied the files by hand and executed:
C:\java\jboss-portal-2.4.0-src\build>build deploy
and after few seconds I get:
| ==============================================================
| ==
| == Executing 'most' in module 'core'...
| ==
| ==
|
| _buildmagic:init:
| Trying to override old definition of task moduleconfig
| Trying to override old definition of task execmodules
| Trying to override old definition of task resolveproperties
| Trying to override old definition of task require
| Trying to override old definition of task propertyfilter
| Trying to override old definition of task call
| Trying to override old definition of task resolver
| Trying to override old definition of task property
|
| _buildmagic:init:project-local-properties:
|
| configure:
|
| BUILD FAILED
| C:\java\jboss-portal-2.4.0-src\tools\etc\buildfragments\buildmagic.ent:249: The
| following error occurred while executing this line:
| C:\java\jboss-portal-2.4.0-src\tools\etc\buildfragments\libraries.ent:5: Could n
| ot create task or type of type: target.
|
| Ant could not find the task or a class this task relies upon.
|
| This is common and has a number of causes; the usual
| solutions are to read the manual pages then download and
| install needed JAR files, or fix the build file:
| - You have misspelt 'target'.
| Fix: check your spelling.
| - The task needs an external JAR file to execute
| and this is not found at the right place in the classpath.
| Fix: check the documentation for dependencies.
| Fix: declare the task.
| - The task is an Ant optional task and the JAR file and/or libraries
| implementing the functionality were not found at the time you
| yourself built your installation of Ant from the Ant sources.
| Fix: Look in the ANT_HOME/lib for the 'ant-' JAR corresponding to the
| task and make sure it contains more than merely a META-INF/MANIFEST.MF.
| If all it contains is the manifest, then rebuild Ant with the needed
| libraries present in ${ant.home}/lib/optional/ , or alternatively,
| download a pre-built release version from apache.org
| - The build file was written for a later version of Ant
| Fix: upgrade to at least the latest release version of Ant
| - The task is not an Ant core or optional task
| and needs to be declared using <taskdef>.
| - You are attempting to use a task defined using
| <presetdef> or <macrodef> but have spelt wrong or not
| defined it at the point of use
|
| Remember that for JAR files to be visible to Ant tasks implemented
| in ANT_HOME/lib, the files must be in the same directory or on the
| classpath
|
| Please neither file bug reports on this problem, nor email the
| Ant mailing lists, until all of these causes have been explored,
| as this is not an Ant bug.
|
| Total time: 29 seconds
|
I tried many ANT options and possibilities but nothing seems to work. I would like to know if someone had this problem before and/or can give me a hint of what is going wrong.
Thanks in advance,
Waldemar
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985828#3985828
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985828
19Â years, 8Â months
[JBoss AOP] - Re: How can we pintcut JBoss classes?
by mskonda
Thanks for quick anwer Kabir!
i. I have included org.jnp.server in AspectManagerService
ii. Loadtime weaving is turned on
iii. call is changed to execution
However, there's seems no interceptor is invoked Kabir. Here's my jboss-aop.xml:
| <?xml version="1.0" encoding="UTF-8"?>
| <aop>
| <bind pointcut="execution(* org.jnp.server.NamingServer->setBinding(..))">
| <interceptor class="com.cmi2.facility.jndi.aop.SimpleInterceptor" />
| </bind>
| </aop>
|
I did run the example injboss StandardMBean and everything seems fine!
Infact I have added the (below) pointcut to the MBean to intercept calls to NamingServer (for a quick test)
| <bind pointcut="execution(* org.jnp.server.NamingServer->setBinding(..))">
| <interceptor class="org.jboss.injbossaop.lib.SimpleInterceptor" />
| </bind>
|
I run a test client to do a JNDI bind - but nothing happens!!
Any ideas?
Thanks
/M
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985825#3985825
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985825
19Â years, 8Â months
[JBoss jBPM] - Simple WS <invoke> causes NullPointerException. Why?? Please
by pkovgan
Hi!
I have extended hello example by my invoke to my web service.
and I failed to invoke my web service.
I know exacly, that I failed upon invoked, I checked it!
Please, help!!!
I do receive, assign, invoke, reply.
hello.bpel:
| <?xml version="1.0" encoding="UTF-8"?>
| <process name="HelloWorld"
| targetNamespace="http://jbpm.org/examples/hello"
| xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
| xmlns:tns="http://jbpm.org/examples/hello"
| xmlns:bpel="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
| xmlns:apns="http://client/com/sap/xtp/customer"
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
| xsi:schemaLocation="http://schemas.xmlsoap.org/ws/2003/03/business-process/
| http://schemas.xmlsoap.org/ws/2003/03/business-process/">
|
| <partnerLinks>
| <partnerLink name="caller" partnerLinkType="tns:Greeter-Caller"
| myRole="Greeter" />
| <partnerLink name="customer" partnerLinkType="tns:Customer-LinkType"
| partnerRole="Customer" />
| </partnerLinks>
|
|
|
| <variables>
| <variable name="request" messageType="tns:nameMessage" />
| <variable name="response" messageType="tns:greetingMessage" />
| <variable name="requestToCustomer" messageType="apns:createRequest" />
| <variable name="responseFromCustomer" messageType="apns:createResponse" />
| </variables>
|
|
|
|
|
| <sequence>
|
| <!-- receive the name of a person -->
| <receive operation="sayHello" partnerLink="caller" portType="tns:Greeter"
| variable="request" createInstance="yes" />
|
| <!-- compose a greeting phrase -->
| <assign>
| <copy>
| <from expression="concat('Name:',bpel:getVariableData('request', 'name'))" />
| <to variable="requestToCustomer" part="customerName" />
| </copy>
| <copy>
| <from expression="concat('Description:',bpel:getVariableData('request', 'name'))" />
| <to variable="requestToCustomer" part="description" />
| </copy>
| <copy>
| <from expression="concat('Address:',bpel:getVariableData('request', 'name'))" />
| <to variable="requestToCustomer" part="address" />
| </copy>
| </assign>
|
| <invoke name="create" operation="create" partnerLink="customer" portType="apns:CustomerService" inputVariable="requestToCustomer" outputVariable="responseFromCustomer" />
|
| <!-- compose a greeting phrase -->
| <assign>
| <copy>
| <from expression="concat('Hello, ',
| bpel:getVariableData('request', 'name'), '!')" />
| <to variable="response" part="greeting" />
| </copy>
| </assign>
|
|
| <!-- reply with the greeting -->
| <reply operation="sayHello" partnerLink="caller" portType="tns:Greeter"
| variable="response" />
| </sequence>
|
| </process>
|
My web service deployed , using axis 1.3 and works on the same jboss instance, where my BP deployed.
And my hello.wsdl is like this:
| <?xml version="1.0" encoding="UTF-8"?>
| <definitions targetNamespace="http://jbpm.org/examples/hello"
| xmlns="http://schemas.xmlsoap.org/wsdl/"
| xmlns:tns="http://jbpm.org/examples/hello"
| xmlns:apns="http://client/com/sap/xtp/customer"
| xmlns:bpel="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
| xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
| xmlns:xsd="http://www.w3.org/2001/XMLSchema" >
|
| <import namespace="http://client/com/sap/xtp/customer" location="http://localhost:8080/quickstart/services/CustomerService?wsdl"/>
|
| <plt:partnerLinkType name="Greeter-Caller">
| <plt:role name="Greeter">
| <plt:portType name="tns:Greeter" />
| </plt:role>
| </plt:partnerLinkType>
|
|
| <plt:partnerLinkType name="Customer-LinkType">
| <plt:role name="Customer">
| <plt:portType name="apns:CustomerService"/>
| </plt:role>
| </plt:partnerLinkType>
|
|
|
|
| <!-- carries the name of a person -->
| <message name="nameMessage">
| <part name="name" type="xsd:string" />
| </message>
|
| <!-- carries the greeting -->
| <message name="greetingMessage">
| <part name="greeting" type="xsd:string" />
| </message>
|
| <!-- describes the interface presented to callers -->
| <portType name="Greeter">
| <operation name="sayHello">
| <input message="tns:nameMessage" />
| <output message="tns:greetingMessage" />
| </operation>
| </portType>
|
| </definitions>
|
I have exception upon call to process:
| 2006-11-14 15:53:40,137 DEBUG [org.jbpm.bpel.integration.jms.StartListener] caught exception while passing control to process, searching for handler
| org.jbpm.graph.def.DelegationException
| at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:352)
| at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:346)
| at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:346)
| at org.jbpm.graph.def.GraphElement$$FastClassByCGLIB$$7a7d6aa6.invoke(<generated>)
| at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
| at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:163)
| at org.jbpm.bpel.def.CompositeActivity$$EnhancerByCGLIB$$7810329b.raiseException(<generated>)
| at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:346)
| at org.jbpm.bpel.def.Activity.enter(Activity.java:106)
| at org.jbpm.graph.def.Transition.take(Transition.java:119)
| at org.jbpm.graph.def.Node.leave(Node.java:383)
| at org.jbpm.bpel.def.Activity.leave(Activity.java:171)
| at org.jbpm.bpel.def.ProcessInstanceStarter.visit(ProcessInstanceStarter.java:57)
| at org.jbpm.bpel.def.Receive.accept(Receive.java:82)
| at org.jbpm.bpel.def.Receive$$FastClassByCGLIB$$516412f0.invoke(<generated>)
| at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
| at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:163)
| at org.jbpm.bpel.def.Receive$$EnhancerByCGLIB$$f0638c92.accept(<generated>)
| at org.jbpm.bpel.def.ProcessInstanceStarter.visit(ProcessInstanceStarter.java:97)
| at org.jbpm.bpel.def.Sequence.accept(Sequence.java:105)
| at org.jbpm.bpel.def.Activity$$FastClassByCGLIB$$a89e54a2.invoke(<generated>)
| at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
| at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:163)
| at org.jbpm.bpel.def.Activity$$EnhancerByCGLIB$$db28b188.accept(<generated>)
| at org.jbpm.bpel.def.ProcessInstanceStarter.visit(ProcessInstanceStarter.java:43)
| at org.jbpm.bpel.def.BpelDefinition.messageReceived(BpelDefinition.java:109)
| at org.jbpm.bpel.integration.jms.StartListener.onMessage(StartListener.java:115)
| at org.jboss.mq.SpyMessageConsumer.run(SpyMessageConsumer.java:694)
| at java.lang.Thread.run(Thread.java:595)
| Caused by: org.jbpm.graph.def.DelegationException
| at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:352)
| at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:346)
| at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:346)
| at org.jbpm.graph.def.GraphElement$$FastClassByCGLIB$$7a7d6aa6.invoke(<generated>)
| at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
| at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:163)
| at org.jbpm.bpel.def.CompositeActivity$$EnhancerByCGLIB$$7810329b.raiseException(<generated>)
| at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:346)
| at org.jbpm.bpel.def.Activity.enter(Activity.java:106)
| at org.jbpm.graph.def.Transition.take(Transition.java:119)
| at org.jbpm.graph.def.Node.leave(Node.java:383)
| at org.jbpm.bpel.def.Activity.leave(Activity.java:171)
| at org.jbpm.bpel.def.Assign.execute(Assign.java:55)
| at org.jbpm.bpel.def.Activity.enter(Activity.java:101)
| ... 20 more
| Caused by: java.lang.NullPointerException
| at org.jbpm.bpel.integration.exe.SoapEndpointReference.selectPort(SoapEndpointReference.java:94)
| at org.jbpm.bpel.integration.jms.IntegrationControl.getPartnerClient(IntegrationControl.java:234)
| at org.jbpm.bpel.integration.jms.JmsIntegrationService.invoke(JmsIntegrationService.java:171)
| at org.jbpm.bpel.def.Invoke.execute(Invoke.java:44)
| at org.jbpm.bpel.def.Activity.enter(Activity.java:101)
| ... 25 more
| 2006-11-14 15:53:40,137 ERROR [org.jbpm.bpel.integration.jms.StartListener] could not start process instance
| org.jbpm.graph.def.DelegationException
| at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:352)
| at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:346)
| at org.jbpm.bpel.integration.jms.StartListener.onMessage(StartListener.java:120)
| at org.jboss.mq.SpyMessageConsumer.run(SpyMessageConsumer.java:694)
| at java.lang.Thread.run(Thread.java:595)
| Caused by: org.jbpm.graph.def.DelegationException
| at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:352)
| at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:346)
| at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:346)
| at org.jbpm.graph.def.GraphElement$$FastClassByCGLIB$$7a7d6aa6.invoke(<generated>)
| at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
| at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:163)
| at org.jbpm.bpel.def.CompositeActivity$$EnhancerByCGLIB$$7810329b.raiseException(<generated>)
| at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:346)
| at org.jbpm.bpel.def.Activity.enter(Activity.java:106)
| at org.jbpm.graph.def.Transition.take(Transition.java:119)
| at org.jbpm.graph.def.Node.leave(Node.java:383)
| at org.jbpm.bpel.def.Activity.leave(Activity.java:171)
| at org.jbpm.bpel.def.ProcessInstanceStarter.visit(ProcessInstanceStarter.java:57)
| at org.jbpm.bpel.def.Receive.accept(Receive.java:82)
| at org.jbpm.bpel.def.Receive$$FastClassByCGLIB$$516412f0.invoke(<generated>)
| at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
| at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:163)
| at org.jbpm.bpel.def.Receive$$EnhancerByCGLIB$$f0638c92.accept(<generated>)
| at org.jbpm.bpel.def.ProcessInstanceStarter.visit(ProcessInstanceStarter.java:97)
| at org.jbpm.bpel.def.Sequence.accept(Sequence.java:105)
| at org.jbpm.bpel.def.Activity$$FastClassByCGLIB$$a89e54a2.invoke(<generated>)
| at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
| at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:163)
| at org.jbpm.bpel.def.Activity$$EnhancerByCGLIB$$db28b188.accept(<generated>)
| at org.jbpm.bpel.def.ProcessInstanceStarter.visit(ProcessInstanceStarter.java:43)
| at org.jbpm.bpel.def.BpelDefinition.messageReceived(BpelDefinition.java:109)
| at org.jbpm.bpel.integration.jms.StartListener.onMessage(StartListener.java:115)
| ... 2 more
| Caused by: org.jbpm.graph.def.DelegationException
| at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:352)
| at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:346)
| at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:346)
| at org.jbpm.graph.def.GraphElement$$FastClassByCGLIB$$7a7d6aa6.invoke(<generated>)
| at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
| at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:163)
| at org.jbpm.bpel.def.CompositeActivity$$EnhancerByCGLIB$$7810329b.raiseException(<generated>)
| at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:346)
| at org.jbpm.bpel.def.Activity.enter(Activity.java:106)
| at org.jbpm.graph.def.Transition.take(Transition.java:119)
| at org.jbpm.graph.def.Node.leave(Node.java:383)
| at org.jbpm.bpel.def.Activity.leave(Activity.java:171)
| at org.jbpm.bpel.def.Assign.execute(Assign.java:55)
| at org.jbpm.bpel.def.Activity.enter(Activity.java:101)
| ... 20 more
| Caused by: java.lang.NullPointerException
| at org.jbpm.bpel.integration.exe.SoapEndpointReference.selectPort(SoapEndpointReference.java:94)
| at org.jbpm.bpel.integration.jms.IntegrationControl.getPartnerClient(IntegrationControl.java:234)
| at org.jbpm.bpel.integration.jms.JmsIntegrationService.invoke(JmsIntegrationService.java:171)
| at org.jbpm.bpel.def.Invoke.execute(Invoke.java:44)
| at org.jbpm.bpel.def.Activity.enter(Activity.java:101)
| ... 25 more
| 2006-11-14 15:53:40,147 DEBUG [org.jbpm.JbpmContext] closing JbpmContext
| 2006-11-14 15:53:40,147 DEBUG [org.jbpm.svc.Services] closing service 'persistence': org.jbpm.bpel.persistence.db.DbPersistenceService@10cf62
| 2006-11-14 15:53:40,147 DEBUG [org.jbpm.persistence.db.DbPersistenceService] rolling back hibernate transaction
| 2006-11-14 15:53:40,147 DEBUG [org.hibernate.transaction.JDBCTransaction] rollback
| 2006-11-14 15:53:40,147 DEBUG [org.hibernate.transaction.JDBCTransaction] re-enabling autocommit
| 2006-11-14 15:53:40,147 DEBUG [org.hibernate.transaction.JDBCTransaction] rolled back JDBC Connection
| 2006-11-14 15:53:40,147 DEBUG [org.hibernate.jdbc.ConnectionManager] aggressively releasing JDBC connection
| 2006-11-14 15:53:40,147 DEBUG [org.hibernate.jdbc.ConnectionManager] releasing JDBC connection [ (open PreparedStatements: 0, globally: 0) (open ResultSets: 0, globally: 0)]
| 2006-11-14 15:53:40,147 DEBUG [org.jbpm.persistence.db.DbPersistenceService] closing hibernate session
| 2006-11-14 15:53:40,147 DEBUG [org.jbpm.svc.Services] closing service 'integration': org.jbpm.bpel.integration.jms.JmsIntegrationService@19f332b
|
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985824#3985824
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985824
19Â years, 8Â months
[JBoss jBPM] - Error Messages when using command create.db
by wackruochen
Hi all,
I downloaded jBPM3.1.2, and I tried to created tables onto DB2/400. I configured the create.db.hibernate.properties, build.deploy.xml files, and hibernate.cfg.xml. But after running "ant create.db -buildfile build.deploy.xml" command, I was able to successfully create jBPM tables onto my database, failed to inserting data into tables. I tried a lot of time, it still gives me the error messages, I don't know why, and I wander if anyone knows the reason.
Thanks
create.db.hibernate.properties
|
| # these properties are used by the build script to create
| # a hypersonic database in the build/db directory that contains
| # the jbpm tables and a process deployed in there
|
| hibernate.dialect=org.hibernate.dialect.DB2400Dialect
| hibernate.connection.driver_class=com.ibm.as400.access.AS400JDBCDriver
| hibernate.connection.url=jdbc:as400://server/jbpm
| hibernate.connection.username=sa
| hibernate.connection.password=sa
| hibernate.show_sql=true
|
| hibernate.query.substitutions=true 1, false 0
|
|
build.deploy.xml
|
| <target name="create.db" depends="declare.jbpm.tasks, db.clean, db.start" description="creates a db2 database with the jbpm tables and loads the processes in there">
| <jbpmschema actions="create"
| cfg="${basedir}/src/config.files/hibernate.cfg.xml"
| properties="${basedir}/src/resources/db2/create.db.hibernate.properties"/>
| <loadidentities file="${basedir}/src/resources/db2/identity.db.xml"
| cfg="${basedir}/src/config.files/hibernate.cfg.xml"
| properties="${basedir}/src/resources/db2/create.db.hibernate.properties"/>
| <ant antfile="build.xml" target="build.processes" inheritall="false" />
| <deployprocess cfg="${basedir}/src/config.files/hibernate.cfg.xml"
| properties="${basedir}/src/resources/db2/create.db.hibernate.properties">
| <fileset dir="build" includes="*.process" />
| </deployprocess>
| <antcall target="db.stop" />
| </target>
|
hibernate.cfg.xml
| <!-- jdbc connection properties -->
| <property name="hibernate.dialect">org.hibernate.dialect.DB2400Dialect</property>
| <property name="hibernate.connection.driver_class">com.ibm.as400.access.AS400JDBCDriver</property>
| <property name="hibernate.connection.url">jdbc:as400://server/jbpm</property>
| <property name="hibernate.connection.username">sa</property>
| <property name="hibernate.connection.password">sa</property>
|
Error Messages
|
| [loadidentities] loading identities from C:\jbpm-3.1.2/src/resources/db2/identit
| y.db.xml ...
| [loadidentities] Hibernate: insert into JBPM_ID_USER (NAME_, EMAIL_, PASSWORD_,
| CLASS_, ID_) values (?, ?, ?, 'U', default)
| [loadidentities] Hibernate: insert into JBPM_ID_GROUP (NAME_, TYPE_, PARENT_, CL
| ASS_, ID_) values (?, ?, ?, 'G', default)
| [loadidentities] org.jbpm.persistence.JbpmPersistenceException: couldn't commit
| hibernate session
| [loadidentities] at org.jbpm.persistence.db.DbPersistenceService.close(Db
| PersistenceService.java:188)
| [loadidentities] at org.jbpm.svc.Services.close(Services.java:211)
| [loadidentities] at org.jbpm.JbpmContext.close(JbpmContext.java:139)
| [loadidentities] at org.jbpm.identity.ant.LoadIdentitiesTask.execute(Load
| IdentitiesTask.java:67)
| [loadidentities] at org.apache.tools.ant.UnknownElement.execute(UnknownEl
| ement.java:275)
| [loadidentities] at org.apache.tools.ant.Task.perform(Task.java:364)
| [loadidentities] at org.apache.tools.ant.Target.execute(Target.java:341)
| [loadidentities] at org.apache.tools.ant.Target.performTasks(Target.java:
| 369)
| [loadidentities] at org.apache.tools.ant.Project.executeSortedTargets(Pro
| ject.java:1216)
| [loadidentities] at org.apache.tools.ant.Project.executeTarget(Project.ja
| va:1185)
| [loadidentities] at org.apache.tools.ant.helper.DefaultExecutor.executeTa
| rgets(DefaultExecutor.java:40)
| [loadidentities] at org.apache.tools.ant.Project.executeTargets(Project.j
| ava:1068)
| [loadidentities] at org.apache.tools.ant.Main.runBuild(Main.java:668)
| [loadidentities] at org.apache.tools.ant.Main.startAnt(Main.java:187)
| [loadidentities] at org.apache.tools.ant.launch.Launcher.run(Launcher.jav
| a:246)
| [loadidentities] at org.apache.tools.ant.launch.Launcher.main(Launcher.ja
| va:67)
| [loadidentities] Caused by: org.hibernate.exception.GenericJDBCException: could
| not insert: [org.jbpm.identity.Group]
| [loadidentities] at org.hibernate.exception.SQLStateConverter.handledNonS
| pecificException(SQLStateConverter.java:91)
| [loadidentities] at org.hibernate.exception.SQLStateConverter.convert(SQL
| StateConverter.java:79)
| [loadidentities] at org.hibernate.exception.JDBCExceptionHelper.convert(J
| DBCExceptionHelper.java:43)
| [loadidentities] at org.hibernate.persister.entity.AbstractEntityPersiste
| r.insert(AbstractEntityPersister.java:1986)
| [loadidentities] at org.hibernate.persister.entity.AbstractEntityPersiste
| r.insert(AbstractEntityPersister.java:2405)
| [loadidentities] at org.hibernate.action.EntityIdentityInsertAction.execu
| te(EntityIdentityInsertAction.java:37)
| [loadidentities] at org.hibernate.engine.ActionQueue.execute(ActionQueue.
| java:243)
| [loadidentities] at org.hibernate.event.def.AbstractSaveEventListener.per
| formSaveOrReplicate(AbstractSaveEventListener.java:269)
| [loadidentities] at org.hibernate.event.def.AbstractSaveEventListener.per
| formSave(AbstractSaveEventListener.java:167)
| [loadidentities] at org.hibernate.event.def.AbstractSaveEventListener.sav
| eWithGeneratedId(AbstractSaveEventListener.java:101)
| [loadidentities] at org.hibernate.event.def.DefaultSaveOrUpdateEventListe
| ner.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:186)
| [loadidentities] at org.hibernate.event.def.DefaultSaveOrUpdateEventListe
| ner.entityIsTransient(DefaultSaveOrUpdateEventListener.java:175)
| [loadidentities] at org.hibernate.event.def.DefaultSaveOrUpdateEventListe
| ner.performSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:98)
| [loadidentities] at org.hibernate.event.def.DefaultSaveOrUpdateEventListe
| ner.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:70)
| [loadidentities] at org.hibernate.impl.SessionImpl.fireSaveOrUpdate(Sessi
| onImpl.java:520)
| [loadidentities] at org.hibernate.impl.SessionImpl.saveOrUpdate(SessionIm
| pl.java:513)
| [loadidentities] at org.hibernate.engine.CascadingAction$1.cascade(Cascad
| ingAction.java:134)
| [loadidentities] at org.hibernate.engine.Cascade.cascadeToOne(Cascade.jav
| a:213)
| [loadidentities] at org.hibernate.engine.Cascade.cascadeAssociation(Casca
| de.java:157)
| [loadidentities] at org.hibernate.engine.Cascade.cascadeProperty(Cascade.
| java:108)
| [loadidentities] at org.hibernate.engine.Cascade.cascade(Cascade.java:248
| )
| [loadidentities] at org.hibernate.event.def.AbstractSaveEventListener.cas
| cadeBeforeSave(AbstractSaveEventListener.java:385)
| [loadidentities] at org.hibernate.event.def.AbstractSaveEventListener.per
| formSaveOrReplicate(AbstractSaveEventListener.java:242)
| [loadidentities] at org.hibernate.event.def.AbstractSaveEventListener.per
| formSave(AbstractSaveEventListener.java:167)
| [loadidentities] at org.hibernate.event.def.AbstractSaveEventListener.sav
| eWithGeneratedId(AbstractSaveEventListener.java:101)
| [loadidentities] at org.hibernate.event.def.DefaultSaveOrUpdateEventListe
| ner.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:186)
| [loadidentities] at org.hibernate.event.def.DefaultSaveOrUpdateEventListe
| ner.entityIsTransient(DefaultSaveOrUpdateEventListener.java:175)
| [loadidentities] at org.hibernate.event.def.DefaultSaveOrUpdateEventListe
| ner.performSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:98)
| [loadidentities] at org.hibernate.event.def.DefaultSaveOrUpdateEventListe
| ner.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:70)
| [loadidentities] at org.hibernate.impl.SessionImpl.fireSaveOrUpdate(Sessi
| onImpl.java:520)
| [loadidentities] at org.hibernate.impl.SessionImpl.saveOrUpdate(SessionIm
| pl.java:513)
| [loadidentities] at org.hibernate.engine.CascadingAction$1.cascade(Cascad
| ingAction.java:134)
| [loadidentities] at org.hibernate.engine.Cascade.cascadeToOne(Cascade.jav
| a:213)
| [loadidentities] at org.hibernate.engine.Cascade.cascadeAssociation(Casca
| de.java:157)
| [loadidentities] at org.hibernate.engine.Cascade.cascadeProperty(Cascade.
| java:108)
| [loadidentities] at org.hibernate.engine.Cascade.cascadeCollectionElement
| s(Cascade.java:290)
| [loadidentities] at org.hibernate.engine.Cascade.cascadeCollection(Cascad
| e.java:185)
| [loadidentities] at org.hibernate.engine.Cascade.cascadeAssociation(Casca
| de.java:160)
| [loadidentities] at org.hibernate.engine.Cascade.cascadeProperty(Cascade.
| java:108)
| [loadidentities] at org.hibernate.engine.Cascade.cascade(Cascade.java:248
| )
| [loadidentities] at org.hibernate.event.def.AbstractFlushingEventListener
| .cascadeOnFlush(AbstractFlushingEventListener.java:130)
| [loadidentities] at org.hibernate.event.def.AbstractFlushingEventListener
| .prepareEntityFlushes(AbstractFlushingEventListener.java:121)
| [loadidentities] at org.hibernate.event.def.AbstractFlushingEventListener
| .flushEverythingToExecutions(AbstractFlushingEventListener.java:65)
| [loadidentities] at org.hibernate.event.def.DefaultFlushEventListener.onF
| lush(DefaultFlushEventListener.java:26)
| [loadidentities] at org.hibernate.impl.SessionImpl.flush(SessionImpl.java
| :980)
| [loadidentities] at org.hibernate.impl.SessionImpl.managedFlush(SessionIm
| pl.java:353)
| [loadidentities] at org.hibernate.transaction.JDBCTransaction.commit(JDBC
| Transaction.java:106)
| [loadidentities] at org.jbpm.persistence.db.DbPersistenceService.close(Db
| PersistenceService.java:177)
| [loadidentities] ... 15 more
| [loadidentities] Caused by: java.sql.SQLException: The driver does not support t
| his function.
| [loadidentities] at com.ibm.as400.access.JDError.throwSQLException(JDErro
| r.java:382)
| [loadidentities] at com.ibm.as400.access.AS400JDBCConnection.prepareState
| ment(AS400JDBCConnection.java:1876)
| [loadidentities] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native M
| ethod)
| [loadidentities] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMet
| hodAccessorImpl.java:39)
| [loadidentities] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Deleg
| atingMethodAccessorImpl.java:25)
| [loadidentities] at java.lang.reflect.Method.invoke(Method.java:585)
| [loadidentities] at org.hibernate.util.GetGeneratedKeysHelper.prepareStat
| ement(GetGeneratedKeysHelper.java:45)
| [loadidentities] at org.hibernate.jdbc.AbstractBatcher.getPreparedStateme
| nt(AbstractBatcher.java:435)
| [loadidentities] at org.hibernate.jdbc.AbstractBatcher.prepareStatement(A
| bstractBatcher.java:93)
| [loadidentities] at org.hibernate.persister.entity.AbstractEntityPersiste
| r.insert(AbstractEntityPersister.java:1948)
| [loadidentities] ... 59 more
|
| BUILD FAILED
| C:\jbpm-3.1.2\build.deploy.xml:51: org.jbpm.JbpmException: problem closing servi
| ces {persistence=org.jbpm.persistence.JbpmPersistenceException: couldn't commit
| hibernate session}
|
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985822#3985822
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985822
19Â years, 8Â months