Checkout the RequestDumperValve. It should help.
bill cao wrote:
Hi there, see if anyone knows how to do this.
When a http request is sent to Tomcat, Tomcat manufactures a HTTPServletRequest object based on the raw http request. HTTPServletRequest has easy method to retrieve the request
Jose Roberto Torres ha scritto:
From the beginning I had no
problems with it, but two days ago the tomcat started to display an older
version of the applet.
Did you try to clear the classloader cache from the client side?
If not, open your java plugin console and press X.
HTH
Antonio
I agree JMeter is a good choice and offer some recording functionality via the
workbench, there is another tool for recording lower level traffic: ProxySniffer
It may help in this case.
Bruno Georges
Glencore International AG
Tel. +41 41 709 3204
Fax +41 41 709 3000
- Original Message
Jessica wrote:
Hi,
Is there anyone that has got the latest JK version (1.2.18) to run under IIS
6.0?
If so how did you install the dll?
Please help if you can!
Hi,
There is an error in 1.2.18 that requires new feature
(rewrite_rule_file) to be present in the Registry
configuration, and it
Rafael
I forgot to mention that JBoss provides JBoss Operations Network which uses
agent to collect metrics no the machine where you deployed your Tomcat
instance. You can access it via a web front-end and monitor your
apache/tomcat/jboss instances. There is a lot more they support, I suggest
Nagios can also accept Perl based puglins as well as Python, curl or GET
from a .sh script, etc..
Perl has a great set of Modules which allow you to perform all HTTP actions
you can think of.
With Best Regards
Bruno Georges
Glencore International AG
Tel. +41 41 709 3204
Fax +41 41 709 3000
Thank you all!!!
especiallly to Mladen, you made my day!
I just patched my JK 1.2.15 msi installation with the new dll, added the
'missing' file and pointed it out in registry. Restarted IIS (just in case,
I unchecked the IIS property 'cache ISAPI extensions' before restarting with
new dll) and
I am trying to set up tomcat with multiple virtual hosts, each with
their own SSL certificate. Is this possible? Do I add each certificate
to the main keystore as per one host?
cheers
-
To start a new topic, e-mail:
You can only have 1 ssl certificate per IP address
Andrew
On 25/08/2006, at 11:09 AM, teknokrat wrote:
I am trying to set up tomcat with multiple virtual hosts, each with
their own SSL certificate. Is this possible? Do I add each
certificate to the main keystore as per one host?
Andrew (hi namesake :)): are you sure of that?
I mean, what are you saying? That tomcat can only have 1 ssl
certificate per IP address, or that it is a general limitation of
the architecture of SSL certificates.
As far as i know hoy can have one ssl certificate per domain, and so
more than one
You can set 1 ssl certificate for each port over the same ip.
ie:
https://domain1.com/ takes default ssl port 443 and one cert.
https://domain2.com:10443/ takes another cert.
etc...
So you must listen ssl conexion on each port that you need
And take a look at
From: Andrés González [mailto:[EMAIL PROTECTED]
I mean, what are you saying? That tomcat can only have 1 ssl
certificate per IP address, or that it is a general limitation of
the architecture of SSL certificates.
It is a general limitation of SSL. To be strict: you can only have one
Hi ,
Where you kept that saaj-impl.jar file?
if u want to load that jar file first ,you can place that jar file entry in
catalina.properties file which is there under conf directory either in
common loader or shared loader and let us know.
Regards
Raju
On 8/25/06, Nilantha [EMAIL PROTECTED]
I haven't found a way to record a complex post using JMeter. I've resorted
to capturing headers with Firefox, and editing them into the appropriate XML
format and dropping that fragment into my test description.
Next time I have to add some tests I will investigate further.
Tim
-Original
in web.xml please confirm these entries-
servlet
servlet-nameHelloWorldExample/servlet-name
servlet-classHelloWorldExample/servlet-class
/servlet
servlet-mapping
servlet-nameHelloWorldExample/servlet-name
Peter Crowther wrote:
From: Andrés González [mailto:[EMAIL PROTECTED]
I mean, what are you saying? That tomcat can only have 1 ssl
certificate per IP address, or that it is a general limitation of
the architecture of SSL certificates.
It is a general limitation of SSL. To be strict: you can
Hello,
I need to install a statistics tool in my tomcat, like webalizer.
What do you guys recommend? I would like to use webalizer, but I´m not sure if
this is possible with tomcat.
Also, I would like to know how to enable an access logging in tomcat to be
utilized with this tool I´m looking.
http://tomcat.apache.org/tomcat-5.0-doc/config/valve.html ( access log Valve
)
I hope this helps
Regards
Guru
Gurumoorthy Raghupathy
Systems Operations - Fidelity Investments International
* Tel: +44 1737 836798
* Internal: 8-724 6798
* Tel (R): +442086610646
* Tel (R): +447899033459
* Tel
hi list,
ok, maybe my 1st story was a bit too long to catch the reader's
interest, no i'll try it with a shorter version:
when using an authenticated ssl-session with a formlogin (jsp), if the
session times out while the user is entering his login-data (i.e. the
user gets interrupted), tomcat
Marcelo Chryssovergis wrote:
Also, I would like to know how to enable an access logging in tomcat to be
utilized with this tool I´m looking.
Would the *Access Log Valve* help?
Santosh.
-
To start a new topic, e-mail:
Hello,
Hopefully someone can clarify a setup query I have as after lots of searching I
cannot
find a definitive answer.
Although I'm configuring a much more complex system the problem I have boils
down to
this.
I want to configure two Apache instances running on separate servers to talk to
a
Peter is correct - I was just being a bit lazy in my answer...
The ssl connection is setup BEFORE any 'hostname' information is
passed over the link, and therefore the server would not know 'which'
virtual hostname's ssl certificate to use.
Therefore - 1 certificate per IP Address/ Port
What are the exact steps of building the tomcat server from source? By
that I mean, where do you go to get the source, including the dependent
jars (commons, jasper, etc), and then use ant to build Tomcat itself?
Please note that http://tomcat.apache.org/tomcat-5.5-doc/building.html
is outdated
On 8/25/06, teknokrat [EMAIL PROTECTED] wrote:
So lets see if i understand this correctly. I can only have multiple SSL
certificates if I create different Services in server.xml pointing to
different ports?
No, you don't need different Services; you need a Connector and
associated keystore
Can any one give me idea, What is the difference between Microsoft IIS server
and Tomcat Server.
Which is best and has better security to work, develop and for deploy.
--
View this message in context:
http://www.nabble.com/IIS-vs-Tomcat-tf2165043.html#a5984486
Sent from the Tomcat - User
IIS - web server on Windows environment; Tomcat - servlet container; runs on a
web server.
-Original Message-
From: gurusamy.senthil [mailto:[EMAIL PROTECTED]
Sent: Friday, August 25, 2006 9:25 AM
To: users@tomcat.apache.org
Subject: IIS vs Tomcat
Can any one give me idea, What is the
Hassan Schroeder wrote:
On 8/25/06, teknokrat [EMAIL PROTECTED] wrote:
So lets see if i understand this correctly. I can only have multiple SSL
certificates if I create different Services in server.xml pointing to
different ports?
No, you don't need different Services; you need a
From: gurusamy.senthil [mailto:[EMAIL PROTECTED]
Can any one give me idea, What is the difference between
Microsoft IIS server and Tomcat Server.
Which is best and has better security to work, develop and for deploy.
Ooh, religious wars :-).
- Both are Web servers;
- Both are fast enough
I need to install a statistics tool in my tomcat, like webalizer.
What do you guys recommend?
Since tomcat is a Java application, IMHO it is much simpler(and better and more secure) to install
and use a java based web logs statistics tool like Polliwog:
http://polliwog.sourceforge.net/
I'm trying to get a DataSourceRealm working for my project.
When I try to log in, I get:
javax.naming.NameNotFoundException: Name jdbc is not bound in this Context
at org.apache.naming.NamingContext.lookup(NamingContext.java:769)
at
Drop the ResourceLink element -- it's confusing tomcat and not needed
here unless you created a global resource.
--David
Will Hartung wrote:
I'm trying to get a DataSourceRealm working for my project.
When I try to log in, I get:
javax.naming.NameNotFoundException: Name jdbc is not bound
Hi All,
While starting the tomcat ,I could see the webapps context loading.I would
like to know the process which one load first among the webapps
ex: I have 4 webapps which one is going to load first among them?
One more doubt
I have the 10 webapplications ,most of the apps are using the
Drop the ResourceLink element -- it's confusing tomcat and not needed
here unless you created a global resource.
Thanx for the quick reply David, but, alas, removing the ResourceLink
resorts in the same error.
Regards,
Will Hartung
([EMAIL PROTECTED])
--
View this message in context:
On 8/25/06, Paul Singleton [EMAIL PROTECTED] wrote:
In 5.5.9 you can put all your certificates in one
keystore ...
I suggest you don't proliferate keystores unless you
really have to...
Why? It seems far more manageable to me having them separate...
--
Hassan Schroeder
When opening the tomcat source files as projects, the classpaths refers
to TOMCAT_LIBS_BASE. What directory should this point to and how do you
grab all of the jars that belong in it? I did a search on the Tomcat
source and there is no path that exists that looks like it contains all
of the
In 5.5.9 you can put all your certificates in one
keystore ...
I suggest you don't proliferate keystores unless you
really have to...
Why? It seems far more manageable to me having them separate...
Mmm... i don't agree. Only a keystore, only a location for it, only
one password. I like the
Hmm -- config looks good for what you've provided. Might want to take a
look a little higher up in the logs to see if there's another problem
contributing to this one.
--David
Will Hartung wrote:
Drop the ResourceLink element -- it's confusing tomcat and not needed
here unless you created
Hi Bruno;
We have already installed Hyperic and it looks good. I will take a look
on these too. Thanks a lot!
Rafael Sarres de Almeida
Seção de Gerenciamento de Rede
Superior Tribunal de Justiça
Tel: (61) 3319-9342
Bruno Georges [EMAIL PROTECTED]
25/08/2006 04:51
Favor responder a
Tomcat
Zach Calvert wrote:
What are the exact steps of building the tomcat server from source? By
that I mean, where do you go to get the source, including the dependent
jars (commons, jasper, etc), and then use ant to build Tomcat itself?
Here's what I do on Windows:
- Create a build directory, say
Zach Calvert wrote:
When opening the tomcat source files as projects, the classpaths refers
to TOMCAT_LIBS_BASE. What directory should this point to and how do you
grab all of the jars that belong in it? I did a search on the Tomcat
source and there is no path that exists that looks like it
its a known bug, the developers are pushing for 1.2.19 to get released
Filip
Jessica wrote:
Hi Julie,
I`m facing exactly the same problem as you described.
Have you found any solution yet?
Has anyone else succeded in getting jk-1.2.18 to run under IIS?
An answer would help in isolating the
Mark's assessment is correct, how did you end up storing your request
object in the session?
Mark Hagger wrote:
My best guess is that you've somehow stored the request object itself on
the session, and thus the replication is trying to replicate that to the
other nodes.
If this is the case
Hi Raju,
Thank you for the reply. I did try putting saaj-imple.jar in common/lib and
shared/lib as well but didn't work. Also I modified catalina.properties for
this jar as you suggested.
Hello List,
I have quickly searched the archives and I have reviewed some
threads about folks compiling Tomcat for 64 bit Windows systems. Here is
my question - If I am running a 64 bit Windows OS and a 64 bit version
of Java and I download the Tomcat core zip files and start Tomcat using
From: Seth P. Low [mailto:[EMAIL PROTECTED]
Subject: Tomcat on Windows Server 2003 x64
am I missing out on some potential performance gain?
No.
It is my understanding that the fact that we have
installed the 64 bit JRE should be sufficient.
Your understanding is correct.
However, some
I discovered the problem. For some odd reason, which I haven't yet figured
out, the svn call in the build.xml root
exec dir=${basedir} executable=svn
arg line=checkout ${svnroot}/${current.loc} ${basedir}/
/exec
is not just putting the checkout in the basedir, it is checking
What is really weird, is the build.xml defines the basedir as . in
project name=Tomcat 5.0 Netbuild default=build basedir=.
But changing
exec dir=${basedir} executable=svn
arg line=checkout ${svnroot}/${current.loc} ${basedir}/
/exec
to
exec dir=${basedir}
Hi all,
I've added Tomcat's DefaultServlet to my web.xml and mapped it to a
directory so that its files subdirectories will be listed:
servlet
servlet-namelister/servlet-name
servlet-classorg.apache.catalina.servlets.DefaultServlet/servlet-class
init-param
Thanks for the information peter.
I am a ERP developer. But I am trying to learn some web technologies and I
choosen Tomcat with jsp/servlet to develop small application.
I am just finding hard advantage bewteen the IIS and tomcat but didn't get.
You explanation awakens me somehow.
Peter
It's going to be too slow for production use.
Bill Barker wbarker at wilshire.com writes:
How about:
RewriteRule ^/.*\.jsp ajp://localhost:8009/project/$1.jsp [P]
RewriteRule ^/servlet/.* ajp://localhost:8009/project/servlet/$1 [P]
Hi,
I need help with javamail in tomcat. Here is my issue: if send an email to
an yahoo account, from my junit class everything is ok. When I run the same
code in Tomcat, on the same machine, my email goes to spam/bulk folder. What
is going on?
Thanks,
Ovi
--
No virus found in this
most likely you have to get relaying approved.
I've had a similar problem and had to jettison the idea of JavaMail for now,
due to the relaying problem.
I could send through my desktop and only my email address through my ISP would
receive it, and then only in the Bulk Mail folder!
Quite an
Zach Calvert wrote:
I discovered the problem. For some odd reason, which I haven't yet figured
out, the svn call in the build.xml root exec dir=${basedir}
executable=svn
arg line=checkout ${svnroot}/${current.loc} ${basedir}/
/exec
is not just putting the checkout in the
Hi,
I'm not an expert but just thinking out loud here:
If in the long run you are not going to make - distinguishing the requests
coming from either of the Apache instances - into a requirement. Then I do
not see why you would need more than 1 JK connector. If there is absolutely
never going to
That is interesting. The funny thing is that I could send email to any
account inbox. That is, running the code standalone. I can't figure out how
Tomcat would possibly alter my email so that it ends up in the spam box.
Plus, the headers are identical!
-Original Message-
From: Propes,
If you want to send email directly via Tomcat, you can bypass relaying.
Just set the mail.smtp.host attribute to a valid MX entry for the
receiving domain.
On 8/25/06, Ovi Comes [EMAIL PROTECTED] wrote:
That is interesting. The funny thing is that I could send email to any
account inbox.
I'll sure take that under advisement.
Tomcat has an additional component for sending email? I don't think I ever knew
that. Where's it configured? In the server.xml file?
-Original Message-
From: Marc Farrow [mailto:[EMAIL PROTECTED]
Sent: Friday, August 25, 2006 3:52 PM
To: Tomcat
I am sure you can use a Mail session in Tomcat and set it up the same way,
but I am calling javamail directly.
if I am sending to gmail.com. I would use this code..
Properties props = new Properties();
props.put(mail.smtp.host,gmail-smtp-in.l.google.com);
ok, thanks. I'll give that a shot in Tomcat.
-Original Message-
From: Marc Farrow [mailto:[EMAIL PROTECTED]
Sent: Friday, August 25, 2006 4:01 PM
To: Tomcat Users List
Subject: Re: javamail + tomcat
I am sure you can use a Mail session in Tomcat and set it up the same way,
but I am
Thanks Marc but how can I determine a valid MX entry for each email I send?
I don't think that's viable solution since I don't know the target
subscribers a priori.
-Original Message-
From: Marc Farrow [mailto:[EMAIL PROTECTED]
Sent: Friday, August 25, 2006 5:01 PM
To: Tomcat Users
Hello everybody,
my log reports:
*
Using CATALINA_BASE: /var/lib/tomcat4
Using CATALINA_HOME: /usr/share/tomcat4
Using CATALINA_TMPDIR: /var/lib/tomcat4/temp
Using JAVA_HOME: /usr/lib/kaffe
Using Security
--- P. Douglas Reeder [EMAIL PROTECTED] wrote:
After some effort, I've managed to set up a
JAASRealm that draws its
account information from our Kerberos server
(Krb5LoginModule,
connecting to Open Directory on OS X Server 10.3.9).
One of the key security properties of Kerberos is
that
I am using some classes that need to be able to call
java.lang.Thread.setContextClassLoader in a web-application.
p
To that end I addedbr
grant codeBase file:${catalina.home}/webapps/AppX/-{br
permission java.lang.RuntimePermission setContextClassLoader;br
}
br
to my catalina.policy file
p
But
Filip Hanik - Dev Lists wrote:
its a known bug, the developers are pushing for 1.2.19 to get released
Filip
Temporary workaround:
Create an empty rewrites.properties file and
add rewrite_rule_file in the Jakarta Isapi Redirector\\1.0
registry that points to that file.
HTH,
Mark
64 matches
Mail list logo