I think I was doing a mistake in the url-pattern. giving the correct URL
pattern did the trick.
Thanks for the tip on transport-guarantee Chuck.
Thanks,
Anand
On Fri, Feb 6, 2009 at 12:11 PM, Anand HS wrote:
> Hi, Thanks for the info about the transport-guarantee.
> I did try to use it. Here i
Hi, Thanks for the info about the transport-guarantee.
I did try to use it. Here is the config to exclude xsl files and allow all
others through to HTTPS.
Notify page, accessed internally by
application
*.xsl
NONE
Entire Site
/*
CONFIDENTIAL
I would expect with this configuration th
> From: Anand HS [mailto:anan...@gmail.com]
> Subject: A question about excluding URL patterns from filters
>
> I have a filter that takes all requests that try to hit http and
> redirects them through https.
Why are you using a filter? Why not the mechanism
defined in the servlet spec?
- Chu
On Feb 6, 2009, at 12:24 AM, Anand HS wrote:
However, I believe there must be a more 'elegant' way to exclude a url
pattern through configuration than adding/modifying more code. :)
Could you shed more ideas on this. ?
Move it?
---
Hi, I have a filter that takes all requests that try to hit http and
redirects them through https.
Here is the web.xml configuration for that. -
SecuredChannelFilter
com.psi.servlet.filter.SecuredChannelFilter
SecuredChannelFilter
*
Now, I have a requirement to exclude only *.xsl from this f
Of course it will; no doubts about it! Any self-respecting maven fanatic can assure you of that!!
;-)
epicwin...@hotmail.com wrote:
Thanks for all the replies. Nice to know i can do this without any side
effects.
I think I will have to look into maven and see if that fits my deployment need
> From: Bill Davidson [mailto:bill...@gmail.com]
> Subject: Fun with the JVM crashing.
> I'm wondering if that CompileTask is what's causing the problem.
Only if that shows up repeatedly.
> I'm thinking that the JVM shouldn't be getting SIGSEGV's.
You're right about that. However, it could als
-Original Message-
From: Ashish Sarna [mailto:ashish.sa...@thepsi.com]
Sent: Tuesday, February 03, 2009 6:19 PM
To: users@tomcat.apache.org
Subject: Deleting web application specific log files
Hello
I am using tomcat6 to deploy my web applications. For logging the messa
> From: Bill Davidson [mailto:bill...@gmail.com]
> Subject: Should I use the -server switch?
>
> Tomcat 6.0.18
> JVM: Sun 1.6.0_11 64-bit for Linux
Most of the 64-bit Sun JVMs come only in -server mode, no -client version. Run
"java -version" (without the quotes) to see what the default mode is.
Hello, I have an app running in tomcat 6.0.18, using the default
session manager.
If I stop and start tomcat, or if I use the "reload" button in the
manager, my sessions are preserved.
But if I copy a new .war into webapps, or touch the existing .war, so
that my app redeploys, my sessions are del
"André Warnier" wrote in message
news:498ad66a.4080...@ice-sa.com...
> Mikolaj Rydzewski wrote:
>> André Warnier wrote:
>>> if I have a webapp consistig of just a couple of classes and a
>>> WEB-INF/web.xml config file, but this web.xml file contains some
>>> parameters that are "each-client-d
I've submitted this to Sun a few times. No response. I was hoping
someone here might have an idea of what to look for.
Tomcat 6.0.18
RedHat 5.2Server
Sun JVM
#
# An unexpected error has been detected by Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x2b68e6a1db57, pid=10229, tid=11030
Tomcat 6.0.18
JVM: Sun 1.6.0_11 64-bit for Linux
What does this switch really do anyway? The name implies it's
for server programs but I can't find a good explanation.
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.o
I figured it out. The style sheet just has to be in a directory that isn't
locked down.
On Thu, Feb 5, 2009 at 5:57 PM, Scott wrote:
> Thanks, that seems to have fixed the immediate issue. However, when I put
> the following in my login.jsp , tomcat forwards me directly to the
> contents of th
Hi,
Pimping the JSP XML syntax and XSL... :)
If, by any chance your JSPs are using XML syntax (or well-formed or
can be well-formed), you can use XSL to transform all of your links to
be encoded for cookie-less users.
For example, the following JSP:
http://java.sun.com/JSP/Page"; xmlns:c=
Christopher Schultz wrote:
What about forwarding X through the tunnel instead?
I've tried that and found it to be unusably slow. Just using
Cygwin/X though. I'm not sure about those fancy light weight
X compression systems.
I really would like to be able to run these kind of tools across a
f
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
André Warnier wrote:
Christopher Schultz wrote:
What about forwarding X through the tunnel instead?
You can't, because it is variable.
If you forward the X connection, then Jconsole is running locally on the
T
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
André Warnier wrote:
> Christopher Schultz wrote:
>>
>> What about forwarding X through the tunnel instead?
>>
> You can't, because it is variable.
If you forward the X connection, then Jconsole is running locally on the
Tomcat server. So ther
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mohit,
Mohit Anchlia wrote:
> 1. Does apache read worker.properties dynamically? So if I change
> worker.property would it be dynamically read by mod_jk.
mod_jk will not reload the workers.properties file, but if you use a
separate mappings file, and
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
André Warnier wrote:
> Actually, I was just perusing a page in the Tomcat 6 docs :
> http://tomcat.apache.org/tomcat-6.0-doc/config/context.html
>
> and it actually says, for the "cookies" attribute :
> Set to true if you want cookies to be us
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
Caldarale, Charles R wrote:
>> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
>> Subject: RealmBase's 'Container' requirement (revisited)
>
>> Should I continue down this road of trying to prop-up a
>> Tomcat skeleton server i
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Randir,
randhir.si...@elitecore.com wrote:
> As, I have understood to make a mod_jk Load module, the steps are:-
>
>
> $ ./configure --prefix=/path/to/install
> --enable-shared=foo
> $
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mihamina,
Mihamina Rakotomandimby (R12y) wrote:
> catch(Exception e)
> {
> try
> {
> Class.forName("org.gjt.mm.mysql.Driver");
> }
> catch (ClassNotFoundException
Thanks, that seems to have fixed the immediate issue. However, when I put
the following in my login.jsp , tomcat forwards me directly to the
contents of the css file for some reason.
In addition, the styles no longer format the login.jsp.
Any idea what would cause this? Thanks.
On Wed, Feb 4
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mark,
Mark Thomas wrote:
> The (very) short version is:
> mod_proxy_ajp is not as stable as mod_jk.
I'm a longtime user of mod_jk and, having had the unfortunate experience
of trying to migrate from mod_jk to mod_proxy_ajp, I can say that
mod_proxy_a
I copied the $APACHE_HOME from the old server to the new one and it works
fine. I guess, this is contradictory to your answer.
regards
-Original Message-
From: Gregor Schneider [mailto:rc4...@googlemail.com]
Sent: Tuesday, February 03, 2009 8:47 PM
To: Tomcat Users List
Subject: Re: Copy
I copied the $APACHE_HOME from the old server to the new one and it works
fine. I guess, this is contradictory to your answer.
regards
-Original Message-
From: André Warnier [mailto:a...@ice-sa.com]
Sent: Tuesday, February 03, 2009 7:43 PM
To: Tomcat Users List
Subject: Re: Copy Apache
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Filip,
Filip Hanik - Dev Lists wrote:
> So if you are using something that is working, don't even consider
> switching just cause some dude on a webinar told you so.
Yeah, especially some dude named ... oh, wait. ;)
Care to comment on an as-yet-unco
the jvm version is same as the old $JAVA_HOME was copied to the new one. I
guess, then, copying the tomcat again is not required?
regards
-Original Message-
From: Martin Gainty [mailto:mgai...@hotmail.com]
Sent: Friday, February 06, 2009 2:23 AM
To: Tomcat Users List
Subject: RE: Backup
what are you trying to say, can the OS be copied ever?
regards
-Original Message-
From: Gregor Schneider [mailto:rc4...@googlemail.com]
Sent: Friday, February 06, 2009 1:37 AM
To: Tomcat Users List
Subject: Re: Backup of TOMCAT required
On Thu, Feb 5, 2009 at 8:44 PM, Randhir singh
wro
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ramesh,
peterramesh wrote:
> On reading Tomcat help doc
> http://tomcat.apache.org/tomcat-6.0-doc/jndi-resources-howto.html, it
> recommends to place the MySQL JDBC driver in both places (CATALINA_HOME/lib
> and WEB-INF/lib folder of the app).
I do
the java and tomcat version is same in the old and the new. We had copied
$JAVA_HOME also from the old to the new.
I guess, then, copying the tomcat again is not required?
regards
-Original Message-
From: David Smith [mailto:d...@cornell.edu]
Sent: Friday, February 06, 2009 1:31 AM
To:
thanks, for your answer. I do not understand what you are trying to say.
regards
-Original Message-
From: André Warnier [mailto:a...@ice-sa.com]
Sent: Friday, February 06, 2009 1:38 AM
To: Tomcat Users List
Subject: Re: Backup of TOMCAT required
Gregor Schneider wrote:
> On Thu, Feb 5,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mark,
Mark Thomas wrote:
> There is a proposal to log a message when [the thread pool is
> exhausted and accept queue is full] but with current versions you
> won't see anything in the logs.
Can Java even detect the second of those two conditions? I
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ray,
Ray Holme wrote:
> I have a few web applications being moved to tomcat. They all share some
> commonality - I use Firebird not MySQL; I built my own ConnectionManager
> long ago
[snip]
> Perhaps due to lack of knowledge, I try get the session's
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
I know I'm a bit late, but...
André Warnier wrote:
> André Warnier wrote:
>> epicwin...@hotmail.com wrote:
>>> You are correct, I found a setting that relaxes the group access
>>> permissions on the jailkit. Now I just have one more problem.
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Subject: RealmBase's 'Container' requirement (revisited)
> Should I continue down this road of trying to prop-up a
> Tomcat skeleton server inside the webapp's space
I'm confused (seems to be happening a lot lately): Tomcat alrea
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Flavius,
Flavius wrote:
> My ultimate goal is to give these instructions to a network admin:
>
> 1. Download and install Tomcat
> 2. Place war file in /webapps
> 3. Put the app.properties file at __ and set your database and
> email server
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
Back in July, I asked about RealmBase requiring a Container object in
order to function properly. This has to do with using securityfilter
with Tomcat's built-in Realms.
Here is a reference to the original thread:
http://marc.info/?t=12175132310
> From: André Warnier [mailto:a...@ice-sa.com]
> Subject: Upgrade .. a Tomcat
>
> And if so, any idea of which are the relevant bits for that Listener ?
>From looking at the changelog, I think all you need is the one class file:
org.apache.catalina.mbeans.JMXAdaptorLifecycleListener
However, this
JohnHardin wrote:
>
> * Have others (that now seem to be "fixed") gotten things to work by
> updating to the latest mod_jk (1.2.27)?
I suspect that it's related to 1.2.27 - I have been playing around with
older versions. .24 and .25 have had issues forwarding certain request
headers, but so far
Hi.
Now I'm going to ask a question, sotto-voce, humbly, and don't get upset.
There happens to be this Tomcat 5.5.20 you see, running under Linux
Debian Etch. It wasn't me who installed it, it was the sysadmin, and
he's a really difficult guy to relate to, and he has the power switch.
But supp
LukeK wrote:
>
>
> yuvalperlov wrote:
>>
>> I am having the exact same symptoms with the latest versions of
>> everything:
>> Fedora 10
>> Tomcat 6.0.18
>> Apache Apache/2.2.10
>> mod_jk-1.2.27 (and the same problem with the built-in mod_proxy_ajp).
>>
>> It takes a day or so for the problem
theoretically if you're mirroring you should see no difference
(although you might see different behaviour from the JVM binaries..but that
*should be* negated by having same JVM version)
specifically I would check OS specific binaries at..
%JRE_HOME%\bin\server
%JRE_HOME%\bin\client
%JRE_HOME%\b
> From: André Warnier [mailto:a...@ice-sa.com]
> Subject: Re: TC6 ${CATALINA_HOME}/conf/web.xml Is this the
> place to constrain the mime type?
> (*) Of course if the browser is IE, it doesn't matter anyway,
> because IE will not believe what the server tells it and do
> its own thing.
Now that p
Gregor Schneider wrote:
On Thu, Feb 5, 2009 at 8:44 PM, Randhir singh
wrote:
Thanks, for your answer. But, my real question is whether we need to copy
the latest copy of $TOMCAT_HOME from the old server to the new server as
it is just a web server and not our application code.
What the heck
On Thu, Feb 5, 2009 at 8:44 PM, Randhir singh
wrote:
> Thanks, for your answer. But, my real question is whether we need to copy
> the latest copy of $TOMCAT_HOME from the old server to the new server as
> it is just a web server and not our application code.
>
hey - why not copying the whole OS?
Dave Pawson wrote:
Hi Rob
2009/2/5 Robert Koberg :
On Feb 5, 2009, at 1:28 PM, Caldarale, Charles R wrote:
From: Dave Pawson [mailto:dave.paw...@gmail.com]
Subject: TC6 ${CATALINA_HOME}/conf/web.xml Is this the place
to constrain the mime type?
Just to clear up your question above : no.
I
Quick answer: No. Copy over your app and configure the new tomcat to
match the old one. I highly recommend hand configuring tomcat rather
than just copying config files though. The review is good practice and
config files -- particularly server.xml -- have changed over time.
The thing that woul
> From: Dave Pawson [mailto:dave.paw...@gmail.com]
> Subject: Re: TC6 ${CATALINA_HOME}/conf/web.xml Is this the
> place to constrain the mime type?
>
> Unless the client requests application/xml I want to refuse the
> request.
I don't think you quite appreciate the situation yet. An HTTP client d
Thanks, for your answer. But, my real question is whether we need to copy
the latest copy of $TOMCAT_HOME from the old server to the new server as
it is just a web server and not our application code.
regards
-Original Message-
From: Martin Gainty [mailto:mgai...@hotmail.com]
Sent: Thurs
I posted this question previously, but it was OT in another thread, and
I got the impression it's now buried a bit deep, so new more on-topic
thread.
referring to :
About the possibilities to run JConsole remotely, through a firewalled
connection.
Mark Thomas wrote :
You might also want to
Mohit Anchlia wrote:
Couple of questions regarding mod_jk:
1. Does apache read worker.properties dynamically? So if I change
worker.property would it be dynamically read by mod_jk.
2. Does mod_jk check if the system is up and running before forwarding
that request to the server configured in wo
Caldarale, Charles R wrote:
From: Steve Mysterious [mailto:tinker...@gmail.com]
[...]
Well, if you really really need this, I suppose you could run several
Tomcats, each sharing CATALINA_HOME (and thus the basic Tomcat code
etc..), but each having its own CATALINA_BASE.
Then, if you want to ma
Thanks for all the replies. Nice to know i can do this without any side
effects. I think I will have to look into maven and see if that fits my
deployment needs.
_
Windows Live™: E-mail. Chat. Share. Get more ways to connect.
h
Hi Rob
2009/2/5 Robert Koberg :
>
> On Feb 5, 2009, at 1:28 PM, Caldarale, Charles R wrote:
>
>>> From: Dave Pawson [mailto:dave.paw...@gmail.com]
>>> Subject: TC6 ${CATALINA_HOME}/conf/web.xml Is this the place
>>> to constrain the mime type?
>>>
>>> I want to 'reject' (if that's the right word)
On Feb 5, 2009, at 1:36 PM, Dave Pawson wrote:
2009/2/5 Caldarale, Charles R :
From: Dave Pawson [mailto:dave.paw...@gmail.com]
Subject: TC6 ${CATALINA_HOME}/conf/web.xml Is this the place
to constrain the mime type?
I want to 'reject' (if that's the right word) any http get
with mime type !=
On Feb 5, 2009, at 1:28 PM, Caldarale, Charles R wrote:
From: Dave Pawson [mailto:dave.paw...@gmail.com]
Subject: TC6 ${CATALINA_HOME}/conf/web.xml Is this the place
to constrain the mime type?
I want to 'reject' (if that's the right word) any http get
with mime type != application/xml
The c
2009/2/5 Caldarale, Charles R :
>> From: Dave Pawson [mailto:dave.paw...@gmail.com]
>> Subject: TC6 ${CATALINA_HOME}/conf/web.xml Is this the place
>> to constrain the mime type?
>>
>> I want to 'reject' (if that's the right word) any http get
>> with mime type != application/xml
>
> Do you mean .h
> From: Dave Pawson [mailto:dave.paw...@gmail.com]
> Subject: TC6 ${CATALINA_HOME}/conf/web.xml Is this the place
> to constrain the mime type?
>
> I want to 'reject' (if that's the right word) any http get
> with mime type != application/xml
Do you mean .html and .jsp are not valid? That might m
I want to 'reject' (if that's the right word) any http get
with mime type != application/xml
I see in web.xml in the conf directory
xml
application/xml
Is this the right place to do it please?
regards
--
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
http://www.dpawson.co.u
> From: Dave Pawson [mailto:dave.paw...@gmail.com]
> Subject: Re: servlet use. TC6, FC10
>
> I meant to application/xml rather than ... https type!
I'm confused; what kind of access restrictions are you referring to? And whom
do you want to restrict?
(Perhaps this would be better under a new th
The problem may be in your web application and not in Tomcat itself.
Duplicate your environment and use a memory profiler. (like the one
included with Netbeans)
Or use the extended JVM options to produce a HeapDump
-Original Message-
From: fcxjp [mailto:fc...@163.com]
Sent: Thursday, F
2009/2/5 Caldarale, Charles R :
>> From: Dave Pawson [mailto:dave.paw...@gmail.com]
>> Subject: Re: servlet use. TC6, FC10
>
>> I want to start looking at restricting access now, but I'll start a
>> new thread for that!
>
> Read section 12 of the servlet spec first.
Different kind of restriction
The disadvantage of running these tools on the server that also runs
Tomcat is that these tools generate certain load, which under some
circumstances is not wanted as it might influence the stats.
On Thu, 2009-02-05 at 14:15 +0100, André Warnier wrote:
> Mark Thomas wrote:
> > Peter Crowther wrote
> From: Gregor Schneider [mailto:rc4...@googlemail.com]
> Subject: Re: No URL rewriting when cookies are disabled
>
> It's a known bug in Tomcat, if I'm not mistaken:
> https://issues.apache.org/bugzilla/show_bug.cgi?id=43839
That bug was fixed over a year ago, and the fix is in the version the OP
1) As far as I know, no, mod_jk does not read workers.properties
dynamically.
2) Yes and no, it will not send a request unless communication has been
established with the worker, it may happen that the worker fails, or
someone shut it down. Depending on how you configure the workers and the
number
> From: Steve Mysterious [mailto:tinker...@gmail.com]
> Subject: Re: Tomcat 6: How to tell a Context/Webapp where to
> look for files?
>
> Unfortunately I don't have the option of altering the part of the code
> where the context(web application) reads in the file it needs.
Then you're pretty much
> From: Peter Warren [mailto:tomcat.subscript...@gmail.com]
> Subject: Re: comet loop after webapp re-start
>
> Thanks for the pointer. That bug does look related, as does this one:
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6403933 -- fixed
> against java 7.
Or maybe not (comment from
> From: Dave Pawson [mailto:dave.paw...@gmail.com]
> Subject: Re: servlet use. TC6, FC10
> I want to start looking at restricting access now, but I'll start a
> new thread for that!
Read section 12 of the servlet spec first.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE
Thanks for the pointer. That bug does look related, as does this one:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6403933 -- fixed
against java 7.
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additiona
Couple of questions regarding mod_jk:
1. Does apache read worker.properties dynamically? So if I change
worker.property would it be dynamically read by mod_jk.
2. Does mod_jk check if the system is up and running before forwarding
that request to the server configured in worker.properties file?
2009/2/5 Caldarale, Charles R :
>> From: Dave Pawson [mailto:dave.paw...@gmail.com]
>> Subject: Re: servlet use. TC6, FC10
>>
>> Thanks Chaz. Now works.
>
> That was Gregor, not me, that gave you the answer. (Our corporate e-mail
> server hasn't passed your previous message through yet - must be
From: "Caldarale, Charles R"
>>Tomcat: 6.0
>>Tomcat Installation Directory: C:\Program Files\Apache Software
>>Foundation\Tomcat 6.0
>>OS: Windows XP ( Windows 5.1 service pack 2 )
>>Java: JDK 1.6.0_10-beta
snip..
>> I noticed that if I don't give my JSPs and my servlet a
>> path that they
It's a known bug in Tomcat, if I'm not mistaken:
https://issues.apache.org/bugzilla/show_bug.cgi?id=43839
Rgds
Gregor
--
just because your paranoid, doesn't mean they're not after you...
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http://pgpkeys.pca.dfn.de:11371
nlif wrote:
Hi all,
I am using Tomcat 6.0.18, with Firefox 3.0.6.
I have a simple servlet, which calls request.getSession(true), and expects
to create a session only on the first request, and resume an existing
session on all subsequent requests. As far as I know, according to the
servlet-spec,
Are you sure you don't have any thread or task (I mean, quartz or so)
that is running and consume memory?
I agree, this sounds quite strange (our app is running for several weeks
and don't have any major issue, we sometimes need to restart tomcat
because it "hangs", but our memory is under con
My system environment is: Windows 2000 Server. JDK 1.5, tomcat 5.5, Oracle 9
The problems are:
1. After tomcat was started, the memory of the tomcat was normal, about
200M-300M. But after a certain time(this time was not set), the memory began
to grow, and the growing speed was so fast that in abo
> From: Dave Pawson [mailto:dave.paw...@gmail.com]
> Subject: Re: servlet use. TC6, FC10
>
> Thanks Chaz. Now works.
That was Gregor, not me, that gave you the answer. (Our corporate e-mail
server hasn't passed your previous message through yet - must be a Homeland
Security thing. :-)
> Are yo
Good Morning Singh-
any technical reasons for staying with an outdated 1.4 JVM..as you wont be able
to take advantage of advanced gc and generics in JVM 6
?
Martin
__
Disclaimer and confidentiality note
Everything in this e-mail and any attachments
2009/2/5 Gregor Schneider :
> Just had a quick view, but if I'm not mistaken:
>
> Change
>
>
> atom
> /atom/*
>
>
> to
>
>
> atom
> /*
>
:-)
Thanks Chaz. Now works.
Are you going to tell me why please?
regards
--
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ
Just had a quick view, but if I'm not mistaken:
Change
atom
/atom/*
to
atom
/*
Rgds
Gregor
--
just because your paranoid, doesn't mean they're not after you...
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http://pgpkeys.pc
Hi all,
I am using Tomcat 6.0.18, with Firefox 3.0.6.
I have a simple servlet, which calls request.getSession(true), and expects
to create a session only on the first request, and resume an existing
session on all subsequent requests. As far as I know, according to the
servlet-spec, servlet conta
I had a doubt that should the backup of TOMCAT be taken as we are going to
swap our server to a new one with better congifuration. I will explain the
environment of our system a little
1) Application server- JBOSS
2) Web server- Apache & tomcat
3) Application details- Java(1.4.2)
Actually
2009/2/5 Caldarale, Charles R :
>> I created a context element in META-INF, filename atom.xml
>> contents are
>>
>>
>
> O.K.
>
>> Nothing showing in the log.
>> http://marge:8080/atom/ shows
>>
>> type Status report
>> message /atom/
>> description The requested resource (/atom/) is not availabl
> From: André Warnier [mailto:a...@ice-sa.com]
> Subject: Re: [OT] servlet use. TC6, FC10
>
> I was just checking that page indicated above, and happened
> to read the "caseSensitive" attribute definition.
> Doesn't that explanation strike anyone as weird ?
Only if you're not aware that both Java
> From: Dave Pawson [mailto:dave.paw...@gmail.com]
> Subject: Re: servlet use. TC6, FC10
>
> My interpretation, seemingly wrong is that my servlet class must
> implement org.apache.catalina.Context.
Definitely the wrong interpretation. Read the servlet spec.
> I created a context element in META
2009/2/5 André Warnier :
> [OT]
> I was just checking that page indicated above, and happened to read the
> "caseSensitive" attribute definition.
> Doesn't that explanation strike anyone as weird ?
> Or am I just not getting the double negatives somewhere ?
>
> I would expect a "caseSensitive" att
Caldarale, Charles R wrote:
From: Dave Pawson [mailto:dave.paw...@gmail.com]
Subject: Re: servlet use. TC6, FC10
I was wondering if there was a two liner that implements
org.apache.catalina.Context as per the classname attribute
at http://tomcat.apache.org/tomcat-6.0-doc/config/context.html?
whi
2009/2/5 Caldarale, Charles R :
>> From: Dave Pawson [mailto:dave.paw...@gmail.com]
>> Subject: Re: servlet use. TC6, FC10
>>
>> I was wondering if there was a two liner that implements
>> org.apache.catalina.Context as per the classname attribute
>> at http://tomcat.apache.org/tomcat-6.0-doc/confi
> From: Dave Pawson [mailto:dave.paw...@gmail.com]
> Subject: Re: servlet use. TC6, FC10
>
> Not my idea of 'hello world' Charles?
> (Closer to 'go write a device driver for this real time Unix mc :-)
> I'm guessing you've used TC for a while... or longer?
Nothing in the proffered link was Tomca
> From: Dave Pawson [mailto:dave.paw...@gmail.com]
> Subject: Re: servlet use. TC6, FC10
>
> I was wondering if there was a two liner that implements
> org.apache.catalina.Context as per the classname attribute
> at http://tomcat.apache.org/tomcat-6.0-doc/config/context.html?
> which I might use to
2009/2/5 Caldarale, Charles R :
>> From: Dave Pawson [mailto:dave.paw...@gmail.com]
>> Subject: Re: servlet use. TC6, FC10
>>
>> Note my response to Gregors questions about uname -n?
>> Were I to use this method would the 'path' then be
>>
>> $CATALINA_BASE/conf/Cataline/localhost/atom/atom.xml
2009/2/5 Caldarale, Charles R :
>> From: Dave Pawson [mailto:dave.paw...@gmail.com]
>> Subject: Re: servlet use. TC6, FC10
>
>> Is there a basic 'hello world' restlet that should just 'work'
>> please
>
> GIYF:
Indeed (Last time I tried a day without internet access I most definately
realised thi
2009/2/5 Gregor Schneider :
> On Thu, Feb 5, 2009 at 3:20 PM, Dave Pawson wrote:
>> Is there a basic 'hello world' restlet that should just 'work'
>> please
>>
>
> Sorry, but we can't support every kind of software claiming to work
> within Tomcat.
No, agreed. I was wondering if there was a two
> From: Dave Pawson [mailto:dave.paw...@gmail.com]
> Subject: Re: servlet use. TC6, FC10
>
> Note my response to Gregors questions about uname -n?
> Were I to use this method would the 'path' then be
>
> $CATALINA_BASE/conf/Cataline/localhost/atom/atom.xml
>
> for my {}/webapps/atom 'webapp'
No;
2009/2/5 Caldarale, Charles R :
> The [engine] name is whatever it's configured to be in server.xml; the
> default is Catalina (case sensitive), and there's almost never a reason to
> change it. The [host] name is NOT the DNS name, but rather the name of the
> associated element that you want
> From: Dave Pawson [mailto:dave.paw...@gmail.com]
> Subject: Re: servlet use. TC6, FC10
> Is there a basic 'hello world' restlet that should just 'work'
> please
GIYF:
http://temporary.name/java/index.php/spring/restlet-spring-integration
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL
On Thu, Feb 5, 2009 at 3:20 PM, Dave Pawson wrote:
>
> I note that Charles says I don't need this unless I need to define a
> realm or other resources.
>
it's a wise decision to believe almost anything what Chuck mentions ;)
>
> Is there a basic 'hello world' restlet that should just 'work'
> p
2009/2/5 Gregor Schneider :
>> Which I interpret that to have my servlet deployed (found?) I need to
>> set up an XML file
>> as per that web page at
>> {}/conf//marge/atom.xml
>>
>
> Nope, you don't have to.
>
> Within your webapp, create a folder "META-INF", and within this folder
> create a
1 - 100 of 127 matches
Mail list logo