I would like to test a custom tomcat valve with tomcat-embed and junit. Is
that possible?
Found a few tomcat-embed samples on the web but most seem to only deal with
setting up a webapp - something along the lines:
@BeforeAll
public static void setup() throws LifecycleException {
Tomcat tomcat
Hi All
It appears the security manager is going to be removed from a future
release of java according to https://openjdk.java.net/jeps/411.
When running Tomcat on Linux there are many excellent alternatives to
locking down the JVM process with sandboxing/mandatory access control for
instance
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
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
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
> >
<
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
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
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
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
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
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
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:
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 {
13 matches
Mail list logo