[EJB 3.0] - Merge a removed entity bean
by sebciar
Hello,
I've a problem concerning merge entity bean (EJB3).
I use a session bean stateless with transactions that is able to create, update and remove an entity bean.
I've created a java client application that uses my session bean.
| @TransactionAttribute(value=TransactionAttributeType.REQUIRES_NEW)
| public void save(Object obj){
| em.merge(obj);
| }
|
| @TransactionAttribute(TransactionAttributeType.REQUIRED)
| public void removeAccessControl(Object obj) throws SecurityException{
| AccessControl access=null;
| access=em.find(AccessControl.class,accessControlid);
|
| //Remove dependecies
| em.remove(access);
| }
|
I run two instances of my client to simulate two users actions. The first one tries to remove the the entity #1 and the second client tries to rename same data row(#1).The Remove action is run just before the update.
The remove action deletes my bean in my database. But I was expecting that my update will fail (I use me.merge(obj)). NO! The row is added with a new ID: #2.
All entity object passed in parameters in my methods are detached.
Is that behavior normal? Is it possible, in my case, to make the entity manager automatically crache when I try to merge an entity which has been deleted by another thread without making a database check in my code ?
I tried the following code in my session bean :
| public void test(){
| em.remove(entity);
| /*....*/
| em.merge(entity);
| }
|
Here an exception is thrown that informs me that entity manager cannot merge a deleted entity. I would like to have the same behavior between 2 different transactions and 2 different threads...
Thank fo all help answers.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968875#3968875
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3968875
19 years, 7 months
[JBoss jBPM] - Re: About task consignable(my implement)
by redbeans
--add a table,record the information about task consign.
CREATE TABLE JBPM_EXT_CONSIGN
(
CONSIGN_ID NUMBER(20) NOT NULL,
CONSIGNER_ID NUMBER(20) NOT NULL,
CONSIGNEE_ID NUMBER(20) NOT NULL,
START_DATE DATE NOT NULL,
END_DATE DATE NOT NULL,
DEFINITION_ID NUMBER(20) NOT NULL,
STATUS NUMBER(1) DEFAULT 1 NOT NULL,
NOTE VARCHAR2(4000 BYTE)
)
package com.tf.canna.jbpm.bean;
import java.io.Serializable;
/**
* A class that represents a row in the JBPM_EXT_CONSIGN table. ??????????
*
* @hibernate.class
*/
public class Consign implements Serializable {
/**
* The value of the consignId association.
*
* @hibernate.property length="20"
* @return long
*
*/
private long consignId;
/**
* The value of the consignerId association.
*
* @hibernate.property length="20"
* @return long
*
*/
private long consignerId;
private String consignerName;
/**
* The value of the consigneeId association.
*
* @hibernate.property length="20"
* @return long
*
*/
private long consigneeId;
private String consigneeName;
/**
* The value of the startDate association.
*
* @hibernate.property length="0"
* @return java.util.Date
*
*/
private java.util.Date startDate;
/**
* The value of the endDate association.
*
* @hibernate.property length="0"
* @return java.util.Date
*
*/
private java.util.Date endDate;
/**
* The value of the definitionId association.
*
* @hibernate.property length="20"
* @return long
*
*/
private long definitionId;
private ProcessDefinitionBean processDefinition;
private int status;
/**
* default constructor
*/
public Consign() {
}
/**
* Return the value of the consign_id column.
*
* @return long
*/
public long getConsignId() {
return consignId;
}
/**
* Set the value of the consign_id column.
*
* @param consignId
*/
public void setConsignId(long newConsignId) {
this.consignId = newConsignId;
}
/**
* Return the value of the consigner_id column.
*
* @return long
*/
public long getConsignerId() {
return consignerId;
}
/**
* Set the value of the consigner_id column.
*
* @param consignerId
*/
public void setConsignerId(long newConsignerId) {
this.consignerId = newConsignerId;
}
/**
* Return the value of the consignee_id column.
*
* @return long
*/
public long getConsigneeId() {
return consigneeId;
}
/**
* Set the value of the consignee_id column.
*
* @param consigneeId
*/
public void setConsigneeId(long newConsigneeId) {
this.consigneeId = newConsigneeId;
}
/**
* Return the value of the start_date column.
*
* @return java.util.Date
*/
public java.util.Date getStartDate() {
return startDate;
}
/**
* Set the value of the start_date column.
*
* @param startDate
*/
public void setStartDate(java.util.Date newStartDate) {
this.startDate = newStartDate;
}
/**
* Return the value of the end_date column.
*
* @return java.util.Date
*/
public java.util.Date getEndDate() {
return endDate;
}
/**
* Set the value of the end_date column.
*
* @param endDate
*/
public void setEndDate(java.util.Date newEndDate) {
this.endDate = newEndDate;
}
/**
* Return the value of the definition_id column.
*
* @return long
*/
public long getDefinitionId() {
return definitionId;
}
/**
* Set the value of the definition_id column.
*
* @param definitionId
*/
public void setDefinitionId(long newDefinitionId) {
this.definitionId = newDefinitionId;
}
/**
* Implementation of the equals comparison on the basis of equality of the
* primary key values.
*
* @param other
* @return boolean
*/
public boolean equals(Object other) {
if (this == other) {
return true;
}
if (other != null && other instanceof Consign) {
Consign castOther = (Consign) other;
return castOther.getConsignId() == consignId;
}
return false;
}
/**
* Implementation of the hashCode method conforming to the Bloch pattern
* with the exception of array properties (these are very unlikely primary
* key types).
*
* @return int
*/
public int hashCode() {
int result = 17;
result = result * 37 + (new Long(this.consignId)).hashCode();
return result;
}
public String getConsigneeName() {
return consigneeName;
}
public void setConsigneeName(String consigneeName) {
this.consigneeName = consigneeName;
}
public String getConsignerName() {
return consignerName;
}
public void setConsignerName(String consignerName) {
this.consignerName = consignerName;
}
public ProcessDefinitionBean getProcessDefinition() {
return processDefinition;
}
public void setProcessDefinition(ProcessDefinitionBean processDefinition) {
this.processDefinition = processDefinition;
}
public int getStatus() {
return status;
}
public void setStatus(int status) {
this.status = status;
}
public String toString() {
StringBuffer sb = new StringBuffer(getClass().getName());
sb.append(this.consignId);
return sb.toString();
}
}
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping package="com.tf.canna.jbpm.bean">
s_consign
<property name="consignerId" type="long" column="consigner_id" not-null="true" />
<property name="consigneeId" type="long" column="consignee_id" not-null="true" />
<property name="startDate" type="java.util.Date" column="start_date" not-null="true" />
<property name="endDate" type="java.util.Date" column="end_date" not-null="true" />
<property name="definitionId" type="long" column="definition_id" not-null="true" />
<![CDATA[FROM Consign as consign]]>
</hibernate-mapping>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968872#3968872
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3968872
19 years, 7 months
[JBoss Seam] - Re: Seam remoting poll failover
by dave_cawthorn
sorry the debug output should have looked like this
| Fri Sep 1 15:21:55 UTC+0800 2006: Request packet:
| <envelope><body><subscribe topic="ProcessLogTopic"/></body></envelope>
|
|
| Fri Sep 1 15:21:55 UTC+0800 2006: Request packet:
| envelope><body><subscribe topic="ProcessLogTopic"/></body></envelope>
|
|
| Fri Sep 1 15:21:55 UTC+0800 2006: Response packet:
| <envelope><body><subscription topic="ProcessLogTopic" token="d1eccc87-d5a5-477a-bd21-0bcd67c3101f"/></body></envelope>
|
|
| Fri Sep 1 15:21:55 UTC+0800 2006: Request packet:
| <envelope><body><poll token="d1eccc87-d5a5-477a-bd21-0bcd67c3101f" timeout="30"/></body></envelope>
|
|
| Fri Sep 1 15:22:25 UTC+0800 2006: Response packet:
| <envelope><body></body></envelope>
|
|
| Fri Sep 1 15:22:26 UTC+0800 2006: Request packet:
| <envelope><body><poll token="d1eccc87-d5a5-477a-bd21-0bcd67c3101f" timeout="30"/></body></envelope>
|
|
| Fri Sep 1 15:22:59 UTC+0800 2006: Response packet:
|
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968870#3968870
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3968870
19 years, 7 months
[JBoss jBPM] - problem with spring mvc
by adamzrk
I use spring mvc with jboss portal. Sometimes when I use simpleformcontroller with command object i get exception:
| org.jboss.portal.core.ObjectNotFoundException: Not allowed to access resourceDefault portal does not exist
| at org.jboss.portal.core.model.portal.DefaultPortalCommandMapper.doMapping(DefaultPortalCommandMapper.java:94)
| 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:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
| at $Proxy55.doMapping(Unknown Source)
| at org.jboss.portal.core.CoreController.handle(CoreController.java:189)
| 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:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
| at org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:273)
| at $Proxy131.handle(Unknown Source)
| at org.jboss.portal.server.ServerInvocation.dispatch(ServerInvocation.java:76)
| at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:140)
| at org.jboss.portal.core.aspects.server.SubjectAssociationInterceptor.invoke(SubjectAssociationInterceptor.java:47)
| at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
| at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
| at org.jboss.portal.core.aspects.server.PolicyAssociationInterceptor.invoke(PolicyAssociationInterceptor.java:52)
| at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
| at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
| at org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(ContentTypeInterceptor.java:68)
| at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
| at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
| at org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:69)
| at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
| at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
| at org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:184)
| at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
| at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
| at org.jboss.portal.server.aspects.server.SessionInvalidatorInterceptor.invoke(SessionInvalidatorInterceptor.java:87
| at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
| at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
| at org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor.java:75)
| at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
| at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
| at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:175)
| at org.jboss.portal.server.servlet.PortalServlet.doGet(PortalServlet.java:221)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
| at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
| at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
| at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:407)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
| at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
| at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
| at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
| at java.lang.Thread.run(Thread.java:595)
|
What is the problem?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968868#3968868
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3968868
19 years, 7 months
[JBoss Seam] - Seam remoting poll failover
by dave_cawthorn
Hi All,
I have a seam page that is acting as a remote event log viewer by subscribing to a topic and then appending the topic message descriptions to the page as they come in. This all works beautifully until I kill the server the web page was connected to and try to fail over to the backup node. The web page doesn't error (like when there is only a single node that dies) but no new messages are recieved.
I turned on seam debugging in the page and here is the output of debug window. I kill the primary server just after the second poll request. As you can see there is a response from the node that takes over (i checked this with ethereal) but its just a http 200 ok with no data.
Fri Sep 1 15:21:55 UTC+0800 2006: Request packet:
Fri Sep 1 15:21:55 UTC+0800 2006: Response packet:
Fri Sep 1 15:21:55 UTC+0800 2006: Request packet:
Fri Sep 1 15:22:25 UTC+0800 2006: Response packet:
Fri Sep 1 15:22:26 UTC+0800 2006: Request packet:
Fri Sep 1 15:22:59 UTC+0800 2006: Response packet:
And on the server that takes over I get the following error trace:
2006-09-01 15:17:53,299 1449788 ERROR [org.jboss.seam.servlet.SeamServletFilter] (http-0.0.0.0-8080-1:) Error
org.dom4j.DocumentException: Read timed out Nested exception: Read timed out
at org.dom4j.io.SAXReader.read(SAXReader.java:484)
at org.dom4j.io.SAXReader.read(SAXReader.java:343)
at org.jboss.seam.remoting.PollHandler.handle(PollHandler.java:50)
at org.jboss.seam.remoting.SeamRemotingServlet.doPost(SeamRemotingServlet.java:56)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
at org.jboss.web.tomcat.tc5.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:95)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.jboss.web.tomcat.tc5.sso.ClusteredSingleSignOn.invoke(ClusteredSingleSignOn.java:461)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:595)
Nested exception:
java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at org.apache.coyote.http11.InternalInputBuffer.fill(InternalInputBuffer.java:747)
at org.apache.coyote.http11.InternalInputBuffer$InputStreamInputBuffer.doRead(InternalInputBuffer.java:777)
at org.apache.coyote.http11.filters.IdentityInputFilter.doRead(IdentityInputFilter.java:115)
at org.apache.coyote.http11.InternalInputBuffer.doRead(InternalInputBuffer.java:712)
at org.apache.coyote.Request.doRead(Request.java:418)
at org.apache.catalina.connector.InputBuffer.realReadBytes(InputBuffer.java:284)
at org.apache.tomcat.util.buf.ByteChunk.substract(ByteChunk.java:371)
at org.apache.catalina.connector.InputBuffer.readByte(InputBuffer.java:293)
at org.apache.catalina.connector.CoyoteInputStream.read(CoyoteInputStream.java:104)
at org.apache.xerces.impl.XMLEntityManager$RewindableInputStream.read(Unknown Source)
at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.dom4j.io.SAXReader.read(SAXReader.java:465)
at org.dom4j.io.SAXReader.read(SAXReader.java:343)
at org.jboss.seam.remoting.PollHandler.handle(PollHandler.java:50)
at org.jboss.seam.remoting.SeamRemotingServlet.doPost(SeamRemotingServlet.java:56)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
at org.jboss.web.tomcat.tc5.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:95)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.jboss.web.tomcat.tc5.sso.ClusteredSingleSignOn.invoke(ClusteredSingleSignOn.java:461)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:595)
I went through the steps outlined in the clustered DVD demo and believe I have adapted it to my situation.
I haven't had a real good look into remote.js yet (next point of call) but I wan't try and avoid hacking this so that if it it gets a blank response it will refresh the subscriptions on the new server.
Any help appreiciated...
Dave
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968867#3968867
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3968867
19 years, 7 months