All this info is great but you guys haven't answered my question yet.
Please help me out here.
-Original Message-
From: Roger Parkinson [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 25, 2007 2:14 AM
To: Tomcat Users List
Subject: Re: Help with Tomcat & IIS
We do it because the IIS i
> From: Rob Tanner [mailto:[EMAIL PROTECTED]
> Subject: Re: sun-web.xml file in Tomcat
>
> In Tomcat the context root is simply the path in the
> context declaration in server.xml.
You should not have any declarations in server.xml; that
capability is there only for compatibility with older le
Hi Mark,
I was aware that mod_jk2 was deprecated I just did not know that our
provider setup the system using mod_jk2 until you prompted me to
investigate. Thanks for your help!
Best Regards,
Jacob
Mark Thomas wrote:
mod_jk2!!! Are you sure. That module has been deprecated for several
years
Jacob Rhoden wrote:
> Mark Thomas wrote:
>> Jacob Rhoden wrote:
>>
>>> This is as far as I got. Why would the browser be encoding its requests
>>> in anything other than base64.
>>>
>>
>> Are you using mod_jk? There is a config that could cause this.
>>
>
> We did not configure the s
Mark Thomas wrote:
Jacob Rhoden wrote:
This is as far as I got. Why would the browser be encoding its requests
in anything other than base64.
Are you using mod_jk? There is a config that could cause this.
We did not configure the server, our provider did I just checked and
Jacob Rhoden wrote:
> This is as far as I got. Why would the browser be encoding its requests
> in anything other than base64. I had just wondered if this was a common
> problem with a somewhat simple solution. I don't really have time to go
> digging around in TCP dumps at the moment so I guess th
This is as far as I got. Why would the browser be encoding its requests
in anything other than base64. I had just wondered if this was a common
problem with a somewhat simple solution. I don't really have time to go
digging around in TCP dumps at the moment so I guess the error will have
to liv
Jacob Rhoden wrote:
> Martin Gainty wrote:
>> Please post the encoding attribute located on the top line for you
>> web.xml
>> e.g.
>>
>>
> I had wondered if that was relevant.
This is completely and totally irrelevant with respect to the warning
you are seeing in the logs.
> To make sure we
Well, what it means is that Tomcat saw a '%' character in either the query
string or the POST body that wasn't followed by two two hex digits (0-9
union a-f). It is possible that it is simply a character encoding problem,
but there isn't enough info here to really say what the problem is.
"Jac
For Parameters, just include them in the query string, or the request body,
and Tomcat will do it's thing with them. For request Attributes, just set
them on the coyoteRequest, and they will be picked up.
"Auke Noppe" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Yes, is a kind o
It's actually the org.apache.catalina.connector.Request that handles getting
the session. For the first time the session is requested, tt does this by
getting the manager from the context, and calls the findSession(String
sessionid) method on the manager. If this returns null, then it does muc
Martin Gainty wrote:
Please post the encoding attribute located on the top line for you web.xml
e.g.
I had wondered if that was relevant. To make sure we handle
international characters properly we are using:
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="U
Hi,
We are having an elusive issue on one of our production servers using
Tomcat 6.0.14, every few minutes we are getting a request that results
in the following exception:
Oct 25, 2007 12:04:23 AM org.apache.tomcat.util.http.Parameters
processParameters
WARNING: Parameters: Character decod
if using jdk6, make sure msvcr71.dll is in the path of jvm.dll. The
easiest thing to do is to copy msvcr71.dll to the jre directory from the
jdk directory like so:
copy %JDK_HOME%\bin\msvcr71.dll %JDK_HOME%\jre\bin\server\
Dan Armbrust wrote:
I have a difficult but severe problem with the tomca
We do it because the IIS is already active on the existing server and it
is running a bunch of other stuff we don't want to stop (eg MS Exchange).
So we cannot have tomcat take over handling port 80 requests. It works
fine, though.
Roger
Jacob Rhoden wrote:
Propes, Barry L wrote:
there's lots
Propes, Barry L wrote:
there's lots of people who combine the two -- I currently am, because our UNIX
support group has not made the environment compatible for or with Tomcat!
Sounds like you and I have the same employer (: But seriously, I am
trying to work out the pro's and cons of standal
Hi.
I'm using Tomcat 5.5.23 on Windows XP Pro. I have a Java application that
uses spring and acegi for security and configuration. I only want the GET,
POST and HEAD HTTP methods to be allowed, so I have added the following to
various web.xml and nothing seems to work.
Disabled
there's lots of people who combine the two -- I currently am, because our UNIX
support group has not made the environment compatible for or with Tomcat!
-Original Message-
From: Jacob Rhoden [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 24, 2007 5:39 PM
To: Tomcat Users List
Subject:
Wow, this is the first time I have heard of someone wanting to use
Tomcat with IIS. Most IIS people would be using .NET. (I am interested
to hear from people if its possible and why you would do it)
Is there a speciffic reason you need to connect it to IIS? Did you know
that tomcat can be used
michaeltwozero wrote:
> Is there a way I can configure the management application to only respond to
> requests from 127.0.0.1
> and ignore all other requests?
http://tomcat.apache.org/tomcat-6.0-doc/config/valve.html
You want the remote address filter
Mark
-
I have a difficult but severe problem with the tomcat service launcher
on windows server 2003.
Our application installs itself, tomcat, and a jvm, and then runs a
bat file which registers the tomcat server, using our provided jvm.
I _know_ this code works fine almost everywhere - it has been in u
Hi-
The following should require HTTPS for all requests:
Secure Pages
/*
CONFIDENTIAL
I'd suggest taking a look at the URL pattern specified in your original
post.
-Terence M. Bandoian
[EMAIL PROTECTED]
Hi,
I can say you a few words about this bootstrap class. I remember how I
was proud, when I managed to decypher what it actually does. It was a
year ago, but it is still a good memory. ;) It's an excellent piece.
I hope that in a while you will be able to share these feelings of
joy.
In essence
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Marcus,
Milanez, Marcus wrote:
> Thanks for your reply chris!
>
> By the way, I'm not the who needs help. The author of this post is Ala
> Winter
Sorry. For some reason, your replies are not being threaded with the
originals. It looks like your mai
should be
however, in TC 5.5, you would need this in either ROOT.xml or server.xml
for it to become the root context
Filip
Artur Rataj wrote:
Hello, this is the DefaultServlet definition to allow listings:
Listings
org.apache.catalina.servlets.DefaultServlet
All,
I am trying to setup SSL on Tomcat 4.1. The ssl connection would work
for a few attempts and then stop while the non-ssl connection still
remains. If I restart tomcat, I can connect again using ssl, but it
stops after few successful connections.
Any ideas?
Thanks.
---
Thanks for your reply chris!
By the way, I'm not the who needs help. The author of this post is Ala
Winter
-- Forwarded message --
From: alla winter <[EMAIL PROTECTED]>
Date: Oct 22, 2007 2:48 PM
Subject: How can I ensure that client access servlets via HTTPS?
To: users@tomcat.ap
> > I was supprised that tomcat 5.0 documents suddenly disappeared,
> > but this is the reason. As long as I understand, there was no alert
> > about it beforehand. A lot of tomcat 5.0 users will be at a loss
> > because they are not ready for this announcement.
>
> It shouldn't be a great surp
Hello, it is my understanding that if I specify the fully qualified name of
a class that implements java.util.logging.Formatter like so in
conf/logging.properties:
2localhost.org.apache.juli.FileHandler.formatter = CustomFormat
Then juli should use that class to format log messages that go
Hmm, obviously this was "not an acceptable question" ... shame.
Still, I have now managed to get 5.5.25 to build and run and when I
put some simple debug in Bootstrap.main() it does indeed appear that
this method is being called.
Still slightly confused as to why this method is commented as
/**
HI all,
I posses very little knowledge of Tomcat, however need to restrict access to
the /manage/ application (if application is the right term)
Basicly the bit that allows you to admin the tomcat server from a webpage.
I have Tomcat running on IIS6 implemented in some kind of ISAPI filter I
th
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dustin,
Dustin Fortin wrote:
>> These days, all app-specific configuration should go into your webapp's
>> META-INF/context.xml file.
>
> So there should not be $CATALINA_HOME/conf///*.xml
> with the path to the webapp being in the name of the .xml?
>
>-BEGIN PGP SIGNED MESSAGE-
>Hash: SHA1
>
>Dustin,
>
>Dustin Fortin wrote:
>> Do you know of anywhere to find documentation on migrating
>> an old server.xml to the new standard, as I've been unable to find
any
>> so far.
>
>The best thing to do is start with the stock server.xml file --
Hi,
Although I’ve been sarching a lot on the net, I can’t get Tomcat
native on MacIntel OSX 10.4.10 to work.
I obtained apr through darwin-ports. I compiled the native libs and
placed the generated libraries anywhere you can imagine. ( Since
tomcat says this: The Apache Tomcat Native lib
Dustin Fortin wrote:
> Do I need to start from scratch and completely ditch the t5 server.xml?
> I really hope not because there are a ton of database resources I would
> have to test and be 100% sure on before throwing this into production.
> I will do this if you feel it necessary, but if possib
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Neil,
Neil Wilson wrote:
> Unfortunately I can't really upgrade it as it may break the rest of
> Scalix if it depends on this current version.
Okay. Sometimes this just happens ;)
I get what looks like the same error you do when I start up mod_jk:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Marcus,
Milanez, Marcus wrote:
> I know that, but the code posted in the question had a CONFIDENTIAL
> value set for and the author still seemed to
> have lacks regarding it... But just for a matter of curiosity, why
> should I use another port for S
Hi Chris,
Thanks for your reply.
Christopher Schultz wrote:
You probably ought to upgrade. 1.2.14 is pretty old: the current version
is 1.2.25. You can look at the changelog at
http://tomcat.apache.org/connectors-doc/miscellaneous/changelog.html to
see if anything important changed for you (and
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dustin,
Dustin Fortin wrote:
> Do you know of anywhere to find documentation on migrating
> an old server.xml to the new standard, as I've been unable to find any
> so far.
The best thing to do is start with the stock server.xml file -- it
should con
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Eero,
Eero Nevalainen wrote:
> The application itself is nothing fancy. The login controller hits the
> database, puts a "user" key in session with some user-specific data,
> and after that, a front filter checks for the existence of the key for
> log
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jim,
Jim Cox wrote:
> Note that the OP's question was (roughly) "why doesn't
> work for me?"
Whoops!
If Marcus could post his configuration, that would help. I
think if you don't have "redirectPort" set, Tomcat will not be able to
switch from HTTP
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Sunil,
sunil chandran wrote:
> i do understand that i will face lot of problems..but its just a test
> PC.
If it's a test PC, then upgrade everything to current production-quality
releases (mod_jk 1.2.25 and Tomcat 5.5 or Tomcat 6). You'll be much
be
Artur Rataj wrote:
>
>
Tomcat version? I think I recall some issues with this on older versions.
Mark
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dale,
BuildSmart wrote:
> It looks like my current solution only works with Tomcat 4.1 (I didn't
> try anything older).
>
> I'm wondering how to resolve this, I doubt they'd make changes in the
> source to allow the ability to modify the docroot with
Hello, this is the DefaultServlet definition to allow listings:
Listings
org.apache.catalina.servlets.DefaultServlet
debug
0
listings
true
1
Listings
/
>
> The way the default servlet works, if it isn't mapped to '/', it won't
> work properky.
Thanks, with that mapping it works.
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
>
>No need to apologize, you found the correct place for your question.
Great, thank you for the quick reply.
>[...]
>> upgraded t6 dev server. I copied the t5 server.xml from the working
app
>> to the dev,
>
>I wouldn't do that.
Fair enough. Do you know of anywhere to find documentation on mi
Hello
Windows XP SP2
Java 1.5.0_10
Tomcat 5.5.25
After many years using Tomcat to host various web sites I thought it
was about time I started looking at some of the code. I downloaded the
source for 5.5.25 and thought I'd start at the beginning and figure
out what happens when I start the server
pesho318i wrote:
> servlet
>
> myServlet
>
>
Your servlet also needs to be in a package.
Mark
-
To start a new topic, e-mail: users@tomcat.apache.org
To un
nyatapol wrote:
> hello,
> i am facing a problem. i have one tomcat server with two contexts. now i
> want to use the seperate certificate authorities for the two contexts with
> seperate digital certificates. how can i manage two certificate authorities
> in java and tomcat server. can anyone help
nambo wrote:
>> The Apache Tomcat team wishes to announce that Tomcat 5.0.x will no
>> longer be supported.
>>
>> Users are encouraged to upgrade to the latest stable 6.x release or,
>> if that is not practical, the latest stable 5.5.x for continued support.
>
> I found it.
> I was supprised that
Artur Rataj wrote:
> Hello. I have the following servlet definition:
>
>
> Listings
>
> org.apache.catalina.servlets.DefaultServlet
>
> debug
> 0
>
>
> listings
> true
>
> 1
>
>
Hi Chris,
I know that, but the code posted in the question had a CONFIDENTIAL value set
for and the author still seemed to have lacks regarding
it... But just for a matter of curiosity, why should I use another port for
SSL, instead of 443 ?
-Mensagem original-
De: Christopher Schultz
On 10/23/07, Christopher Schultz <[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Marcus,
>
> Milanez, Marcus wrote:
> > I think you could configure your server so that the 80 port is not
> > available, only the 443 one. Programaticaly, you can invoke the
> > request
hello all,
i do understand that i will face lot of problems..but its just a test PC . i
just want to set up a test environment to see the working of Apache and
tomcat using a connector.
that i why am stiil asking help to implement clustering of tomcat to get two
instance of tomcat working.
On 10/
Markus Schönhaber wrote:
> Attiq Ur-Rehman wrote:
>
>> All I want is: Tomcat is installe din C:\Program Files\Tomcat
>>
>> Webapps folder is in C:\ProgramData\Tomcat\webapps
>>
>> All application are installed under this webapps folder.
>
> Set the "appBase" attribute of your (s) accordingly.
>
Attiq Ur-Rehman wrote:
> All I want is: Tomcat is installe din C:\Program Files\Tomcat
>
> Webapps folder is in C:\ProgramData\Tomcat\webapps
>
> All application are installed under this webapps folder.
Set the "appBase" attribute of your (s) accordingly.
Don't forget to change the locations f
I have an instance of the manager now. I forgot a reference. But, how can I
make a reference to the session in the coyoteRequest? Or does the context
manage the sessions (by the manager) and is the context the one who makes
the references between sessions and coyoteRequests?
Lots of thanks,
Auke
Yes, is a kind of mock testing. But I have to instantiate a session, because
I don’t use a browser to access my instance of tomcat. My app just uses some
tomcat files to process jsp's and Servlets.
But, when my app is started, the manager is still null. (e.g. I get a NPE
when I call context.manager
Eero Nevalainen wrote:
After that, it's just a matter of getting the
username from the session-stored object for subsequent queries.
How do you store the session ID in the client browser?
I have seen a similar problem with a login page that handed out Session
IDs in the URLs contained in the
thanks,
Well, I see by design the WEB-INF should be directly in webapps/myApp/
but maybe there is a way to change it, e.g. change the web.xml file. Now it
looks like:
servlet
myServlet
hello,
i am facing a problem. i have one tomcat server with two contexts. now i
want to use the seperate certificate authorities for the two contexts with
seperate digital certificates. how can i manage two certificate authorities
in java and tomcat server. can anyone help me?
Thanks,
Nyatapol.
-
62 matches
Mail list logo