[Beginner's Corner] - How to make 2 node communiate using TCP cluster config
by Hari Muddada
Hari Muddada [http://community.jboss.org/people/hari1234] created the discussion
"How to make 2 node communiate using TCP cluster config"
To view the discussion, visit: http://community.jboss.org/message/554256#554256
--------------------------------------------------------------
Hi,
I have got 2 servers in cluster by using cluster config of Jbosscaching. I am using TreeCacheMBean and filling the cache through a quartz schedular. I stopped the schedular on one of the node and wanted to test whether the cache from other server would replicated to this one. but I get following error message in second server log while trying to restart the first server. My intension for doing this was, I was doing the put() methods to fill the cache through schedular which as being called at the first server start up. I was expecting that this would me the replicater called and the cache would get replicated on to second server.
[2010-07-24 06:56:58,101 ERROR [STDERR] at org.jgroups.protocols.TP$IncomingMessageHandler.run(TP.java:1343)
2010-07-24 06:56:58,101 ERROR [STDERR] at java.lang.Thread.run(Thread.java:619)
2010-07-24 06:56:58,101 INFO [org.jboss.cache.marshall.VersionAwareMarshaller] Caught exception unmarshalling stream with specific versioned marshaller class org.jboss.cache.marshall.TreeCacheMarshaller140. Attempting to try again with legacy marshaller class org.jboss.cache.marshall.LegacyTreeCacheMarshaller
2010-07-24 06:56:58,101 DEBUG [org.jboss.cache.marshall.VersionAwareMarshaller] Retry with legacy marshaller failed as well; throwing original exception
java.io.StreamCorruptedException: invalid stream header: 6A627331
at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:783)
at java.io.ObjectInputStream.<init>(ObjectInputStream.java:280)
at org.jboss.invocation.MarshalledValueInputStream.<init>(MarshalledValueInputStream.java:74)
at org.jboss.cache.marshall.VersionAwareMarshaller.objectFromByteBuffer(VersionAwareMarshaller.java:186)
at org.jgroups.blocks.RpcDispatcher.handle(RpcDispatcher.java:254)
at org.jgroups.blocks.RequestCorrelator.handleRequest(RequestCorrelator.java:654)
at org.jgroups.blocks.RequestCorrelator.receiveMessage(RequestCorrelator.java:544)
at org.jgroups.blocks.RequestCorrelator.receive(RequestCorrelator.java:367)
at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.up(MessageDispatcher.java:779)
at org.jgroups.JChannel.up(JChannel.java:1090)
at org.jgroups.stack.ProtocolStack.up(ProtocolStack.java:382)
at org.jgroups.stack.ProtocolStack.receiveUpEvent(ProtocolStack.java:398)
at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
at org.jgroups.protocols.pbcast.STATE_TRANSFER.up(STATE_TRANSFER.java:158)
at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
at org.jgroups.protocols.pbcast.GMS.up(GMS.java:763)
at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
at org.jgroups.protocols.pbcast.GMS.receiveUpEvent(GMS.java:783)
at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
at org.jgroups.protocols.pbcast.STABLE.up(STABLE.java:262)
at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
at org.jgroups.protocols.pbcast.NAKACK.handleMessage(NAKACK.java:685)
at org.jgroups.protocols.pbcast.NAKACK.up(NAKACK.java:517)
at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
at org.jgroups.protocols.VERIFY_SUSPECT.up(VERIFY_SUSPECT.java:170)
at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
at org.jgroups.protocols.FD.up(FD.java:300)
at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
at org.jgroups.protocols.FD_SOCK.up(FD_SOCK.java:305)
at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
Type :quit<Enter> to exit Vim 11384,2-9 99%
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/554256#554256]
Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 10 months
[jBPM] - jBPM-4.4 install script broken in windows platform
by HuiSheng Xu
HuiSheng Xu [http://community.jboss.org/people/rebody] created the discussion
"jBPM-4.4 install script broken in windows platform"
To view the discussion, visit: http://community.jboss.org/message/554249#554249
--------------------------------------------------------------
Hi guys,
In windowXP platform, the jBPM 4.4 install script will break. The 'start.tomcat' target will always fail with
> start.tomcat:
> [exec] The CATALINA_HOME environment variable is not defined correctly
> [exec] This environment variable is needed to run this program
The workaround is change the line 650 of intall/build.xml to
<exec executable="${tomcat.home}/bin/startup.bat" osfamily="windows" dir="${tomcat.home}/bin" spawn="true"/>
The related 'stop.tomcat' target could be resovled by the same way. change the line 664 of install/build.xml to
<exec executable="${tomcat.home}/bin/shutdown.bat" osfamily="windows" dir="${tomcat.home}/bin" spawn="true"/>
But the 'get.eclipse' target always get a html whose size is only 31KB. Is there anybody know how to download eclipse by ant directly? Any reply will be apprieciated.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/554249#554249]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 10 months
Re: [jboss-user] [JBoss Portal] - How to suppress "Server Credentials required" screen in Eclipse
by Antoine Herzog
Antoine Herzog [http://community.jboss.org/people/Antoine_h] replied to the discussion
"How to suppress "Server Credentials required" screen in Eclipse"
To view the discussion, visit: http://community.jboss.org/message/554248#554248
--------------------------------------------------------------
Hello,
this is not a topic about JBoss Portal : better see in the forum of JBoss Tools...
what it seems, is that the run of the server inside Eclipse is not finding the credential.
search option are :
- are the config of the jboss server proper : check how is doing the run.bat file (with some "echo" comments in it).
- check that the proper JRE is used to start the server (Java 5, java 6,...). "jboss community 5.0" is better with Java 6... see the release note and readme files in the root folder of the download.
- check if Eclipse is starting the server with a different JVM, and how
- check if the credential are obtained by network call and that eclipse allow the connection (proper host, proper port access)
another way is to start the server on it's own, and then ask the debugger to plug into it.
I am not sure it is possible, but it seems to, from what I have seen of the configuration options in eclipse (servers>launching options)
hope it helps,
Antoine
JBoss Portal and GateIn (JSR-286), JSF, Richfaces, J2EE, Drools, BRMS.
http:// http://www.sysemo.com/Sysemo-expertise-portails-jboss-portal.php
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/554248#554248]
Start a new discussion in JBoss Portal at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 10 months