Sorry all--I'm still stumped. Tried the suggestions and here's what I found.
I've subclass HttpServletResponseWrapper and overloaded the following
methods:
public void flushBuffer();
public void sendRedirect(String str);
public void sendError(int sc);
public void sendError(int s
2008/10/10 Christopher Schultz <[EMAIL PROTECTED]>:
> (..)
> The result is that I get this and only this in
> /home/chris/app/connector-test/8785/logs/catalina.out:
> Exception in thread "main" java.lang.NoClassDefFoundError:
>
It is a known issue with 6.0.18, see
https://issues.apache.org/bugzill
> From: André Warnier [mailto:[EMAIL PROTECTED]
> Subject: Re: setHeader after DoFilter delegation in filter?
>
> To create output for the client, the application calls
> something, right? (I mean a method of HttpRequest).
Not quite - you're confusing request with response. There are methods in
Tim Potter wrote:
the way you have it configured.. test.jsp would only render if implemented
=
in the 'ROOT' webapp of TC
I would suggest implementing a test webapp where the exact physical
location of test.jsp would be
$CATALINA_HOME/webapps/test/test.jsp
Regards/
Martin
Ok, that works f
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Serge,
Serge Fonville wrote:
> If I access https://*.autumn.nl (which shouldn't exist, I get the
> defaulthost, instead I wan't to get a 404 of some sort, indicating that that
> site does not exist?
Did you really use "*.autumn.nl"? I don't think tha
slioch wrote:
Thanks much for the responses. I understand.
It makes sense to use HttpServletRequestWrapper, but there are no methods in
HttpServletRequestWrapper or HttpServletRequest that initiates the sending
of the response back to the client. So, by subclassing HttpServletRequest
there doesn
> the way you have it configured.. test.jsp would only render if implemented
=
> in the 'ROOT' webapp of TC
>
> I would suggest implementing a test webapp where the exact physical
location of test.jsp would be
> $CATALINA_HOME/webapps/test/test.jsp
>
> Regards/
> Martin
Ok, that works fine, howeve
I am using tomcat to apache (for load balancing)
On Fri, Oct 10, 2008 at 12:23 PM, Christopher Schultz
<[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Johnny,
>
> Johnny Kewl wrote:
>> PS: I see you have a Apache in front...
>> Try this... setup the 8080 connector
Thanks much for the responses. I understand.
It makes sense to use HttpServletRequestWrapper, but there are no methods in
HttpServletRequestWrapper or HttpServletRequest that initiates the sending
of the response back to the client. So, by subclassing HttpServletRequest
there doesn't appear to be
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Darryl,
Darryl Pentz wrote:
> I also just encountered the 'crosscontext' attribute in the
> block and was wondering whether that could serve any
> purpose.
If you don't mind issuing another request (not a new HTTP connection,
just another request di
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Darryl,
Darryl Pentz wrote:
> In my case, webapp A needs to let webapp B know that an event has
> occurred ... webapp B then does something based on that event, and
> the result of that action is relevant to webapp A.
What are your options for simply
Hi Christopher, I will try this and well see.
Thank you for your attention,
Mariano
2008/10/10 Christopher Schultz <[EMAIL PROTECTED]>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Mariano,
>
> Mariano López wrote:
> > Hi Christopher, that is what I have, but tomcat always put the curre
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Nicola,
Nicola Burns wrote:
> Is it possible to have the following scenario configured?
Executive summary: different back-end Tomcat servers for different
VistualHosts.
The answer is "of course you can"!
It sounds like you want this:
VirtualHost t
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Johnny,
Johnny Kewl wrote:
> PS: I see you have a Apache in front...
> Try this... setup the 8080 connector if you havnt already got it working
> in TC... and go into TC direct... then check file handles
> If no problem, you know its Apache or the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mohit,
Mohit Anchlia wrote:
> So I tried all the options. I also changed the code to use connection
> pooling with only 2 connections but still there are bunch of
> CLOSE_WAITS. As soon as I stop tomcat all of them go away. I am not
> able to figure o
the way you have it configured.. test.jsp would only render if implemented in
the 'ROOT' webapp of TC
I would suggest implementing a test webapp where the exact physical location of
test.jsp would be
$CATALINA_HOME/webapps/test/test.jsp
Regards/
Martin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
I've been running multiple TC 4.1 and 5.5 instances using CATALINA_BASE
for years, and I'm starting to play with TC 6.x. I use ant to run
bin/startup.sh (actually, I usually go right for "catalina.sh start",
but I went to using startup.sh just to
On Fri, Oct 10, 2008 at 1:20 PM, Tim Potter <[EMAIL PROTECTED]> wrote:
> On Fri, Oct 10, 2008 at 12:16 PM, Rainer Jung <[EMAIL PROTECTED]>wrote:
>
>> I also added >> modJk="/usr/lib/apache2/mod_jk.so"
>>> workersConfig="/etc/apache2/workers.properties" /> between and
>>> in the conf/server.x
On Fri, Oct 10, 2008 at 12:16 PM, Rainer Jung <[EMAIL PROTECTED]>wrote:
> I also added > modJk="/usr/lib/apache2/mod_jk.so"
>> workersConfig="/etc/apache2/workers.properties" /> between and
>> in the conf/server.xml file
>>
>
> The listeners are only needed if you want Tomcat to generate a mod
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mariano,
Mariano López wrote:
> Hi Christopher, that is what I have, but tomcat always put the current
> context name before login page URL of other context and gives bad reference
> to page.
I'm not suggesting that you do:
/path/to/other/context/lo
I also added between and
in the conf/server.xml file
The listeners are only needed if you want Tomcat to generate a mod_jk
configuration for you. The files which are auto-generated by the
listener are not very good though. I would suggest to write a simple
workers.properties yourself.
w
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
Caldarale, Charles R wrote:
>> From: Christopher Schultz [mailto:[EMAIL PROTECTED]
>> Subject: Re: Non-secure HTTP connector with secure="true"
>> requires a keystore?
>>
>> I would have expected 5.5 to act like 6.0.
>
> An odd assumption...
> From: Serge Fonville [mailto:[EMAIL PROTECTED]
> Subject: Re: SSL Host
>
> If I access https://*.autumn.nl (which shouldn't exist, I get the
> defaulthost, instead I wan't to get a 404 of some sort,
> indicating that that site does not exist?
A request that has a domain that resolves to your IP
> From: Christopher Schultz [mailto:[EMAIL PROTECTED]
> Subject: Re: Non-secure HTTP connector with secure="true"
> requires a keystore?
>
> Successful startup. Using HTTP, a test JSP reports that
> request.isSecure() returns true, which is exactly what
> Filip claims. It appears that the behavior
> > I attempted these changes and stopped tomcat and apache, then started
apache
> > and got the following error:
> >
> > [EMAIL PROTECTED]:~$ sudo /etc/init.d/apache2 start
> > * Starting web server apache2
> >
Syntax
> > error on line 2 of /etc/apache2/conf.d/workers.properties:
> > Invalid comma
Same here. I terminate all SSL in a load balancer and forward in the
clear back to 8080 or 8081. Application code is peppered non-standard
calls to see things set by a filter to see if it's considered secure
even though Tomcat thinks otherwise. In the more extreme case, I
could consider all
br1 wrote:
Apologies,
This one is much better, netstat shows 50 connections
I don't know enough of Tomcat to understand if anything in this log could
cause this issue..
Much better: You have a synchronization issue in your database
connection pool. It seems you are using the c3p0 pool, which
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
Caldarale, Charles R wrote:
> The code in 6.0 is noticeably different from that in 5.5 for protocol
> initialization, including setting up the socket factory. Would it be
> possible to test the config on 6.0 to see if you can achieve the
> des
Tim Potter wrote:
Be kind, this is my first mailing to the usergroup.
I'll do my best.
This server is running Ubuntu Gutsy (7.10) and may be updated to Hardy
shortly. In the mean time, currently I'm running apache/2.2.4 with the
mod_user module enabled, and people in the group using publ
Hi Christopher, that is what I have, but tomcat always put the current
context name before login page URL of other context and gives bad reference
to page.
Regards,
Mariano
2008/10/10 Christopher Schultz <[EMAIL PROTECTED]>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Mariano,
>
> Mari
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Filip,
Filip Hanik - Dev Lists wrote:
> secure=... corresponds to request.isSecure
I have not found this to be entirely true. Please see my original post.
If secure="true" merely sets the return value for request.isSecure, then
I should not need a ke
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David,
David Wall wrote:
>
>> No, I don't want SSL enabled. I want Tomcat to NOT do SSL, but I want it
>> to report to my application that SSL is being used.
>>
> So you want quality software to lie to you? It would be a bug if Tomcat
> said it w
br1 wrote:
I managed to schedule a few thread dumps (3, with a 5 seconds interval) and
a Tomcat restart in case of troubles, and just implemented some more
logging. I kept the faulty Tomcat app running all day.
There were three failures today, but thanks to the logging I just added I
can be onl
Hello all,
Be kind, this is my first mailing to the usergroup.
I am implementing a webserver for a group use, where most of the group will
be creating web pages with php and jsp connections.
This server is running Ubuntu Gutsy (7.10) and may be updated to Hardy
shortly. In the mean time, cur
Chuck,
Thanks for your answer.
I tried and it works
Just one thing;
If I access https://*.autumn.nl (which shouldn't exist, I get the
defaulthost, instead I wan't to get a 404 of some sort, indicating that that
site does not exist?
Do I need to add a 404-host to either engine as a default host se
> From: Serge Fonville [mailto:[EMAIL PROTECTED]
> Subject: Re: SSL Host
>
> I read both and what I still don't get is:
> How do I specify a connector to a host?
You can't. You would need multiple elements, each with its own
nested and corresponding elements.
Alternatively, to keep the confi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ancles,
ancles wrote:
> Current question is how to set a customize SSLImplemention for a HTTPS
> connector. In previous version we use
> CoyoteServerSocketFactory.setSSLImplementation();
> I have checked the Tomcat document and found the factory (nest
Chris,
Thanks a lot for your reply.
I read both and what I still don't get is:
How do I specify a connector to a host?
it seems connectors cannot be nested inside an engine nor in a host and
connectors can contain neither
Otherwise I would create two engines one with ssl and the other without and
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Lance,
Lance Bader wrote:
> Everything works fine when the proxy exception is in the cause chain, but I
> don't want to handle all the cases were the javax.el.ELException is caused
> by something else! Instead, I want to forward those cases to the ex
No, I don't want SSL enabled. I want Tomcat to NOT do SSL, but I want it
to report to my application that SSL is being used.
So you want quality software to lie to you? It would be a bug if Tomcat
said it was secure when it's not, and it sounds pretty goofy to want it.
The deal is that I
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Rohan7,
Rohan7 wrote:
> I'm using tomcat 5.5 . I'm using public IP- http://1.2.3.4:8084/Project/.
> Now the similar instance is running on the
> internal IP. http ://192.168.100.102:8080/Project/.
>
> My question is - Can I redirect from http:/
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mariano,
Mariano López wrote:
> I have added the second context into the same server and i like to set
> in web.xml context file to access a page
> from the other context, but always starts the URL's page login with its name
> context.
I'm not sure
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Srinivas,
Srinivas Jonnalagadda wrote:
> what is the syntaxt to refresh bad db connection on tomcat -
> context.xml? We are using tomcata 5.5.9 connecting to oracle 10. The
> issue is that our jvm crashed because in the connection pool we had
> bad db
Apologies,
This one is much better, netstat shows 50 connections
I don't know enough of Tomcat to understand if anything in this log could
cause this issue..
Thanks!
Br1
http://www.nabble.com/file/p19920236/tomcat%2Bthread%2Bdump%2B4%2B-%2Bfiltered.zip
tomcat+thread+dump+4+-+filtered.zip
--
> From: Karthik Nanjangude [mailto:[EMAIL PROTECTED]
> Subject: RE: external folder be mapped to Tomcat 'specific
> 'web application'
>
> 1) My external folder which has *images* is on folder "e/STATICIMAGES"
I presume there's a colon missing in the above, and all your forward slashes
should real
On 9 Oct 2008 at 14:16, Christopher Schultz wrote:
> Maurizio,
Christopher,
> Maurizio Lotauro wrote:
> > On 6 Oct 2008 at 14:58, Christopher Schultz wrote:
[...]
> If you are writing network code, you need to handle disconnects at
> any time.
This is handled, but in that case there is no nee
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
(Sorry for the blank post. Who knew CTRL-ENTER would ever be something I
would hit accidentally?)
André Warnier wrote:
> There exist standard modules/add-ons/libraries/subroutines in most
> programming languages, that can make guesses at the m
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André Warnier wrote:
> Johnny Kewl wrote:
>>
>> - Original Message - From: "Dave" <[EMAIL PROTECTED]>
>> To: "Tomcat Users List"
>> Sent: Tuesday, October 07, 2008 11:03 PM
>> Subject: video/x-flv mime-mapping does not for Tomcat 5.5
>>
>>
>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Peter,
Peter Rossbach wrote:
> As you want SSL enabled, you must add schema="https" secure="true"
> SSLEnabled="true"
> at your config.
No, I don't want SSL enabled. I want Tomcat to NOT do SSL, but I want it
to report to my application that SSL is b
Hi All,
what is the syntaxt to refresh bad db connection on tomcat - context.xml? We
are using tomcata 5.5.9 connecting to oracle 10. The issue is that our jvm
crashed because in the connection pool we had bad db connection and it the
connections were out of limit. we could not detect and it ha
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Serge,
Serge Fonville wrote:
> I have Tomcat 6.0.18 with the native dll installed
> I have two hosts presently (more to come)
> localhost and autumn.nl
> What I want now is
>
> *.autumn.nl accessble only via http
You need a with an HTTP only. Also
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Nikola,
Nikola Bozadziev wrote:
> the lambdaprobe site doesn't seem to be online since september or like.
> Softpedia (
> http://www.softpedia.com/get/UNIX/Networking/Server-Applications/LambdaProbe-for-Tomcat.shtml)
> could help.
Wow, that's no good
Hi,
I am really stuck with the tomcat connection pool as its the application
server that i am using.
How does the oracle connection pool work? Could you point me to some info
somewhere so that i can read about it.
Thanks
On Fri, Oct 10, 2008 at 2:51 PM, Christopher Schultz <
[EMAIL PROTECTED]> w
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ziggy,
Ziggy wrote:
> The problem i am getting now is that i still cannot cast the class properly
> to get the underlying connection.
Your best bet is to use standard JDBC API calls instead of trying to use
Oracle's proprietary APIs. You may have to
Thangavel Sankaranarayanan wrote:
Hi ,
I have a problem in finding the webapps and my application where it is
deployed
My application URL is http://virtualdir.cca.com.in/via/jsp/Index.jsp
That's not a real URL, so why do you mention it ?
WebServer is :Microsoft IIS
Web Container: Apache tom
Hi ,
I have a problem in finding the webapps and my application where it is
deployed
My application URL is http://virtualdir.cca.com.in/via/jsp/Index.jsp
WebServer is :Microsoft IIS
Web Container: Apache tomcat 4.1.30
I need to find my apps class files.
This is what i did to trace to find the
Hi ,
I have a problem in finding the webapps and my application where it is
deployed
My application URL is http://virtualdir.cca.com.in/via/jsp/Index.jsp
WebServer is :Microsoft IIS
Web Container: Apache tomcat 4.1.30
I need to find my apps class files.
This is what i did to trace to find the
Hi
I have checkd the URL '
http://tomcat.apache.org/tomcat-6.0-doc/config/context.html
done the same for our applications, But please check if this can be achieved
?
1) My external folder which has *images* is on folder "e/STATICIMAGES"
2) TOMCAT6018 is installed on folder "D:/TOMCAT5523"
3
Hi,
the lambdaprobe site doesn't seem to be online since september or like.
Softpedia (
http://www.softpedia.com/get/UNIX/Networking/Server-Applications/LambdaProbe-for-Tomcat.shtml)
could help.
Chris,
did it ever happen to you to get an exception like this (lower) after
logging into lambdaprobe
Hi,
I had a look at the tomcat dbcp documentation and found that it is possible
to retrieve the underlying connection.
As described here http://commons.apache.org/dbcp/configuration.html
The problem i am getting now is that i still cannot cast the class properly
to get the underlying connection.
Sorry for not making it clear.
Current question is how to set a customize SSLImplemention for a HTTPS
connector. In previous version we use
CoyoteServerSocketFactory.setSSLImplementation();
I have checked the Tomcat document and found the factory (nested component
of connector) was removed.
I gue
André Warnier wrote:
> slioch wrote:
> [...]
> I'll risk an explanation here..
>
> I think maybe the issue is a misunderstanding of how a servlet filter
> works. It took me a while too, but I think I've got it in the end.
> Sorry if this is level 101, that's my own level.
>
> What was confusing
Hi all,
I have implemented a custom single sign on JAAS login for a tomcat 6.018
server, it's works perfectly with my only context that I had until now.
I have added the second context into the same server and i like to set
in web.xml context file to access a page
from the other context, but alw
slioch wrote:
[...]
I'll risk an explanation here..
I think maybe the issue is a misunderstanding of how a servlet filter
works. It took me a while too, but I think I've got it in the end.
Sorry if this is level 101, that's my own level.
What was confusing to me at first, is that this is diff
Hi,
thanks a lot, you are right, they are commented out and I did not see
that.
At least for me it was a bit unexpected that Tomcat clears at
least parts of a configuration file, but thats OK.
best regards
Robert
--
[EMAIL PROTECTED]
On Oct 9, 2008, at 22:20, Caldarale, Charles R wrote:
ancles wrote:
> So how could I find the best way to achieve this in programming?
Achieve what? What is it you are actually trying to do?
Mark
>
>
> Mark Thomas-18 wrote:
>>
>> In both cases what are you actually trying to achieve. The 5.0-5.5
>> refactoring means that the 'new' classes might n
66 matches
Mail list logo