> From: Leon Rosenberg [mailto:[EMAIL PROTECTED]
> Subject: tomcat 5.5.16 does strange things with my log4j?
>
> I get null pointer exceptions in following code:
> static{
> log = Logger.getLogger(QueuedEventSender.class);
> }
> static {
> log = Logge
> From: Leon Rosenberg [mailto:[EMAIL PROTECTED]
> Subject: Re: tomcat 5.5.16 does strange things with my log4j?
>
> The only thing I can think of is change of the classloader,
> so old instances become invalid, is there a chance log4j is
> loaded via another classloader
Even if a second class l
> From: Mark Petrovic [mailto:[EMAIL PROTECTED]
> Subject: chroot, jsvc, and catalina.out
>
> Recall normally when Tomcat starts that it writes information to
> catalina.out.
Depends on the level of Tomcat being used - and you didn't bother to
tell us which one you're using. The behavior descri
> From: Jason Novotny [mailto:[EMAIL PROTECTED]
> Subject: placing context.xml in META-INF works?
>
> I have a context.xml file that looks basically like this:
>
> crossContext="true"/>
Take out the path attribute - it's not allowed unless the
element is in server.xml, which is strongly disco
> From: Mark Petrovic [mailto:[EMAIL PROTECTED]
> Subject: Re: chroot, jsvc, and catalina.out
>
> I read through the link you provided and cannot find a reason
> why I get logging to catalina.out in one runtime scenario (that
> is, the simplest case of bin/startup.sh out of the box), but not
> i
> From: Mark Petrovic [mailto:[EMAIL PROTECTED]
> Subject: Re: chroot, jsvc, and catalina.out
>
> Something about the result of chroot'ing is not quite right, as when I
> modify the invocation above to not use the chroot, output to
> catalina.out appears.
It appears that Tomcat itself does not u
> From: Michael Hencin [mailto:[EMAIL PROTECTED]
> Subject: RE: placing context.xml in META-INF works?
>
> I want this context file to be copied to the
> $CATALINA_HOME/conf/Catalina/localhost/ directory do that
> the users can use the default JNDI and env values I enter.
Why does the location o
> From: Michael Hencin [mailto:[EMAIL PROTECTED]
> Subject: RE: placing context.xml in META-INF works?
>
> Also my target users are not tomcat savvy. So the less they
> need to do, the better. Having a "pre-configured" context
> file get deployed the first time, makes it easy. They just
> drop o
> From: Michael Courcy [mailto:[EMAIL PROTECTED]
> Subject: Re: placing context.xml in META-INF works?
>
> > Take out the path attribute - it's not allowed unless the
> > element is in server.xml, which is strongly discouraged.
> >
> why ?
Because you have to restart Tomcat if you make any c
> From: Christopher Schultz [mailto:[EMAIL PROTECTED]
> Subject: Re: placing context.xml in META-INF works?
>
> Isn't this what conf/server.xml is for? I mean, I'm no Tomcat 5.x
> expert, but that's what I'd do way back here in Tomcat 4.1.
Things have changed. Global resources should be defined
> From: Christopher Schultz [mailto:[EMAIL PROTECTED]
> Subject: Re: IPTABLES
>
> : Yet another reason to front Tomcat with Apache: access to
> port 80. I'll have to add that to my laundry list of why I like to use
> Apache in front of Tomcat. ;)
Why doesn't httpd have the same problem? What m
> From: Christopher Schultz [mailto:[EMAIL PROTECTED]
> Subject: Re: IPTABLES
>
> Without some really nasty code, Tomcat is unable to do the same
> thing, so we're forced to do silly things like internal port
> forwarding, etc.
Didn't realize that jsvc was considerd "really nasty", since I susp
> From: Christopher Schultz [mailto:[EMAIL PROTECTED]
> Subject: Re: placing context.xml in META-INF works?
>
> I get that, but it sounds like that's exactly what this guy wants:
> configuration that is available to all of his webapps, and never
> changes. If it smells like a global resource...?
> From: Christopher Schultz [mailto:[EMAIL PROTECTED]
> Subject: Re: IPTABLES
>
> So, I suppose the answer to this guy's question is, "why are
> you trying to fiddle with iptables when you could use jsvc?"
Different strokes for different folks. If you don't need to run Tomcat
as a daemon, and
> From: Michael Hencin [mailto:[EMAIL PROTECTED]
> Subject: RE: placing context.xml in META-INF works?
>
> My ideal sequence of events is this.
> 1) User installs tomcat
> 2) User places our clean database file in the "recommended
> location on the server machine. i.e c"\databse\ourfile.gdb"
> 3
> From: Michael Courcy [mailto:[EMAIL PROTECTED]
> Subject: Re: placing context.xml in META-INF works?
>
> How do you manage the problem, if you need to define a Host element
> whith many Alias ?
Hosts are a completely different problem, since they are not subordinate
to an app.
> Can you put
> From: Aronszajn, Mark [mailto:[EMAIL PROTECTED]
> Subject: a discrepancy in webapp behavior in two environments
>
> This is fine, but what I don't understand is why specifying a
> jsessionid param value is necessary in the TEST environment and
> not necessary in the DEVELOPMENT environment. I a
> From: Aronszajn, Mark [mailto:[EMAIL PROTECTED]
> Subject: RE: a discrepancy in webapp behavior in two environments
>
> Could you explain how the configuration of a firewall would have such
> effect on whether the original HttpSession object gets retained?
If you're not appending jsessionid ro
> From: Darryl Ong [mailto:[EMAIL PROTECTED]
> Subject: Re: Problem Using Tomcat Connector on Windows 2000
> Advanced Server
>
> The connector I am using JK 1.2.19.
But what are you trying to connect Tomcat with? The connector you
downloaded is used when you're front-ending Tomcat with anot
> From: Darryl Ong [mailto:[EMAIL PROTECTED]
> Subject: RE: Problem Using Tomcat Connector on Windows 2000
> Advanced Server
>
> Currently, my server is also running IIS5.0 also and it is
> using port 80 at the moment.
I believe that's the first time you've mentioned IIS, which is a
critical
> From: Christopher Schultz [mailto:[EMAIL PROTECTED]
> Subject: Re: Problem Using Tomcat Connector on Windows 2000
> Advanced Server
>
> > After installation, I wanted to test if I
> > could then view JSP pages, so I just created a temporary folder in
> > the /webapps/ folder called /testing/ a
> From: Molina, Teresa [mailto:[EMAIL PROTECTED]
> Sent: 2006 October 19, Thursday 09:06
> To: Tomcat Users List
> Subject: RE: moving the context xml from $CATALINA_BASE/conf/
>
> it's the file itself I wish to move from the $CATALINA_BASE
> directory structure to another location.
I think you
> From: Roland Carlsson [mailto:[EMAIL PROTECTED]
> Subject: Configure resourses for host-context
>
> So my question: Is it possible to put Resources or preferbly
> ResourseLinks inside the Host-tag of my server.xml.
If you were to move to 5.5, you could do this. Each host can have its
own de
> From: Molina, Teresa [mailto:[EMAIL PROTECTED]
> Subject: RE: moving the context xml from $CATALINA_BASE/conf/
>
> we had configured a default context to define the jdbc connections
> commonly used by our multiple webapps (we are running more than a
> dozen webapps under one Tomcat JVM, basic
> From: Iacopo Savoia [mailto:[EMAIL PROTECTED]
> Subject: URL mapping without multiple initialization
>
> I have a standalone Tomcat 5.5 and
> I am not able to figure out how to map multiple url
> to the same webapp without having tomcat initialize
> the webapp twice.
Two possibilities come imm
> From: Rizalino DeVilleres [mailto:[EMAIL PROTECTED]
> Subject: RE: problems with unpacking ROOT.war
>
> Is there another work around to get them both working? I believe, this
> is the same setup we've had on the previous versions of Tomcat, we
> simply want to place all the war/JSPs files in th
> Сергей Ковтун wrote:
> There is a problem of work "Tomcat" under the https
> protocol if it is loaded dll (tcnative-1.dll).
SSL configuration is different with APR (tcnative-1.dll). Have you looked at
the following?
http://tomcat.apache.org/tomcat-5.5-doc/apr.html#HTTPS
- Chuck
THIS COMMUN
> From: Peter Gershkovich [mailto:[EMAIL PROTECTED]
> Subject: static content
>
> We have apache2 with ssl enabled and linked via jk2_module with
> apache-tomcat-5.5.12.
By the way, mod_jk2 has been deprecated for over a year.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHE
> Philipp Südmeyer a écrit :
>
> Unfortunately Tomcat by default calls the doGET-method
> of a given Servlet instead of doPUT when it receives
> data by put-method.
That's simply not true.
Did you code a doPUT() or a doPut() method? (The latter is correct, the former
will be ignored.)
- Chuc
> From: Kevin Mullin [mailto:[EMAIL PROTECTED]
> Subject: Enabling CGI's in Tomcat
We'll presume you have read this first:
http://tomcat.apache.org/tomcat-5.5-doc/cgi-howto.html
And also the comments in the CGI portion of conf/web.xml.
> well, I have lots of WEB-INF directories, I suspect it w
> From: Ramez Ghazzaoui [mailto:[EMAIL PROTECTED]
> Subject: Eliminating the need for a trailing slash in
> accessing sub-directoryresources on a Tomcat HTTP server
>
> My Tomcat 5.5 installation requires that you enter a trailing slash at
> the end of your URL if it doesn't end with a filename.
> From: Rob Truxler [mailto:[EMAIL PROTECTED]
> Subject: Re: ***SPAM 6.3*** Enabling CGI's in Tomcat
>
> There are multiple WEB-INF folders, so if you're using a
> theoretical servlet "helloworld," you would place your cgi
> script in "/helloworld/WEB-INF/cgi/" and the URL which tomcat
> maps to
> From: Andreas Müller [mailto:[EMAIL PROTECTED]
> Subject: Tomcat server.xml config for wildcard host
>
> *.sub.domain1.tld -> Host 1
> *.sub.domain2.tld -> Host 2
> *.sub.domain2.tld -> Host 3
Could you use a valve at the Engine level to forward requests to the desired
host?
http://tomcat.apac
> From: Ramez Ghazzaoui [mailto:[EMAIL PROTECTED]
> Subject: Re: Eliminating the need for a trailing slash in
> accessing sub-directoryresourceson a Tomcat HTTP server
>
> I was definitely not experiencing a 302 or automatic
> refresh/resubmit.
Actually, you are, regardless of browser. Crank
> From: syg6 [mailto:[EMAIL PROTECTED]
> Subject: WAR file strangeness
>
>
> When I start Tomcat it unpacks the WAR in as
> /var/local/projects/vcs/ROOT/WEB-INF
>
> Any idea why this is happening?
Because it's supposed to. You've declated the context to be the default
app (path=""), an
> From: evimail [mailto:[EMAIL PROTECTED]
> Subject: Cannot start application: SEVERE: Error listenerStart
>
> Please advise where to look for solution.
>
> INFO: Deploying web application archive jetspeed.war
> Oct 23, 2006 2:53:10 PM org.apache.catalina.startup.ContextConfig
> validateSecuri
> From: Juanjo Cuadrado [mailto:[EMAIL PROTECTED]
> Subject: About connections
>
> When I try to recover a connection, I use the Tomcat's
> pool connections, that it work fine too if I previously
> have put the Oracle's jar into 'common' directory.
>
> I have put the jar (classes12) into lib dir
> From: Martin Gainty [mailto:[EMAIL PROTECTED]
> Subject: Re: Eliminating the need for a trailing slash in
> accessing sub-directoryresourceson a Tomcat HTTP server
>
> If I interpret this correctly
> you're saying if I go to https://www.whateveryoursiteis.com OR
>
> From: Ryan O'Hara [mailto:[EMAIL PROTECTED]
> Subject: JSessionID Confusion
>
> I am having the problem of when you open multiple tabs
> within a browser, and enter two simultaneous queries,
> the results returned are corrupted.
Sounds like an application bug - keeping values/references in t
> From: Cyber Dog [mailto:[EMAIL PROTECTED]
> Subject: Dynamically Add Vhosts?
>
> - Dynamically load a vhost config:
The admin app can create hosts on the fly, but it does so
programmatically, not by reading up some .xml file. Perhaps you could
modify it for your purposes.
- Chuck
THIS COM
> From: Jason Novotny [mailto:[EMAIL PROTECTED]
> Subject: trying to change the context path in context.xml
>
> I've configured context.xml in my webapp
> META-INF/context.xml and I want to change
> the path attribute, so that instead of the
> context being identified by my web application
> n
> From: Jason Novotny [mailto:[EMAIL PROTECTED]
> Subject: Re: trying to change the context path in context.xml
>
>
> since it wasn't clear how the context attribute is useful now
> based on what you say.
The element has 24 other attributes besides path; the path
attribute itself is only pert
> From: René Schade [mailto:[EMAIL PROTECTED]
> Subject: RE: RE : Problems configuring a
> using Apache/Tomcat
>
> I would prefer to place it in the /META-INF/ folder in the
> application, but Tomcat seems to ignore files not named
> context.xml in this folder.
Correct; if it's in META-INF,
> From: Roth, Michael [mailto:[EMAIL PROTECTED]
> Subject: how to do a redirect for a wsdl url without tomcat
> response / tomcat interference
>
> So any help in conjunction with the use of Jk2 would be appreciated.
The jk2 package has been deprecated for over a year, so you're not
likely to ge
> From: Ronny Batty [mailto:[EMAIL PROTECTED]
> Subject: logging.properties and Filter problem
>
> The Filter is initialized and works as expected when using
> Tomcat 5.5.17 on Windows 2K, my deployment on Linux using
> Tomcat 5.5.13 does not initialize the Filter
It would seem that moving up
> From: Ronny Batty [mailto:[EMAIL PROTECTED]
> Subject: RE: logging.properties and Filter problem
>
> We have several sites happily running on
> 5.5.13 on Linux and I would prefer not to
> upgrade the server and potentially introduce
> different problems, if at all possible.
It would still be
> From: Nelson, Tracy [mailto:[EMAIL PROTECTED]
> Subject: RE: xml data file in tomcat 5.5.9
>
> You can make a WEB-INF/data directory for it. That'll prevent direct
> access, and your web app will still be able to get to it.
However, if the app is deployed as a .war, write access will not be
a
> From: Rizalino DeVilleres [mailto:[EMAIL PROTECTED]
> Subject: RE: problems with unpacking ROOT.war
>
> To follow up on this thread, is it possible for the appBase and the
> docBase to be set the same?
No, they're different concepts. The appBase attribute defines the
default location for your
> From: Ravi116 [mailto:[EMAIL PROTECTED]
> Subject: How to use catalina classloader
>
> Need the web application to use catalina classloader.
What problem are you actually trying to solve?
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus
> From: Ravi116 [mailto:[EMAIL PROTECTED]
> Subject: RE: How to use catalina classloader
>
> Writing a custom tomcat manager to add "roll-back" features.
Assuming you're talking about a session.StandardManager replacement, I
think you'd have to put it under server/classes rather than having it
> From: Erik Nijkamp [mailto:[EMAIL PROTECTED]
> Subject: HTTPS Connector not working
>
> sslProtocol="TSL"
The above could be a problem... unless it's a transcription error.
> No luck so far.
Do you have APR (tcnative-1.dll) installed? If so, its SSL
configuration is completely different th
> From: Ravi116 [mailto:[EMAIL PROTECTED]
> Subject: RE: How to use catalina classloader
>
> I am referencing the Tomcat manager used to deploy/undeploy
> web application (/admin/html).
There is no /admin/html servlet, so I assume you mean /manager/html.
Since this webapp does not appear to nee
> From: Pid [mailto:[EMAIL PROTECTED]
> Subject: Re: Uniquely identifying an servlet runner instance...
>
> you could also use a properties fil, containing a unique name for each
> app/server
There's also the name attributes of the and tags;
either of these could be used to identify the contai
> From: Martin Gainty [mailto:[EMAIL PROTECTED]
> Subject: Re: How to use catalina classloader
>
> thats because the manager webapp accesses classes from
> $TOMCAT_HOME/server/webapps/manager/WEB-INF/lib/catalina-manager.jar
> if you place the classes in
> $TOMCAT_HOME/server/webapps/manager/WE
> From: Ravi116 [mailto:[EMAIL PROTECTED]
> Subject: RE: How to use catalina classloader
>
>
> The manager servlet implements CatalinaServlet (so gets
> initialized with setWrapper method).
It's ContainerServlet, not CatalinaServlet. A higher degreee of
accuracy in your mailings will get you
> From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
> Subject: RE: How to use catalina classloader
>
> Have you tried setting the privileged attribute of your
> element to true?
Should have noted that whatever build mechanism you use will still have
to put catalina.j
> From: Ravi116 [mailto:[EMAIL PROTECTED]
> Subject: RE: How to use catalina classloader
>
> Wondering if the code loads with Catalina
> classloader based on package structure ?
Looks to me like either that or the privileged flag should work. Here's
the relevant code snippets from StandardWrapp
> From: Jeremy Nix [mailto:[EMAIL PROTECTED]
> Subject: Running single webapp across multiple hosts
>
> What I would like is to simplify this so that a single instance
> of my webapp is running, but both connectors/hosts are using it.
I don't think that's possible unless you employ a filter/valv
> From: Jeremy Nix [mailto:[EMAIL PROTECTED]
> Subject: Re: Running single webapp across multiple hosts
>
> Only question is can I have 2 different connectors
> (which validate against their own individual certs)
> run off a single host with multiple aliases?
I think so, but I've never tried it
> From: S_Ewing [mailto:[EMAIL PROTECTED]
> Subject: Shared Library Files in Tomcat 6.0?
>
> I just downloaded the Tomcat 6.0.0 release, and saw that it
> is missing the traditional $CATALINA_HOME/common/lib,
> $CATALINA_BASE/shared/lib directories. So where do the
> shared libraries go?
Read t
> From: Martin Gainty [mailto:[EMAIL PROTECTED]
> Subject: Re: Tomcat Security Problem
>
> If you want to restrict what pages/data items the user sees
> and to implement security for your web applications then I
> would look at portals
That has nothing to do with the question he asked.
- Chu
> From: Christopher Schultz [mailto:[EMAIL PROTECTED]
> Subject: Re: Tomcat Security Problem
>
> You could turn off automatic deployment of WAR files and
> configure each "known" application in your server.xml file.
Apps should not be configured in server.xml (you gotta move up, Chris
:-). How
> From: Omar Adobati [mailto:[EMAIL PROTECTED]
> Subject: Re: [TOMCAT 5.5] Context configuration problem
>
> adding that line make me able just to point the browser to
> myhost.localhost but not to show what I need.
You need to read the doc for the , , , and
(not - these are all case sensitive
> From: Leon Rosenberg [mailto:[EMAIL PROTECTED]
> Subject: Re: What would you do with field defect rate predictions?
>
> Personally I think that the result will be 16 :-)
I thought the answer was 42...
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL
> From: Leon Rosenberg [mailto:[EMAIL PROTECTED]
> Subject: Re: What would you do with field defect rate predictions?
>
> the 16 seems to be the magic number when the people start upgrading.
The 42 was a joke ... if you're not familiar with the allusion, look
here:
http://en.wikipedia.org/wiki/T
> From: Steve Pribyl [mailto:[EMAIL PROTECTED]
> Subject: Sample 404 error
>
> I seem to having an issue with FC5 and tomcat.
I just downloaded and dropped sample.war into my webapps directory and
it was immediately accessible, so the problem is likely some
configuration issue with your installa
> From: S_Ewing [mailto:[EMAIL PROTECTED]
> Subject: RE: Shared Library Files in Tomcat 6.0?
>
> Thanks. So from what I understand, I don't have an option in
> TC 6 that maps to the $CATALINA_BASE/shared/{classes, lib}
> in all previous versions, and would necessarily have to have
> multiple cop
> From: Eric [mailto:[EMAIL PROTECTED]
> Subject: Re: Apache with Windows 98
>
> sorry. i think i got some typing error in my question..
You did, but only in that Apache is a software development organization,
and you probably meant running Tomcat, an Apache project. But the point
remains that
> From: Alan Burlison [mailto:[EMAIL PROTECTED]
> Subject: Changing defaultHost from localhost to a FQDN
>
> as soon as I change the Engine defaultHost and Host name fields from
> "localhost" to "myhost.com", everything stops working.
I just tried the same change, and it all works fine - assumin
> From: PraDz [mailto:[EMAIL PROTECTED]
> Subject: Tomcat Security
>
> How do i restrict users from entering the image/text files
> path directly in the browser.
Instead of putting your image/text directories under your 's
appBase, put them under the associated app's WEB-INF directory, where
th
> From: Alan Burlison [mailto:[EMAIL PROTECTED]
> Subject: Re: Changing defaultHost from localhost to a FQDN
>
> The really annoying thing is the Tomcat documentation shows FQDN names
> being used, yet it doesn't actually work unless you use 'localhost' -
> if you need to make other changes when
> From: Alan Burlison [mailto:[EMAIL PROTECTED]
> Subject: Re: Changing defaultHost from localhost to a FQDN
>
> The odd thing is that it does appear to be serving *html* from under
> the web application directory, just not JSPs. If I put an index.html
> under webapps/ROOT I see the content.
I'
> From: Daniela Marangoni [mailto:[EMAIL PROTECTED]
> Subject: R: R: PROBLEMS CONNECTING TO TOMCAT MANAGER
>
> Do you I need to define 8080 on file services located on the
> directory:
> Winnt\system32\drivers??
No. But, ping will not tell you if a specific port is blocked by your
Windows fire
> From: Stephan Schöffel [mailto:[EMAIL PROTECTED]
> Subject: Re: Howto continue TimerTask after Tomcat Server was
> restarted
>
> maybe you could put your timertask in an servlets init()
> method and the put 1
> in the web.xml of that servlet
Not recommended, since there's no guarantee the i
> From: Peter Crowther [mailto:[EMAIL PROTECTED]
> Subject: RE: Apache with Windows 98
>
> A sensible Uni recognises that not all of its students wish to pay the
> Microsoft Tax whenever a new OS release comes out. A frugal (but not
> necessarily sensible) Uni may also wish not to pay the Micros
> From: Dort Wach [mailto:[EMAIL PROTECTED]
> Subject: Re: RE: Howto continue TimerTask after Tomcat Server
> was restarted
>
> I don't want to shut down TimerTask, but if someone, not me,
> shut down the Tomcat server, or Tomcat server crashes, than
> this someone will start it again.
If the
> From: Robbert [mailto:[EMAIL PROTECTED]
> Subject: Re: CSS not being used when a Servlet is involved
>
> I'm using a link tag. It works fine if I take out the lines
> in web.xml that define the Servlet + Servlet Mapping. But if
> I add them back, it doesn't work anymore.
Does your mapping use
> From: Robbert [mailto:[EMAIL PROTECTED]
> Subject: Re: CSS not being used when a Servlet is involved
>
> I'm calling the Servlet with
>
Shouldn't the above be:
Isn't the leading slash required to make the reference relative to the
context rather than the location of the JSP?
- Chuck
THI
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Subject: Re: Tomcat 5.5 Regular Expression as servlet-mapping
> url-pattern
>
> So I wanted to do something like map requests that are not equal to
> images, css, js etc to the DispatcherServlet.
Why not explicitly map images, css, js, etc.,
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Subject: Re: Tomcat 5.5 Regular Expression as servlet-mapping
> url-pattern
>
> Do you have an example of this?
Add this to your app's web.xml:
tcdefault
org.apache.catalina.servlets.DefaultServlet
1
> From: Robbert [mailto:[EMAIL PROTECTED]
> Subject: RE: CSS not being used when a Servlet is involved
>
> Combining that with what you just said, I assume that you're
> basically saying that my servlet tries to handle the
> tag that contains the URL to my CSS, but fails miserably in
> the proce
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Subject: Re: Tomcat 5.5 Regular Expression as servlet-mapping
> url-pattern
>
> The default servlet is defined in the conf/web.xml file.
Good catch - it doesn't need to be redeclared.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AN
> From: Maurice Yarrow [mailto:[EMAIL PROTECTED]
> Subject: Re: Tomcat Security
>
> What I currently do is serve the static content from elsewhere,
> outside the tomcat/webapps tree.
Let's back up here for a moment. How are you delivering these
controlled images and text to the client? Are the
> From: Kim Albee [mailto:[EMAIL PROTECTED]
> Subject: Re: Question with the Apache/Tomcat interface...
>
> > Can you connect to the ip and port specified with p2 from your
apache
> > machine with telnet?
>
> e have telnet disabled on the server, as it is not
> secure.
That's not what he was a
> From: Alan Burlison [mailto:[EMAIL PROTECTED]
> Subject: Re: Changing defaultHost from localhost to a FQDN
>
> I have it working - well, kinda. If I deploy the application as ROOT,
> and with ROOT as the docBase it works fine. If I move it to "meshcms"
> (the WAR file name) and modify docRoot
> From: Alan Burlison [mailto:[EMAIL PROTECTED]
> Subject: Re: Changing defaultHost from localhost to a FQDN
>
> Ah, and I'm using 5.5. I've checked the 5.5 docs and I can't find
> *any* of those restrictions mentioned, other than a recommendation
> that elements aren't placed in server.xml, bu
> From: Oren Livne [mailto:[EMAIL PROTECTED]
> Subject: Problems with tomcat session timeout on linux
>
> The problem: some times users log in and then close their
> browser window (at least I assume so), but tomcat never
> destroys their session. The session-timeout parameter is
> set to 30 in
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Subject: Changing the webapps directory
>
> I'd like to change my webapps directory to be in my home directory.
> I've look around and can't find how to do this on Tomcat 5.x.
Look at the doc for the element, in particular the appBase
attribu
> From: asd [mailto:[EMAIL PROTECTED]
> Subject: Apache Tomcat/5.5.12
>
> This is blocking a very important page. I must view it.
This appears to be an application problem, not Tomcat.
> root cause
> java.lang.NullPointerException
>
> org.apache.jsp.trans_005fhistory_htm:429
Where does the a
> From: Robbert [mailto:[EMAIL PROTECTED]
> Subject: RE: CSS not being used when a Servlet is involved
>
> Hm, alright. Should all else fail, is it possible to let a
> Servlet handle the CSS?
Some servlet must handle everything; static content (including .css
files) is normally handled by Tomca
> From: Dima Retov [mailto:[EMAIL PROTECTED]
> Subject: Performance throttling
>
> Is that possible to do performance throttling (or shaping) in tomcat
> on per context base?
No direct mechanism that I'm aware of (although others might). I
suppose you could segregate apps under different s, and
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Subject: Re: Changing the webapps directory
>
> First, eventhough autodeploy is set to true, it's not
> deploying wars I put into this directory.
What's the file structure inside the .war? There should be a WEB-INF
directory with a web.xml in
> From: Christopher Schultz [mailto:[EMAIL PROTECTED]
> Subject: Re: Tomcat Security
>
> Since each image could have different authorization settings,
> you can't just use the servlet container's built-in authorization
> (set up in web.xml). You will have to enforce this yourself.
Not sure that
> From: Christopher Schultz [mailto:[EMAIL PROTECTED]
> Subject: Re: Tomcat Security
>
> Well, he did say that the user can choose arbitrarily what the
> authorization rules were. I would imagine that includes changing
> it on the fly. Changing the URL on the fly based upon the
> authorization r
> From: BRUN Sébastien [mailto:[EMAIL PROTECTED]
> Subject: Fw: problem with getcontext and context.xml
>
> i would like to setup a virtual host on tomcat
If you only have one host to worry about, you don't need to use virtual hosts.
You can also use the alias attribute if you have multiple do
> From: mast [mailto:[EMAIL PROTECTED]
> Subject: Re: problem with getcontext and context.xml
>
> Yes but i have multiple vhost for different webapps.
> how can the server know that vhost1.mydomain.com is for
> /usr/local/tomcat/webapps/myaccount for exemple
> and vhost2.mydomain.com to myaccoun
> From: mast [mailto:[EMAIL PROTECTED]
> Subject: Re: problem with getcontext and context.xml
>
> appBase="/usr/local/tomcat/webapps/myaccount1"
> unpackWARs="true" autoDeploy="true">
>
>
> appBase="/usr/local/tomcat/webapps/myaccount2"
> unpackWARs="true" autoDeploy="true">
>
>
But si
> From: mast [mailto:[EMAIL PROTECTED]
> Subject: Re: problem with getcontext and context.xml
>
> Hmm i think i understand a little so each context need to
> have it's own ROOT directory
No; perhaps you don't understand that context is synonomous with webapp,
not host. Each should have its ow
> From: mast [mailto:[EMAIL PROTECTED]
> Subject: Re: problem with getcontext and context.xml
>
> Well each one of my host have their own appBase and ROOT context
> in each host i haveappBase="/usr/local/tomcat/webapps1" and
> appBase="/usr/local/tomcat/webapps2"
That's good.
> and i have
> From: mast [mailto:[EMAIL PROTECTED]
> Subject: Re: problem with getcontext and context.xml
>
> when i say myfile i mean file like index.jsp it their i
> should put them no ?
Yes, that's where the public .jsp files should go.
> but that don t work
What do you mean by "don't work"? What hap
601 - 700 of 8263 matches
Mail list logo