[JBoss JIRA] Created: (JBAS-3855) JBosses org.jboss.invocation.InvocationStatistics are not serializable and therfore cant be queried by twiddle.sh
by Ramon Grunder (JIRA)
JBosses org.jboss.invocation.InvocationStatistics are not serializable and therfore cant be queried by twiddle.sh
-----------------------------------------------------------------------------------------------------------------
Key: JBAS-3855
URL: http://jira.jboss.com/jira/browse/JBAS-3855
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: JMX
Affects Versions: JBossAS-4.0.4.GA
Reporter: Ramon Grunder
Assigned To: Scott M Stark
here is a sample call including the stack trace which describes the error:
$ twiddle.sh -s jnp://localhost:1099 get jboss.j2ee:service=EJB,jndiName=ejb/Dummy InvokeStats
13:51:56,120 ERROR [Twiddle] Exec failed
java.io.NotSerializableException: org.jboss.invocation.InvocationStatistics
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1081)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
...
--
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, 2 months
[JBoss JIRA] Created: (JBCACHE-937) Benchmark VersionAwareMarshaller
by Galder Zamarreno (JIRA)
Benchmark VersionAwareMarshaller
--------------------------------
Key: JBCACHE-937
URL: http://jira.jboss.com/jira/browse/JBCACHE-937
Project: JBoss Cache
Issue Type: Task
Security Level: Public (Everyone can see)
Affects Versions: 2.0.0.ALPHA2
Reporter: Galder Zamarreno
Assigned To: Manik Surtani
Fix For: 2.0.0.BETA2
Benchmark VersionAwareMarshaller to make it more performant. There's already a
unit test to use it as base: VersionAwareMarshallerPerfTest.
It should probably make comparison failures based on results from different
marshalling methods, i.e, if difference bigger than x, fail. Also add marshalling different
types of objects.
Potential performance improvements:
- Using similar techniques as used in ExposedByteArrayOutputStream (JGroups) for VAM?
Needs profiling to determine effect.
--
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: (JBAS-3792) Better error reporting when messages "mysteriously" vanish
by Adrian Brock (JIRA)
Better error reporting when messages "mysteriously" vanish
----------------------------------------------------------
Key: JBAS-3792
URL: http://jira.jboss.com/jira/browse/JBAS-3792
Project: JBoss Application Server
Issue Type: Sub-task
Security Level: Public (Everyone can see)
Components: JMS service
Affects Versions: JBossAS-4.0.5.GA
Reporter: Adrian Brock
Fix For: JBossAS-4.0.6.GA
It is commonly the case that people try to run two instances of JBossMQ against the same
database tables. This can lead to errors like the ones in the parent task or a similar message
in the delete when doing acknowledgements.
These error messages need improving and also give a hint to the possible reasons,
e.g.
1) competing JBossMQs trying to share the same database
2) trying to use a replicating database that does not support synchronous replication (i..e there
is a delay in a row getting written to one database before it appears in the other database)
The parent issue's error message belongs in org.jboss.mq.pm.jdbc2.PersistenceManager
public SpyMessage loadFromStorage(MessageReference messageRef) throws JMSException
{
...
rs = stmt.executeQuery();
if (rs.next())
return extractMessage(rs);
+ else
throw new JMSException("Unable to load message " + messageRef + " from storage, are you trying to share database tables between JBossMQ instances? Are you using a replicating database that does not support synchronous replication?");
- return null;
--
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