[JBoss JIRA] Created: (JBAS-4021) Distinct system properties for mcast_port in each config file
by Brian Stansberry (JIRA)
Distinct system properties for mcast_port in each config file
-------------------------------------------------------------
Key: JBAS-4021
URL: http://jira.jboss.com/jira/browse/JBAS-4021
Project: JBoss Application Server
Issue Type: Sub-task
Security Level: Public (Everyone can see)
Components: Clustering
Reporter: Brian Stansberry
Assigned To: Brian Stansberry
Priority: Optional
Fix For: JBossAS-4.2.0.CR1
Using a startup switch for the JGroups UDP mcast_port is not possible in a non-multiplexer environment, because every channel should use a separate port. But, we can add some properties to the standard config files to make it easier for users to set the ports via -D.
cluster-service.xml -- ${jboss.hapartition.mcast_port:45566}
jboss-web-cluster.sar/META-INF/jboss-service.xml -- ${jboss.webpartition.mcast_port:45577}
ejb3-entity-cache-service.xml -- ${jboss.ejb3entitypartition.mcast_port:43333}
ejb3-clustered-sfsbcache-service.xml -- ${jboss.ejb3sfsbpartition.mcast_port:45551}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
19 years, 3 months
[JBoss JIRA] Created: (JBREM-623) need reset() call added back to JavaSerializationManager.sendObject() method
by Tom Elrod (JIRA)
need reset() call added back to JavaSerializationManager.sendObject() method
----------------------------------------------------------------------------
Key: JBREM-623
URL: http://jira.jboss.com/jira/browse/JBREM-623
Project: JBoss Remoting
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: transport
Affects Versions: 2.2.0.Alpha3 (Bluto)
Reporter: Tom Elrod
Assigned To: Ron Sigal
Priority: Critical
Fix For: 2.2.0.Beta1 (Bluto)
Per JBREM-597, code was changed within JavaSerializationManager.sendObject() to not call reset() on the ObjectOutputStream as would cause an error (see below). Although this solution works, it is not optimal as need the reset() to be called to release the references kept internally to the object stream (otherwise could potentially run out of memory if are sending a lot of different object types).
Error when reset() method is called:
java.rmi.MarshalException: Failed to communicate. Problem during marshalling/unmarshalling; nested exception is:
java.io.IOException: Can not read data for version 121. Supported versions: 1, 2
at org.jboss.remoting.transport.socket.SocketClientInvoker.handleException(SocketClientInvoker.java:122)
at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:408)
at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:125)
at org.jboss.remoting.Client.invoke(Client.java:605)
at org.jboss.remoting.Client.invoke(Client.java:597)
at org.jboss.remoting.Client.invoke(Client.java:582)
at org.jboss.test.remoting.transport.socket.connection.SocketTestClient.testInvocations(SocketTestClient.java:74)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at com.intellij.rt.execution.junit2.JUnitStarter.main(JUnitStarter.java:32)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)
Caused by: java.io.IOException: Can not read data for version 121. Supported versions: 1, 2
at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.versionedRead(MicroSocketClientInvoker.java:503)
at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:370)
... 28 more
Test case: org.jboss.test.remoting.transport.socket.connection.SocketConnectionTestCase & org.jboss.test.remoting.transport.socket.connection.SocketConnectionCheckTestCase
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
19 years, 3 months