Public bug reported:

The parameter -c (controlport) is not used anymore. I tried

tomcat8-instance-create -c 9999 -p 8888 instance-name

In conf/server.xml the controlport still set to 8005 (default) value.


The reason is located in line 120 of tomcat8-instance-create.


There is:

sed -i -e "s/Connector port=\"8080\"/Connector
port=\"${HPORT}\"/;s/Server port=\"-1\" shutdown=\"SHUTDOWN\"/Server
port=\"${CPORT}\" shutdown=\"${CWORD}\"/" "${TARGET}/conf/server.xml"

...and there should be:

sed -i -e "s/Connector port=\"8080\"/Connector
port=\"${HPORT}\"/;s/Server port=\"8005\" shutdown=\"SHUTDOWN\"/Server
port=\"${CPORT}\" shutdown=\"${CWORD}\"/" "${TARGET}/conf/server.xml"


Thanks a lot and have a nice weekend!
Stefan.

** Affects: tomcat8 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1827090

Title:
  "-1" instead of "8005" in tomcat8-instance-create

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tomcat8/+bug/1827090/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to