Hello,
My very basic servlet fails to initialize when trying to read its JNDI
environment entry. The app context name is xbasic. The context.xml is in
xbasic.war's META-INF directory and TomCat (6.0.33) correctly copies it
to ${tomcat.home}/conf/Catalina/localhost/xbasic.xml on first deploy.
Below
initialization", e);
}
log(getClass().getName() +": Successfully initialized. configName=["
+configName +"]");
}
On Thu, 2011-09-22 at 16:50 +0100, Pid * wrote:
> Why not do your initialisation in the Servlet.init() method?
>
>
> p
>
-09-22 at 09:10 -0700, Leo Donahue - PLANDEVX wrote:
> >-Original Message-
> >From: Tim Watts [mailto:t...@cliftonfarm.org]
> >Subject: [tomcat-6.0.33] META-INF/context.xml Environment not working
> >
> >=== context.xml ===
On Thu, 2011-09-22 at 13:48 -0700, Leo Donahue - PLANDEVX wrote:
> So what is the difference between having a or
> in web.xml vs. a or elements
> in META-INF/context.xml?
Well for starters, the web.xml entries will work in all web containers
whereas context.xml is Tomcat-specific.
But the mai
Wonderful. Thank You!
You're right about / but I'm not sure all
standards conforming servlet containers are guaranteed to provide an
'external override' behaviour.
On Fri, 2011-09-23 at 07:07 +0400, Konstantin Kolinko wrote:
> 2011/9/22
Try:
* conf/Catalina/localhost/mywebapp.xml OR
* webapps/mywebapp/META-INF/context.xml OR
* If you put it in GlobalNamingResources then you have to add a
to . See the Configuration
documentation.
http://tomcat.apache.org/tomcat-5.5-doc/config/context.html has a
It does? Doesn't that mean you have two distinct copies of f.txt? I
thought that's what you were trying to avoid. Or are uf1 and uf2 aliases
for the same directory? Or was your goal really to have one JSP that
would work in w1 and w2?
On Mon, 2011-10-03 at 10:15 -0700, Léa Massiot wrote:
> Hello,
On Fri, 2011-10-07 at 09:05 -0400, Stephen Caine wrote:
> OK, but can you point me to where I might learn how to do this?
See JavaDocs for HttpServletResponse; also RFC2616 (HTTP 1.1)
http://datatracker.ietf.org/doc/rfc2616/
But really, don't bother with this until you understand what th
On Mon, 2011-10-17 at 08:08 -0700, ettoregia wrote:
> Hi everybody,
>
> I'm using Tomcat 6.0.33 and at localhost:8080 it shows correctly.
Does "localhost:8080 it shows correctly" mean you can see a process
listening on it?
> When I try to access the tomcat manager link I get an 404 page error.
>
On Mon, 2011-10-17 at 01:10 +0530, sailendra karthik wrote:
> On Sun, Oct 16, 2011 at 5:16 PM, Chema wrote:
>
> > > In my Custom Realm Implementation iam autheticating some user and
> > > allowing
> > > him to access my webapps(servlets or filters) (my application)
> > > This authentication se
On Mon, 2011-10-17 at 09:07 -0700, ettoregia wrote:
>
>
> Tim Watts-3 wrote:
> >
> > On Mon, 2011-10-17 at 08:08 -0700, ettoregia wrote:
> >
> >> When I try to access the tomcat manager link I get an 404 page error.
> >>
> >
> > Wh
On Tue, 2011-10-18 at 09:15 -0700, ettoregia wrote:
>
>
> Pid * wrote:
> >
> > On 18 Oct 2011, at 16:12, ettoregia wrote:
> >
> >>
> >> My system: Tomcat 6.0.18 --- Linux Red Hat 4 -- Java 6
> >>
> >> Hi folk,
> >>
> >> does anyone of you knows where I can get some materials in order to
> >> u
Don't know how this happens but your replies are coming across as quoted
(i.e. having a "> " line prefix). Makes it very difficult to follow the
thread.
On Wed, 2011-10-19 at 10:21 -0700, ettoregia wrote:
>
>
> Christopher Schultz-2 wrote:
> >
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: S
On Thu, 2011-10-20 at 09:51 -0400, Alejandro Soto wrote:
> Hi my friends, I want to ask you all, If there is a way to control the timed
> out of sessions with tomcat, what I need is when the session timed out,
> automatically the user is redirected to the login page, Is this possible to
> do that f
On Thu, 2011-10-20 at 10:06 -0400, Tim Watts wrote:
> On Thu, 2011-10-20 at 09:51 -0400, Alejandro Soto wrote:
> > Hi my friends, I want to ask you all, If there is a way to control the timed
> > out of sessions with tomcat, what I need is when the session timed out,
> > auto
On Thu, 2011-10-20 at 07:08 -0700, Hassan Schroeder wrote:
> On Thu, Oct 20, 2011 at 6:51 AM, Alejandro Soto wrote:
> > Hi my friends, I want to ask you all, If there is a way to control the timed
> > out of sessions with tomcat, what I need is when the session timed out,
> > automatically the use
On Thu, 2011-10-20 at 10:23 -0400, Alejandro Soto wrote:
> Hi, thanks for your replies, These are the only ways I have to do it?, I was
> reading something about filters, but I think only works with user
> interaction.
>
Basically, that's all. Filters are only active during the
request-response c
On Thu, 2011-10-20 at 16:35 +0100, Mark Thomas wrote:
> On 20/10/2011 16:22, André Warnier wrote:
> > Hassan Schroeder wrote:
> >> On Thu, Oct 20, 2011 at 7:52 AM, André Warnier wrote:
> >>
> >>> 1) Tomcat (probably) doesn't spend its time all the time scanning stored
> >>> sessions to see if one
On Thu, 2011-10-20 at 16:44 -0400, Christopher Schultz wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Tim,
>
> On 10/20/2011 10:15 AM, Tim Watts wrote:
> > I should also point out that this approach is somewhat kludgey
> > because of the inherent lat
On Fri, 2011-10-21 at 11:05 -0400, Christopher Schultz wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Tim,
>
> On 10/20/2011 7:01 PM, Tim Watts wrote:
> > This was a while ago -- no HttpSessionListeners available -- so we
> > couldn't easily per
On Mon, 2011-10-24 at 12:41 -0400, Dave Filchak wrote:
> Humm, well I did the whole export CLASSPATH thing. So I should just have
> to place them in my apps lib directory, as shown below, and it should
> load automagically?
>
Indeed it should. No need to monkey with CLASSPATH. You may need to
On Mon, 2011-10-31 at 08:17 -0700, Léa Massiot wrote:
> Hello,
>
> Thank you for reading my post.
>
> I am presently programming my Webapps inside "Eclipse".
> I would like to automate the compiling and building of my source code.
> I need to know which "javac", "java" (and maybe "jar") commands
The answer likely lies somewhere in the version and/or configuration of
AJP. You never shared the details of these and so no further useful
comment is possible. See Rainer Jung's response on 10/27.
On Mon, 2011-10-31 at 18:42 -0700, Anantaneni Harish wrote:
> Any thoughts about this?
>
> Thank
On Fri, 2011-11-04 at 07:16 -0700, Léa Massiot wrote:
> Hello,
>
> Thank you for reading my post.
>
> Maybe my question is not purely related to "Tomcat" but here is my problem:
> - a user logs into my Webapp;
> - his session expires;
> - if he:
> - presses the F5 key (browser refresh funct
On Fri, 2011-11-04 at 13:07 -0400, Christopher Schultz wrote:
> On 11/4/11 12:04 PM, Léa Massiot wrote:
I would basically echo what Chris said.
> >> [Tim wrote:] I'm assuming (perhaps incorrectly) you've already
> >> got some declaration in there for form authentication?
> > What are you thinki
Léa,
Life needn't be this difficult. :-) You're reinventing wheels here
instead of understanding how the wheels you already have work. Again,
read the spec. Pretty please. So many questions will be answered.
On Fri, 2011-11-04 at 11:55 -0700, Léa Massiot wrote:
> @Christopher :
> Thank you f
On Thu, 2011-11-10 at 12:02 -0800, celtic man wrote:
> Thanks a lot for the quick response..
>
> So i have updated the setenv.sh with -Xms2048M -Xmx2048M -XX:Permsize=512m
> -XX:MaxPermsize=512m and restarted tomcat..
>
> but when i grep for tomcat process i don't see it ..
>
> ps -ef | grep
On Fri, 2011-11-11 at 08:40 -0800, celtic man wrote:
> Is this JAVA setting below OK ?
>
> cat /proc/meminfo
> MemTotal: 4149124 kB
> MemFree:457884 kB
>
> 4Gb total memory on the linux box and have 0.4GB free memory and
I think MemFree misleading. Don't quote me but I think you ha
On Mon, 2011-11-14 at 08:17 +0400, bas...@obninsk.com wrote:
> > Can you paste the application web.xml file (inline) into your reply?
> >
> >
> > http://www.w3.org/2001/XMLSchema-instance";
> > xmlns="http://java.sun.com/xml/ns/javaee";
> > xmlns:web="http://java.sun.com/xml/ns/jav
On Mon, 2011-11-14 at 09:56 +0400, bas...@obninsk.com wrote:
>
> -Исходное сообщение-
> From: Tim Watts
> Sent: Monday, November 14, 2011 9:09 AM
> To: Tomcat Users List
> Subject: Re: 403 error starting tomcat 7.0.22 application on windows 7
>
> On Mon, 2011-1
On Tue, 2011-11-15 at 11:38 +, Pid wrote:
> On 15/11/2011 08:01, Mario Splivalo wrote:
> > Can I have several Tomcat contexts on different ports?
> >
> > I need to have manager app listening only on 8080, and all the other
> > apps on 80. Is something like that possible, within one Tomcat Serv
On Tue, 2011-11-15 at 10:16 -0500, Tim Watts wrote:
> On Tue, 2011-11-15 at 11:38 +, Pid wrote:
> > On 15/11/2011 08:01, Mario Splivalo wrote:
> > > Can I have several Tomcat contexts on different ports?
> > >
> > > I need to have manager app liste
On Sat, 2011-12-10 at 22:45 +, Pid wrote:
> Yeah...
>
> Please also just reply to the mailing list.
>
Are you referring to this (cough, cough):
http://catb.org/~esr/faqs/smart-questions.html#easyreply
(your Reply-To points to your email not the list).
>
> p
>
>
>
>
>
>
>
On Sun, 2011-12-18 at 01:11 +0530, Anshul Asthana wrote:
>
>
>
>
>
> From: André Warnier
> To: Tomcat Users List
> Sent: Saturday, 17 December 2011 6:03 PM
> Subject: Re: Tomcat 6.0 configuration with Adobe LiveCycle DS ES 3.0
> Server
>
>
> I have writ
On Mon, 2011-12-19 at 13:42 -0500, Troy-McKoy, Vickie wrote:
> Thanks for your response.
>
> When I ping server2, I get valid responses coming back. When I telnet
> to server2 on port 8009, I am also able to connect.
>
Did you do the telnet test from a shell on the apache host? Did you use
the
gt; > The server is temporarily unable to service your request due to
> maintenance downtime or capacity problems. Please try again later.
> >
>
>
> > Apache/2.0.64 (Unix) mod_jk/1.2.32 Server at xx
On Mon, 2011-12-19 at 18:06 -0500, Christopher Schultz wrote:
> On 12/17/11 2:34 AM, Lau Eng Huat wrote:
> > The question that I have now is how to get it to work with apache
> > httpclient components.
>
> Have you tried the apache-commons mailing list?
>
Actually Http Components has been a top
You may have the "thread view" active. Each thread gets its own PID. I
don't know about htop, but in top H (i.e. capital H) toggles this.
And it's CATALINA_OPTS not CATALINA_OPT.
On Fri, 2011-12-23 at 17:23 -0500, S Ahmed wrote:
> In my catalina.sh and set CATALINA_OPT, and I have Xmx around 2
On Thu, 2011-12-29 at 11:22 -0800, Matthew Tyson wrote:
> How an empty 200 response could be generated
> without executing the logging statement here is a mystery.
>
Do you still have that MonitoringFilter configured in the web app?
Perhaps it is short circuiting the chain.
> protected void
On Sat, 2011-12-31 at 00:33 -0600, Jerry Malcolm wrote:
> I have a web app that's worked for years. I had to go in and do some
> renovations on it due to a few new requirements. Now for some reason, I'm
> getting a new/different session id for each page. It's easy to see that's
> what happening
Can you successfully run this command:
keytool -list -keystore {path/to/your/keystore/file} -storepass
{passwd-in-server.xml}
If so, perhaps it's a character encoding issue? Don't remember if
AS/400 uses EBCDIC as its default character set.
On Mon, 2012-01-09 at 14:42 -0800, James Lampert wro
On Mon, 2012-01-09 at 15:55 -0800, James Lampert wrote:
> Tim Watts (from the Tomcat Users List) wrote:
> > Can you successfully run this command:
> >
> > keytool -list -keystore {path/to/your/keystore/file} -storepass
> > {passwd-in-server.xml}
>
> It give
On Tue, 2012-01-10 at 09:35 -0800, James Lampert wrote:
> Tim Watts wrote:
> > That's a possibility if it's padding the passwords as well. I'm not an
> > AS/400 expert by any means. Is /foo a preallocated file and if so could
> > the problem be with the way
On Tue, 2012-01-10 at 22:06 +, ja...@mobilewebexpert.co.uk wrote:
> Basically, I've created a webapp which runs fine on my development machine,
> but our actual hosting is shared (and uses a Security Manager) and some new
> libraries we're using throws up loads of exceptions which we need to
On Wed, 2012-02-29 at 00:40 +0800, Ken Cheung wrote:
> I observed some code clones in Tomcat and found inconsistent code.
> Could anyone explain why this is not a bug?
>
If you think it's a bug can you explain why you think so? You may get
more value out of the homework assignment by pondering th
I've been trying to get Tomcat to chase my mouse for year with no luck.
On Wed, 2012-03-14 at 10:29 -0400, Mark H. Wood wrote:
> But does it also walk dogs?
>
signature.asc
Description: This is a digitally signed message part
On Wed, 2012-05-09 at 20:29 -0500, Reissner Pabón wrote:
> how can i conect apache toncat 7 to oracle 10 g or oracle 11 g an adobe
> flex? to make a ria?
> tnaks
>
Your question is too broad, as is your subject line. Please read this:
http://catb.org/~esr/faqs/smart-questions.html
Also
On Fri, 2012-05-18 at 12:14 -0400, Vance - wrote:
> I'm maintaining a Web application for searching multiple wikis, this app
> runs under Tomcat 6. I need to modify a servlet so it instantiates a
> 'Thread' subclass to perform a wiki availability check every so often, say
> every 30 minutes. Given
Hi Kiran,
On Tue, 2012-06-19 at 05:40 +0530, Kiran Badi wrote:
> Hi All,
>
> I need your guidance again.I have bunch of JSP's close to 100+ which I
> need to protect it from direct access.
>
By "direct access" do you mean that http://host/myapp/sample.jsp is
returning the JSP source code rather
On Tue, 2012-06-19 at 08:48 +0530, Kiran Badi wrote:
> No its not returning source code.I have couple of jsps where in I use EL
> in those to access session objects and directly accessing those jsps is
> not something I want.
Good move.
> >> 2. Is their any extra setting that is required if I
On Tue, 2012-06-19 at 10:54 +0530, Kiran Badi wrote:
> Hi All,
>
> I have send mail servlet, which looks something like below,
>
> protected void doPost(HttpServletRequest request, HttpServletResponse
> response) throws ServletException, IOException {
> String emailRecipient = request.ge
On Wed, 2012-06-20 at 19:19 -0400, David Kerber wrote:
> On 6/19/2012 8:07 PM, André Warnier wrote:
> > James Lampert wrote:
> >> . . . and when I looked back at the box I was testing, Tomcat *had*
> >> finally shut down. And when I ran both the start and stop scripts
> >> this time, the stop scr
Hi Rick,
On Thu, 2012-07-05 at 13:15 -0400, Rick Bragg wrote:
> Hi,
>
> After upgrading one of my web applications (cyclos) I can no longer start up
> the
> web application. I get the following error:
>
> FAIL - Application at context path /cyclos could not be started.
>
> I tried undoing my
On Mon, 2012-07-09 at 10:14 -0400, Toman, Chuck [Stock] wrote:
> Yes, I believe so
> Somehow in Apache Tomcat the hostname can be dynamically change for soap
> location address.
>
Are you asserting this as fact or do you just wish it were so? Tomcat
is a web application container. What leads
ake friends with
one of these:
http://axis.apache.org/
http://cxf.apache.org/
>
> Thanks,
>
> Charles G. Toman
> Trend DBA
> T: +1 (919) 431 1792 · M: +1 (919) 524 8652
>
> Customer Focused, Associate Driven.
>
> -----Original Message-
> From: Tim
On Thu, 2012-07-12 at 06:35 +0530, Kiran Badi wrote:
> Hi,
>
> I have below code for catching DAO exceptions,
No, it's not. It's code that defines an interface and a poorly
implemented exception type. There's no catching. Anywhere.
> but I feel its not correct
> way to do this,Can some one p
Hi Ann,
On Mon, 2012-07-16 at 19:18 -0700, ann ramos wrote:
> Hi,
>
>
>
> We are using HP Service Manager 9.2 system. The web client tier was
> set up using Windows 2008 R2 64-bit, IIS 7.5, Tomcat 6 and Isapi
> Redirector 1.2.30.
> The client is accessing the site by https because we had crea
On Thu, 2012-07-19 at 15:10 -0700, James Lampert wrote:
> Theoretically, I've ironed out the bugs concerning which JVMs Tomcat
> will run under, but it still isn't coming up.
>
> The STDOUT from attempting to start Tomcat is as follows:
>
> > /wintouch/tomcat/bin/catalina.sh: 001-0019 Error foun
On Thu, 2012-07-19 at 17:25 -0700, James Lampert wrote:
> Tim:
> > This is normally in /lib/catalina.jar.
> > A. Does it exist there?
> > B. Does the user the process is running as have permission to
> read
> > that file and directory?
> > C. If yes to A & B, is the file corr
On Sun, 2012-07-22 at 08:03 -0700, k9...@operamail.com wrote:
> Linux svr 3.1.10-1.16-desktop #1 SMP PREEMPT Wed Jun 27
> 05:21:40 UTC 2012 (d016078) x86_64 x86_64 x86_64
> GNU/Linux
>
> IPv4 is enabled on the server. The IPv6 stack is also enabled, and
>
On Sun, 2012-07-22 at 10:32 -0700, k9...@operamail.com wrote:
> Hi,
>
> On Sun, Jul 22, 2012, at 01:24 PM, Tim Watts wrote:
> > On Sun, 2012-07-22 at 08:03 -0700, k9...@operamail.com wrote:
> > > Linux svr 3.1.10-1.16-desktop #1 SMP PREEMPT Wed Jun 27
> >
On Sun, 2012-07-22 at 11:21 -0700, k9...@operamail.com wrote:
> On Sun, Jul 22, 2012, at 02:08 PM, Tim Watts wrote:
> > By default, Tomcat will listen on port 8080 on all available addresses
> > (IPv6 and 4, barring configuration settings at the OS level). The key
> > &qu
On Mon, 2012-07-23 at 14:39 -0700, Jim Proctor wrote:
> Greetings — I'm running into errors installing a Java app called
> GeoServer (latest stable v2.1.4) on my Tomcat server at
> sge.lclark.edu:8080 (Tomcat v.7.0.26, JVM v.1.6.0_20-b20). I
> downloaded the .war.zip file, expanded it, and uploaded
On Tue, 2012-07-24 at 09:17 -0700, James Lampert wrote:
> To recap, I've got a situation where Tomcat is crashing on takeoff, on a
> V5R4 AS/400, with what appears to be the same setup that works fine on a
> V6 box, and showing correct environment variables in the STDOUT spool
> file, and leavin
Are you asking here because you got no answers on the NetBeans
list? Nor the Ant list?
On Tue, 2012-07-24 at 15:11 -0400, Cotton, Joseph B wrote:
> This question concerns a Project that used to work nicely. Now it will
> not build.
> I am using NetBeans IDE 7.1.1 with Apache Tomcat 7.0.22
>
On Tue, 2012-07-24 at 15:46 -0400, Martin Gainty wrote:
> http://grepcode.com/snapshot/repo1.maven.org/maven2/javax.servlet.jsp.jstl/javax.servlet.jsp.jstl-api/1.2.1
>
> This is what youre looking for ..if the ant guy is looking the other
> way you can easily integrate this depdency with maven3 an
sted books although some look pretty outdated.
HTH
> -Original Message-
> From: Tim Watts [mailto:t...@cliftonfarm.org]
> Sent: Tuesday, July 24, 2012 3:36 PM
> To: Tomcat Users List
> Subject: Re: Project will not build
>
> Are you asking here because you got no answers
On Thu, 2012-07-26 at 08:57 -0700, James Lampert wrote:
> Tim Watts wrote:
>
> > http://tomcat.10.n6.nabble.com/Tomcat-7-0-25-on-an-AS-400-V5R4-Another-try-Help-td4984199.html#a4984215
>
> >> - Add these lines to the end of
On Thu, 2012-07-26 at 13:34 -0700, James Lampert wrote:
> Tim Watts wrote:
>
> > import java.io.File;
> > import java.net.URL;
> > import java.net.URLClassLoader;
> >
> > public class FindClass {
> > public static void mai
On Mon, 2012-07-30 at 09:26 -0700, James Lampert wrote:
> I have just wiped the Tomcat installation on the V5R4 box in question,
> and done a clean install of 7.0.25.
>
> No change in its behavior.
>
> I tried a modified version of our standard Tomcat-launch CL program,
> that adds a CATALINA_O
On Tue, 2012-07-31 at 09:20 -0300, Alejandro Mehring wrote:
> First of all, thank you very much for your quick response! I'm too having a
> hard time believing that tomcat would do something like that... I even
> tried on a new web project and it didn't remove the parent directory
> reference! I'm
On Wed, 2012-09-05 at 12:16 -0400, PJ Delsh wrote:
> Shailendra, I'm not an expert, but when we had this same issue, we
> increased the Initial Memory Pool and Maximum Memory pool (XMS and
> XMX) in the Tomcat Monitor in Windows 2008.We also had a leak in some
> of our JSP files that was causing T
On Sat, 2012-09-22 at 14:31 +0330, Mohsen Jamali wrote:
> Hi guys,
> After searching the web about how to deploy a war file on Tomcat.
The simplest way is to just copy the war file to webapps/ under your
Tomcat base. By default Tomcat will automatically deploy it from there.
> i came to
> the c
On Wed, 2012-10-24 at 11:38 +0100, KumareshGopalsamy wrote:
>
>
>
>maxThreads="150" scheme="https" secure="true"
>
>clientAuth="false" sslProtocol="TLS"
> keystorePass="changeit" keystoreFile="
> C:\apache-tomcat-6.0.24-windows-x64\key \.keystore"/>
>
The only
On Fri, 2012-11-09 at 08:11 -0600, Caldarale, Charles R wrote:
> > From: Meik Suchlich [mailto:meik.suchl...@brandad-systems.de]
> > Subject: AW: rotation of catalina.out on restart but no truncation
>
> > catalina.out is rotated by restart to catalina.-mm-dd.log, but
> > catalina.out
> > i
On Thu, 2013-01-03 at 12:42 +, Husarik, Branko wrote:
> Hello,
>
> I will try to clarify the process as I see it:
>
> Request message sending process from Oracle to Web Service
> Oracle --> HTTP --> Tomcat --> Input/Output stream --> webapp -->
> Input/Output stream --> Tomcat --> HTTPS -->
On Thu, 2013-01-03 at 12:42 +, Husarik, Branko wrote:
> Hello,
>
> I will try to clarify the process as I see it:
>
> Request message sending process from Oracle to Web Service
> Oracle --> HTTP --> Tomcat --> Input/Output stream --> webapp -->
> Input/Output stream --> Tomcat --> HTTPS -->
On Thu, 2013-01-03 at 12:42 +, Husarik, Branko wrote:
> Hello,
>
> I will try to clarify the process as I see it:
>
> Request message sending process from Oracle to Web Service
> Oracle --> HTTP --> Tomcat --> Input/Output stream --> webapp -->
> Input/Output stream --> Tomcat --> HTTPS -->
\/ http://A/jsp/
It works, but it is horrible and basically leaving a booby trap for the
unwary.
Many thanks,
Tim
--
Tim Watts
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands,
r edit Location http:\/\/T\/webapp\/jsp\/ http://A/jsp/
It works, but it is horrible and basically leaving a booby trap for the
unwary.
Many thanks,
Tim
--
Tim Watts Tel (VOIP): +44 (0)1580 848360
Systems Manager Digital Humanities, King's Col
be you should also look at ProxypassReverseCookieDomain ?
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
--
Tim Watts Tel (VOIP):
On 18/01/13 11:45, Mark Thomas wrote:
On 18/01/2013 11:07, Tim Watts wrote:
Anyone?
Hi Mark,
Tomcat doesn't give two hoots about the origin header.
Curious - I wonder how me editing it helped? Unless it caused some
knockon somewhere.
It does care
about the Host header.
That
On Mon, 2013-02-04 at 14:39 +1300, Vince Stewart wrote:
> Using Tomcat 7.0.35 embedded in Java standalone application. Java SE 1.7.0.
> Ubuntu 12.04
>
> Hi All,
>
> I have an experimental class below. The aim is just to open a listening
> port on port 4000 in the "localhost" address.
> When this
ll.
>
Yes, I believe this is normal. Looks like your system is using
"IPv4-mapped addresses" which allows interoperability between IPv4&6
hosts without needing two IP stacks on the IPv6 host.
> Many thanks for your help.
>
>
>
>
> On Mon, Feb 4, 2013
On Sun, 2013-02-10 at 18:51 +0800, vicky wrote:
>
> Hi All,
>
>
> My application need a "resource/properties" file to exist in the
> CLASSPATH, for this i placed my resource file in /bin
> folder & it was working fine.
>
> But since yesterday my application reporting the error that properti
On Thu, 2014-02-06 at 10:32 -0500, Neven Cvetkovic wrote:
> On Feb 6, 2014 4:21 PM, "Shivam Mishra" wrote:
> >
> > My tomcat and its example application is running but I got an error with
> my
> > own application .My port number is 8080 .I compile my servlet programme in
> > jdk 7 .and my web.xml
6-Feb-2014 15:08:09.066 INFO [localhost-startStop-1]
> org.apache.catalina.startup.HostConfig.deployDirectory Deploying web
> application directory C:\Program Files\Apache Software Foundation\Tomcat
> 8.0\webapps\name
> 06-Feb-2014 15:08:09.126 INFO [localhost-startStop-1]
>
SelectorPool.getSharedSelector Using a
> >> shared
> >> > selector for servlet write/read
> >> > 06-Feb-2014 15:08:07.669 INFO [main]
> >> > org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler
> >> > ["ajp-nio-8009&
On Thu, 2014-03-13 at 17:51 -0700, Brendan Miller wrote:
> I have a filter with doFilter method like this:
>
> public void doFilter(ServletRequest request,
> ServletResponse response,
> FilterChain chain)
> throws IOException, ServletEx
On Thu, 2014-03-13 at 21:20 -0400, Martin Gainty wrote:
> you'll need to pass your modified response to service method of
> servlet which is *in* the filterChain
Utter nonsense.
> ApplicationFilterChain::internalDoFilter(ServletRequest request,
> ServletResponse response)
> throws IOExcep
On Thu, 2014-03-13 at 19:11 -0700, Brendan Miller wrote:
> I'm confused by what you mean by that. Are you saying I need to somehow
> rewrite the class of the FilterChain object passed to my filter?
>
I think you're somewhat new to the list. Mr. Gainty is notorious here
and seems to pride himself
On Thu, 2014-03-13 at 23:16 -0400, Tim Watts wrote:
> On Thu, 2014-03-13 at 19:11 -0700, Brendan Miller wrote:
> > To be clear, I'm trying to modify the response that comes back from the
> > service. I have a header that I may or may not need to set based on the
> > re
On Tue, 2014-04-15 at 17:12 -0400, Ian Long wrote:
> >
> > Ian Long wrote:
> I have tomcat configured to log via log4j, and then there is my
> application log, those are the only two logs, and neither contains
> anything.
They're empty? Are you sure the logs are writable? How much free space
i
On Fri, 2014-04-18 at 11:05 +0200, Franck Routier wrote:
>
Is is possible the select just needs to be terminated with a semi-colon?
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail
Markmail seems to confirm this but kind of remarkable, huh? I think the
user community should get a promotion in recognition of our quantum leap
in tomcat problem-solving skills! (Or perhaps everyone's just busy
reading the manual?)
-
On Tue, 2013-06-25 at 10:01 -0400, Nickalaus A Painter wrote:
> Jun 25, 2013 9:49:53 AM org.apache.catalina.startup.HostConfig
> deployDescriptor
> SEVERE: Error deploying configuration descriptor
> /usr/local/tomcat/apache-tomcat-7.0.37/conf/Catalina/localhost/MyApp.xml
> java.lang.NullPointerE
On Wed, 2013-07-10 at 15:08 -0700, Leo Donahue - RDSA IT wrote:
> When did it start that developers decided to place jsps in the WEB-INF
> directory? Was that intended from the beginning, or was it stumbled
> upon?
My guess is that it was a side effect of MVC adoption -- making views
accessible o
On Sun, 2013-07-14 at 23:28 +0200, André Warnier wrote:
> Alireza Fattahi wrote:
> > Well,
> >
> > If we want to follow up that post , then we should belive that:
>
> Tomcat is an inclusive church, and you can believe what you want.
> Konstantin is one of the Tomcat developers however, so you sh
On Sun, 2013-07-14 at 16:27 -0700, Hassan Schroeder wrote:
> On Sun, Jul 14, 2013 at 3:53 PM, Tim Watts wrote:
>
> > If you don't take steps to make them cacheable, they'll be fetched
> > every time on every page adding extra load on your server and the
> >
On Fri, 2013-07-26 at 12:57 -0400, Christopher Schultz wrote:
> All,
>
> I have the JmxRemoteLifecycleListener enabled with the following
> configuration:
>
> System properties (confirmed effective):
> -Dcom.sun.management.jmxremote.password.file=app/conf/jmxremote.password
> -Dcom.sun.management
1 - 100 of 123 matches
Mail list logo