[jBPM] - Hibernate LazyInitializationException during swimlane creation
by Anup Nair
Anup Nair [http://community.jboss.org/people/wrecked] created the discussion
"Hibernate LazyInitializationException during swimlane creation"
To view the discussion, visit: http://community.jboss.org/message/566066#566066
--------------------------------------------------------------
Hi All,
I am a new bie to this site. I am currently using jBPM 4 with Oracle as db.
I have created a sample workflow and using the JBPM API to create instances and moving instance from one activity to another.
However when i am trying to create a swimlane programatically i am getting *org.hibernate.LazyInitializationException*
*I am not getting an idea how the hibernate session gets closed.
*
Following is the code snippet for swimlane creation:
public void testAddParticipants() throws Exception{
ProcessInstance processInstance = executionService.findProcessInstanceById("ServiceCenter.1");
EnvironmentImpl environment =(EnvironmentImpl)((EnvironmentFactory)processService).openEnvironment();
try{
Collection<? extends Execution> executionMap = processInstance.getExecutions();
for (Execution execution : executionMap) {
System.out.println(execution.getClass());
if(execution instanceof ExecutionImpl){
final ExecutionImpl exec = (ExecutionImpl) execution;
SwimlaneImpl role = exec.createSwimlane("approver");
System.out.println("Approver role added:"+role);
}
}
}finally{
environment.close();
}
}
The exception trace is:
### EXCEPTION ###########################################
[*LazyInitializationException] failed to lazily initialize a collection of role: org.jbpm.pvm.internal.model.ExecutionImpl.swimlanes, no session or session was closed
org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: org.jbpm.pvm.internal.model.ExecutionImpl.swimlanes, no session or session was closed*
at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:380)
at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationExceptionIfNotConnected(AbstractPersistentCollection.java:372)
at org.hibernate.collection.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:365)
at org.hibernate.collection.PersistentMap.put(PersistentMap.java:184)
at org.jbpm.pvm.internal.model.ExecutionImpl.createSwimlane(ExecutionImpl.java:874)
at com.jpmc.servicecenter.ServiceCenter.testAddParticipants(ServiceCenter.java:304)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at junit.framework.TestCase.runTest(TestCase.java:164)
at junit.framework.TestCase.runBare(TestCase.java:130)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:120)
at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
The jbpm.cfg.xml has the following configuration:
*<?xml version="1.0" encoding="UTF-8"?>*
**
*<jbpm-configuration>*
**
* <import resource="jbpm.default.cfg.xml" />
<import resource="jbpm.businesscalendar.cfg.xml" />
<import resource="jbpm.tx.hibernate.cfg.xml" />
<import resource="jbpm.jpdl.cfg.xml" />
<import resource="jbpm.bpmn.cfg.xml" />
<import resource="jbpm.identity.cfg.xml" />
<import resource="jbpm.task.hbm.xml" />*
**
* <!-- Job executor is excluded for running the example test cases. -->
<!-- To enable timers and messages in production use, this should be included. -->
<!--
<import resource="jbpm.jobexecutor.cfg.xml" />
-->*
**
*</jbpm-configuration>*
I am stuck with this error from the past 1 week.
please help me out.
Thanks in advance.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/566066#566066]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years, 6 months
[JBoss Web Services] - JPA JAX-WS LazyinitializingException during marshalling of collections
by devond
Hi all,
The scenario is : jboss 4.2.2, EJB3 entity that describes the model, EJB
session deployed as web service.
The problem is that when a client invokes a method of the web service that
returns an entity (that references a collection) receave a
LazyinitializingException.
This is due to the marshalling operation that is executed after jpa session
closing.
To solve this I would implement long session pattern with a "web service
transaction".
I can I implement it?
Thanks in advance
Devone
15 years, 6 months
[EJB 3.0] - Non English characters in ejb-jar.xml
by octavio echevarria
octavio echevarria [http://community.jboss.org/people/oechevarria] created the discussion
"Non English characters in ejb-jar.xml"
To view the discussion, visit: http://community.jboss.org/message/565921#565921
--------------------------------------------------------------
Hello everyone,
I am trying to deploy a javaee application using JBossAS 6.0.0 M5 and JBossWS metro 3.3.1. Upon deployment I get an exception saying that JBoss is unable to parse the ejb-jar.xml file. This file happens to contain non-english characters. Please note that the characters reported as the NMTOKEN in the log, i.e. 'ßÜÑÑÃ?' do not 'look' like the ones in the actual file simply because the output log is from the DOS console window which of couse is unable to display non english characters. The actual characters found in the ejb-jar.xml file are 'ßÜÑÑÝ'
The ejb-jar-xml file is a text file with UTF-8 encoding and the contents of the file are also UTF-8 encoded as determined by the encoding="UTF-8" directive at the top of the file.
I am attaching both the console log that shows the exception and the ejb-jar.xml file.
I tried both the Default and Standard configurations with the same outcome. I also get the same result with JBossAS 5.1.0 and JBossWS metro 3.2.2.
I have been able to deploy the same application to both WebSphere and WebLogic successfully.
Any comments, ideas, or suggestions are welcome.
Thanks,
Octavio
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/565921#565921]
Start a new discussion in EJB 3.0 at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years, 6 months
[JBoss Messaging] - Problem occured when changing the db of JBoss Messaging from hsqldb to mysqldb
by Younes Yahyaoui
Younes Yahyaoui [http://community.jboss.org/people/ingedeut] created the discussion
"Problem occured when changing the db of JBoss Messaging from hsqldb to mysqldb"
To view the discussion, visit: http://community.jboss.org/message/566133#566133
--------------------------------------------------------------
Hello,
i use JBoss SOA Platform 4.3.0 . When triying to change the db of JBoss messaging from hsqldb to MySQL, the following error is occured. Can someone please help me? it's urgent.
20:25:05,586 ERROR [ChannelSupport] Failed to handle message
java.lang.NullPointerException
at java.util.concurrent.ConcurrentHashMap.put(Unknown Source)
at org.jboss.messaging.core.impl.JDBCPersistenceManager.cacheID(
JDBCPersistenceManager.java:1632) at org.jboss.messaging.core.impl.JDBCPersistenceManager$1AddReferenceRunner.doTransaction(
JDBCPersistenceManager.java:1358) at org.jboss.messaging.core.impl.JDBCSupport$JDBCTxRunner2.execute(
JDBCSupport.java:474) at org.jboss.messaging.core.impl.JDBCSupport$JDBCTxRunner2.executeWithRetry(
JDBCSupport.java:512) at org.jboss.messaging.core.impl.JDBCPersistenceManager.addReference(
JDBCPersistenceManager.java:1396) at org.jboss.messaging.core.impl.ChannelSupport.handle(
ChannelSupport.java:226) at org.jboss.messaging.core.impl.postoffice.MessagingPostOffice.routeInternal(
MessagingPostOffice.java:2208) at org.jboss.messaging.core.impl.postoffice.MessagingPostOffice.route(
MessagingPostOffice.java:494) at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendMessage(
ServerConnectionEndpoint.java:755) at org.jboss.jms.server.endpoint.ServerSessionEndpoint.send(
ServerSessionEndpoint.java:391) at org.jboss.jms.server.endpoint.advised.SessionAdvised.org$jboss$jms$server$endpoint$advised$SessionAdvised$send$aop(
SessionAdvised.java:87) at org.jboss.jms.server.endpoint.advised.SessionAdvised$send_7280680627620114891.invokeNext(SessionAdvised$send_7280680627620114891.java)
at org.jboss.jms.server.container.SecurityAspect.handleSend(
SecurityAspect.java:157) at sun.reflect.GeneratedMethodAccessor129.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.aop.advice.PerInstanceAdvice.invoke(
PerInstanceAdvice.java:121) at org.jboss.jms.server.endpoint.advised.SessionAdvised$send_7280680627620114891.invokeNext(SessionAdvised$send_7280680627620114891.java)
at org.jboss.jms.server.endpoint.advised.SessionAdvised.send(SessionAdvised.java)
at org.jboss.jms.wireformat.SessionSendRequest.serverInvoke(
SessionSendRequest.java:95) at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(
JMSServerInvocationHandler.java:143) at org.jboss.remoting.ServerInvoker.invoke(
ServerInvoker.java:866) at org.jboss.remoting.transport.socket.ServerThread.processInvocation(
ServerThread.java:608) at org.jboss.remoting.transport.socket.ServerThread.dorun(
ServerThread.java:420) at org.jboss.remoting.transport.socket.ServerThread.run(
ServerThread.java:173) 20:25:05,591 ERROR [ExceptionUtil] SessionEndpoint[o2-9omq37fg-1-ctsm37fg-h167w5-194o4c5] send [p2-z1nq37fg-1-ctsm37fg-h167w5-194o4c5]
javax.jms.JMSException
: Failed to route Reference[21084699122810940]:RELIABLE to org_pi4soa_fcdchain_fcdchain_FcdChainProcess_DataImporterParticipant at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendMessage(
ServerConnectionEndpoint.java:757) at org.jboss.jms.server.endpoint.ServerSessionEndpoint.send(
ServerSessionEndpoint.java:391) at org.jboss.jms.server.endpoint.advised.SessionAdvised.org$jboss$jms$server$endpoint$advised$SessionAdvised$send$aop(
SessionAdvised.java:87) at org.jboss.jms.server.endpoint.advised.SessionAdvised$send_7280680627620114891.invokeNext(SessionAdvised$send_7280680627620114891.java)
at org.jboss.jms.server.container.SecurityAspect.handleSend(
SecurityAspect.java:157) at sun.reflect.GeneratedMethodAccessor129.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.aop.advice.PerInstanceAdvice.invoke(
PerInstanceAdvice.java:121) at org.jboss.jms.server.endpoint.advised.SessionAdvised$send_7280680627620114891.invokeNext(SessionAdvised$send_7280680627620114891.java)
at org.jboss.jms.server.endpoint.advised.SessionAdvised.send(SessionAdvised.java)
at org.jboss.jms.wireformat.SessionSendRequest.serverInvoke(
SessionSendRequest.java:95) at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(
JMSServerInvocationHandler.java:143) at org.jboss.remoting.ServerInvoker.invoke(
ServerInvoker.java:866) at org.jboss.remoting.transport.socket.ServerThread.processInvocation(
ServerThread.java:608) at org.jboss.remoting.transport.socket.ServerThread.dorun(
ServerThread.java:420) at org.jboss.remoting.transport.socket.ServerThread.run(
ServerThread.java:173) 20:25:05,645 ERROR [ChannelSupport] Failed to handle message
java.lang.NullPointerException
at java.util.concurrent.ConcurrentHashMap.put(Unknown Source)
at org.jboss.messaging.core.impl.JDBCPersistenceManager.cacheID(
JDBCPersistenceManager.java:1632) at org.jboss.messaging.core.impl.JDBCPersistenceManager$1AddReferenceRunner.doTransaction(
JDBCPersistenceManager.java:1358) at org.jboss.messaging.core.impl.JDBCSupport$JDBCTxRunner2.execute(
JDBCSupport.java:474) at org.jboss.messaging.core.impl.JDBCSupport$JDBCTxRunner2.executeWithRetry(
JDBCSupport.java:512) at org.jboss.messaging.core.impl.JDBCPersistenceManager.addReference(
JDBCPersistenceManager.java:1396) at org.jboss.messaging.core.impl.ChannelSupport.handle(
ChannelSupport.java:226) at org.jboss.messaging.core.impl.postoffice.MessagingPostOffice.routeInternal(
MessagingPostOffice.java:2208) at org.jboss.messaging.core.impl.postoffice.MessagingPostOffice.route(
MessagingPostOffice.java:494) at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendMessage(
ServerConnectionEndpoint.java:755) at org.jboss.jms.server.endpoint.ServerSessionEndpoint.send(
ServerSessionEndpoint.java:391) at org.jboss.jms.server.endpoint.advised.SessionAdvised.org$jboss$jms$server$endpoint$advised$SessionAdvised$send$aop(
SessionAdvised.java:87) at org.jboss.jms.server.endpoint.advised.SessionAdvised$send_7280680627620114891.invokeNext(SessionAdvised$send_7280680627620114891.java)
at org.jboss.jms.server.container.SecurityAspect.handleSend(
SecurityAspect.java:157) at sun.reflect.GeneratedMethodAccessor129.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.aop.advice.PerInstanceAdvice.invoke(
PerInstanceAdvice.java:121) at org.jboss.jms.server.endpoint.advised.SessionAdvised$send_7280680627620114891.invokeNext(SessionAdvised$send_7280680627620114891.java)
at org.jboss.jms.server.endpoint.advised.SessionAdvised.send(SessionAdvised.java)
at org.jboss.jms.wireformat.SessionSendRequest.serverInvoke(
SessionSendRequest.java:95) at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(
JMSServerInvocationHandler.java:143) at org.jboss.remoting.ServerInvoker.invoke(
ServerInvoker.java:866) at org.jboss.remoting.transport.socket.ServerThread.processInvocation(
ServerThread.java:608) at org.jboss.remoting.transport.socket.ServerThread.dorun(
ServerThread.java:420) at org.jboss.remoting.transport.socket.ServerThread.run(
ServerThread.java:173) 20:25:05,646 ERROR [ExceptionUtil] SessionEndpoint[o2-9omq37fg-1-ctsm37fg-h167w5-194o4c5] send [q2-i3nq37fg-1-ctsm37fg-h167w5-194o4c5]
javax.jms.JMSException
: Failed to route Reference[21084699125415997]:RELIABLE to org_pi4soa_fcdchain_fcdchain_FcdChainProcess_DataImporterParticipant at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendMessage(
ServerConnectionEndpoint.java:757) at org.jboss.jms.server.endpoint.ServerSessionEndpoint.send(
ServerSessionEndpoint.java:391) at org.jboss.jms.server.endpoint.advised.SessionAdvised.org$jboss$jms$server$endpoint$advised$SessionAdvised$send$aop(
SessionAdvised.java:87) at org.jboss.jms.server.endpoint.advised.SessionAdvised$send_7280680627620114891.invokeNext(SessionAdvised$send_7280680627620114891.java)
at org.jboss.jms.server.container.SecurityAspect.handleSend(
SecurityAspect.java:157) at sun.reflect.GeneratedMethodAccessor129.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.aop.advice.PerInstanceAdvice.invoke(
PerInstanceAdvice.java:121) at org.jboss.jms.server.endpoint.advised.SessionAdvised$send_7280680627620114891.invokeNext(SessionAdvised$send_7280680627620114891.java)
at org.jboss.jms.server.endpoint.advised.SessionAdvised.send(SessionAdvised.java)
at org.jboss.jms.wireformat.SessionSendRequest.serverInvoke(
SessionSendRequest.java:95) at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(
JMSServerInvocationHandler.java:143) at org.jboss.remoting.ServerInvoker.invoke(
ServerInvoker.java:866) at org.jboss.remoting.transport.socket.ServerThread.processInvocation(
ServerThread.java:608) at org.jboss.remoting.transport.socket.ServerThread.dorun(
ServerThread.java:420) at org.jboss.remoting.transport.socket.ServerThread.run(
ServerThread.java:173) 20:25:16,888 ERROR [ChannelSupport] Failed to handle message
java.lang.NullPointerException
at java.util.concurrent.ConcurrentHashMap.put(Unknown Source)
at org.jboss.messaging.core.impl.JDBCPersistenceManager.cacheID(
JDBCPersistenceManager.java:1632) at org.jboss.messaging.core.impl.JDBCPersistenceManager$1AddReferenceRunner.doTransaction(
JDBCPersistenceManager.java:1358) at org.jboss.messaging.core.impl.JDBCSupport$JDBCTxRunner2.execute(
JDBCSupport.java:474) at org.jboss.messaging.core.impl.JDBCSupport$JDBCTxRunner2.executeWithRetry(
JDBCSupport.java:512) at org.jboss.messaging.core.impl.JDBCPersistenceManager.addReference(
JDBCPersistenceManager.java:1396) at org.jboss.messaging.core.impl.ChannelSupport.handle(
ChannelSupport.java:226) at org.jboss.messaging.core.impl.postoffice.MessagingPostOffice.routeInternal(
MessagingPostOffice.java:2208) at org.jboss.messaging.core.impl.postoffice.MessagingPostOffice.route(
MessagingPostOffice.java:494) at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendMessage(
ServerConnectionEndpoint.java:755) at org.jboss.jms.server.endpoint.ServerSessionEndpoint.send(
ServerSessionEndpoint.java:391) at org.jboss.jms.server.endpoint.advised.SessionAdvised.org$jboss$jms$server$endpoint$advised$SessionAdvised$send$aop(
SessionAdvised.java:87) at org.jboss.jms.server.endpoint.advised.SessionAdvised$send_7280680627620114891.invokeNext(SessionAdvised$send_7280680627620114891.java)
at org.jboss.jms.server.container.SecurityAspect.handleSend(
SecurityAspect.java:157) at sun.reflect.GeneratedMethodAccessor129.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.aop.advice.PerInstanceAdvice.invoke(
PerInstanceAdvice.java:121) at org.jboss.jms.server.endpoint.advised.SessionAdvised$send_7280680627620114891.invokeNext(SessionAdvised$send_7280680627620114891.java)
at org.jboss.jms.server.endpoint.advised.SessionAdvised.send(SessionAdvised.java)
at org.jboss.jms.wireformat.SessionSendRequest.serverInvoke(
SessionSendRequest.java:95) at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(
JMSServerInvocationHandler.java:143) at org.jboss.remoting.ServerInvoker.invoke(
ServerInvoker.java:866) at org.jboss.remoting.transport.socket.ServerThread.processInvocation(
ServerThread.java:608) at org.jboss.remoting.transport.socket.ServerThread.dorun(
ServerThread.java:420) at org.jboss.remoting.transport.socket.ServerThread.run(
ServerThread.java:173) 20:25:16,889 ERROR [ExceptionUtil] SessionEndpoint[u2-mpvq37fg-1-ctsm37fg-h167w5-194o4c5] send [v2-trvq37fg-1-ctsm37fg-h167w5-194o4c5]
javax.jms.JMSException
: Failed to route Reference[21084699309162558]:RELIABLE to DeadMessageQueue at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendMessage(
ServerConnectionEndpoint.java:757) at org.jboss.jms.server.endpoint.ServerSessionEndpoint.send(
ServerSessionEndpoint.java:391) at org.jboss.jms.server.endpoint.advised.SessionAdvised.org$jboss$jms$server$endpoint$advised$SessionAdvised$send$aop(
SessionAdvised.java:87) at org.jboss.jms.server.endpoint.advised.SessionAdvised$send_7280680627620114891.invokeNext(SessionAdvised$send_7280680627620114891.java)
at org.jboss.jms.server.container.SecurityAspect.handleSend(
SecurityAspect.java:157) at sun.reflect.GeneratedMethodAccessor129.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.aop.advice.PerInstanceAdvice.invoke(
PerInstanceAdvice.java:121) at org.jboss.jms.server.endpoint.advised.SessionAdvised$send_7280680627620114891.invokeNext(SessionAdvised$send_7280680627620114891.java)
at org.jboss.jms.server.endpoint.advised.SessionAdvised.send(SessionAdvised.java)
at org.jboss.jms.wireformat.SessionSendRequest.serverInvoke(
SessionSendRequest.java:95) at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(
JMSServerInvocationHandler.java:143) at org.jboss.remoting.ServerInvoker.invoke(
ServerInvoker.java:866) at org.jboss.remoting.transport.socket.ServerThread.processInvocation(
ServerThread.java:608) at org.jboss.remoting.transport.socket.ServerThread.dorun(
ServerThread.java:420) at org.jboss.remoting.transport.socket.ServerThread.run(
ServerThread.java:173) 20:25:16,948 ERROR [ChannelSupport] Failed to handle message
java.lang.NullPointerException
at java.util.concurrent.ConcurrentHashMap.put(Unknown Source)
at org.jboss.messaging.core.impl.JDBCPersistenceManager.cacheID(
JDBCPersistenceManager.java:1632) at org.jboss.messaging.core.impl.JDBCPersistenceManager$1AddReferenceRunner.doTransaction(
JDBCPersistenceManager.java:1358) at org.jboss.messaging.core.impl.JDBCSupport$JDBCTxRunner2.execute(
JDBCSupport.java:474) at org.jboss.messaging.core.impl.JDBCSupport$JDBCTxRunner2.executeWithRetry(
JDBCSupport.java:512) at org.jboss.messaging.core.impl.JDBCPersistenceManager.addReference(
JDBCPersistenceManager.java:1396) at org.jboss.messaging.core.impl.ChannelSupport.handle(
ChannelSupport.java:226) at org.jboss.messaging.core.impl.postoffice.MessagingPostOffice.routeInternal(
MessagingPostOffice.java:2208) at org.jboss.messaging.core.impl.postoffice.MessagingPostOffice.route(
MessagingPostOffice.java:494) at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendMessage(
ServerConnectionEndpoint.java:755) at org.jboss.jms.server.endpoint.ServerSessionEndpoint.send(
ServerSessionEndpoint.java:391) at org.jboss.jms.server.endpoint.advised.SessionAdvised.org$jboss$jms$server$endpoint$advised$SessionAdvised$send$aop(
SessionAdvised.java:87) at org.jboss.jms.server.endpoint.advised.SessionAdvised$send_7280680627620114891.invokeNext(SessionAdvised$send_7280680627620114891.java)
at org.jboss.jms.server.container.SecurityAspect.handleSend(
SecurityAspect.java:157) at sun.reflect.GeneratedMethodAccessor129.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.aop.advice.PerInstanceAdvice.invoke(
PerInstanceAdvice.java:121) at org.jboss.jms.server.endpoint.advised.SessionAdvised$send_7280680627620114891.invokeNext(SessionAdvised$send_7280680627620114891.java)
at org.jboss.jms.server.endpoint.advised.SessionAdvised.send(SessionAdvised.java)
at org.jboss.jms.wireformat.SessionSendRequest.serverInvoke(
SessionSendRequest.java:95) at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(
JMSServerInvocationHandler.java:143) at org.jboss.remoting.ServerInvoker.invoke(
ServerInvoker.java:866) at org.jboss.remoting.transport.socket.ServerThread.processInvocation(
ServerThread.java:608) at org.jboss.remoting.transport.socket.ServerThread.dorun(
ServerThread.java:420) at org.jboss.remoting.transport.socket.ServerThread.run(
ServerThread.java:173) 20:25:16,949 ERROR [ExceptionUtil] SessionEndpoint[u2-mpvq37fg-1-ctsm37fg-h167w5-194o4c5] send [w2-htvq37fg-1-ctsm37fg-h167w5-194o4c5]
javax.jms.JMSException
: Failed to route Reference[21084699310538815]:RELIABLE to DeadMessageQueue at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendMessage(
ServerConnectionEndpoint.java:757) at org.jboss.jms.server.endpoint.ServerSessionEndpoint.send(
ServerSessionEndpoint.java:391) at org.jboss.jms.server.endpoint.advised.SessionAdvised.org$jboss$jms$server$endpoint$advised$SessionAdvised$send$aop(
SessionAdvised.java:87) at org.jboss.jms.server.endpoint.advised.SessionAdvised$send_7280680627620114891.invokeNext(SessionAdvised$send_7280680627620114891.java)
at org.jboss.jms.server.container.SecurityAspect.handleSend(
SecurityAspect.java:157) at sun.reflect.GeneratedMethodAccessor129.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.aop.advice.PerInstanceAdvice.invoke(
PerInstanceAdvice.java:121) at org.jboss.jms.server.endpoint.advised.SessionAdvised$send_7280680627620114891.invokeNext(SessionAdvised$send_7280680627620114891.java)
at org.jboss.jms.server.endpoint.advised.SessionAdvised.send(SessionAdvised.java)
at org.jboss.jms.wireformat.SessionSendRequest.serverInvoke(
SessionSendRequest.java:95) at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(
JMSServerInvocationHandler.java:143) at org.jboss.remoting.ServerInvoker.invoke(
ServerInvoker.java:866) at org.jboss.remoting.transport.socket.ServerThread.processInvocation(
ServerThread.java:608) at org.jboss.remoting.transport.socket.ServerThread.dorun(
ServerThread.java:420) at org.jboss.remoting.transport.socket.ServerThread.run(
ServerThread.java:173)
Thank you very much
Younes
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/566133#566133]
Start a new discussion in JBoss Messaging at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years, 6 months
[jBPM] - Re: view diagram of process in jbpm-console
by Roger Parkinson
Roger Parkinson [http://community.jboss.org/people/rogerparkinson] created the discussion
"Re: view diagram of process in jbpm-console"
To view the discussion, visit: http://community.jboss.org/message/566012#566012
--------------------------------------------------------------
I had the same problem and saving the jpdl files certainly produces a png file for me.
Not a very interesting one though. It always has a diagonal line from the top left extending about a fifth of the way down the image.
Nothing else.
This is a freshly installed download of 4.4. I'm running JBoss 5.1.0.GA, though this is before the images get near that. Note that I can see images when I open the jpdl inside eclipse. So my sequence is:
1) open jbpl with plugin in eclipse.
2) note the image ... looks okay
3) save the jpdl, note that the png is created
4) view the png and note that is just a diagonal line as described above.
My desktop is Ubuntu, 10.04 and I am running Eclipse Galileo downloaded especiall for this, so no extra plugins are installed in Eclipse.
Any idea what is wrong?
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/566012#566012]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years, 6 months