Thanks Yoav - one last dumb question and I will leave you alone! So by adding that to
my environment variables list, Tomcat knows to add it as a startup parameter for Java?
Or do I need to specify something else in the setclasspath.bat file as well?? Is there
an easy way to check the JVM to see
vices from server.xml.
Remove all unneeded webapps (examples, docs, etc.) from tomcat.
If you're using a logging system that allows this configuration, turn
off debug-level statements.
Yoav Shapira
Millennium ChemInformatics
>-Original Message-
>From: Geoff Peters [mailto:[E
is significant.
I would say it is probably a good practice to use this
anyway, even if you do not expect heavy traffic.
--- Geoff Peters <[EMAIL PROTECTED]> wrote:
> Andoni - thanks for the advice - someone else just
> mentioned the same thing in a reply (Riaan) -
> setting t
ficant.
I would say it is probably a good practice to use this
anyway, even if you do not expect heavy traffic.
--- Geoff Peters <[EMAIL PROTECTED]> wrote:
> Andoni - thanks for the advice - someone else just
> mentioned the same thing in a reply (Riaan) -
> setting the datasource c
. e.g. if your max number of
connections is, 170 (like mine) then set your initial pool size to 140-150
so that there is practically no connection opening/closing done by your
program while it's running.
Andoni.
- Original Message -
From: "Geoff Peters" <[EMAIL PROTE
performance over this 3-4 hour period??
Application is a series of MySQL based reports (all servlets), containing several
select statements and using the MySQL JDBC driver.
Thanks for any advice!
Geoff
Geoff Peters, SCJPPhone : (441) 296-9640
Applications DeveloperFax: (441) 292
(File.java:1313)
Either that, or you ran out of swap and/or temp disk space.
John
On Wed, 2 Apr 2003 10:37:50 -0400, Geoff Peters <[EMAIL PROTECTED]> wrote:
> Ok here is a new one to me - on my dev box (WIn 2K server, Tomcat 4.1.18)
> , plugging along this morning, not working with
I would agree that (surprisingly?) it is probably a windows issue, but "no" to both of
your suggestions, it is completely sitting on the local file system, and I didn't
manually change permissions on that folder - however if it happens again I will check
and see if they were changed somehow.
Ok here is a new one to me - on my dev box (WIn 2K server, Tomcat 4.1.18), plugging
along this morning, not working with config files at all, when I get the "servlet not
available" message, on servlets and .html pages. Can't start anything from the
manager, Tomcat will restart, but still cannot
I am using Tomcat 4.1.18, MySQL 3.23, newest driver, running on Linux 7.3. Problem is
similar to others who have posted on this subject, just want some advice (can't seem
to get a definite answer).
I'm not using connection pooling. If I walk away and leave the server running for
several hours,
Sandra - I have had similar experiences with similar frustrating results, and it
always seems to be placement of the tags - for some reason
sometimes you need closing tags, other times you don't, I can't seem to
figure out when to use them and when not to, so I end up fiddling around with var
Waayy off topic here, just wanted to pass along a link to a very useful and well
built Java API for reading from and writing to Excel spreadsheets, works like a charm.
I was so impressed I had to pass it along to someone!
http://www.andykhan.com/
Geoff
-
index.html
index.htm
For more detail see section 9.9 of the Servlet 2.3 Spec from sun.
-Tim
Geoff Peters wrote:
> Dumb question here, but how do I change the default document in a webapp from
>"index.html" in Tomcat Standalone 4.1.18?
&g
Dumb question here, but how do I change the default document in a webapp from
"index.html" in Tomcat Standalone 4.1.18?
Thanks, Geoff
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Gregg - Are Tomcat and MySQL on the same box? I had some previous issues with not
being able to reach the box, also had to do a lot of friggin with the permissions in
MySQL. I am assuming you have granted permission to 'uname' @ 'localhost'
Here is a copy of my server.xml as is right now and fu
Too funny John!
-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 12, 2003 4:37 PM
To: 'Tomcat Users List'
Subject: RE: JTHOWTO
Excuse me, Mr. Ricker, I don't believe we have ever met before, but if we
have and I have forgotten *please* excuse m
Laxmikanth - I was getting the exact same exception about a week ago, I spent a lot of
time playing with MySQL and TOmcat, came to discover that it was something to so with
the server where MYSQL was residing, my network admin saw the requests form TOmcat
hitting the box, but it was not acceptin
directory="logs" prefix="gpeters_access_log."
>> suffix=".txt"
>> pattern="common" resolveHosts="false"/>
>>
>> > directory="logs" prefix="gpeters_log." suffix=".
James - If you can find it the WROX book (Professional Apache Tomcat) - ISBN
1-86100-773-6 has pretty good examples of everything - I used it today to help me
debug a JDBC realm, it is pretty good step by step instruction
Geoff
-Original Message-
From: James R. Marcus [mailto:[E
SERVER.XML:
Geoff Peters, BScFE, AIT Phone : (441
somewhere
before I try to download and update MySQL?
Thanks, Geoff
Geoff Peters, BScFE, AIT Phone : (441) 296-9640
Applications DeveloperFax: (441) 292-1509
Logic Communications E-mail : [EMAIL PROTECTED]
12 Par-La-Ville Road WWW: http://www.logic.bm
Hami
Friday, January 31, 2003 2:21 PM
To: 'Tomcat Users List'
Subject: RE: MySQL/Tomcat startup problem
Try using an & in place of the ; in your connectionURL:
connectionURL="jdbc:mysql://javadev.logic.bm/steve?user=user&password=pa
ssword"
> -Original Message-
Hello again - I have spent most of the day on this and don't seem to be getting
anywhere, searched the archives here and the java.sun.com forums to no avail. Running
Tomcat 4.1.18 on my dev box Win2K Server, running MySQL 3.23.49 on the same network on
a Redhat 7.3 install. I am simply trying t
p.jar;server/catalina.jar"
org.apache.catalina.startup.Bootstrap start
HTH,
Matt
> -----Original Message-
> From: Geoff Peters [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 31, 2003 6:52 AM
> To: [EMAIL PROTECTED]
> Subject: debugging help
>
>
> I am trying to configure a new realm fo
I am trying to configure a new realm for MySQL, and I am finding debuggin problems at
this point is next to impossible and very frustrating. When I try to start Tomcat, the
console window pops up for a second, an exception message is thrown and the window
closes before I can read it. The log fil
How about a metric adjustable wrench?
-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 24, 2003 10:04 AM
To: 'Tomcat Users List'
Subject: RE: tomcat-server
LOL
I used to run a pizza joint. I loved sending the new guy to one of the
other stores in
. Every servlet can then get it by doing
getServletContext().getInitParameter("driver");
You don't need to declare your servlets in $CATALINA_HOME/conf/web.xml,
only in your own webapp's web.xml.
Yoav Shapira
Millennium ChemInformatics
>-Original Message-
>From: G
Nicola - Read the thread from yesterday with the titles "Can't find servlet" - I had
the exact same problem, it has to do with the invoker servlet - you need to add
specific mappings in your web.xml file for each servlet, and disable the mappings for
the invoker servlet under /conf/web.xml, it i
n this list can explain.
John
> -----Original Message-
> From: Geoff Peters [mailto:[EMAIL PROTECTED]]
> Sent: Monday, January 13, 2003 4:19 PM
> To: Tomcat Users List
> Subject: RE: Can't find servlet
>
>
> John - You solved another one of my problems that I wasn't
ust one context-param for this. Every servlet can then get it by doing
getServletContext().getInitParameter("driver");
You don't need to declare your servlets in $CATALINA_HOME/conf/web.xml,
only in your own webapp's web.xml.
Yoav Shapira
Millennium ChemInformatics
>-----Ori
Bill - I recently purchased "Mastering Tomcat Development" (Wiley)by Peter Harrison
and Ian McFarland, and "Professional Apache Tomcat" - WROX (9 authors). The Goodwill
book was the first one I purchased, and it was good for initial setup and basic
application deployment, however as Subir said o
John - You solved another one of my problems that I wasn't even sure that I had! (did
that make sense??) If I uncomment that servlet-mapping block for the invoker my
servlet works, if not, my servlet throws the "servlet not available" error. The funny
thing is I have declared all of my servlets
r, which I don't want to do.
Thanks!!
Geoff
Geoff Peters, BScFE, AIT Phone : (441) 296-9640
Applications DeveloperFax: (441) 292-1509
Logic Communications E-mail : [EMAIL PROTECTED]
12 Par-La-Ville Road WWW: http://www.logic.bm
Hamilton, Bermuda
r, which I don't want to do.
Thanks!!
Geoff
Geoff Peters, BScFE, AIT Phone : (441) 296-9640
Applications DeveloperFax: (441) 292-1509
Logic Communications E-mail : [EMAIL PROTECTED]
12 Par-La-Ville Road WWW: http://www.logic.bm
Hamilton, Bermuda
r, which I don't want to do.
Thanks!!
Geoff
Geoff Peters, BScFE, AIT Phone : (441) 296-9640
Applications DeveloperFax: (441) 292-1509
Logic Communications E-mail : [EMAIL PROTECTED]
12 Par-La-Ville Road WWW: http://www.logic.bm
Hamilton, Bermuda
I've got the James Goodwill book - it is good for a beginner to Tomcat and servlet /
jsp technology, very easy to follow and well written - but not a lot of detail on
specific tweaking / configuration issues. There is a new Tomcat book being published
this month or next month (can't remember) -
e job
of taking down Tomcat.
Cheers,
Larry
> -Original Message-----
> From: Geoff Peters [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 11, 2002 8:13 AM
> To: Tomcat Users List
> Subject: RE: Tomcat Unexplained Shutdown
>
>
> Here are the uncompiled servlets (th
mysql (Although I personally don't like it much it might be good
enough for you: No Views, No Subselects)
http://www.mysql.com/downloads/mysql-max-3.23.html
- postgreSQL (I like it more, but it's much harder to get started, esp.
under windows)
> -Ursprüngliche Nachricht-
&
e they are shared
between
two concurrent requests to the same servlet.
- Maybe you should use Throwable instead of Exception
try {
} catch {Throwable ex}
}
This way you will have also control about the Errors that might occur.
> -Ursprüngliche Nachricht-
> Von: Geoff Peter
from microsoft. (they licensed it from merant)
http://msdn.microsoft.com/downloads/sample.asp?url=/MSDN-FILES/027/001/7
79/msdncompositedoc.xml&frame=true
I don't think that the IIS is a cause in your case.
My second guess is to try the JDK from IBM
> -Ursprüngliche Nachricht-----
&g
- I bet the
driver is not thread safe. So if tomcat is trying to serve 2 different
requests concurrently, it may be dying in native odbc code.
-Tim
Geoff Peters wrote:
> Here are the uncompiled servlets (the ones that would possibly cause the shutdowns)
>- if you need the associated jar fi
lone or behind a web server
- If behind a web server which one, and which
connector in which version do you use ?
- Do you use any library that includes native libraries ?
- e.g. JDBC Driver
> -Ursprüngliche Nachricht-----
> Von: Geoff Peters [mailto:[EMAIL PROTECTED]]
> Gesendet:
-Original Message-
From: Geoff Peters
Sent: June 7, 2002 11:12 AM
To: Tomcat Users List
Subject: Tomcat Unexplained Shutdown
I am running Tomcat 4.0.2 on Windows NT 4.0, it is running a web based faxing
application that users can attach a document to send to a server process that
I am running Tomcat 4.0.2 on Windows NT 4.0, it is running a web based faxing
application that users can attach a document to send to a server process that sends it
as an attachment. This is done using servlets. Every so often, if a user uploads an
attachment the server doesn't like, it shuts d
ght I should ask.)
Thanks again.
Bao-Ha Dam Bui
[EMAIL PROTECTED]
S. Jude Medical, Inc
651.765.1018
-Original Message-
From: Geoff Peters [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 06, 2002 11:46 AM
To: Tomcat Users List
Subject: RE: Help! I am so stuck. Tomcat NT credential
Yo
again.
Bao-Ha Dam Bui
[EMAIL PROTECTED]
S. Jude Medical, Inc
651.765.1018
-Original Message-
From: Geoff Peters [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 06, 2002 11:46 AM
To: Tomcat Users List
Subject: RE: Help! I am so stuck. Tomcat NT credential
You can either use the tomcat-user
authentication set up against an Access
database, really straightforward...
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/realm-howto.html
Geoff
Geoff Peters, BScFE, AIT Phone : (441) 296-9640
Applications DeveloperFax: (441) 292-1509
Logic Communications E-mail
I take it from her 400 emails that she does not know who we are.
-Original Message-
From: anette mysel [mailto:[EMAIL PROTECTED]]
Sent: June 5, 2002 12:06 PM
To: Tomcat Users List
Subject: Re: CrossContext
PLEASE REMOVE ME FROM YOUR MAILING LIST. I DO NOT KNOW YOU. TAHNK
way when you create a new user a role is
automatically created for them with the role of "default role". Then you
don't have to change anything or rewrite the hasRole() method.
-Original Message-
From: Geoff Peters [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 04, 2002 1
I see, is to create your own realm by
extending JDBC Realm and overriding the hasRole()
method.
> -Ursprüngliche Nachricht-
> Von: Geoff Peters [mailto:[EMAIL PROTECTED]]
> Gesendet: Dienstag, 4. Juni 2002 13:19
> An: [EMAIL PROTECTED]
> Betreff: Bypassing user role assign
ther - any thoughts?
Thanks Geoff
Geoff Peters, BScFE, AIT Phone : (441) 296-9640
Applications DeveloperFax: (441) 292-1509
Logic Communications E-mail : [EMAIL PROTECTED]
12 Par-La-Ville Road WWW: http://www.logic.bm
Hamilton, Bermuda HM JX
--
To unsu
If you are referring to the com.oreilly package I have used it successfully for a
personal application, it works quite well, I'm not sure of any file size restriction
though
Problems with multi file upload though, as you need to have multiple "File" controls
on your HTML form (i.e. 3 uploa
Geoff Peters, BScFE, AIT Phone : (441) 296-9640
Applications DeveloperFax: (441) 292-1509
Logic Communications E-mail : [EMAIL PROTECTED]
12 Par-La-Ville Road WWW: http://www.logic.bm
Hamilton, Bermuda HM JX
--
To unsubscribe, e-mail: <mailto:[EM
53 matches
Mail list logo