[JBoss Cache: Core Edition] - Re: Cache corrupted by 64bit windows member
by wjm
Ah, yes. Very fair question. :-) When it was apparant to me that the error lies in readInt() and readShort(), I didn't think about the rest. Clearly thats where the problem is, but this is the form we see without a loader enabled:
30 [ERROR] RequestCorrelator.receiveMessage(): - failed unmarshalling buffer into return value
java.io.EOFException
at java.io.DataInputStream.readShort(Unknown Source)
at java.io.ObjectInputStream$BlockDataInputStream.readShort(Unknown Source)
at java.io.ObjectInputStream.readShort(Unknown Source)
at org.jboss.cache.marshall.CacheMarshaller200.unmarshallObject(CacheMarshaller200.java:536)
at org.jboss.cache.marshall.CacheMarshaller200.objectFromObjectStream(CacheMarshaller200.java:147)
at org.jboss.cache.marshall.VersionAwareMarshaller.objectFromByteBuffer(VersionAwareMarshaller.java:154)
at org.jgroups.blocks.RequestCorrelator.receiveMessage(RequestCorrelator.java:544)
at org.jgroups.blocks.RequestCorrelator.receive(RequestCorrelator.java:365)
at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.up(MessageDispatcher.java:746)
at org.jgroups.JChannel.up(JChannel.java:1151)
at org.jgroups.mux.Multiplexer$Task.run(Multiplexer.java:1036)
at org.jgroups.mux.Multiplexer$ExecuteTask.run(Multiplexer.java:1060)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source
I'll attach this to the bug as well.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187813#4187813
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187813
17 years, 5 months
[EJB 3.0] - Re: Help need to solve the jms not bound error
by houston_dragon
In GlassFish v2, the NetBean6.1 IDE generate this file automatically:
set/up/sun-resources.xml
| <?xml version="1.0" encoding="UTF-8"?>
| <!DOCTYPE resources PUBLIC "-//Sun Microsystems, Inc.//DTD Application Server 9.0 Resource Definitions //EN" "http://www.sun.com/software/appserver/dtds/sun-resources_1_3.dtd">
| <resources>
| <admin-object-resource enabled="true" jndi-name="jms/NewMessage" object-type="user" res-adapter="jmsra" res-type="javax.jms.Queue">
| <description/>
| <property name="Name" value="PhysicalQueue"/>
| </admin-object-resource>
| <connector-resource enabled="true" jndi-name="jms/NewMessageFactory" object-type="user" pool-name="jms/NewMessageFactoryPool">
| <description/>
| </connector-resource>
| <connector-connection-pool associate-with-thread="false" connection-creation-retry-attempts="0" connection-creation-retry-interval-in-seconds="10" connection-definition-name="javax.jms.QueueConnectionFactory" connection-leak-reclaim="false" connection-leak-timeout-in-seconds="0" fail-all-connections="false" idle-timeout-in-seconds="300" is-connection-validation-required="false" lazy-connection-association="false" lazy-connection-enlistment="false" match-connections="true" max-connection-usage-count="0" max-pool-size="32" max-wait-time-in-millis="60000" name="jms/NewMessageFactoryPool" pool-resize-quantity="2" resource-adapter-name="jmsra" steady-pool-size="8" validate-atmost-once-period-in-seconds="0"/>
| </resources>
Just wondering where to have similar file and place we can have this in JBoss5.0.0
Thanks,
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187811#4187811
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187811
17 years, 5 months