> From: Alice Young [mailto:[EMAIL PROTECTED]
> Subject: Re: change in local directory deployment behavior
> between 5.5 and 6
>
> I've looked into it some more and it seems like I need to
> create a custom context.xml. However I can't seem to find
> much information on how to do this at all, in
Hi Johnny,
Thanks for your response. Before you wrote this I tried downloading 5.5 and
discovered that indeed there isn't any perceptable difference in the default
behavior. This has me scratching my head because I don't know what I did to get
what I had before. Unfortunately the hard driv
Just a late note to tell you all that this is fixed, and the trouble was
as you suggested: my ftp.connect method was hanging. Once I figured
out what timeouts to set for it, I let it go, and it went several days
just like it has before, until I was perusing my logs tonight and found
a Timeout
This doesn't sound like a Tomcat problem to me. I haven't seen Tomcat
slowing down even after running for a couple of weeks. It's most
likely caused by something in your application.
Is it possible that there is a memory leak in your application? If
memory is filling up, garbage collections will
You may be seeing this bug:
http://issues.apache.org/bugzilla/show_bug.cgi?id=37356
which was fixed in 5.5.21.
--
Len
On 7/19/07, tfu <[EMAIL PROTECTED]> wrote:
I'm running Tomcat 5.5.9 on Redhat 9 and use session to track user logging
in/out. The session timeout is set to 30m in web.xml. After
I have a 2 separate tomcat server with about 20 webapps set up. I
recently added a new webapp, this webapp has all the same web.xml and
server.xml setting as the rest of the applications. On the second
server, when I log into the new webapp and start navigating I get
prompted for my user name an
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Kief,
keif wrote:
> Christopher Schultz-2 wrote:
>> I assume you mean that you want to cancel an already-running thread /for a
>> given user/ if a
>> second one comes in.
>
> Yes, that is correct - I'd like to process a single request at a time per
Hi All,
I am facing problems building mod_jk. If anyone of you have binary for this
please share it. (Solaris 10 Sparc)
My env details:
Using GNU Make 3.81 (This program built for sparc-sun-solaris2.10)
OS: SunOS sfodb01 5.10 Generic_118833-36 sun4u sparc SUNW,Sun-Fire-480R
Steps followed:
./c
Mladen you very modest... your mod_jk is great.
I think the choice is easy, as long as you got someone making a cool apache
module especially for tomcat users, I think we very fortunate.
Maybe mod_proxy with other servlet containers, mod_jk is extremely good with
TC, even if you do crazy thing
I'm running Tomcat 5.5.9 on Redhat 9 and use session to track user logging
in/out. The session timeout is set to 30m in web.xml. After some testing, I
noticed that some of the inactive sessions timeout as expected after 30m,
while others hang there for ever and never timeout. Is this a known probl
Christopher Schultz-2 wrote:
>
> I assume you mean that you want to cancel an already-running thread /for a
> given user/ if a
> second one comes in.
>
Yes, that is correct - I'd like to process a single request at a time per
session. The reason for that is that I have to maintain some state
Yes, this is Oracle specific.
-Original Message-
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 19, 2007 12:24 PM
To: Tomcat Users List
Subject: Re: OracleConnectionPoolDataSource
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Seva,
Seva Popov wrote:
> You need
my apology, Chris. After I sent that last one out, I said, wait, that's
confusing and doesn't sound correct!
It wasn't...just the table col. My apologies again.
-Original Message-
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 19, 2007 4:12 PM
To: Tomcat Users Li
no, not for the resource tag. Sorry -- but for the table title. My apologies.
-Original Message-
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 19, 2007 4:12 PM
To: Tomcat Users List
Subject: Re: OracleConnectionPoolDataSource
-BEGIN PGP SIGNED MESSAGE-
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Barry,
Propes, Barry L wrote:
> I do use user, but it's not required by OracleI could use
> something like o_user if I wanted to.
Huh? You can do this:
... and it will work? Through what voodoo does that work?
I thought that the element ende
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Kief,
keif wrote:
> I'd like to find a way to stop the first request from processing when a
> second one is recieved. So the first request comes in and the container
> starts a thread to process it. Then the second request comes in and before
> it is
I do use user, but it's not required by OracleI could use something like
o_user if I wanted to.
-Original Message-
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 19, 2007 4:01 PM
To: Tomcat Users List
Subject: Re: OracleConnectionPoolDataSource
-BEGIN P
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Barry,
Propes, Barry L wrote:
> it's NOT Oracle specific.
If the "user" attribute is not Oracle-specific, then Seva is out of his
mind:
> Seva Popov wrote:
>> You need to use user="test" instead of username="test". This should
>> work in the context
Hi,
I'd like to find a way to stop the first request from processing when a
second one is recieved. So the first request comes in and the container
starts a thread to process it. Then the second request comes in and before
it is processed, I want it to cancel processing the first request.
Can th
it's NOT Oracle specific.
-Original Message-
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 19, 2007 2:24 PM
To: Tomcat Users List
Subject: Re: OracleConnectionPoolDataSource
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Seva,
Seva Popov wrote:
> You need to u
I thought I saw the OP had an exception error of javax.naming.NamingException.
in part of the thread, this was posted.
Zdeněk Vráblík escribió:
> Hi,
>
> There is error in driverClassName.
>
> Try use this:
> driverClassName="oracle.jdbc.driver.OracleDriver"
>
Thanks, but I already have tested t
and maybe I overlooked it, but where is the variable con intialized?
Almost looks like you're calling con from a Connection class rather than a
PooledConnection class. Am I seeing that incorrectly?
> Code that creates connection:
>>
>> initCtx = new InitialContext();
>> ctx = (Context) initCtx.l
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Bhavik,
bhavik shah wrote:
> Hi I have installed tomcat4.1.27 on windows xp.
>
> I deploy a webaplication on it.
> when try to launch it i am getting the following error:
[snip]
> *root cause*
>
> java.lang.UnsatisfiedLinkError: initialize
> a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Broken,
broken connection wrote:
> As I told before,its a simple web app for the BA's just for some proof of
> concept and if I try to get too techie.
If this is a POC, why not just walk over to their computers and install
the JRE and Tomcat manually
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Seva,
Seva Popov wrote:
> You need to use user="test" instead of username="test". This should
> work in the context.xml file.
Is this Oracle-specific? I use 'user="username"' in my
element and it works perfectly.
- -chris
-BEGIN PGP SIGNATURE-
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Julio,
Julio J. Suárez Salinero wrote:
>
Seriously... get rid of those "path" and "docBase" attributes.
> type="oracle.jdbc.pool.OracleConnectionPoolDataSource"
> factory="oracle.jdbc.pool.OracleDataSourceFactory"
You didn't have a "factory" attr
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mark,
Mark H. Wood wrote:
> Wearing my sysadmin. hat: I would say that it is perfectly okay for
> your install package to *use* its own copy of JRE to run its own copy of
> Ant to install your product. It is NOT OKAY to leave these behind
> like mud
if 5.0 is anything like the 4.xx series, look in a subdir called Work, under
the root of Tomcat and go on down.
That's where the JSPs get compiled into servlets and you can see the code
generated there on the fly.
Search for all of your .java files and see where they are, and if any look
gener
is the request dispatcher's URL properly configured?
-Original Message-
From: bhavik shah [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 19, 2007 1:00 PM
To: Tomcat Users List
Subject: unable to launch web application in tomcat 4.1.27
Hi I have installed tomcat4.1.27 on windows xp.
I d
Hi I have installed tomcat4.1.27 on windows xp.
I deploy a webaplication on it.
when try to launch it i am getting the following error:
HTTP Status 500 -
--
*type* Exception report
*message* **
*description* *The server encountered an internal error () that prevente
You need to use user="test" instead of username="test". This should work in the
context.xml file.
-Original Message-
From: "Julio J. Suárez Salinero" [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 19, 2007 8:16 AM
To: Tomcat Users List
Subject: Re: OracleConnectionPoolDataSource
Propes,
Are you sure that you even have a problem?
Yes, certainly i do ... :(
Thanks a lot Mark...that was some excellent stuff there...but see there's
some difference between making a installer for a production level software
or making one for demo purpose...
As I told before,its a simple web app
Propes, Barry L escribió:
how do you know the user and password won't work from the context?
Are you just trying to store it elsewhere or did you try it?
Because when I set user and password in the context (username="test"
password="test") and get the connection with
pc = fuenteDatos.getPool
like here - this is the reference for that info below.
http://www.nabble.com/svn-commit:-r556449tomcat-container-tc5.5.x-webapps-docs-jndi-datasource-examples-howto.xml-t4083357.html
-Original Message-
From: Propes, Barry L [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 19, 2007 10:
how do you know the user and password won't work from the context?
Are you just trying to store it elsewhere or did you try it?
Also, on the driver reference, I saw something on Oracle's site suggesting the
use of:
oracle.jdbc.OracleDriver, I believe, rather than the full
oracle.jdbc.driver.Ora
I have get it to work from a context resource. I've had to specify a
factory attribute. Currently context.xml is this:
User and password doesn't work in context.xml. I have used a
getPooledConnection overload:
Context ctx = (Context) initCtx.lookup("java:/comp/env");
OracleConnectionPoolD
On Wed, Jul 18, 2007 at 01:06:04PM -0400, broken connection wrote:
> At the end, the only thing that should matter to TOMCAT or ANT is that they
> should be able to find the classes in the JREso I don't understand, why
> you guys don't recommend this
Because if everybody did it that way, c
Which way is the better one [between mod_jk and mod_proxy_ajp]?
I will second mod_jk too...i had to encrypt the data communication between
my apache and tomcat server and using stunnel with mod_jk was so cool and so
easymuch less then configuring "https" on mod_proxy
On 7/19/07, Christop
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
Mladen Turk wrote:
>> Which way is the better one [between mod_jk and mod_proxy_ajp]?
>
> It all depends on your topology and needs
For instance, I have a complex configuration where some URLs must map to
one worker, while other URLs map to ano
I don't use the APR, and I am running on Linux
Caldarale, Charles R wrote:
From: Peter Stavrinides [mailto:[EMAIL PROTECTED]
Subject: Re: Tomcat 5.5 and SSL
what am I missing?
Do you have APR installed? If so, the SSL configuration is quite
different.
If running without APR, did you f
Experts,
I have test with success loadbalancing with tomcat, my config was:
1 apache to serve static pages
2 TC with two webapp folders
my webapp use struts 1.0.2...
this configuration works fine
Now I want to use only one webapp folder. The problem is that I want to
use two different struts-co
Hello,
Thanks, but if you do the modifications in the FormAuthenticator, why don't
you change the forward to login page method to dispatch to login page of
main app?
Originaly form authenticator dispatch to login page relatively to the
current context. On the other hand there are probably some pr
Thanks for the tip, I will fix that, although I do not think that is the
cause of my problem as accessing each of the webapps by http redirects me
correctly.
Under each of the appBase I have index.html that redirects to the subfolder
of the application:
[EMAIL PROTECTED] www.domain1.com]# cat ind
> From: Przemyslaw Ceglowski [mailto:[EMAIL PROTECTED]
> Subject: RE: problems with IP based virtual hosting with
> multiple SSL certificates and APR
>
> Although I do not think I have something wrong in it
For one thing, placing elements in server.xml is strongly
discouraged these days. Thes
Mladen, you very modest, your Mod_jk is magic.
As an outside independent user, I think that with time the selection between
mod_proxy and mod_jk will make little difference from a pure geek
perspective.
I have tried both, and I did have problems bringing machines back up on
mod_proxy... it wa
Any ideas guys?
Although I do not think I have something wrong in it but maybe someone could
give me an example of working server.xml file in the same configuration?
Regards,
Przem
-Original Message-
From: Przemyslaw Ceglowski [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 18, 2007 10:
Hi Peter,
I've done this and got it working. What I did was the following (on
Windows, Tomcat 5.5, Java 1.5):
1) Goto $JAVA_HOME\bin
2) keytool -genkey -alias tomcat -keyalg RSA -keystore
c:\websites\keystore\.keystore
3) edit server.xml
3a) uncomment
3b) add the following to this connecto
> From: Peter Stavrinides [mailto:[EMAIL PROTECTED]
> Subject: Re: Tomcat 5.5 and SSL
>
> what am I missing?
Do you have APR installed? If so, the SSL configuration is quite
different.
If running without APR, did you follow the steps outlined here?
http://tomcat.apache.org/tomcat-5.5-doc/ssl-h
Knock knock... anybody?
Peter Stavrinides wrote:
Hi All
This may be a trivial issue for most, but I am quite new to tomcat.
I am trying to configure SSL, These are the steps I took:
- I have created a key/value pair using the keytool in suns jdk no
problem there
- I have configured the http
Hi!
I used the Tomcat Administrator to define the environment setting. Admin saved
the entry to the server.xml. You can see it in the docs at
http://tomcat.apache.org/tomcat-5.5-doc/config/context.html#Environment%20Entries
Otherwise it works fine, but I can't use the autodeploy feature.
Thank
Just as a courtesy in case anyone wonders the outcome of this thread:
I have tested the latest subversion development iPlanet connector
indicated by Rainer (compiled using Sun's compiler but gnu make - also
updated to link with Sun's compiler rather than ld as recommended in
the man page f
Hi all,
I'm using Apache 2.2.3 and Tomcat 5.5.17 and I want to connect Apache with
Tomcat using mod_jk-1.2.21.
I write this workers.properties
worker.list=default
worker.default.port=8009
worker.default.host=localhost
worker.default.type=ajp13
worker.default.lbfactor=1
But when I try to start
Marcus Schmidke wrote:
But I see that mod_jk is still being updated.
Yes as well as mod_proxy.
Which way is the better one?
It all depends on your topology and needs
Do you know of any other documents or information which can help me make a
decision which is the best way for me? Any i
Hi,
I had to solve a similar problem a while ago.
The solution I found was a small Servlet that I deployed in the other
webapps.
This Servlet used a RequestDispatcher to dispatch the login/... requests
to the
login servlet of the main webapp.
However, as far as I remember, the redirect back to th
Hello all,
I've found a page (http://www.apachetutor.org/admin/reverseproxies) which
states that by now, reverse proxying is the preferred way to deploy Tomcat
applications, replacing "the old mod_jk".
But I see that mod_jk is still being updated.
Which way is the better one?
Do you know of a
Hi Ronald,
Thanks for the reply.
The files are coming out of a database via a servlet custom to the
Content Management System we are using.
Since raising this post I have discovered that a database setting for
the CMC limiting the amount of time an object can be streamed was
much to low, I now
56 matches
Mail list logo