Re: [ControlTier] How to solve Error: No matched nodes: NodeSet{} (using non-8080 port)

104 views
Skip to first unread message

Anthony Shortland

unread,
Aug 13, 2012, 11:58:18 AM8/13/12
to contr...@googlegroups.com
Thanks for posting this, Raymond.

Step 5 shows clear instructions for running the installer for both server and client to configure an alternate port. Step 4 is necessary since there is a bug in 3.6.1 that means  $CTL_BASE/etc/project.properties does not honor the port change.

Strictly speaking the correct order for these instructions is:

  • Install the server and client(s) on all systems:

server: sh ./install.sh -Dserver.hostname=CentOS-menglei -Dserver.jetty.port=9000
client: sh install.sh --client -Dserver.hostname=CentOS-menglei -Dserver.jetty.port=9000 -Dclient.hostname=CentOS2-menglei -Dclient.node.name=CentOS2-menglei

  • Edit and fix $CTL_BASE/etc/project.properties and fix the port references on all systems.

  • Remove and re-create all projects on all systems:

ctl-project -p project -a remove
ctl-project -p project -a create

Anthony.

On Aug 12, 2012, at 8:58 AM, Raymond Meng <raymon...@gmail.com> wrote:

I met this problem when I executed "ctl -p projectName -t bin -r fileName -c get" in CTLCenter while running a deploy job.

Here is a workaround:
1. try the same command in client. you may meet Connection refused error.

2. try "ctl-project -p projectName -a install" in client.

3. if failed, try "ctl-project -p projectName -a remove" and then "ctl-project -p projectName -a create".

4. if failed, edit below files, and change all 8080 port to your port number:
$CTL_BASE/projects/demo/etc/project.properties
$CTL_BASE/etc/project.properties
$CTL_BASE/framework.properties
and re-run step 3, then step 2.

5. if failed, you should reinstall your ControlTier server and client using command similar like below:
server: sh ./install.sh -Dserver.hostname=CentOS-menglei -Dserver.jetty.port=9000
client: sh install.sh --client -Dserver.hostname=CentOS-menglei -Dserver.jetty.port=9000 -Dclient.hostname=CentOS2-menglei -Dclient.node.name=CentOS2-menglei

6. re-run step 3, then step 2 and retry your deploy job.

--
You received this message because you are subscribed to the Google Groups "ControlTier" group.
To post to this group, send email to contr...@googlegroups.com
To unsubscribe from this group, send email to controltier...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/controltier?hl=en
http://wiki.controltier.org

Moses Lei

unread,
Aug 13, 2012, 12:16:19 PM8/13/12
to contr...@googlegroups.com
Another way to fix the project.properties rather than actually editing it is by running ctl-setup:

ctl-setup -f -n `hostname` -N `hostname` -s myserver.example.com --framework.server.port=8888 --reportcenter.log4j.port=1056

You can also effect other changes like the workbench user and password, for example if your credentials are "controltier"/"mypassword":

ctl-setup -f -n `hostname` -N `hostname` -s myserver.example.com --framework.server.port=8888 --reportcenter.log4j.port=1056 --framework.server.username=controltier --framework.server.password=mypassword --framework.webdav.username=controltier --framework.webdav.password=mypassword 

--
Moses Lei
[ Professional Services | DTO Solutions, Inc. ]
[ mobile: +1 703.901.5969 | e-mail: ml...@dtosolutions.com | aim/gtalk: ml...@controltier.com | yahoo: moseslei | windows live (msn): ml...@dtosolutions.com ]
Reply all
Reply to author
Forward
0 new messages