Let's refresh the issue :
A request comes into Tomcat for a URL /. It comes in
either on port 80 or port 666. And you want it to be
processed by the webapp at /myapp/.
No: If it comes in at port 80, nothing different is supposed to
happen. So / should do whatever / would
2009/11/24 Looijmans, Mike mike.looijm...@oce.com
Because the is a random word, not a
constant, nor the name of a servlet. Think wikipedia, the request might
be for /foo or /bar or whatever, and the servlet uses that word for its
own purposes (it will look it up in the database and return
Hi,
Im pretty new to this but have 2 friends that help me out. Though one of my
friends tells me to use Apache2 infront of Tomcat and the other one tells me
it's unnecessary.
I'll try to explain my situation:
I've started a virtual Ubuntu 8.04 Longterm server and my goal is to have
atleast one
On 24/11/2009 09:47, TheGrailer wrote:
Hi,
Im pretty new to this but have 2 friends that help me out. Though one of my
friends tells me to use Apache2 infront of Tomcat and the other one tells me
it's unnecessary.
Single server? Tomcat alone is just fine.
I'll try to explain my situation:
2009/11/24 TheGrailer ken...@gmail.com
Im pretty new to this but have 2 friends that help me out. Though one of my
friends tells me to use Apache2 infront of Tomcat and the other one tells
me
it's unnecessary.
Finding out their reasoning - and the evidence each one has supporting their
On 11/23/2009 10:49 PM, Tony Anecito wrote:
Thanks Team for the fixes and any enhancements!
So does one need to uninstall the older version before installing this one?
The files of the new packages will overwrite the old ones, but that is
good idea to uninstall the old package(s).
Cheers
thank you, it works!
there are two factor need to mention:
1) as i used hibernate to create Database-connection before, the connection
pool C3P0 was used in hibernate. but when i try to maintain
Database-connection through JNDI in tomcat, i donn't need C3P0 anymore. so,
i SHOULD delete
You can also use c3p0 with Tomcat JNDI, e. g.
?xml version=1.0 encoding=UTF-8?
Context path=/SupportPortal
Resource name=jdbc/MYSQL
auth=Container
type=com.mchange.v2.c3p0.ComboPooledDataSource
description=DB Connection
TheGrailer:
So what do you all think? Is the Apache2 infront of the Tomcat 6 a waste of
time or worth while?
I agree with what Pid and Peter already said. Just to phrase it with my
own words: I see two major reasons why you'd want to put httpd in front
of Tomcat
1. To act as a load balancer
Markus Schönhaber-10 wrote:
TheGrailer:
So what do you all think? Is the Apache2 infront of the Tomcat 6 a waste
of
time or worth while?
I agree with what Pid and Peter already said. Just to phrase it with my
own words: I see two major reasons why you'd want to put httpd in front
2009/11/24 TheGrailer ken...@gmail.com:
The most compellig argument from the Apache2 and Tomcat 6-friend was
indeed the static content part.
http://tomcat.markmail.org/message/il33wqqjb2dok6xz might be
illuminating - along with the discussion around it on that thread. I
suspect Chris will be
On Tue, Nov 24, 2009 at 11:56 AM, TheGrailer ken...@gmail.com wrote:
And my Tomcat alone-friend thought I should go Varnish if I was to load
balance with 2 Tomcats or something like that, but that's a different story.
Not Apache2 anyway.
So one of your friends suggests httpd for static
This changelog link works better.
http://tomcat.apache.org/native-doc/miscellaneous/changelog-1.1.x.html
Cheers,
Ronald.
Op maandag, 23 november 2009 21:59 schreef jean-frederic clere
jfcl...@gmail.com:
The Apache Tomcat team announces the immediate availability of Apache Tomcat Native
On Nov 24, 2009, at 3:09 AM, Peter Crowther wrote:
2009/11/24 TheGrailer ken...@gmail.com:
The most compellig argument from the Apache2 and Tomcat 6-friend was
indeed the static content part.
http://tomcat.markmail.org/message/il33wqqjb2dok6xz might be
illuminating - along with the
On 24/11/2009 11:57, Robert Koberg wrote:
On Nov 24, 2009, at 3:09 AM, Peter Crowther wrote:
2009/11/24 TheGrailerken...@gmail.com:
The most compellig argument from the Apache2 and Tomcat 6-friend was
indeed the static content part.
http://tomcat.markmail.org/message/il33wqqjb2dok6xz might
is it possible to define SQL Dialects org.hibernate.dialect.MySQLDialect in
context.xml in Tomcat? how? thanks.
Jens Greven wrote:
You can also use c3p0 with Tomcat JNDI, e. g.
?xml version=1.0 encoding=UTF-8?
Context path=/SupportPortal
Resource name=jdbc/MYSQL
On Nov 24, 2009, at 4:12 AM, Pid wrote:
On 24/11/2009 11:57, Robert Koberg wrote:
On Nov 24, 2009, at 3:09 AM, Peter Crowther wrote:
2009/11/24 TheGrailerken...@gmail.com:
The most compellig argument from the Apache2 and Tomcat 6-friend was
indeed the static content part.
On Nov 24, 2009, at 4:30 AM, Robert Koberg wrote:
On Nov 24, 2009, at 4:12 AM, Pid wrote:
On 24/11/2009 11:57, Robert Koberg wrote:
On Nov 24, 2009, at 3:09 AM, Peter Crowther wrote:
2009/11/24 TheGrailerken...@gmail.com:
The most compellig argument from the Apache2 and Tomcat
Peter Crowther wrote:
2009/11/24 Looijmans, Mike mike.looijm...@oce.com
Because the is a random word, not a
constant, nor the name of a servlet. Think wikipedia, the request might
be for /foo or /bar or whatever, and the servlet uses that word for its
own purposes (it will look it up in
Hi, I am having problems with IIS redirect using IIS6, Tomcat 6 and JRE6. The
servlet can be accessed on :8080 but gives a 404 error on :80.
I've done redirect on older machines with no problems in the past, but I
can't find the problem here, I also am stuck as to what my next debugging
step
Just a quick notice of Excelsior JET 7.0 beta 3 availability:
http://www.excelsior-usa.com/jetdlbeta.html
In particular, it enables you to hide the conf/ directory if you don't want
anyone to inspect or modify your Tomcat config files.
The final release is scheduled for December.
Best
On 24/11/2009 12:34, Robert Koberg wrote:
On Nov 24, 2009, at 4:30 AM, Robert Koberg wrote:
On Nov 24, 2009, at 4:12 AM, Pid wrote:
On 24/11/2009 11:57, Robert Koberg wrote:
On Nov 24, 2009, at 3:09 AM, Peter Crowther wrote:
2009/11/24 TheGrailerken...@gmail.com:
The most compellig
From: Pid [mailto:p...@pidster.com]
Subject: [OT] Re: Tomcat 6 and Apache2 VS Tomcat 6 alone
Additionally, if you added a new host, you would need to edit the
server.xml to add a reference to it. It would be much nicer if it
worked like context config files. The file system currently being
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mike,
On 11/23/2009 7:17 AM, Looijmans, Mike wrote:
...
Note that you'll end up with two independent copies of the servlet
in your two webapp directories, and they won't share things like
Sessions between them.
And, as I mentioned, I don't
Glynbach2 wrote:
Hi, I am having problems with IIS redirect using IIS6, Tomcat 6 and JRE6. The
servlet can be accessed on :8080 but gives a 404 error on :80.
Just to try to eliminate the obvious :
- is Tomcat really listening on port 8009 ?
netstat -an will tell you.
- is port 8009 not being
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 11/23/2009 10:57 AM, André Warnier wrote:
The first hurdle is that the HttpRequest is
immutable, so you can't just change its URL and let the call through to
the servlet(s). You have to subclass, or wrap, the original request,
and then
From: André Warnier [mailto:a...@ice-sa.com]
Subject: Re: Redirecting a port to a webapp
Since it does not find a match with /myapp, and since
obviously there cannot be an infinity of /webapps/ apps
pre-configured, would it then pass it to the default app (/ROOT) ?
Because then, that's
awarnier wrote:
Just to try to eliminate the obvious :
- is Tomcat really listening on port 8009 ?
netstat -an will tell you.
- is port 8009 not being blocked by the Windows firewall or such ?
you can slso try telnet localhost 8009 (if it works, Tomcat will
accept and then close the
Hi everyone.
I'm stuck with a problem I don't understand. We have a tomcat server and after
redeploying our war file, we get this error:
java.lang.ArrayIndexOutOfBoundsException
at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:346)
at
The answer came from the IIS forums. In IIS 6 I also needed to add a Web
Service Extension for the redirect dll and set it to be 'Allowed'. Haven't
had to do that in previous versions of IIS and afaik it's not in the how to
either.
--
View this message in context:
Try insert some debug statements just before the out.write.
System.out.println(bytesRead: + bytesRead) would be interesting.
In fact this is kind of my-first-debugging and you don't even mention you did
try it.
Ronald.
Op dinsdag, 24 november 2009 17:57 schreef geoff...@fileflow.com:
The bytesRead returns the size of the buffer (8KB) every time. I also debug and
I can't find anything wrong. Input and OutputStream are not null, bytesRead is
the correct size and the buffer is also filled.
Any other ideas?
Best Regards
Geoffrey
On 24 Nov 2009, at 18:13, Ronald Klop
Glynbach2 wrote:
The answer came from the IIS forums. In IIS 6 I also needed to add a Web
Service Extension for the redirect dll and set it to be 'Allowed'. Haven't
had to do that in previous versions of IIS and afaik it's not in the how to
either.
Not entirely true. Check the bottom of this
On 24/11/2009 17:17, geoff...@fileflow.com wrote:
The bytesRead returns the size of the buffer (8KB) every time. I also debug and
I can't find anything wrong. Input and OutputStream are not null, bytesRead is
the correct size and the buffer is also filled.
Any other ideas?
How big is the
The files are up to 30GB so it is not a solution. When I try without the buffer
it doesn't seem to work at all. What I mean is that the servlet sends some data
before the error occurs when sending with the buffer but I get 0KB without.
Best Regards
Geoffrey
Phone Norway: +47 45 86 53 83
On 24/11/2009 17:27, geoff...@fileflow.com wrote:
The files are up to 30GB so it is not a solution. When I try without the buffer
it doesn't seem to work at all. What I mean is that the servlet sends some data
before the error occurs when sending with the buffer but I get 0KB without.
At
There is a different amount of data sent each time before it crashes. I also
tried byte by byte and gets the same error but it seems that it is less often.
Best Regards
Geoffrey
Phone Norway: +47 45 86 53 83
Fileflow Technologies AS
Ole Deviks vei 35, 0668 Oslo, Norway
Perhaps change your code from
while((bytesRead = in.read(buf)) 0) {
while((bytesRead = in.read(buf)) != -1) {
From api:
Reads the next byte of data from the input stream. The value byte is
returned as an int in the range 0 to 255. If no byte is available
because the end of the stream has been
Hi all,
I'm trying to get Tomcat to authenticate against Active Directory, but
failing
in that all I seem to get back is the following error:
24-Nov-2009 17:10:18 org.apache.catalina.realm.JNDIRealm authenticate
SEVERE: Exception performing authentication
javax.naming.NamingException: [LDAP:
Same problem. I'm getting lost.
Best Regards
Geoffrey
Phone Norway: +47 45 86 53 83
Fileflow Technologies AS
Ole Deviks vei 35, 0668 Oslo, Norway
-
On 24 Nov 2009, at 18:38, g f wrote:
Perhaps change your code from
while((bytesRead = in.read(buf))
On 24/11/2009 17:37, geoff...@fileflow.com wrote:
There is a different amount of data sent each time before it crashes. I also
tried byte by byte and gets the same error but it seems that it is less often.
Something is ringing a bell. Search the list archives see if you can
find anything
From: André Warnier [mailto:a...@ice-sa.com]
Subject: Re: IIS redirect stops at [xxx] is a servlet url - should
redirectto ajp13
2037 2040 2041 2042 2043
these are strange (to me)
These must be opened by some webapp, not Tomcat itself.
But you might as well remove the redirectPort
Samuel Penn wrote:
Hi all,
I'm trying to get Tomcat to authenticate against Active Directory, but
failing
...
Not directly related to what your current issue is, but just as
information :
http://www.ioplex.com/jespa.html
I am using that in Windows environments, and it really works out of
From: Samuel Penn [mailto:s...@glendale.org.uk]
Subject: AD Authentication
Realm className=org.apache.catalina.realm.JNDIRealm debug=99
connectionURL=ldap://172.17.10.100:389;
connectionName=cn=SvcUser,cn=users,dc=myorg,dc=local
connectionPassword=
Thanks for your help. There is a new IIS permissionings section for filters,
I had to add a new web extension there and all was good.
--
View this message in context:
http://old.nabble.com/IIS-redirect-stops-at--xxx--is-a-servlet-url---should-redirect-to-ajp13-tp26495411p26499936.html
Sent from
I can't find anything in the list archive. You're sure it's not another list?
Best Regards
Geoffrey
Phone Norway: +47 45 86 53 83
Fileflow Technologies AS
Ole Deviks vei 35, 0668 Oslo, Norway
-
On 24 Nov 2009, at 19:18, Pid wrote:
On 24/11/2009
awarnier wrote:
Glynbach2 wrote:
The answer came from the IIS forums. In IIS 6 I also needed to add a Web
Service Extension for the redirect dll and set it to be 'Allowed'.
Haven't
had to do that in previous versions of IIS and afaik it's not in the how
to
either.
Not entirely true.
2009/11/24 geoff...@fileflow.com:
There is a different amount of data sent each time before it crashes. I also
tried byte by byte and gets the same error but it seems that it is less often.
So it is random... I wonder what can trigger it.
What connectors are you using? Is it HTTP, or AJP?
Hi guys,
I spent my day into struggling with Tomcat 6 and I just wanted to ask you
for some ideas and whether what I'm doing seems right to you.
So, I'm trying to port a legacy application which is using Tomcat 5.0.28 to
Tomcat 6.0.20.
While most of the Tomcat 5.0.28 properties are read from the
Hi people!
I have an unusual problem.
I recently installed apache and if I go to server browser and put:
http://localhost/APP or http://127.0.0.1/app works fine but if I put into a
remote server http://192.168.1.6/app i don0t aee nothing!
Whats happend
Hi All,
I've got a new server running the latest Centos. I want to install
Apace tomcat on there.
Should I use tomcat5 installed via yum, or instead use the original
version from http://tomcat.apache.org?
Also, my server currently has OpenJDK1.6. For max. reliability and
least hassles is this
(Let's see if I can beat Pid and Charles to this...)
Guifre Bosch Fabregas wrote:
Hi people!
I have an unusual problem.
Not really. It is a rather frequent one.
I recently installed apache and if I go to server browser and put:
http://localhost/APP or http://127.0.0.1/app works fine but if
On Nov 24, 2009, at 5:11 PM, fred basset wrote:
Hi All,
I've got a new server running the latest Centos. I want to install
Apace tomcat on there.
-- Presumably you mean CentOS 5.
Should I use tomcat5 installed via yum, or instead use the original
version from http://tomcat.apache.org?
You
fred basset wrote:
Hi All,
I've got a new server running the latest Centos. I want to install
Apace tomcat on there.
Should I use tomcat5 installed via yum, or instead use the original
version from http://tomcat.apache.org?
Also, my server currently has OpenJDK1.6. For max. reliability and
On 24/11/2009 19:26, geoff...@fileflow.com wrote:
I can't find anything in the list archive. You're sure it's not another list?
No, it's this one. Konstantin found it.
p
Best Regards
Geoffrey
Phone Norway: +47 45 86 53 83
Fileflow Technologies AS
Ole Deviks vei 35, 0668 Oslo, Norway
2009/11/24 Guifre Bosch Fabregas guifre.bo...@gmail.com:
Hi people!
I have an unusual problem.
I recently installed apache and if I go to server browser and put:
http://localhost/APP or http://127.0.0.1/app works fine but if I put into a
remote server http://192.168.1.6/app i don0t aee
On 24/11/2009 23:06, Peter Crowther wrote:
2009/11/24 Guifre Bosch Fabregasguifre.bo...@gmail.com:
Hi people!
I have an unusual problem.
I recently installed apache and if I go to server browser and put:
http://localhost/APP or http://127.0.0.1/app works fine but if I put into a
remote server
On 24/11/2009 20:03, Konstantin Kolinko wrote:
2009/11/24geoff...@fileflow.com:
There is a different amount of data sent each time before it crashes. I also
tried byte by byte and gets the same error but it seems that it is less often.
So it is random... I wonder what can trigger it.
What
As this is a part of the hibernate configuration rather than the
database / datasource configuration the SQL dialect has to be configured
in the hibernate configuration file, not in the context.
Here's my SessionFactory class just in case:
(I think this could be realized in a better way
Thanks guys, good responses, I think I'll not use the Centos packages
and go with the official versions for the reasons mentioned.
On Tue, Nov 24, 2009 at 2:34 PM, André Warnier a...@ice-sa.com wrote:
fred basset wrote:
Hi All,
I've got a new server running the latest Centos. I want to
I want to run multiple instances of tomcat on the same server, one
instance for each time zone. I have all the separate tomcats running
fine, but they are all using the server's time zone. I've been Googling
and have not found an effective way to do it. Can someone please tell me
how?
--Eric
Robinson, Eric wrote:
I want to run multiple instances of tomcat on the same server, one
instance for each time zone. I have all the separate tomcats running
fine, but they are all using the server's time zone. I've been Googling
and have not found an effective way to do it. Can someone please
Never mind, got it. I was using JAVA_OPTS instead of CATALINA_OPTS.
--Eric
Disclaimer - November 24, 2009
This email and any files transmitted with it are confidential and intended
solely for Tomcat Users List. If you are not the named addressee you should not
disseminate, distribute,
2009/11/24 geoff...@fileflow.com:
HTTP connector. I'll attach the conf folder from tomcat.
Best Regards
Geoffrey
Phone Norway: +47 45 86 53 83
Fileflow Technologies AS
Ole Deviks vei 35, 0668 Oslo, Norway
-
On 24 Nov 2009, at 21:03,
ivelin.vel...@gmail.com wrote in message
news:887c111b0911241208v65192e8fp20e0730fb09ff...@mail.gmail.com...
Hi guys,
I spent my day into struggling with Tomcat 6 and I just wanted to ask you
for some ideas and whether what I'm doing seems right to you.
So, I'm trying to port a legacy
I think so too. My personal doubt is still about how Tomcat
would try map a request that comes in as /,
being variable and being NOT myapp. Since it does not find
a match with /myapp, and since obviously there cannot be an
infinity of /webapps/ apps pre-configured, would it
66 matches
Mail list logo