Hello,
I'm trying to get SpringTrader to work in a clustered environment. Changing the bind-address from 127.0.0.1 to the IP of the host results in the below messages in catalina.out. Any ideas? Also the -DgemfirePropertyFile command line parameter didn't work. I had to add the directory containing gemfire.properties to the classpath.
[info 2013/01/18 10:57:35.138 MST Spring Integration GemFire World <localhost-startStop-1> tid=0x14]
---------------------------------------------------------------------------
Copyright (C) 1997-2012 VMware, Inc. All rights reserved. This product is
protected by U.S. and international copyright and intellectual property
laws. VMware products are covered by one or more patents listed at
http://www.vmware.com/go/patents. VMware is a registered trademark or
trademark of VMware, Inc. in the United States and/or other jurisdictions.
All other marks and names mentioned herein may be trademarks of their
respective companies.
---------------------------------------------------------------------------
Java version: 6.6.3 build 35763 06/07/2012 13:53:23 PDT javac 1.6.0_26
Native version: native code unavailable
Source revision: 35763
Source repository: gemfire/trunk
Running on: nanodbserver/192.168.65.132, 1 cpu(s), i386 Linux 2.6.32-279.19.1.el6.i686
Process ID: 20327
User: root
Current dir: /opt/vmware/vfabric-tc-server-standard
Home dir: /root
Class Path:
/opt/vmware/vfabric-tc-server-standard/springtrader/conf
/opt/vmware/vfabric-tc-server-standard/tomcat-7.0.30.A.RELEASE/bin/bootstrap.jar
/opt/vmware/vfabric-tc-server-standard/tomcat-7.0.30.A.RELEASE/bin/tomcat-juli.jar
Library Path:
/usr/java/packages/lib/i386
/lib
/usr/lib
System Properties:
awt.toolkit = sun.awt.X11.XToolkit
base.jmx.port = 6969
base.shutdown.port = -1
bio.http.port = 8080
bio.https.port = 8443
catalina.base = /opt/vmware/vfabric-tc-server-standard/springtrader
catalina.home = /opt/vmware/vfabric-tc-server-standard/tomcat-7.0.30.A.RELEASE
catalina.useNaming = true
com.springsource.tcserver.security.PropertyDecoder.passphrase = springsource
common.loader = ${catalina.base}/lib,${catalina.base}/lib/*.jar,${catalina.home}/lib,${catalina.home}/lib/*.jar
file.encoding = UTF-8
file.encoding.pkg = sun.io
file.separator = /
java.awt.graphicsenv = sun.awt.X11GraphicsEnvironment
java.awt.printerjob = sun.print.PSPrinterJob
java.class.version = 51.0
java.endorsed.dirs = /opt/vmware/vfabric-tc-server-standard/tomcat-7.0.30.A.RELEASE/endorsed
java.ext.dirs = /usr/java/jdk1.7.0_10/jre/lib/ext:/usr/java/packages/lib/ext
java.home = /usr/java/jdk1.7.0_10/jre
java.io.tmpdir = /opt/vmware/vfabric-tc-server-standard/springtrader/temp
java.naming.factory.initial = org.apache.naming.java.javaURLContextFactory
java.naming.factory.url.pkgs = org.apache.naming
java.rmi.server.hostname = 127.0.0.1
java.rmi.server.randomIDs = true
java.runtime.name = Java(TM) SE Runtime Environment
java.runtime.version = 1.7.0_10-b18
java.specification.name = Java Platform API Specification
java.specification.vendor = Oracle Corporation
java.specification.version = 1.7
java.util.logging.config.file = /opt/vmware/vfabric-tc-server-standard/springtrader/conf/logging.properties
java.util.logging.manager = com.springsource.tcserver.serviceability.logging.TcServerLogManager
java.vendor = Oracle Corporation
java.vendor.url = http://java.oracle.com/
java.vendor.url.bug = http://bugreport.sun.com/bugreport/
java.version = 1.7.0_10
java.vm.info = mixed mode, sharing
java.vm.name = Java HotSpot(TM) Client VM
java.vm.specification.name = Java Virtual Machine Specification
java.vm.specification.vendor = Oracle Corporation
java.vm.specification.version = 1.7
java.vm.vendor = Oracle Corporation
java.vm.version = 23.6-b04
line.separator =
org.apache.catalina.startup.EXIT_ON_INIT_FAILURE = true
org.apache.tomcat.util.digester.PROPERTY_SOURCE = com.springsource.tcserver.security.PropertyDecoder
os.version = 2.6.32-279.19.1.el6.i686
p2p.useSSL = false
package.access = sun.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.
package.definition = sun.,java.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.
path.separator = :
server.loader =
shared.loader =
spring.profiles.active = production,jndi
springtrader.springtrader.driverClassName = com.vmware.sqlfire.jdbc.ClientDriver
springtrader.springtrader.password = nanotrader
springtrader.springtrader.url = jdbc:sqlfire://nanodbserver:1527/
springtrader.springtrader.username = nanotrader
springtrader.springtrader.validationQuery = select 1 from nanotrader.hibernate_sequences where sequence_name='ACCOUNT'
sun.arch.data.model = 32
sun.boot.class.path = /usr/java/jdk1.7.0_10/jre/lib/resources.jar:/usr/java/jdk1.7.0_10/jre/lib/rt.jar:/usr/java/jdk1.7.0_10/jre/lib/sunrsasign.jar:/usr/java/jdk1.7.0_10/jre/lib/jsse.jar:/usr/java/jdk1.7.0_10/jre/lib/jce.jar:/usr/java/jdk1.7.0_10/jre/lib/charsets.jar:/usr/java/jdk1.7.0_10/jre/lib/jfr.jar:/usr/java/jdk1.7.0_10/jre/classes
sun.boot.library.path = /usr/java/jdk1.7.0_10/jre/lib/i386
sun.cpu.endian = little
sun.cpu.isalist =
sun.io.unicode.encoding = UnicodeLittle
sun.java.command = org.apache.catalina.startup.Bootstrap start
sun.java.launcher = SUN_STANDARD
sun.jnu.encoding = UTF-8
sun.management.compiler = HotSpot Client Compiler
sun.nio.ch.bugLevel =
sun.os.patch.level = unknown
tomcat.util.buf.StringCache.byte.enabled = true
tomcat.util.scan.DefaultJarScanner.jarsToSkip = annotations-api.jar,ant.jar,apple_provider.jar,AppleScriptEngine.jar,antlr-*.jar,aopalliance-*.jar,asm-*.jar,aspectj*.jar,bootstrap.jar,catalina.jar,catalina-ant.jar,catalina-ha.jar,catalina-tribes.jar,cglib-*.jar,com.springsource.org.apache.tomcat.jdbc.jar,commons-beanutils*.jar,commons-codec*.jar,commons-collections*.jar,commons-daemon.jar,commons-dbcp*.jar,commons-digester*.jar,commons-fileupload*.jar,commons-httpclient*.jar,commons-io*.jar,commons-lang*.jar,commons-logging*.jar,commons-math*.jar,commons-pool*.jar,CoreAudio.jar,dom4j-*.jar,dns_sd.jar,dnsns.jar,ecj-*.jar,ehcache-core-*.jar,el-api.jar,freemarker-*.jar,gemfire-*.jar,geronimo-spec-jaxrpc*.jar,groovy-all-*.jar,h2*.jar,hibernate*.jar,httpclient*.jar,insight-*.jar,j3daudio.jar,j3dcore.jar,j3dutils.jar,jackson-*.jar,javassist-*.jar,jai_codec.jar,jai_core.jar,jasper.jar,jasper-el.jar,jcommon-*.jar,jetty-util-*.jar,jfreechart-*.jar,jline-*.jar,jmx.jar,jmx-tools.jar,jsp-api.jar,jstl.jar,jta*.jar,ldapsec.jar,liquibase-core-*.jar,localedata.jar,log4j*.jar,mail*.jar,mlibwrapper_jai.jar,MRJToolkit.jar,servlet-api.jar,slf4j*.jar,spring-aop-*.jar,spring-asm-*.jar,spring-aspects-*.jar,spring-beans-*.jar,spring-context-*.jar,spring-context-support-*.jar,spring-core-*.jar,spring-expression-*.jar,spring-gemfire-*.jar,spring-instrument-tomcat-*.jar,spring-jdbc-*.jar,spring-js-*.jar,spring-orm-*.jar,spring-security-core-*.jar,spring-security-web-*.jar,spring-tx-*.jar,stax-*.jar,sunec.jar,sunjce_provider.jar,sunpkcs11.jar,tcServer.jar,threaddumpwrapper.jar,tiles-api-*.jar,tiles-core-*.jar,tiles-servlet-*.jar,tomcat-api.jar,tomcat-coyote.jar,tomcat-dbcp.jar,tomcat-i18n-en.jar,tomcat-i18n-es.jar,tomcat-i18n-fr.jar,tomcat-i18n-ja.jar,tomcat-jdbc.jar,tomcat-juli.jar,tomcat-util.jar,tools.jar,vecmath.jar,wrapper.jar,wsdl4j*.jar,xercesImpl.jar,xml-apis.jar,xmlParserAPIs.jar,xpp3_min-*.jar,xstream-*.jar,zipfs.jar
user.country = US
user.language = en
user.timezone = Navajo
---------------------------------------------------------------------------
[config 2013/01/18 10:57:35.153 MST Spring Integration GemFire World <localhost-startStop-1> tid=0x14] Startup Configuration:
ack-severe-alert-threshold="0"
ack-wait-threshold="15"
archive-disk-space-limit="0"
archive-file-size-limit="0"
async-distribution-timeout="0"
async-max-queue-size="8"
async-queue-timeout="60000"
bind-address="nanodbserver"
cache-xml-file="cache.xml"
conflate-events="server"
conserve-sockets="true"
delta-propagation="true"
departure-correlation-window="120"
disable-tcp="false"
distributed-system-id="-1"
durable-client-id=""
durable-client-timeout="300"
enable-network-partition-detection="false"
enable-time-statistics="false"
enforce-unique-host="false"
license-application-cache="Y14AA-N03EL-18T8H-06AAM-A42PC"
license-data-management=""
license-server-timeout="10000"
license-working-dir=""
locators=""
log-disk-space-limit="0"
log-file=""
log-file-size-limit="0"
log-level="config"
max-num-reconnect-tries="3"
max-wait-time-reconnect="10000"
mcast-address="239.192.81.1"
mcast-flow-control="1048576, 0.25, 5000"
mcast-port="10334"
mcast-recv-buffer-size="1048576"
mcast-send-buffer-size="65535"
mcast-ttl="32"
member-timeout="5000"
membership-port-range="1024-65535"
name="Spring Integration GemFire World"
redundancy-zone=""
remove-unresponsive-client="false"
roles=""
security-=""
security-client-accessor=""
security-client-accessor-pp=""
security-client-auth-init=""
security-client-authenticator=""
security-client-dhalgo=""
security-log-file=""
security-log-level="config"
security-peer-auth-init=""
security-peer-authenticator=""
security-peer-verifymember-timeout="1000"
server-bind-address=""
socket-buffer-size="32768"
socket-lease-time="60000"
ssl-ciphers="any"
ssl-enabled="false"
ssl-protocols="any"
ssl-require-authentication="true"
start-locator=""
statistic-archive-file=""
statistic-sample-rate="1000"
statistic-sampling-enabled="false"
tcp-port="0"
udp-fragment-size="60000"
udp-recv-buffer-size="1048576"
udp-send-buffer-size="65535"
writable-working-dir=""
[info 2013/01/18 10:57:35.158 MST Spring Integration GemFire World <localhost-startStop-1> tid=0x14] Defaulting license-working-dir to current working directory "/opt/vmware/vfabric-tc-server-standard".
[info 2013/01/18 10:57:35.166 MST Spring Integration GemFire World <localhost-startStop-1> tid=0x14] Acquiring Application Cache Node license with serial number "Y14AA-N03EL-18T8H-06AAM-A42PC".
[info 2013/01/18 10:57:35.305 MST Spring Integration GemFire World <localhost-startStop-1> tid=0x14] vFabric Licensing Client activation of license required 137 milliseconds.
[info 2013/01/18 10:57:35.313 MST Spring Integration GemFire World <localhost-startStop-1> tid=0x14] Licensing required 158 milliseconds.
[info 2013/01/18 10:57:35.479 MST Spring Integration GemFire World <localhost-startStop-1> tid=0x14] GemFire P2P Listener started on tcp:///192.168.65.132:54050
[info 2013/01/18 10:57:35.894 MST Spring Integration GemFire World <localhost-startStop-1> tid=0x14] requested unicast receive buffer size of 1,048,576 but got 131,071: This is an operating system limit. If you would like to change it, please see your system administrator.
[info 2013/01/18 10:57:35.895 MST Spring Integration GemFire World <localhost-startStop-1> tid=0x14] requested multicast receive buffer size of 1,048,576 but got 131,071: This is an operating system limit. If you would like to change it, please see your system administrator.
[info 2013/01/18 10:57:35.896 MST Spring Integration GemFire World <localhost-startStop-1> tid=0x14] requested multicast receive buffer size of 1,048,576 but got 131,071: This is an operating system limit. If you would like to change it, please see your system administrator.
[info 2013/01/18 10:57:36.916 MST Spring Integration GemFire World <localhost-startStop-1> tid=0x14] Attempting to join distributed system whose membership coordinator is nanodbserver(4447)<v0>:3891 using membership ID nanodbserver(20327):33105
[info 2013/01/18 10:57:37.132 MST Spring Integration GemFire World <localhost-startStop-1> tid=0x14] Entered into membership in group GF66 with ID nanodbserver(20327)<v33>:33105/54050.
[info 2013/01/18 10:57:37.133 MST Spring Integration GemFire World <localhost-startStop-1> tid=0x14] Starting DistributionManager nanodbserver(20327)<v33>:33105/54050.
[info 2013/01/18 10:57:37.134 MST Spring Integration GemFire World <localhost-startStop-1> tid=0x14] Initial (membershipManager) view = [nanodbserver(4447)<v0>:3891/55414, nanodbserver(20327)<v33>:33105/54050]
[info 2013/01/18 10:57:37.134 MST Spring Integration GemFire World <localhost-startStop-1> tid=0x14] Admitting member <nanodbserver(4447)<v0>:3891/55414>. Now there are 1 non-admin member(s).
[info 2013/01/18 10:57:37.134 MST Spring Integration GemFire World <localhost-startStop-1> tid=0x14] Admitting member <nanodbserver(20327)<v33>:33105/54050>. Now there are 2 non-admin member(s).
[info 2013/01/18 10:57:37.218 MST Spring Integration GemFire World <localhost-startStop-1> tid=0x14] DistributionManager nanodbserver(20327)<v33>:33105/54050 started on nanodbserver[10334]. There were 1 other DMs. others: [nanodbserver(4447)<v0>:3891/55414]
[info 2013/01/18 10:57:37.279 MST Spring Integration GemFire World <localhost-startStop-1> tid=0x14] JNDIInvoker::mapTransactions::NamingException while binding TransactionManager/UserTransaction to GemFire JNDI Tree
[info 2013/01/18 10:57:37.294 MST Spring Integration GemFire World <Thread-6 StatSampler> tid=0x48] Disabling statistic archival.
[severe 2013/01/18 10:57:37.398 MST Spring Integration GemFire World <P2P message reader for nanodbserver(4447)<v0>:3891/55414 SHARED=true ORDERED=false UID=17> tid=0x45] Error deserializing message
java.io.IOException: Unknown header byte: 0
at com.gemstone.gemfire.internal.InternalDataSerializer.basicReadObject(InternalDataSerializer.java:2819)
at com.gemstone.gemfire.DataSerializer.readObject(DataSerializer.java:3217)
at com.gemstone.gemfire.internal.cache.UpdateAttributesProcessor$ProfileReplyMessage.fromData(UpdateAttributesProcessor.java:402)
at com.gemstone.gemfire.internal.DSFIDFactory.readProfileReplyMessage(DSFIDFactory.java:1499)
at com.gemstone.gemfire.internal.DSFIDFactory.create(DSFIDFactory.java:297)
at com.gemstone.gemfire.internal.InternalDataSerializer.readDSFID(InternalDataSerializer.java:2524)
at com.gemstone.gemfire.internal.tcp.Connection.processNIOBuffer(Connection.java:3463)
at com.gemstone.gemfire.internal.tcp.Connection.runNioReader(Connection.java:1773)
at com.gemstone.gemfire.internal.tcp.Connection.run(Connection.java:1654)
at java.lang.Thread.run(Thread.java:722)
[warning 2013/01/18 10:57:52.394 MST Spring Integration GemFire World <localhost-startStop-1> tid=0x14] 15 seconds have elapsed while waiting for replies: <UpdateAttributesProcessor$UpdateAttributesReplyProcessor 2 waiting for 1 replies from [nanodbserver(4447)<v0>:3891/55414]> on nanodbserver(20327)<v33>:33105/54050 whose current membership list is: [[nanodbserver(4447)<v0>:3891/55414, nanodbserver(20327)<v33>:33105/54050]]