thanks again Brian.
one last question about monitoring, have you bean able to use Hyperic HQ on
your production environment without significant performance reduction?
We have identified Glassbox and LambdaProbe as potentially good tools but
never dared to put them on the production server.
-nod
Thanks ... the config in your context.xml and web.xml look normal
enough. I would recommend you change your JDK from OpenJDK to Sun's JDK
though.
Also was this installed from a Ubuntu's package or installed from a
tomcat.apache.org download? If installed from Ubuntu, do a search of
Ubuntu's docs
Glad to be of help.
First, I don't think that APR has anything to do with thread management. I
think the two things it does really well is to serve up static content and
provide native SSL processing. Tomcat 6 and/or Java 6 may help with though (I
would assume so, but I don't know for sure).
S
How can the login page see parameters in the original request?
In my app, I make a request to https://localhost/mywebservice/action.do.
Because the user is not authenticated, Tomcat redirects them to the login page.
I want the login page to be able to see the parameters passed in the original
r
Hi, thanks all for your answers.
I have jconsole in place. I can monitor Tomcat and general JVM information.
The think is it's not easy to understand statistics.
- How much I am using of Xmx is definitely something I want to know
- how many thread are used in peak times is also something I need
Here it comes:
---
context.xml in META-INF
---
WEB-INF/web.xml
password="also-correct" driverClassName="com.mysql.jdbc.Driver"
url="jdbc:mysql://localhost:3306/swex-products" />
--
web.xml in WEB-
Christopher Schultz schrieb am 29.12.2008 um 15:54:41 (-0500):
> André Warnier wrote:
> > It's a whole process to connect to that server, and when I am
> > connected I lose my other connections (email e.g.).
>
> Aah, you use a VPN that fubar's your other connections? That's too
> bad.
Maybe you j
Can you post relevant parts of your config? Replace the username,
password and hostnames with fakes, but otherwise post exactly what you
have in your specific environment.
--David
Stefan Riegel wrote:
> Hi all,
>
> I'm trying to connect to a MySQL database based on the Tomcat Docs
> example. See
The only thing we found when going from 6.0.16 to 6.0.18 was an issue with some
of our JSP's. The fix is described by "jroller" here:
http://www.searchfull.net/1289260.html
Since I had a real hard time getting to this website, I'll copy and paste the
article here
Tomcat 6.0.18 includes a f
Try using jconsole.exe (it is part of the Sun JDK) to review memory and thread
usage of your JVM. That should help you narrow down where the issue is. One key
thing to look at with Jconsole is the heap memory used figure. You are setting
your -Xmx, but how much of it are you actually using? Heap
Hi all,
I'm trying to connect to a MySQL database based on the Tomcat Docs
example. See the error message below.
Similar to the Problem from Krapacs Ambrose, I'm using a standard
configured Ubuntu 8.04 Server with Tomcat 5.5. I did follow all hints in
the whole thread and reproduced exactly
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
André Warnier wrote:
It's a whole process to connect to that server, and when I am connected
I lose my other connections (email e.g.).
Aah, you use a VPN that fubar's your other connections? That's too bad.
Not
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
To whom it may concern,
ranjitm82 wrote:
> I have a requirement which says that Tomcat should bind to a particular IP
> when it is accessible.
>
> The IP will not be available when Tomcat starts up but still configured in
> server.xml.
That's an odd
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ken,
Ken Bowen wrote:
> validationQuery="select 1"
validationQuery="/* ping */ SELECT 1"
would be better. Newer versions of Connector/J will detect the "ping"
comment and use an even cheaper connection test than what is required to
execute this (rat
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
André Warnier wrote:
> It's a whole process to connect to that server, and when I am connected
> I lose my other connections (email e.g.).
Aah, you use a VPN that fubar's your other connections? That's too bad.
If you often connect to this mac
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Nicolas,
Nicolas Romantzoff wrote:
> Session is binded to a connection (browser session) basically, not a
> machine.
> If you open a second browser (or a second tab) you should get a different
> session-id.
That's debatable, and depends on applicatio
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Sudip,
sudip pattanayak wrote:
> We are using apache-tomcat for our Web Application. We do not allow
> to same users to log on from two instances of the application.
> So if the user is active from one session and then if he tries to log
> on from ano
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
André Warnier wrote:
> From a front-end Apache, I am issuing a request to Tomcat, with the only
> purpose of getting back a small string (a user-id).
> I would imagine that for Tomcat generating a whole response (headers +
> body) is heavier th
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Fairyaya,
fairyaya wrote:
> The same application on tomcat 5.5.15 on a linux workstation causes some
> problems: if we restart the server the application will respond with a mix
> of the browser language (italian) and the default (english) and the onl
Or stop using APR...
but that in itself is quite a lot of work as I'll have to reconfigure my
SSL.
Hmm...
Gregor Schneider wrote:
If I'm not mistaken, the APR has caused the bug, and 6.0.16 contains a
new version of the APR. Since this usually comes as a source, you'll
have to re-compile t
If I'm not mistaken, the APR has caused the bug, and 6.0.16 contains a
new version of the APR. Since this usually comes as a source, you'll
have to re-compile the APR.
Cheers
Gregor
--
just because your paranoid, doesn't mean they're not after you...
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B31
Hi Bill,
Well - first the reason we need to update the truststore often is because we
use self signed certificates and therefore each client certifcate needs to
be in there.
I've traced the code in the Http11Protocol class and noticed that I get get
the desired results by calling the detroy() and
Hi
I have a 6.0.14 running with Apr 1.1.10 and I seem to be seeing
instances of CVE-2007-6286: Tomcat duplicate request processing
vulnerability
(64-Bit Server VM (build 1.6.0_03-b05, mixed mode)
(Centos 5.0 - Linux 2.6.18-8.el5 x86_64 )
The obvious thing to do is to upgrade from 6.0.14 to
Hi Ken,
Take a look at this page:
http://www.hibernate.org/hib_docs/entitymanager/reference/en/html/configuration.html
As you can see the datasource is obtained using JNDI:
java:/DefaultDS
Cheers,
Kees de Kooter
http://www.boplicity.net
On Mon, Dec 29, 2008 at 14:41, Ken Bowen wrote:
> Kees,
Hi Nodje,
first, the post from Yassine contains some very valuable information.
To me, it looks as if you're fishing in blur waters, since you've got
no idea what might be the bottleneck.
Maybe some additional hints:
- If you're serving quite some of statical content, the Apache
Portable Runtim
In WEB-INF/classes of your application.
On Mon, Dec 29, 2008 at 12:37, Korobitsyn Roman wrote:
> Hello Kees,
>
> And where should I put log4j.properties in that case?
>
> Roman
>
> KdK> It usually means that the log4j properties file cannot be found on the
> KdK> classpath.
>
> KdK> Kees
>
>
>
Hi André,
good to hear that you got the issue solved.
On Mon, Dec 29, 2008 at 10:55 AM, André Warnier wrote:
>
> If anything, I feel that the log message is not very clear :
>
> 2008-12-28 13:21:58,548 [main] WARN org.apache.naming.NamingContext -
> Unexpected exception resolving reference
> ja
Kees,
Can you point me to a discussion of how to do that?
Thanks,
Ken
On Dec 29, 2008, at 3:42 AM, Kees de Kooter wrote:
Why don't u use the existing datasources for JPA (instead of setting
the hibernate.connection properties)?
Kees
On Mon, Dec 29, 2008 at 00:50, Ken Bowen wrote:
Hi All,
Hello Kees,
And where should I put log4j.properties in that case?
Roman
KdK> It usually means that the log4j properties file cannot be found on the
KdK> classpath.
KdK> Kees
KdK> On Mon, Dec 29, 2008 at 11:44, Korobitsyn Roman wrote:
>> Hello!
>>
>> I use
>> Win XP
>> JDK 1.5.0_13
>> Tomc
It usually means that the log4j properties file cannot be found on the
classpath.
Kees
On Mon, Dec 29, 2008 at 11:44, Korobitsyn Roman wrote:
> Hello!
>
> I use
> Win XP
> JDK 1.5.0_13
> Tomcat 6.0.16
> Log4J 1.2.14
>
> I set up logging as described on
> http://tomcat.apache.org/tomcat-6.0
Hello!
I use
Win XP
JDK 1.5.0_13
Tomcat 6.0.16
Log4J 1.2.14
I set up logging as described on
http://tomcat.apache.org/tomcat-6.0-doc/logging.html
And it's all right? everything is workng fine.
But when I start tomcat with security manager, I've got only:
log4j:WARN No appenders could b
my suggestion would be to make sure if the delay is coming from the connector or
somewhere else, you could use some monitoring tools jmeter
[http://jakarta.apache.org/jmeter/],
moskito [http://moskito.anotheria.net/] or just write your own filter
which logs the number of active session,
the averag
Alan Chaney wrote:
[...]
Hi.
I found the reason, and apologise for waisting everyone's time.
Thanks for the tips anyway, they helped.
It was a simple diskspace issue.
Unknown to me, someone created a huge backup file in the directory /mnt,
part of the "/" filesystem, and filled up this filesyst
Hi,
we are still using 5.5.12 in production and our users are facing increasing
delays with their requests (like way too long by now already).
While we are not entirely sure about what's causing this (database vs Java
application), we suppose it comes from the Java application (the database
serve
Why don't u use the existing datasources for JPA (instead of setting
the hibernate.connection properties)?
Kees
On Mon, Dec 29, 2008 at 00:50, Ken Bowen wrote:
> Hi All,
>
> I'm using: Tomcat 6.0.18; Mysql 5.0.51a; Java 1.5; Hibernate 3.2; (no
> spring)
>
> MyApp utilizes five (5) distinct mys
35 matches
Mail list logo