Dear All,
I already put mysql database driver (jar file) in directory
catalina_home\common\lib and changed 8080 to 3306 but I got the error
"java.sql.SQLException: Unable to connect to any hosts due to exception:
java.net.ConnectException: Connection refused: connect". What should be the
When I try to precompile I get a null pointer exception deep in
.servlet.JasperLoader.loadClass. Happens for almost all of my .jsps.
They work fine with incremental compile.
They do use tags defined with JSTL .tag files. Tags call tags.
tomcat-6.0.10-src
If anyone knows of decent docs on p
I am aware of that. We are printing request parameters inside Servlet's
doPost method.
Dejan
Len Popp wrote:
> It is possible that Tomcat resuses request objects. I'm not sure it
> does, but it might. For that reason, you're only allowed to use the
> request object in your servlet's doGet or doPo
Hi,
You'll need to get the MySQL database driver and put them in the
{catalina_home}\common\lib folder. The driver can be easily obtained
through MySQL site.
BTW, as far as i know, the default port for MySQL database is 3306, so
you might wanna change that. 8080 is for Tomcat, not the database
Al Sparks wrote:
> Is there an even better way of doing this?
http://tomcat.apache.org/connectors-doc/reference/iis.html
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additi
Fabbris Pierluigi wrote:
> Thank Bill, where I can find the patch? I've Apache on Windows xp. :-(
The point Bill was making is there isn't any such patch and perhaps
you would like to write one.
Mark
-
To start a new topic, e-m
Nencho Lupanov wrote:
> any idea?
OS?
Tomcat version?
Steps you followed to configure SSL?
Full stack trace?
Mark
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional co
Johnny Kewl wrote:
> + One can dump the src into a Netbeans project, click compile and you have a
> working Tomcat.
Great. But you have no guarantee it will behave the same way as Tomcat
built with the standard build script. It should be the same but be
prepared for some odd, unexpected errors - p
On Tuesday 29 May 2007 01:14, Teh Noranis Mohd Aris wrote:
> Thank you so much for the reply. I've put "jdbc:mysql://localhost:8080/teh
> but I got the error java.lang.ClassNotFoundException:
> com.mysql.jdbc.Driver. I'm very new to using mysql database and servlet.
> Can you please explain to me h
Thank you so much for the reply. I've put "jdbc:mysql://localhost:8080/teh but
I got the error java.lang.ClassNotFoundException: com.mysql.jdbc.Driver. I'm
very new to using mysql database and servlet. Can you please explain to me how
to create the database name and its fields? Should I install
Hi,
would be ur database port, xxx will be ur database name
HTH
FooShyn
Teh Noranis Mohd Aris wrote:
Hi,
I would like to access mysql database from a servlet but I'm not sure what to initialize for the String connectionURL marked as "jdbc:mysql://localhost:/xxx" in the program b
Hi,
I would like to access mysql database from a servlet but I'm not sure what to
initialize for the String connectionURL marked as
"jdbc:mysql://localhost:/xxx" in the program below. I got this program from
the internet which I would like to run in my computer. Can anyone please
expl
I've got a Windows 2000 server running IIS (IIS 5.x) and I've
installed Apache Tomcat 6.0. I want to install the ISAPI redirector.
I've accessed the following instructions:
http://tomcat.apache.org/connectors-doc-archive/jk2/jk2/installhowto.html
but according to one post I've read on this fo
It is possible that Tomcat resuses request objects. I'm not sure it
does, but it might. For that reason, you're only allowed to use the
request object in your servlet's doGet or doPost method, you can't
stash it somewhere (e.g. in the HttpSession) and access it later.
(This is mentioned in the ser
Well, you didn't say what version of Tomcat you're using. Those files
do indeed exist, in Tomcat 5.5. For Tomcat 6, in the lib directory
you'll see 3 Jasper jars. Try removing those. I don't know if it'll
cause any problems, but you'll only save a couple of MB of disk space,
and no runtime memory
Rashmi Rubdi wrote:
> It is hard to tell what could be the problem without knowing full
> details of how the 2 projects Host, Context etc are configured.
>
> Are they at the ROOT context, or other Context?
No, they are on different contexts (not ROOT).
>
> Are they on a virtual host or all of them
You might try following the real documentation:
http://tomcat.apache.org/tomcat-5.5-doc/apr.html#HTTPS
- Chuck
Thank you, actually I found an old message from you when I searched the archive
and that is how I thought to remove the native library in order to get my
install to work again.
I d
I allow Eclipse to generate and update my web.xml file for me as part of a
dynamic web project. When it generates the web.xml, it uses project facets to
add namespaces to my web.xml file as below:
http://www.w3.org/2001/XMLSchema-instance";
xmlns="http://java.sun.com/xml/ns/javaee";
xmlns:web=
On 5/28/07, lightbulb432 <[EMAIL PROTECTED]> wrote:
Thanks for your response. For the first of the two options you presented,
what exactly happens during the web.xml autogeneration? Will it simply
change only the elements but leave everything else as is in my
current web.xml, including ? Is the
Hi Chuck,
Thanks for that. I've now downloaded and attempted to set up the jk
connector - I think I've got a little further but I'm still not seeing the
page that should be served up by Tomcat.
I've set up a simple set of config files (essentially just grabbing them
from the jakarta how-to and c
On 5/28/07, Dejan Krsmanovic <[EMAIL PROTECTED]> wrote:
We have two applications running on the same Tomcat instance. These two
applications are used by completely different people and one of them has
much higher traffic than another one.
Recently we have upgraded to Tomcat 6.10 and start experie
Also, use tcnative-1.1.9. I also encountered problems with 1.1.10.
--Lakshmi
-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: Monday, May 28, 2007 7:38 AM
To: Tomcat Users List
Subject: RE: Tomcat Native Library Breaks SSL
> From: Mike Grandmaison [mailto
If I add a new client-certificate to the keystore, how can I force Tomcat to
reload the keystore without restarting tomcat?
Can I set a timer to say tomcat has to reload the keystore every xx-seconds?
Or is there any way to program this?
Thank you for your help
Sam
-
Thank Bill, where I can find the patch? I've Apache on Windows xp. :-(
Fabbris Pierluigi
Bill Barker ha scritto:
The Tomcat auto-config was originally designed for Httpd 1.3.x (yes, it's
that old :). It hasn't really kept up with Httpd, so some of the directives
are now out of date. Patches ar
Albert Shih wrote:
I've install from ports (FreeBSD) the tomcat 5.5 (need by my web-applications).
Forget this one. The best and easiest way is:
1. install java ;-)
2. create account dedicated for tomcat
3. download tar.gz from tomcat website, unpack, configure according
to guide
Thanks for your response. For the first of the two options you presented,
what exactly happens during the web.xml autogeneration? Will it simply
change only the elements but leave everything else as is in my
current web.xml, including ? Is there anything else it
changes?
The less it changes, the
I can't seem to find either of those two files in the Tomcat 6
distribution...interesting.
Bill Barker-2 wrote:
>
>
> "lightbulb432" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>>
>> The JSP spec says that if you precompile JSPs you can reduce the JSP
>> container footprint
Hi all
I've a very very newbie on tomcat (first day I try to configure tomcat)...
I've install from ports (FreeBSD) the tomcat 5.5 (need by my web-applications).
The applications I need to run is configured by admin tomcat. Well for this
I've install admin module and it seem everything working (
> From: Mike Grandmaison [mailto:[EMAIL PROTECTED]
> Subject: Tomcat Native Library Breaks SSL
>
> Windows XP
> Tomcat 5.5.23
> http://tomcat.heanet.ie/native/1.1.10/binaries/win32/
>
> I followed the openssl instructions at
> http://www.galatea.com/flashguides/tomcat-ssl-5-unix
> to setup my s
nope, not at this time
Filip
Corobitsyn Roman wrote:
Hello list
Is there opportunity to replicate configuration files for nodes of
cluster?
Thx
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail
I am working with
Windows XP
Tomcat 5.5.23
http://tomcat.heanet.ie/native/1.1.10/binaries/win32/
I followed the openssl instructions at
http://www.galatea.com/flashguides/tomcat-ssl-5-unix
to setup my ssl.
When I start tomcat and try to connect to localhost:8443 the browser sits there
l
We have two applications running on the same Tomcat instance. These two
applications are used by completely different people and one of them has
much higher traffic than another one.
Recently we have upgraded to Tomcat 6.10 and start experiencing strange
behavior. After a lot of debugging, we have
Quoting Pierre Goupil <[EMAIL PROTECTED]>:
Hello all !
I'm using a Tomcat-based authentication. How do you do to set the session
timeout time ? I mean, the time of inactivity after which one the user must
re-login.
You can set the http session-time into the Web.xml file of you webapp:
Hello list
Is there opportunity to replicate configuration files for nodes of
cluster?
Thx
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMA
Pretty straight-forward : thanx a lot !
Pierre
2007/5/28, Olivier Bouchereau <[EMAIL PROTECTED]>:
Hello Pierre,
Try setting this in your tomcat /conf/web.xml.
It should work for all the contexts.
60
(the time is specified in mins)
Or you can set this in a specific webapp web.xml so t
There is a spelling mistake in what i wrote :
60
This should work better i guess ;)
2007/5/28, Olivier Bouchereau <[EMAIL PROTECTED]>:
Hello Pierre,
Try setting this in your tomcat /conf/web.xml.
It should work for all the contexts.
60
(the time is specified in mins)
Or you can set
Hello Pierre,
Try setting this in your tomcat /conf/web.xml.
It should work for all the contexts.
60
(the time is specified in mins)
Or you can set this in a specific webapp web.xml so that it would be the
only one with a 60 minutes session timeout.
Olivier
Le 28/05/07, Pierre Goupil <[EM
Hi all,
I have tomcat ssl configured ant tried to access it with a jsse client but i
get the following error:
[java] Exception in thread "main" org.apache.axis2.AxisFault:
Unconnected s
ockets not implemented; nested exception is:
[java] java.net.SocketException: Unconnected sockets
38 matches
Mail list logo