You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rave.apache.org by jc...@apache.org on 2012/01/06 19:21:50 UTC

svn commit: r1228328 - /incubator/rave/trunk/rave-portal/pom.xml

Author: jcian
Date: Fri Jan  6 18:21:50 2012
New Revision: 1228328

URL: http://svn.apache.org/viewvc?rev=1228328&view=rev
Log:
Adding a java system property to the cargo run configuration which will cause H2 to use localhost as the server name that it puts into the lock file when starting up its automatic tcp server.  This resolves an issue that causes shindig to sometimes fail to connect to the auto-started H2 tcp server when VPN connected to the network.

Modified:
    incubator/rave/trunk/rave-portal/pom.xml

Modified: incubator/rave/trunk/rave-portal/pom.xml
URL: http://svn.apache.org/viewvc/incubator/rave/trunk/rave-portal/pom.xml?rev=1228328&r1=1228327&r2=1228328&view=diff
==============================================================================
--- incubator/rave/trunk/rave-portal/pom.xml (original)
+++ incubator/rave/trunk/rave-portal/pom.xml Fri Jan  6 18:21:50 2012
@@ -123,7 +123,7 @@
                     <configuration>
                         <properties>
                             <cargo.jvmargs>
-                                <![CDATA[-Xdebug -Xrunjdwp:transport=dt_socket,address=${cargo.debug.address},server=y,suspend=${cargo.debug.suspend} -noverify ${javaagent} ${cargo.args}]]>
+                                <![CDATA[-Dh2.bindAddress="localhost" -Xdebug -Xrunjdwp:transport=dt_socket,address=${cargo.debug.address},server=y,suspend=${cargo.debug.suspend} -noverify ${javaagent} ${cargo.args}]]>
                             </cargo.jvmargs>
                             <cargo.tomcat.context.reloadable>true</cargo.tomcat.context.reloadable>
                         </properties>