If you mean that there are no modifications to the original request or even
the response, then yes. It's to be a transparent proxy.
On Fri, Mar 20, 2009 at 4:18 AM, Gregor Schneider wrote:
> Richard:
>
> Are you looking for a transparent proxy? I.e., circumvent some censorship?
>
> Rgds
>
> Gregor
Well, that's exactly what I want to do, build a web page from within the
proxy server that will be viewed at a later time, and also further pass on
the request and expect to get a page back which will also be viewed at a
later time. This all happens from the proxy server.
1) receive URL from user
>Meh. Most Java webapps aren't multithreaded anyway in the sense that
>each request lives in its own little world and usually runs start to
>finish with no other threading involved.
Just this week I added threading to a component of my web-app. I had some
what dreaded it, but found that it took m
I was doing something like this with LogBack (successor to log4j more or less),
but I'm no longer using it and don't remember how I set it up. The class
starts as follows:
public final class InitLogback extends HttpServlet {
@Override
public void init() {
final String pathPrefix
On Fri, Mar 20, 2009 at 7:04 PM, Caldarale, Charles R <
chuck.caldar...@unisys.com> wrote:
> > From: Je suis la poubelle [mailto:laps...@gmail.com]
> > Subject: Re: How to make Tomcat serve/listen to one more port?
>
> > Unfortunately, I really need (b). It's very easy to do
> > (b) in IIS6, but
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ken,
On 3/20/2009 12:08 PM, Ken Bowen wrote:
> But is there any parameter syntax that would allow me to grab the
> context name and write one log4j.properties with something like this:
>
> log4j.appender.myLogFile.File=${catalina.home}/logs/${context
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ilya,
Don't get me wrong... I loves me some Java. But...
On 3/20/2009 11:55 AM, Ilya Kazakevich wrote:
> If you are going to move to php, be ready to:
> 1) loose tools like log4j.
log4p?
> 2) meet API, 10% of which uses OOP and exceptions, and 90%
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mark,
On 3/20/2009 11:46 AM, Mark Thomas wrote:
> More seriously, whilst performance should be a factor in technology
> selection it isn't the only one. Given the the low volume I would
> suggest that supportability is far more important. If the clien
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Peter,
On 3/20/2009 11:43 AM, Peter Crowther wrote:
> When implementing a web server system which will never experience high load,
> or in
> which performance, throughput, and reliability under high load is not an
> issue, then
> the use of any of t
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Brian,
On 3/20/2009 10:21 AM, Alston, Brian (US SSA) wrote:
> When I go to http://192.168.1.100/examples (no trailing slash), I
> actually get forwarded to a Tomcat server and end up at
> http://192.168.1.110:8080/examples . If this happens, the "Sess
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Matt,
On 3/20/2009 10:34 AM, Matt Brown wrote:
> Here are some quick numbers (provided by YSlow) from the home page of this
> webapp:
>
> Without gzip compression on image/png,image/jpeg,image/gif:
> 133.1K 12 Images
>
> With gzip compression:
> 1
Rainer,
Rainer Jung-3 wrote:
>
> I guess you mean the lines with the 503 are the bad responses? But those
> do not indicate, that the probe gets back the page requested by someone
> else, it shows that the web server or Tomcat throw an HTTP error, namely
> 503. In this case I would guess, th
Software Architect
Location: Mountain View, CA
NetBase, a well-funded, fast growing company with an impressive roster
of top-tier Fortune 500 companies, seeks to grow its team with a
hands-on software architect.
NetBase delivers Content Intelligence solutions that harness value and
insight from
Senior Technical Operations Leader
Location: Mountain View, CA
NetBase, a well-funded, fast growing company with an impressive roster
of top-tier Fortune 500 companies, seeks to grow its team with a
hands-on senior technical operations leader.
NetBase delivers Content Intelligence solutions that
Taylan Develioglu wrote:
>
>> and it pre-compiles all of its code before it runs each script"
>>
>
> For starters, I'd point out the jsp page compiler does this as well...
Not if you precompile your application.
So you could, if you're in the mood to use the same arguments, state
somewhat di
MSerraInsiel wrote:
> Hi all, We have a java web application (deployed on Tomcat 5.5 with java 1.4)
> that has never had CPU problems. Some
>
> days ago we deployed a new version, that had non significant differences,
> and since this deploy we got frequent CPU
>
> 100% usage. users could not w
> From: Caldarale, Charles R
> Subject: RE: How to make Tomcat serve/listen to one more port?
>
> I already told you how: create a second , and put
> the second and another inside that.
If that's not clear, send me your server.xml, and I'll update it. Should take
less than a minute.
- Chu
> From: Je suis la poubelle [mailto:laps...@gmail.com]
> Subject: Re: How to make Tomcat serve/listen to one more port?
> Unfortunately, I really need (b). It's very easy to do
> (b) in IIS6, but it doesn't seem to be the case in Tomcat
> (no flame intended, just a pure comparison :p )
I alrea
On Fri, Mar 20, 2009 at 2:57 PM, André Warnier wrote:
> Hi poubelle.
> (J'ai toujours rêvé de pouvoir écrire ca sans être impoli..).
OT: :D Parce que cette adresse-ci est créée pour recevoir des cochonneries
comme les pubs, les listes de diffusions, etc. C'est pas mon adresse perso
:)
Hi,
I have two real machines. One of them is a Windows XP running Apache
2.2.10 + mod_jk /release date of 10/30/2008/ + Tomcat 6.0.16. The
other one is a Mac with OSX 10.5.6 with Apache 2.2.9 + mod_jk 1.2.26
and Tomcat 6.0.16.
The XP machine runs one instance of Tomcat /node4/. The Ma
> For starters, I'd point out the jsp page compiler does this as well...
1) BTW, you do not have to use JSP.
I have a very big app, which gives XML as output.
I do not need JSP to generate XML, so I use sevlet output directly.
2) You can precompile JSP (well, you can precompile PHP too, see Zend
and it pre-compiles all of its code before it runs each script"
For starters, I'd point out the jsp page compiler does this as well...
Then redirect the person to this thread to get lynched. (seriously,
aside from the lynching this is a good idea)
---
> From: Martin Gainty [mailto:mgai...@hotmail.com]
> Apache is hamstrung by the number of prefork processes it can spawn..
Yes. For this job, it's hamstrung by the PHP process being single-threaded and
therefore having to spawn and keep multiple copies (each with its own address
space) to handl
Good Afternoon Peter:
Apache is hamstrung by the number of prefork processes it can spawn..
http://httpd.apache.org/docs/2.0/misc/perf-tuning.html
from what I gather at http://httpd.apache.org/docs/2.0/misc/perf-tuning.html
"in httpd.conf for mpm_prefork_module determine the size of your average
Just ask them to google for security-issues linked to PHP and issues
linked to any servlet-container (aka Tomcat).
If they want it more specific, ask them to read through some relevant
mailing-list-archives such as full-disclosure.
OK, that's not about performance, but we f.e. do not use PHP due
All,
Apologies if I've missed the answer to this in the Logging HowTo, the
FAQ, or Andre's collection of the logging discussion.
Env: TC 6.0.18 + Java 1.5
The issue: I want to have several instances of the same webapp running
on the same Tomcat as myapp1, myapp2, etc.
That's easy.
I'm g
Number of users is not the only one thing, you need to think about, when you
are choosing technology.
PHP is a _scripting_ language with out of _static typization_,
multi-threading, full OOP support and its API is pretty weak too.
Also it is _not_ designed for servlet ideology: each request runs s
> From: Matt Brown [mailto:matt.br...@citrixonline.com]
> I would ask for benchmarks and evidence to back up that assertion.
There are plenty out there, but mostly old ("... PHP4 promises to..."). The
IBM reference I've posted is relatively new and appears on an initial read to
have a reasonabl
Jason Pyeron wrote:
> I have a client that is confused why we are giving them a J2EE product and
> they
> are concerned with performance and scalability.
>
> (IE/Tomcat 5.5/struts 2.1/hibernate 3.x/oracle 10g)
>
> Note the system will never see more than 50 users/sessions with 7500 hits per
> da
> From: Jason Pyeron [mailto:jpye...@pdinc.us]
> "PHP by itself is very fast. Much faster than ASP or JSP
> running on the same
> type of server. This is because it has very little overhead
> compared to its
> competitors and it pre-compiles all of its code before it
> runs each script"
>
> How wou
I would ask for benchmarks and evidence to back up that assertion.
-Original Message-
From: Jason Pyeron [mailto:jpye...@pdinc.us]
Sent: Friday, March 20, 2009 11:04 AM
To: 'Tomcat Users List'
Subject: very off topic marketing question
I have a client that is confused why we are givin
> From: Jason Pyeron [mailto:jpye...@pdinc.us]
> Subject: very off topic marketing question
>
> "PHP by itself is very fast. Much faster than ASP or JSP
> running on the same type of server. This is because it
> has very little overhead compared to its competitors and
> it pre-compiles all of
> From: Tomas Rodriguez [mailto:admhards...@yahoo.ca]
> Subject: mysql + tomcat work already but I need to
> reconfigurate the tomcat for load the examples in other
> location of the hard driver
>
> but now I wanna have in other directory my web pages
> examples, for instance
> in d:\websites
I have a client that is confused why we are giving them a J2EE product and they
are concerned with performance and scalability.
(IE/Tomcat 5.5/struts 2.1/hibernate 3.x/oracle 10g)
Note the system will never see more than 50 users/sessions with 7500 hits per
day on a lan. As such we don't see any
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
MSerraInsiel,
On 3/20/2009 10:48 AM, MSerraInsiel wrote:
> java is 1.4.2, the SO is Linux, but we could not dump the consuming thread
> because of the -Xrs option. Now we removed it, but we have old libraries and
> no CPU problem. In an identical test
java is 1.4.2, the SO is Linux, but we could not dump the comsuming thread
because of teh -Xrs option. Now we removed it, but we have old libraries and
no CPU problem. In an identical test environment the same problem does not
arise, even with -Xrs option and new libraries version.
Any ideas?
Th
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
MSerraInsiel,
On 3/20/2009 5:40 AM, MSerraInsiel wrote:
> Hi all, We have a java web application (deployed on Tomcat 5.5 with java 1.4)
> that has never had CPU problems.
Take thread dumps while the CPU is pegged. You didn't mention your Java
version
Here are some quick numbers (provided by YSlow) from the home page of this
webapp:
Without gzip compression on image/png,image/jpeg,image/gif:
133.1K 12 Images
With gzip compression:
1.7K 12 Images
..,Actually now that I'm looking in detail at the numbers reported for each
individual image
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Thomas,
On 3/20/2009 4:21 AM, Tomas Rodriguez wrote:
> but now I wanna have in other directory my web pages examples, for
> instance in d:\websites\examplesJSP,
> what variable I need to change in the apache tomcat for work?, what
> files in the serve
This is very very true. I spend eons mocking around with all kind of
/ combinations, but in the end is the only
way to do it in cross-browser way.
On Mar 20, 2009, at 10:15 , André Warnier wrote:
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 3/20/20
I feel I must apologise. Upon closer examination, it appears I am having the
same problem with my Linux load-balancer as well. It looks like I may a
"compound" issue. The initial confusion started with the different way that
Linux and Windows Apache servers handle the "trailing slash" for a UR
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 3/20/2009 4:45 AM, André Warnier wrote:
That reminds me of something: is deprecated in favor of
. Maybe you ought to try as another alternative.
Yes, but this is another area where practice trumps theory.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 3/20/2009 8:02 AM, André Cruz wrote:
> I'm running apache 2.2.9, mod_jk 1.2.27 and tomcat 6.0.18 and I get this
> problem
> as well:
>
> GET /shibboleth-idp/SSO HTTP/1.1
[snip]
> HTTP/1.1 302 Moved Temporarily
> Date: Fri, 20 Mar 2009 11
Dear reader,
I use a combination of Zabbix http://zabbix.com/ to monitor the
hardware and OS, combined with Java-monitor http://java-monitor.com/
for the Java and Tomcat side.
Kees Jan
On 20 mrt 2009, at 14:46, ujjain wrote:
What preparations have YOU made to ensure good monitoring of
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Matt,
On 3/20/2009 9:10 AM, Matt Brown wrote:
> Actually yes, in our case the image content is not already
> sufficiently compressed by the content provider - we're seeing a
> sizeable decrease in the size of the images delivered after enabling
> gzip
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 3/20/2009 4:45 AM, André Warnier wrote:
> is deprecated in favor of
. Maybe you ought to try as another alternative.
Glad you got it working.
Good luck,
- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (MingW32)
Comment: Usin
> From: Je suis la poubelle [mailto:laps...@gmail.com]
> Subject: Re: How to make Tomcat serve/listen to one more port?
>
> I can't see how a host can use such and such connector!?
You can't, nor do you need to. All elements share all s
within a . The content of the URL will select the prop
Hi poubelle.
(J'ai toujours rêvé de pouvoir écrire ca sans être impoli..).
Je suis la poubelle wrote:
Currently, I access the Tomcat's default website using an URL like
this:
http://myservername:x/
All I want to do is to have another website using an URL like this:
http://myserve
What preparations have YOU made to ensure good monitoring of Java threads,
etc. in case of problems, memory leaks, etc.
I am looking to use Java Servlets for a website with a lot of visitors, but
I wish to have made the right preparations in case some programming code
causes major outages.
--
Vi
On 20.03.2009 09:11, Siddharth Shah wrote:
I am using a web resource through NATing
I have nated 1.1.1.1: to 2.2.2.2:80, Now when I make http requests
to 1.1.1.1:, I can able to access to resources over
2.2.2.2:80
In response.sendRedirct, response send to 1:1:1:1 with 80 poet (Nated IP
b
Hello-
Do you have any suggestions for setting up db2 High-Availability Disaster
Recovery with tomcat5. Right now tomcat works with websphere commerce
which uses db2. We are in the process of implementing HADR and will need
this for tomcat. Is there a new jar file that will be needed or do you
Peter,
On Fri, Mar 20, 2009 at 2:05 PM, i_am_superman wrote:
> I just don't
> understand it; how do hosting companies host 2 sites on one box with a
> certificate each? That'll be a lot of IP address juggling..
>
Well, we f.e. do have a box 8ok, actually two boxes behind a
loadbalancer), eac
On Fri, Mar 20, 2009 at 12:36 PM, André Warnier wrote:
>
> Considering the amount of taxpayer money that governments are currently
> pumping into failed financial institutions and car makers, I'm sure they
> could afford a 400 € certificate, no ?
> Or is it that bad ?
>
+1
Cheers
Gregor
--
just
Actually yes, in our case the image content is not already sufficiently
compressed by the content provider - we're seeing a sizeable decrease in the
size of the images delivered after enabling gzip on them.
Good question though, thank you.
-Matt
-Original Message-
From: Christopher S
Peter Crowther wrote:
>
>> Or is the IP address tied to the (wildcard) certificate?
>
> IP addresses are never tied to certificates. Certificates allow browsers
> to authenticate based on the common name in the certificate, and the
> hostname that the browser is using to access the site.
>
Y
> From: i_am_superman [mailto:ee...@objectivation.nl]
> What are the restrictions on wildcard certificates?
Some very old browsers don't understand them. Probably not a problem in your
environment, but check your client's browser support requirements.
> If I
> have two subdomains with one wildc
> From: i_am_superman [mailto:ee...@objectivation.nl]
> we have 3 environment (test, accept, prod) so we
> need 3 extra certificates. No big deal indeed, but I need
> to be sure that I really need them.
Get a wildcard certificate? They're about 3 times the price of a regular cert,
and can authen
Darren Kukulka wrote:
>
> Why not opt for a wildcard certificate for the domain, if that's
> applicable (e.g. *.yourcompany.com)
>
Hi Darren,
Interesting idea! What are the restrictions on wildcard certificates? If I
have two subdomains with one wildcard certificate, do I still need the two
IP
Why not opt for a wildcard certificate for the domain, if that's applicable
(e.g. *.yourcompany.com)
-Original Message-
From: i_am_superman [mailto:ee...@objectivation.nl]
Sent: 20 March 2009 11:52
To: users@tomcat.apache.org
Subject: Re: Issue with SSL server/ network configuration
Rainer Jung kippdata.de> writes:
> On 09.03.2009 18:07, Anthony J. Biacco wrote:
> > Download the latest, configure, make, make install, check for
> > new/deprecated directives in the jk docs, modify configs accordingly,
> > reload apache.
I'm running apache 2.2.9, mod_jk 1.2.27 and tomcat 6.0.1
awarnier wrote:
>
> i_am_superman wrote:
>>
>>
>> It's gonna be a public government website, so a self-signed certificate
>> will
>> not be an option :-)
> Considering the amount of taxpayer money that governments are currently
> pumping into failed financial institutions and car makers, I'm
Got it here
http://www.mail-archive.com/tomcat-u...@jakarta.apache.org/msg145602.html
_
From: Ghufran [mailto:ghufra...@vopium.com]
Sent: Friday, March 20, 2009 11:07 AM
To: 'Tomcat Users List'
Subject: incorrect time in the catalina.out logging
Hi All
I am using tomcat 6.
i_am_superman wrote:
It's gonna be a public government website, so a self-signed certificate will
not be an option :-)
Considering the amount of taxpayer money that governments are currently
pumping into failed financial institutions and car makers, I'm sure they
could afford a 400 € certific
Gregor Schneider wrote:
>
> How about a self-seigned cert?
>
> A nasty browser-window will pop up once, however, the users could
> import the server-cert into their browser, and then they#re done
>
It's gonna be a public government website, so a self-signed certificate will
not be an option :
On Fri, Mar 20, 2009 at 12:10 PM, i_am_superman wrote:
>
>> If anyone else has another idea, please respond.
How about a self-seigned cert?
A nasty browser-window will pop up once, however, the users could
import the server-cert into their browser, and then they#re done
Rgds
Gregor
--
just be
> From: i_am_superman [mailto:ee...@objectivation.nl]
> I don't think my client will allow me to run a public SSL
> website any port but 443 (firewalls).
Then you'll also need a second IP address on the server, as I'm sure you've
already realised.
- Peter
---
Peter Crowther wrote:
>
>> From: i_am_superman [mailto:ee...@objectivation.nl]
>> is there a simple way to map one
>> domain name to two different SSL connectors?
>
> I don't think there is, unless you want part of your application to be
> accessible from a different port. So the part that do
> From: i_am_superman [mailto:ee...@objectivation.nl]
> is there a simple way to map one
> domain name to two different SSL connectors?
I don't think there is, unless you want part of your application to be
accessible from a different port. So the part that doesn't need certs might be
at https:
Hi y'all,
I have a fairly complex issue regarding Tomcat server configuration, so I'll
try to explain:
I have two web applications that need to run in one Tomcat server.
Application 1 needs client certificates, so I need to configure an SSL
connector with 'clientAuth="yes"'
Application 2 needs
I must admit that I'm lost, despite hours of readings I have to
add that Tomcat documentation is never very clear and comprehensible.
I can't see how a host can use such and such connector!? I mean, the
connector's doc at
http://tomcat.apache.org/tomcat-6.0-doc/config/http.htmldoes
Hi!
awarnier wrote:
>
>
> ..
>
Great post, I've used before,
if I use it works
out in IE.
I don't have to understand this. ;) Thanks for your input!
--
View this message in context:
http://www.nabble.com/Applets-with-IE---difference-between-Tomcat-and-plain-HTML--tp22596302p22617631.
Hi all, We have a java web application (deployed on Tomcat 5.5 with java 1.4)
that has never had CPU problems. Some
days ago we deployed a new version, that had non significant differences,
and since this deploy we got frequent CPU
100% usage. users could not work and we needed to rollback to
Richard:
Are you looking for a transparent proxy? I.e., circumvent some censorship?
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
--
herbert wrote:
...another strange thing:
The IE just stops showing the HTML-file, when the -tag is reached in
the source-code of the HTML-file, that is, every HTML-Tag before the
-tag is shown on the screen, every HTML-Tag after the -tag
is not shown on the screen.
If I ask the browser, to sh
...another strange thing:
The IE just stops showing the HTML-file, when the -tag is reached in
the source-code of the HTML-file, that is, every HTML-Tag before the
-tag is shown on the screen, every HTML-Tag after the -tag
is not shown on the screen.
If I ask the browser, to show me the (HTML)
Richard Langly wrote:
Hey all,
I'm searching for a way to make a proxy server to:
- receive a request from a web-browser.
- allows me to grab the URL and build a web page.
- then forward the request to the destination.
- and then allows me to store and access the response wh
Hi,
Christopher Schultz-2 wrote:
>
>
> Maybe I'm just not reading this right: when does it work? When does it
> not work? Does it ever work in MSIE? Under what conditions? Do Java
> applets work on other websites when you use MSIE?
>
>
Ok, I'll start a new try to explain the problem:
1) a
Hi everyone
Thanks for the help.
I have mysql server + tomcat 6.0 running together already, but now I have a
problem.
my page jsp example I save in the directory
c:/tomcat6.0/webapps/examples/jsp, because I tried to copy for other
location in the server W2K and dosen't work when I load in the I
Joseph Millet wrote:
Maybe I'm missing something but from the little knowledge I have, I'd
think an HTML form is posted encoded in the form enclosing HTML
document charset specified in the sent Server headers. So that you
settle a page encoded in iso-8859-2, you wouldn't expect a form
present in
Hi all,
Still i was not able to resolve the below one..
I can see that ,
Http11Protocol protocol has the public void *setKeyAlias*
(java.lang.String keyAlias)
where as Http11NioProtocol does not have the same. I m using tomcat 6.0.
or do i need to use setAttribute("keyAlias", "aliasname"); ?
P
Hello,
I am using a web resource through NATing
I have nated 1.1.1.1: to 2.2.2.2:80, Now when I make http requests
to 1.1.1.1:, I can able to access to resources over
2.2.2.2:80
In response.sendRedirct, response send to 1:1:1:1 with 80 poet (Nated IP
but Port is not updated-sends l
Most Mysql+JSP tutorials found on the web aren't uptodate as they're
still teaching people to use "org.gjt.mm.mysql.Driver" but it's better to
use "com.mysql.jdbc.Driver", cf:
http://dev.mysql.com/doc/refman/5.0/en/connector-j-reference-configuration-properties.html
But otherwise it's ok
82 matches
Mail list logo