> From: Jacob Rhoden [mailto:[EMAIL PROTECTED]
> Subject: Re: Deploying to / using context.xml
>
> Thanks! That makes it all clear (:
This is a bit like string theory; if you think you understand it, you
obviously don't :-)
> So it means if you have 5 hosts you need to have
> 5 applications in
Thanks! That makes it all clear (: So it means if you have 5 hosts you
need to have 5 applications in netbeans all called ROOT (:
Caldarale, Charles R wrote:
From: Jacob Rhoden [mailto:[EMAIL PROTECTED]
Subject: Re: Deploying to / using context.xml
Thanks, let me change my question then (: G
> From: Jacob Rhoden [mailto:[EMAIL PROTECTED]
> Subject: Re: Deploying to / using context.xml
>
> Thanks, let me change my question then (: Given a entry with a
> directory /usr/local/tomcat/webapps3, and the
> /usr/local/tomcat/conf/Catalina/hostname/manager.xml in
> place. How do I
> easi
Thanks, let me change my question then (: Given a entry with a
directory /usr/local/tomcat/webapps3, and the
/usr/local/tomcat/conf/Catalina/hostname/manager.xml in place. How do I
easily deploy/redeploy war files for the root directory?
Best Regards,
Jacob
Caldarale, Charles R wrote:
From:
> From: cifroes [mailto:[EMAIL PROTECTED]
> Subject: Re: timestamp of tomcat startup?
>
> What I really want is for that catalina.out message to have a
> timestamp :)
I'm confused - mine does by default, using Tomcat 5.5.20 and 6.0.7,
although it's only 1-second granularity.
- Chuck
THIS CO
> From: Jacob Rhoden [mailto:[EMAIL PROTECTED]
> Subject: Deploying to / using context.xml
>
> I have tried with path="" and path="/", what am i doing
> wrong? They are both tomcat 5.5.x
Unless your element is in server.xml (strongly discouraged),
there should not be a path attribute at all.
Hello,
We are getting request from a proxy server and somehow that proxy server
gets an internal server error.
This is the configuration:
Apache web server connected to Tomcat via mod_jk.
RewriteRule /url1(.*)/$ /TomcatWebApp/Servlet1
Now from the browser if I do
https://abc.com/url1/ it work
Jacob Rhoden wrote:
I think either a LifecycleListener or ServletContextListener is what
you want, you can detect tomcat startup/shutdown and/or application
startup/shutdown
http://tomcat.apache.org/tomcat-5.5-doc/catalina/docs/api/org/apache/catalina/LifecycleListener.html
"Let's write a
I think either a LifecycleListener or ServletContextListener is what you
want, you can detect tomcat startup/shutdown and/or application
startup/shutdown
http://tomcat.apache.org/tomcat-5.5-doc/catalina/docs/api/org/apache/catalina/LifecycleListener.html
"Let's write a simple application life
cifroes wrote:
Hi,
catalina.out hast the time Tomcat took to startup but I need to know
the timestamp [date of when tomcat started] of when tomcat is ready to
receive requests.
Let me clarify a bit:
I need this timestamp to measure downtime of a server, I don't need
exactly precision to t
On 1/6/07, cifroes <[EMAIL PROTECTED]> wrote:
Caldarale, Charles R wrote:
>> From: Jacob Rhoden [mailto:[EMAIL PROTECTED]
>> Subject: Re: timestamp of tomcat startup?
>>
>> I am no expert, but I thought there was a thing called
>> a LifecycleListener where server.xml can be configured
>> to call
Hi Guys,
I am a bit stuck with something. When I deploy my web app in netbeans
5.5 it puts my app under / (instead of /Appname/) after changing the
context.xml
When I deploy using the tomcat manager manually to the production site,
it goes under /Appname/, why would this be?
My context.xml
Leon Rosenberg wrote:
Are you interesting in tomcat itself or in your webapp?
If later is the case you can simply write a ContextListener:
tomcat itself
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e
Caldarale, Charles R wrote:
From: Jacob Rhoden [mailto:[EMAIL PROTECTED]
Subject: Re: timestamp of tomcat startup?
I am no expert, but I thought there was a thing called
a LifecycleListener where server.xml can be configured
to call some java code upon startup of tomcat, this
would do what you
I remember several issues about jasper holding references to the
libraries in the past, maybe you should check bugzilla for appropriate
issues and eventually known workarounds:
http://issues.apache.org
regards
Leon
On 1/6/07, Tom Mack <[EMAIL PROTECTED]> wrote:
I use org.apache.jasper.JspC to
Hi Guys
Sorry about the off-topic posting but I thought the mailing list consist of
the audience for this campaign. A campaign has been launch to try to
encourage web developers and webmasters from using IE hacks to obscure the
browsers shortcomings. Please read the appeal from the address below
> From: Jacob Rhoden [mailto:[EMAIL PROTECTED]
> Subject: Re: timestamp of tomcat startup?
>
> I am no expert, but I thought there was a thing called
> a LifecycleListener where server.xml can be configured
> to call some java code upon startup of tomcat, this
> would do what you want yes?
Yes,
I use org.apache.jasper.JspC to precompile my JSP files. I also use the
signjar task to sign my JARs at the end of the build process (Some of
them are served via Java Web Start). This all worked fine until I
upgraded to Tomcat 5.5.20 (from 4.1.31).
If the signing task depends on the build step
I am no expert, but I thought there was a thing called a
LifecycleListener where server.xml can be configured to call some java
code upon startup of tomcat, this would do what you want yes?
Caldarale, Charles R wrote:
From: cifroes [mailto:[EMAIL PROTECTED]
Subject: timestamp of tomcat startup
Are you interesting in tomcat itself or in your webapp?
If later is the case you can simply write a ContextListener:
public class TimestampContextListener implements ServletContextListener{
private static long startTimestamp;
public void contextDestroyed(ServletContextEve
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Subject: yet another SSL question
>
> What security-constraints do i need, and where do i have to put them?
The basis for Dhaval's suggestion is section 12 of the servlet spec,
obtainable here:
http://jcp.org/aboutJava/communityprocess/final/
> From: cifroes [mailto:[EMAIL PROTECTED]
> Subject: timestamp of tomcat startup?
>
> Is there a easy way to get this timestamp without modifying tomcat
> source code?
The message is logged by org/apache/catalina/startup/Catalina.java, but
it does not appear to save the time value anywhere. I
Try this:
Secure servlet
/path/to/servlet/*
GET
POST
CONFIDENTIAL
Regards,
D
--- Jan Strauch <[EMAIL PROTECTED]> wrote:
> Hello world!
>
> My problem :
>
> I want some of my servlets to b
Hello world!
My problem :
I want some of my servlets to be accessible only when HTTPS is used:
https:/ succeeds
http:/ gives an error
The first step seems to work, but when i have logged in into the secure area,
load a page using https, delete the "s" and reload, the page is also loaded.
Hi,
Following is configuration for Tomcat Connection pool which you have to write
in your context.xml.
If you are using Tomcat Admin, you specify parameters in web GUI.
maxWait
5000
maxActive
10
url
*JDBC URL*
driv
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Michael,
Michael Ni wrote:
> even with connection pooling, how many connections are we looking at
> here? if my project works as intended, im predicting from 30 to 1000
> poeple simultaneously hitting tomcat and sql server.
What you really need to k
great replies from everyone.
even with connection pooling, how many connections are we looking at here?
if my project works as intended, im predicting from 30 to 1000 poeple
simultaneously hitting tomcat and sql server.
i remember when websites like friendster.com came out, it was really slo
thx caroline
From: Caroline Jen <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List"
To: Tomcat Users List
Subject: Re: web application - student need help
Date: Fri, 5 Jan 2007 13:42:18 -0800 (PST)
Did you configure a connection pool in Tomcat? Then,
get a connection object from the pool for
start with DriverManagerConnectionFactory
http://svn.apache.org/viewvc/jakarta/commons/proper/dbcp/trunk/doc/ManualPoolingDriverExample.java?view=log
Then use a connection from the DriverManagerConnectionFactory to populate a
Datasource
http://svn.apache.org/viewvc/jakarta/commons/proper/dbcp/tru
Hi,
catalina.out hast the time Tomcat took to startup but I need to know the
timestamp [date of when tomcat started] of when tomcat is ready to
receive requests.
Is there a easy way to get this timestamp without modifying tomcat
source code?
TIA,
-- cifroes
--
You need to configure your database connection pool so that it accepts
unlimited users or the certain limit that you require.
Check the tomcat website for the syntax.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Michael,
Michael Ni wrote:
> i don't get any error when there isn't that much traffic
>
> but i dont close my jdbc connections, could that be a problem?
Oh, yeah. Failing to close connections is very likely to give you
errors, as you will end up
Michael Ni wrote:
public ResultSet getData(String queryStr) throws Exception
{
try {
DBConstants db = new DBConstants();
Class.forName(db.getDrivername());
Connection conn;
conn =
DriverManager.getConnection("jdbc:microsoft:sqlserver:
Did you configure a connection pool in Tomcat? Then,
get a connection object from the pool for each data
search method invocation.
I am at work now. I do not have the configuration
with me. I can post the configuration and the
database access code when I get home.
Meanwhile, do a search on the
i don't get any error when there isn't that much traffic
but i dont close my jdbc connections, could that be a problem?
this is the function i use to query
public ResultSet getData(String queryStr) throws E
Michael Ni wrote:
the web application uses simple queries, like search a table for a
certain condition. i realize when multiple people access the database
it hangs, and causes the jsp pages to error.
Just a guess, your connection to the database is a problem, perhaps
errors in queries, not c
Hi i'm doing a web application to help manage players for the online game
Final Fantasy XI.
Im using tomcat, sqlserver2000, and jsp.
both sqlserver and tomcat are set up on the same computer.
computer is pentium 2.8 GHZ with 512 RAM.
im on cable internet
the web application uses simple queries
Hello Christopher,
Thanks for the help. I used your option #3 and it is working. I could not
use 2nd option as the requirement is to use /url1.
I set the cookie path "/" and it works fine now.
Thank you.
From: Christopher Schultz <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List"
To: Tomcat
I agree with you! So, I have a plain ant project, too which let me do
all things that are necessary for deployment (war, remote-deploy etc.).
It's always a good idea to have a build-system that allows building and
deploying without user-interaction for automated things.
But that isn't a problem wi
Thanks for all of your help...it is much appreciated! It just goes to show
you that you can get too close to a problem and not consider possible causes
that seem somewhat abstract. You're comments about the browser cache are
most reasonable. It could very well be the case.
Thanks again,
Fran
Suresh babu wrote:
Hi all
I have one question regarding http and https:
Lets say I open a pop up page from https, pop window will be opened in
https
mode as main window is opened in https and I have action in pop up
where it
leave https mode and enter in to http modeIf i want put value
what I am saying is that I don't believe java.lang.Float.parseFloat
parses according to the local, it always uses "." and not ","
so changing your locale will most likely not affect the Float.parseFloat
operation.
hence you should use the java.text.DecimalFormat
Filip
Dharma General wrote:
fi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
To whom it may concern,
Dharma General wrote:
> would u plz tell me how can i configure tomcat to turkey locale?
Tomcat should default to the locale of the JVM, so you should switch the
locale of your JVM in order to get Tomcat into Turkey's locale.
> From: Fran Varin [mailto:[EMAIL PROTECTED]
> Subject: RE: installing the admin on 5.5
>
> So, it appears that the issue has been resolved but,
> I must admit I'm uncomfortable with the resolution,
> specifically in not knowing what actually addressed
> the issue.
I have seen problems with the
filip, thanks. but turkey locale uses "," to denote decimal vs "." in USA.
for further testing, plz tell me what changes i need to make to tomcat to
use turkey locale so that i can test my app in usa?
On 1/4/07, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote:
it's your "," character.
you nee
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Roger,
Varley, Roger wrote:
> I've finally sussed it. Because we're still in development, we've
> been fairly cavalier about how we've been calling the initial servlet
> (as localhost/servlet, hostname/servlet and by IP address/servlet)
> and some of
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Deval,
DEVAL SHAH wrote:
> I notice that because of url rewriting [RewriteRule] my cookie is not
> being passed to Tomcat.
It's not your rewrite rule that is dropping your cookie. It's the fact
that you are changing the path of the URI.
> RewriteRul
>
> Hi
>
> I've been undertaking a major tomcat upgrade, moving from
> Tomcat 4.1.31 running on Win NT with IIS 1.2 to Tomcat 5.5.20
> running on Win 2003 Server with IIS 6.0. I'm just about
> there, but I've got a problem with a servlet that runs fine
> under the old setup but exhibits stran
gents,
thanks for your response.
would u plz tell me how can i configure tomcat to turkey locale? what
changes are required? fyi, my tomcat apache 5.x is presently configured for
US English locale.
thx again.
On 1/4/07, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote:
it's your "," charact
Hi!
I just want to enlight you about FireBug which is a FireFox plugin which
has a lot of stuff, including webserver communication:
http://www.getfirebug.com/
It's a beta but its very promising and nice.
Another good way to se if a page is cached during debugging is a sysout
to the logfile, tha
Well...that worked but, I have no idea why. The directory structure looks
exactly as it did before. I also started Tomcat from within Eclipse and
tested, that worked as well. So, it appears that the issue has been resolved
but, I must admit I'm uncomfortable with the resolution, specifically in no
home made (the purpose is to explore the running time in inspecting private
variables with JNI)
-Message d'origine-
De : Rodrigo Assunção [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 5 janvier 2007 11:41
À : Tomcat Users List
Objet : Re: Tomcat 5 Memory Leak
Which leak tracker tool are yo
Hi,
why dont you change "webapps" directory to a empty directory?
And add your wanted applications as context.
Iratxe
-
Iratxe Etxebarria Sainz-Ezkerra
Soporte Middleware ([EMAIL PROTECTED])
External Global Services
Tfno: 946 584 773 / 628 717 3
Which leak tracker tool are you using?
Denis Barthélemy wrote:
Hi,
Our java based application is running on tomcat 5.0.3 on linux with JRE
1.4.2_08.
Since the migration from tomcat 5.0.27 to 5.0.30, a bunch of our
application's sessions are not correctly closed and so they stay
I am following up on my own thread because I found the culprit!
I turns out that the JVM was leaking native memory (that's why profiling
the heap usage did not show anything, nor tracking file descriptors).
The process virtual size (VSZ in top) was growing slowly but surely,
until the OS start
55 matches
Mail list logo