cargo.run not listening for remote debugger in Hippo 10

45 views
Skip to first unread message

Dodo

unread,
Sep 9, 2015, 4:14:21 AM9/9/15
to Hippo Community
Hello,

I have a slight problem, it's probably caused by my own stupidity, but I'm hoping someone will be able to help me resolve my problem.
When starting the site with "mvn -P cargo.run", the following line should appear: "Listening for transport dt_socket at address: 8000" but it does not.
I'm using Ubuntu 15.04, and my "java -version" and "mvn -version" look as follows:
java -version
java version
"1.8.0_60"
Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)



mvn -version
Apache Maven 3.0.5
Maven home: /usr/share/maven
Java version: 1.8.0_60, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-8-oracle/jre
Default locale: en_US, platform encoding: UTF-8
OS name
: "linux", version: "3.19.0-28-generic", arch: "amd64", family: "unix"


Any ideas on how I can get the debugger to work?

Kind Regards,
Martijn van der Vorst

Dodo

unread,
Sep 9, 2015, 4:23:17 AM9/9/15
to Hippo Community
And I'm back again.
No idea why it wouldn't run by default, but after adding the following to the root pom.xml for the cargo.run profile, it worked:
<properties>
   
<cargo.jvmargs>-Xdebug -Xrunjdwp:transport=dt_socket,address=9000,server=y,suspend=${cargo.debug.suspend} -noverify ${javaagent} ${cargo.jvm.args}</cargo.jvmargs>
</properties>

Ard Schrijvers

unread,
Sep 9, 2015, 5:04:35 AM9/9/15
to hippo-c...@googlegroups.com
Perhaps you have another process running on port 8000?

Regards Ard
> --
> Hippo Community Group: The place for all discussions and announcements about
> Hippo CMS (and HST, repository etc. etc.)
>
> To post to this group, send email to hippo-c...@googlegroups.com
> RSS:
> https://groups.google.com/group/hippo-community/feed/rss_v2_0_msgs.xml?num=50
> ---
> You received this message because you are subscribed to the Google Groups
> "Hippo Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to hippo-communi...@googlegroups.com.
> Visit this group at http://groups.google.com/group/hippo-community.
> For more options, visit https://groups.google.com/d/optout.



--
Hippo Netherlands, Oosteinde 11, 1017 WT Amsterdam, Netherlands
Hippo USA, Inc.- 745 Atlantic Ave, Eight Floor, Boston MA 02111,
United states of America.

US +1 877 414 4776 (toll free)
Europe +31(0)20 522 4466
www.onehippo.com
Reply all
Reply to author
Forward
0 new messages