RunDeck and Control Tier on same box?

62 views
Skip to first unread message

Judd Maltin

unread,
Apr 28, 2011, 8:04:58 PM4/28/11
to rundeck...@googlegroups.com
What might be the conflict between my rundeck and contorltier on the same box?

2011-04-28 19:58:28.340::WARN:  Committed before 404 null
2011-04-28 19:58:28.340::WARN:  /ctlcenter/ java.lang.IllegalStateException: Committed         at org.mortbay.jetty.Response.resetBuffer(Response.java:1024)

Ports are different.  Something in the JVM?

controliter 3.6 and rundeck 1.2

--
Judd Maltin
T: 917-882-1270
F: 501-694-7809
A loving heart is never wrong.



Anthony Shortland

unread,
Apr 29, 2011, 11:21:55 AM4/29/11
to rundeck...@googlegroups.com
Have you removed CtlCenter from your installation as my post proposed?

Anthony Shortland

unread,
Apr 29, 2011, 11:24:03 AM4/29/11
to rundeck...@googlegroups.com
By "my post" I'm referring the this post to the ControlTier Google group: http://groups.google.com/group/controltier/browse_thread/thread/cc734760224fba82?hl=en ... entitled "Configuring Rundeck and ControlTier as part of a "loosely-coupled" tool-chain".

Anthony.

Judd Maltin

unread,
Apr 29, 2011, 11:34:25 AM4/29/11
to rundeck...@googlegroups.com
So far I've discovered that I can indeed stop one and start the other.

Judd Maltin

unread,
Apr 29, 2011, 11:35:55 AM4/29/11
to rundeck...@googlegroups.com
... and that's an excellent post, Anthony - THANKS!

Charles Scott

unread,
Apr 29, 2011, 11:58:22 AM4/29/11
to rundeck...@googlegroups.com
I have verified during a ctier build where rundeck was co-located on same machine that such file:

  [chuck@services jenkins.jobs.d]$ ls -l /tmp/org.hibernate.cache.UpdateTimestampsCache.data 
   -rw-rw-r-- 1 rundeck rundeck 0 Apr 28 01:21 /tmp/org.hibernate.cache.UpdateTimestampsCache.data


Conflicted with controltier during it's junit testing leading to failed test....  

Anthony Shortland

unread,
Apr 29, 2011, 12:02:39 PM4/29/11
to rundeck...@googlegroups.com
Is that location configurable in Rundeck?

In general perhaps we should avoid using the default location of "java.io.tmpdir" where possible since if often causes conflict between various Java components (not just Rundeck and CtlCenter).

Could be fixed by setting "-Djava.io.tmpdir=/var/tmp/rundeck" or similar?

Anthony.

Alex-SF

unread,
Apr 29, 2011, 12:04:25 PM4/29/11
to rundeck-discuss

Here's one thread: http://stackoverflow.com/questions/2823987/multiple-grails-applications-create-ehcache-conflicts

On Apr 29, 9:02 am, Anthony Shortland <anthony.shortl...@me.com>
wrote:
> Is that location configurable in Rundeck?
>
> In general perhaps we should avoid using the default location of "java.io.tmpdir" where possible since if often causes conflict between various Java components (not just Rundeck and CtlCenter).
>
> Could be fixed by setting "-Djava.io.tmpdir=/var/tmp/rundeck" or similar?
>
> Anthony.
>
> On Apr 29, 2011, at 8:58 AM, Charles Scott wrote:
>
>
>
> > I have verified during a ctier build where rundeck was co-located on same machine that such file:
>
> >   [chuck@services jenkins.jobs.d]$ ls -l /tmp/org.hibernate.cache.UpdateTimestampsCache.data
> >    -rw-rw-r-- 1 rundeck rundeck 0 Apr 28 01:21 /tmp/org.hibernate.cache.UpdateTimestampsCache.data
>
> > Conflicted with controltier during it's junit testing leading to failed test....  
>
> > On Apr 29, 2011, at 8:35 AM, Judd Maltin wrote:
>
> >> ... and that's an excellent post, Anthony - THANKS!
>
> >> On Fri, Apr 29, 2011 at 11:34 AM, Judd Maltin <j...@newgoliath.com> wrote:
> >> So far I've discovered that I can indeed stop one and start the other.
>
> >> On Fri, Apr 29, 2011 at 11:24 AM, Anthony Shortland <anthony.shortl...@me.com> wrote:
> >> By "my post" I'm referring the this post to the ControlTier Google group:http://groups.google.com/group/controltier/browse_thread/thread/cc734...... entitled "Configuring Rundeck and ControlTier as part of a "loosely-coupled" tool-chain".

Anthony Shortland

unread,
Apr 29, 2011, 12:08:15 PM4/29/11
to rundeck...@googlegroups.com

Charles Scott

unread,
May 5, 2011, 1:41:09 PM5/5/11
to rundeck...@googlegroups.com
In order to enable rundeck and controltier to co-exist in situations where I am about to implement a migration path from ctier to rundeck, I adjusted rundeck's java.io.tmpdir in its profile

[root@centos-56-64-vm8 zinio-rundeck-config]# /etc/rc.d/init.d/rundeckd stop
[root@centos-56-64-vm8 zinio-rundeck-config]# mkdir /var/rundeck/tmp
[root@centos-56-64-vm8 zinio-rundeck-config]# chown rundeck:rundeck /var/rundeck/tmp
[root@centos-56-64-vm8 zinio-rundeck-config]# chmod 1777 /var/rundeck/tmp
[root@centos-56-64-vm8 zinio-rundeck-config]# ls -ld /var/rundeck/tmp
drwxrwxrwt 2 rundeck rundeck 4096 May  5 10:31 /var/rundeck/tmp
[root@centos-56-64-vm8 zinio-rundeck-config]# vi /etc/rundeck/profile
[root@centos-56-64-vm8 zinio-rundeck-config]# grep TMPDIR /etc/rundeck/profile
JAVA_IO_TMPDIR=/var/rundeck/tmp
        -Djava.io.tmpdir=${JAVA_IO_TMPDIR} \
[root@centos-56-64-vm8 zinio-rundeck-config]# /etc/rc.d/init.d/rundeckd start
[root@centos-56-64-vm8 zinio-rundeck-config]# ls -l /var/rundeck/tmp/
total 0
-rw-rw-r-- 1 rundeck rundeck 0 May  5 10:32 org.hibernate.cache.StandardQueryCache.data
-rw-rw-r-- 1 rundeck rundeck 0 May  5 10:32 org.hibernate.cache.UpdateTimestampsCache.data
[root@centos-56-64-vm8 zinio-rundeck-config]# ps -ef |grep rundeck.RunServer |grep -v runuser
rundeck  12201 12199  8 10:32 ?        00:00:35 /usr/bin/java -Djava.security.auth.login.config=/etc/rundeck/ldap-loginModule.conf -Djava.io.tmpdir=/var/rundeck/tmp -Dloginmodule.name=RD -Drdeck.config=/etc/rundeck -Drdeck.base=/etc/rundeck -Drundeck.server.configDir=/etc/rundeck -Dserver.datastore.path=/var/lib/rundeck/data -Drundeck.server.serverDir=/var/lib/rundeck -Drdeck.projects=/var/rundeck/projects -Drdeck.runlogs=/var/lib/rundeck/logs -Drundeck.config.name=/etc/rundeck/rundeck-config.properties -Xmx1024m -Xms256m -cp /var/lib/rundeck/bootstrap/servlet-api-2.5-20081211.jar:/var/lib/rundeck/bootstrap/rundeck-server-1.2.0.jar:/var/lib/rundeck/bootstrap/jetty-util-6.1.21.jar:/var/lib/rundeck/bootstrap/jetty-naming-6.1.21.jar:/var/lib/rundeck/bootstrap/jetty-6.1.21.jar:/var/lib/rundeck/bootstrap/jetty-plus-6.1.21.jar::/etc/rundeck com.dtolabs.rundeck.RunServer /etc/rundeck 4440
[root@centos-56-64-vm8 zinio-rundeck-config]# /usr/sbin/lsof -p 12201 |grep tmp
java    12201 rundeck  mem    REG    8,2    32768  809934 /tmp/hsperfdata_rundeck/12201
java    12201 rundeck  149u   REG    8,2        0  931672 /var/rundeck/tmp/org.hibernate.cache.UpdateTimestampsCache.data
java    12201 rundeck  150u   REG    8,2        0  932961 /var/rundeck/tmp/org.hibernate.cache.StandardQueryCache.data


Of course this could likely be accomplished in controltier, i suppose one can pick their poison...
Reply all
Reply to author
Forward
0 new messages