Re: systemd tomcat script for Linux EL7

2016-03-19 Thread Me Self
Hi I use this Systemd unit file (from https://sorenpoulsen.com/install-tomcat-8-on-ubuntu) on ubuntu, but it's probably fairly generic as the unit file just calls tomcats start and stop scripts directly. [Unit] Description=Apache Tomcat After=syslog.target network.target [Service] Type=forking

Re: context doesnt pick up

2016-02-22 Thread Me Self
OnStartup="true" for that to work. And for that to work I would have to grant write access on the webapps folder for tomcat user? On Sun, Feb 21, 2016 at 5:43 PM, Mark Thomas <ma...@apache.org> wrote: > On 20/02/2016 22:40, Me Self wrote: > > Hi All > > > > Whe

Re: context doesnt pick up

2016-02-20 Thread Me Self
OK thanks. On Sun, Feb 21, 2016 at 12:25 AM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] > > Subject: RE: context doesnt pick up > > > If all you have in the element is the docBase and your webapp > is located > >

Re: context doesnt pick up

2016-02-20 Thread Me Self
< chuck.caldar...@unisys.com> wrote: > > From: Me Self [mailto:wmso...@gmail.com] > > Subject: context doesnt pick up > > > When I put the context in server.xml it works fine, but if I put the same > > context tag in a xml file under /conf/Catalina/localhost/test.xml then

context doesnt pick up

2016-02-20 Thread Me Self
Hi All When I put the context in server.xml it works fine, but if I put the same context tag in a xml file under /conf/Catalina/localhost/test.xml then tomcat doesn't pick it up. I would rather want to use the latter. The test.xml is Its a set up where the tomcat user has no write access to

Re: 8443 to 443 problem

2010-04-16 Thread Me Self
I can change the redirectPort at runtime through managed bean org.apache.catalina.mbeans.ConnectorMBean to 443. When I do that it works immediately but after server restart the port is back to 8443. On Thu, Apr 15, 2010 at 6:24 PM, Me Self wmso...@gmail.com wrote: I am trying to use port 443

Re: 8443 to 443 problem

2010-04-16 Thread Me Self
b) the file that you are changing is not the one that is actually used. I do not use JBoss, so there might be differences with what I know. E.g., you are saying about context.xml, but in Tomcat that is configured in server.xml. I found out jboss uses a hybrid of Tomcats server.xml file and

8443 to 443 problem

2010-04-15 Thread Me Self
I am trying to use port 443 for https - without success so far. I changed from 8443 to 443 in two places in server.xml: Connector protocol=HTTP/1.1 port=80 ... redirectPort=443 / ... Connector protocol=HTTP/1.1 SSLEnabled=true port=443 ... scheme=https secure=true

Re: 8443 to 443 problem

2010-04-15 Thread Me Self
1. Tomcat version? 2. Is Tomcat running standalone, or behind another web server, e.g. Apache? 3. There are only these two connectors in your server.xml? Its tomcat 5.5 (i believe) embedded in jboss5.1.0GA running standalone default server. Those are the only 2 connectors in the context.xml

Re: 8443 to 443 problem

2010-04-15 Thread Me Self
Many times, also tried reinstalling the server complete. On Thu, Apr 15, 2010 at 6:59 PM, Jeffrey Janner jeffrey.jan...@polydyne.com wrote: Did you restart your Tomcat instance? - To unsubscribe, e-mail:

getOutputStream() has already been called for this response

2010-03-29 Thread Me Self
Hello When I include a servlet inside a tagfile then it works: jsp:include page=/controller/ But if a try to do the same in a tag that subclasses SimpleTagSupport then tomcat throws the exception mentioned in the subject:     @Override     public void doTag() throws IOException, JspException {