Hi,
I am using Tomcat 4.0 and MySQL 4.0.14 on WIn2K Professional.
In Server.XML of Tomcat, I use:
Realm className=org.apache.catalina.realm.JDBCRealm debug=99
driverName=org.gjt.mm.mysql.Driver
connectionURL=jdbc:mysql://localhost/authority?user=leeson;password=
I dont think the java versi0on is necessarily a problem however what you
need to remeber is when you install the service, you fix the settings of
the JVM. If you want to control memory settings, you need to do it in the
tomcat.exe command which you run to install the service. My server is
Thanks very much!
Y, I have tried. But always throw org.xml.sax.SAXParseException said a ;
is needed to end the quote of password.
Any advice?
- Original Message -
From: Emmanuel G. Dialynas [EMAIL PROTECTED]
To: engp0510 [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent:
Split the user and pass off of the URL, and into separate properties...
stu
-Original Message-
From: engp0510 [mailto:[EMAIL PROTECTED]
Sent: 03 August 2003 11:40
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; Emmanuel G.
Dialynas
Subject: Re: HELP!! TOMCAT and MYSQL
Thanks very much!
Y, I
Thanks Stuart.
I always do this when I use JDBC in normal application.
But during configing the Tomcat Server.XML, there is no instruction about
separated properties for this REALM.
Regards
- Original Message -
From: Stuart MacPherson [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL
I have got the binaries for linux, does anyone know how do I install those binaries on
linux workstation. I don't know much about linux and I need to know what the commands
are and how to do it.
There is nothing in the Readme File that lets me know how to install the Binaries on
linux machines
Hi,
I have an text fields in a form that will contain UTF-8 characters e.g.
''. I can retrieve utf-8 chars from the db and display them correctly
in jsps via tomcat. The only problem comes with submiting forms to
tomcat. request.getParameter() returns the incorrect value for the char
e.g.
I agree with your view on memory usage on a client, but what I am not clear
on is do those settings constitute a hard limit for Tomcat/JVM? And if so,
what happens when the limit is exceeded, or it attempts to. What we see now
is a gradual increase in memory usage over a 10 - 15 minute period,
Hello,
In my Application I do some configuration via environment-entries in the
server.xml.
Is there any standard way to map this env-table to a database-table? This
would be quite comfortable for my customer to edit the preferences via a
database-connected servlet instead of editing the
The settings are not controlled in the startup.bat - if you want to
control them from the command line, you set the environment variable
JAVA_OPTS with them. The default settings for a Sun JVM is to allow a
max heap of 64m - if you try to exceed this,
java.lang.OutOfMemoryException s will be
If you need to run NT as a service, use this tool to set it up. It makes life
pretty nice.
http://web.bvu.edu/staff/david/tcservcfg/
-Tim
http://jakarta.apache.org/tomcat/faq/windows.html
Robert Porter wrote:
I agree with your view on memory usage on a client, but what I am not clear
on is do
thanks been looking for something like that for ages!
Tim Funk [EMAIL PROTECTED]
03/08/2003 16:52
Please respond to Tomcat Users List
To: Tomcat Users List [EMAIL PROTECTED]
cc:
Subject:Re: Tomcat 4.1x running as NT Service Issue
If you need to run NT
Found that while googling my issue, it looks very promising, but I need
something we can include in a custom setup that will be run by users.
Although that tool will help in testing! Seen anything like it for deploying
webapps?
-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
well in that case the tomcat.exe included with the tomcat dist is fine
once you have fixed your setup. It is simply run as a batch script, or as
part of an install (you execute tomcat.exe once with the relevant
parameters to install it)
Pete
Robert Porter [EMAIL PROTECTED]
03/08/2003
How do i programmatically authenticate to the servlet container usin Tomcat?
I was unable to find the appropriate API call to do so.
The reason i need this is because the web app that i have has a self
registration feature (like most other web apps). Currently without making
the API call, i first
I am still having trouble trying to use Tomcat with the IBM JVM 1.4 on AIX. I took
the 4.1.26 jsse package and replaced to tomcat-util 4.1.24 jsse package files. I was
running everything with 4.1.24 except for the 4.1.26 jsse package. When I brought
Tomcat up I received some reflection
We are running Tomcat 4.1.18 on Solaris 8 and have
been having issues with JSP reloading. We have 4
instances of Tomcat running on two boxes. There are
two instances on each box that are load balanced
through mod_jk. Because we are a content based site,
and most of our content is not database
Hi,
ive got a problem currently with the error-page directive doing nothing
when I use it in an app (on either tomcat 4.1.18 or .27). At the bottom
of my app's web.xml, I have the following tag:
error-page
error-code500/error-code
location/errorPages/500x.jsp/location
/error-page
I have the following symbolic link under webapps/ROOT
lrwxrwxrwx1 root root 9 Aug 2 10:08 orca - /mnt/orca
/mnt/orca is an NFS mounted filesytems containing some web content.
I added allowLinking=true to the ROOT context in conf/server.xml
!-- Tomcat Root Context --
Context path=
Hi Rick !
I've found a better way to precise the default directory for a particular
subprocess :
rather than using : exec(String command) to launch your process,
use : exec (String command, null, File directory) where directory is the
default dir for your external routine !!
It's working well for
I am using Tomcat 4.1.12-LE-jdk14 and am trying to create a resource to
return an org.apache.ojb.broker.PersistenceBroker object from the Apache
OJB 1.0.rc3 distribution using my own implementation of the
javax.naming.spi.ObjectFactory class called FLGPersistentBrokerFactory.
Although Tomcat
I reinstalled Tomcat using the ServiceCfg tool mentioned previously and
badda boom badda bing! No more creeping memory loss, at least not over the
past several hours. I set some limits on memory usage etc. Am now trying
to determine what exactly, I have to pass as parameters to the tomcat.exe
I am really having a bad time using Apache Tomcat for the first time...
But I won't give up... Just need help...
I have a JSP page that works with a javabean (a simple test page), just
look at the code:
%@ page contentType=text/html; charset=iso-8859-1 language=java
import=java.sql.* errorPage=
Hi,
is there a way to set the filename in a servlet when sending a file with
response.setContentType(binary/octet-stream); and sending binary data with
the ServletoutputStream?
Thanks,
Philipp
-
To unsubscribe, e-mail:
http://jakarta.apache.org/tomcat/faq/misc.html#saveas
Be warned that this may not work for all browsers or might not work for
different versions or patch levels of the same browser.
-Tim
Philipp Leusmann wrote:
Hi,
is there a way to set the filename in a servlet when sending a file with
Better than nothing.
Thanks
-Ursprungliche Nachricht-
Von: Tim Funk [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 4. August 2003 00:33
An: Tomcat Users List
Betreff: Re: Setting filename when sending binary/octet-stream
http://jakarta.apache.org/tomcat/faq/misc.html#saveas
Be
Sorry if this sounds stupid but, can you reproduce with 4.1.27? (Maybe by
luck this issue is already fixed before more probing questions)
-Tim
Greg H wrote:
We are running Tomcat 4.1.18 on Solaris 8 and have
been having issues with JSP reloading. We have 4
instances of Tomcat running on two
There is no API available to webapps for this functionality.
To get around this gap, you'll probably need to look at writing your own
Valve. What and how - I am am unsure based on the description below.
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/valve.html
Appears I spoke to soon. While memory usage is much better during the
application execution, it still eventually begins a steep climb in terms of
memory consumption, even with setting the various memory parameters on the
JVM. What is most baffling to me is that this behavior does not occur when
Has anyone got any clues on JVM tuning for Tomcat on Windows 2000, Sun 141
or 142? Im playing with some of the young/old generation and GC settings
but am having trouble deciding what is best. I think that I should
probably push out the young generation to be a larger than normal amount
as
Transmit Report:
To: [EMAIL PROTECTED], 402 Local User Inbox Full ([EMAIL PROTECTED])
---BeginMessage---
If this is not an appropriate list to ask design questions, could someone
point me to a more suitable resource? Perhaps the tomcat-dev list?
Thank you,
-Sasha Borodin
On 7/28/03 11:35,
This problem was caused by your browser. The browser will use its own
encoding to encode form values post back. You need set proper encoding to
request - request.setEncoding(BROWSER_ENCODING). Or you can write a filter
to simplify your work.
- Original Message -
From: Nathan Coast [EMAIL
It seems caused by a wrong user realm configuration. Check server.xml under
%TOMCAT_HOME%/conf, remove or correct user realm part.
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, August 03, 2003 8:26 AM
Subject: Tomcat startup problems
Hello,
I am
Hi All.
I use .htpasswd to protect some directories/vhosts which are
OpenSSL-enabled.
Ideally I would like to use MD5 rather than Basic for logging on.
How does this work togethr with the OpenSSL encryption ?
This odd idea lingers in the back of my mind that OpenSSL might encrypt
the encrypted
Try:
connectionURL=jdbc:mysql://localhost/authority?user=leesonpassword=
At 04:32 ìì 03/08/03 +0800, engp0510 wrote:
Hi,
I am using Tomcat 4.0 and MySQL 4.0.14 on WIn2K Professional.
In Server.XML of Tomcat, I use:
Realm className=org.apache.catalina.realm.JDBCRealm debug=99
Transmit Report:
To: [EMAIL PROTECTED], 402 Local User Inbox Full ([EMAIL PROTECTED])
---BeginMessage---
Hi,
Although I haven't heard of anyone doing this you could add in your
httpd.conf:
JkSet config.file /full/system/path/to/workers2.properties
I don't see why you couldn't change that to
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
engp0510 wrote:
Thanks very much!
Y, I have tried. But always throw org.xml.sax.SAXParseException said a ;
is needed to end the quote of password.
Any advice?
Tomcat's config file is in XML. The 'XML way' to produce an ampersand
() is to use the
I am not sure why we are not running 1.4, but the image from corporate has
1.3.1 and we have been told to live with it. We are running pretty much the
same configuration from what you describe but with drastically different
results.
I am checking on JVM settings, and I will try what you
38 matches
Mail list logo