ving-weird-static-file-problems
>
> On Wed, Mar 13, 2024 at 3:46 AM Chuck Caldarale wrote:
>
> >
> > > On Mar 12, 2024, at 13:15, Sam wrote:
> > >
> > > As I said earlier, 404 error is only returned 1st time.
> > >
> > > Subsequent reques
placed under the path
> "/apache-tomcat-9.0.30/webapps/ROOT/wav/" not " /wav/ "
>
> On Tue, Mar 12, 2024 at 11:20 AM Sam wrote:
>
> > Hi Chris,
> >
> > I'm creating the audio file dynamically from DB and I check if the file
> > e
hultz <
ch...@christopherschultz.net> wrote:
> Sam,
>
> On 3/11/24 13:04, Sam wrote:
> > On the server side, I'm checking that file exists before returning the
> file
> > path to the browser. We are also dynamically creating pdf files this way
> > and no issues with accessin
24 16:46, Mark Thomas ha scritto:
> > On 11/03/2024 11:31, Sam wrote:
> >> Thanks for replying!!
> >>
> >> Yes audio files are generated dynamically from DB.in a Servlet.
> >>
> >> I've verified that audio file exists on file system before returni
link:
*Resources are cached by default.*
I'll try with *Cache-Control* request header and see if it helps!
Thank you!
On Mon, Mar 11, 2024 at 11:46 AM Mark Thomas wrote:
> On 11/03/2024 11:31, Sam wrote:
> > Thanks for replying!!
> >
> > Yes audio files are generated d
Thanks for replying!!
Yes audio files are generated dynamically from DB.in a Servlet.
I've verified that audio file exists on file system before returning the
html code that contains audo control.
On Mon, Mar 11, 2024, 5:22 a.m. Mark Thomas wrote:
> On 11/03/2024 02:21, Sam wrote:
&g
I just upgraded a legacy application from Tomcat 7 to Tomcat 9. It's
deployed as a war file. I'm facing a weird issue with audio files playback.
When loading a page that contains an audio file. First time Tomcat returns
404 error but if reloading the page, audio file is loaded properly and no
erro
I am also interested in this. In my case, we added an "Abort Request" link to
the placeholder page that is displayed while the calculation is on-going, but
naturally nobody ever clicks on it. :O I am solidly In favor of anything that
fixes this.
Sam Denton (he/him)
Advisor,
This is probably answered somewhere, but will Tomcat 9 support Jakarta EE as
well as Java EE?
Sam Denton
Advisor, Solutions Architect
Mobile (314) 827-4017
24x7 SBS Suppot (405) 312-9936
Advanced Leave Notice: I will be out from Fri, 12/23, thru Fri, 12/30
-Original Message-
From
I believe that "2>&1 1>D:\orx.debug\work_rii_tomcat\test.log" will first
redirect stderr to stdout, and then redirect stdout to the file, leaving stderr
pointing to the original stdout, which is presumably the terminal.
Try "1>D:\orx.debug\work_rii_tomcat\test.log 2>&1"
-Original Message--
Hi,
I've installed Apache Tomcat 9 on windows 2016 64bit server. Our SA
has requested a PKI certificate for the windows server feom our CA and got
one.
I need help with steps involved in using that existing certificate to
enable SSL on Tomcat.
Thank you
Sam
suggested.)
Thanks!
From: André Warnier
To: Tomcat Users List
Sent: Tuesday, March 12, 2013 4:44 AM
Subject: Re: Tomcat as a service: system tray?
Sam Takoy wrote:
> Hi,
>
> This is related to the questions that I asked yesterday and got such
> insightful responses (thanks!).
, but
http://tomcat.apache.org/tomcat-7.0-doc/windows-service-howto.html says "system
try".)
Thank you!
Sam
HUGE apologies, Pid! I had no idea that a changed subject would keep my email in a previous thread. I saw no visible
connection to your thread, I didn't know that my email client (Thunderbird) would pass the reference to your thread back
in the email header. I'll be sure to start a fresh thread
Hi, folks. I've got what I consider to be a fairly significant production implementation of Tomcat with, currently, 89
contexts in 30 hosts on two concurrent servers. Everything works fine ... except when it doesn't. As the number of
contexts and hosts have increased, there have been more and
Hi,
If you use APR, the private key & certificate should be in PEM format as
documented in http://tomcat.apache.org/tomcat-5.5-doc/apr.html#HTTPS
*SSLCertificateFile*
Name of the file that contains the server certificate. The format is
PEM-encoded.
SSLCertificateKeyFile
Name of the file that c
We changed cp to mv and there are no problems now :)
Thanks for the help
On Thu, Jan 13, 2011 at 8:16 PM, Sam Zilverberg wrote:
> We copy using cp...
> I'll try some of the ideas you guys mentioned and reply sometime next week
> after I have some results.
> Thanks for the great ideas !
>
> -Sam
>
Hi Angel,
I encountered the same problem as you with Tomcat 5.5.27, so I upgraded to
latest Tomcat to get rid of the certification error.
https://issues.apache.org/bugzilla/show_bug.cgi?id=37869 is bug report on
certification error.
Thank you.
On 17 January 2011 22:14, amcereijo cereijo wrote
We copy using cp...
I'll try some of the ideas you guys mentioned and reply sometime next week
after I have some results.
Thanks for the great ideas !
-Sam
e any ideas on what is causing this or what I can do to diagnose
this problem?
I'm clueless at the moment :(
Thanks
-Sam
Hi Scott,
The exception was caused by wrong setting in your original HTTPS connector
settings...
In Mark's email, you need to put conf/key1cert.pem in SSLCertificateFile
attribute and conf/key1.pem in SSLCertificateKeyFile attribute.
2010/11/24 Scott Li
> thanks Mark Thomas and Goo
Hi Scott,
My working HTTPS connector using APR settings as below:
Try to remove SSLEngine attribute and add protocol attribute, then re-start
Tomcat.
2010/11/24 Scott Li
> Hi All,
>I followed the instruction below
>
> http://tomcat.apache.org/tomcat-7.0-doc/config/http.html#SSL_Supp
ing SSL_library_init() which only adds the more commonly uses
SSL
algorithms. I am not sure where should I include this.
Can you advice how to solve my problem?
My APR connector settings:
On 13 November 2010 00:38, Mark Thomas wrote:
> On 12/11/2010 16:27, Goo Sam Kong wrote:
> > Hi
> >
Hi
I am running Tomcat 6.0.29 with JDK 1.6.0_22 on Windows XP.
I changed server.xml as below.
:
> > From: Goo Sam Kong [mailto:skgo...@gmail.com]
> > Subject: Re: Tomcat crashed after servicing too many HTTPS connection
> >
> > I did the same test on Tomcat 5.5.16 with JDK 1.5.0
> > update 7 on Windows XP
>
> Why are you mucking around with versions of T
Hi Pid,
Around 50 times, I press the refresh button on browser manually. I do not
want to see Tomcat crash.
I did the same test on Tomcat 5.5.16 with JDK 1.5.0 update 7 on Windows XP,
Tomcat is running fine without any issue.
On 6 July 2010 17:11, Pid wrote:
> On 06/07/2010 09:48, Goo
I am using Tomcat 5.5.15 with JDK 1.5.0 update 7 on RedHat Enterprise.
I tested my web application by refreshing a page many times, the Tomcat
server crashed and thrown exception below:
Jul 6, 2010 11:21:38 AM org.apache.tomcat.util.net.PoolTcpEndpoint
acceptSocket
SEVERE: Endpoint [SSL: ServerSo
Hi Ian,
Take a look on this
http://tp.its.yale.edu/pipermail/cas/2005-July/001337.html. Hope it helps.
On 24 June 2010 06:41, Konstantin Kolinko wrote:
> 2010/6/24 Mark Eggers :
> > Google is your friend?
> >
> >
> http://www.cb1inc.com/2007/04/30/converting-pfx-certificates-to-java-keystores/
Thanks Andre,
I saw there is a script doing zip in /etc. I am new to Linux, :-).
On 21 April 2010 17:45, André Warnier wrote:
> Goo Sam Kong wrote:
>
>> Hi Pid,
>>
>> My answer below.
>>
>> I saw the same file names in another server (not implement log4j y
On 21/04/2010 09:49, Pid wrote:
> > On 21/04/2010 09:35, Goo Sam Kong wrote:
> >> Oops, type too fast. I want catalina.out to be rotate daily but Tomcat
> >> give me extra files (catalina.out.1.gz, catalina.out.2.gz...catalina.
> >> out.30.gz). I don't want thos
file rotation anywhere.
On 21 April 2010 16:32, Goo Sam Kong wrote:
> I want catalina.out to be rotate daily but Tomcat give me extra files
> (catalina.out.1.gz, catalina.out.2.gz...catalina.out.30.gz). I don't those
> extra files. Any chance to disable that?
>
>
> On 21
I want catalina.out to be rotate daily but Tomcat give me extra files
(catalina.out.1.gz, catalina.out.2.gz...catalina.out.30.gz). I don't those
extra files. Any chance to disable that?
On 21 April 2010 16:26, Pid wrote:
> On 21/04/2010 09:07, Goo Sam Kong wrote:
> > Hi,
>
Hi,
I am using Log4j logging in Tomcat 5.5.16 with JDK 1.5.0 update 7 on RedHat
Linux server.
I followed the instructions on
http://tomcat.apache.org/tomcat-5.5-doc/logging.html to copy the
commons-logging-1.0.4.jar and log4j.jar into $CATALINA_HOME/common/lib
directory.
and created log4j.proper
each time so still a lot of work.
Any advice gratefully received.
--
-Sam
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
Hi all.
The tomcat documentation says the following:
If the web application is packaged as a WAR then /META-INF/context.xml
will be copied to $CATALINA_BASE/conf/[enginename]/[hostname]/ and
renamed to match the application's context path. Once this file
exists, it will not be replaced if a new WA
Hi Eric,
Try to put the subject DN (with OU equal to blank) in -dname field as below.
keytool -genkey -keystore -storepass -alias
-dname "CN=your cn,OU=,O=your company,C=SG"
On 9 April 2010 06:51, Eric DuToit wrote:
> I need to generate a keypair with the OU having a NULL value / blank
> (in
lf-signed "top of chain") into the
> truststorefile? via keytool?
>
> also
>
> does your web app's web.xml have the following?
>
> CLIENT-CERT
>
> and
>
> ...
>
> CONFIDENTIAL
>
>
>
>
>
>
> __
On 6 April 2010 20:39, wrote:
> Anyone using smartcards for auth?
>
> If so, have specific example code excerpt and server.xml?
Minimum configuration changes required for HTTPS connector in
server.xml is to add attributes below and amend value of clientAuth
attribute from false to true or want.
Hi John,
You need to enable HTTPS connector, refer to SSL Support section in
http://tomcat.apache.org/tomcat-5.5-doc/config/http.html to enable SSL
in server.xml.
On 24 March 2010 14:22, joon yoo wrote:
> We're in the process of extricating ourselves from a host who developed and
> managed our a
Thank you, Mark
On 23 March 2010 16:31, Mark Thomas wrote:
> On 23/03/2010 06:58, Goo Sam Kong wrote:
>> Hi Ben,
>>
>> Do you know why Tomcat take some time to close the connection? Is it
>> predictable?
>
> Tomcat does close the connection.
>
>> My Java
Hi Ben,
Do you know why Tomcat take some time to close the connection? Is it
predictable?
My Java client is authenticate with Tomcat server using USB based
security token through client certificate authentication. Even though
I removed the token, Java client still able to run until some times,
th
Hi
Is it possible Tomcat close SSL session upon every HTTP request?
I am running Tomcat 5.5.16 on JDK 1.5.0 update 7 on RedHat Enterprise.
Thank you.
Regards,
SamKong Goo
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apac
Hi Mark,
Will apache.org correct the Tomcat documentation or fix the code?
Thank you.
On 18 March 2010 11:16, Caldarale, Charles R wrote:
>> From: Goo Sam Kong [mailto:skgo...@gmail.com]
>> Subject: Re: How to set SSL session timeout in Tomcat 5.5.16
>>
>> OIC, so whe
Hi Chuck,
OIC, so when the code will be fixed?
On 18 March 2010 11:07, Caldarale, Charles R wrote:
>> From: Goo Sam Kong [mailto:skgo...@gmail.com]
>> Subject: Re: How to set SSL session timeout in Tomcat 5.5.16
>>
>> I noticed there is a error in Tomca
meout" in HTTPS connector.
Thank you.
On 17 March 2010 17:32, Goo Sam Kong wrote:
> Thank you very much Mark, I will try it tomorrow.
>
> On 17 March 2010 16:40, Mark Thomas wrote:
>> On 17/03/2010 00:49, Goo Sam Kong wrote:
>>> May I know how to set the SSL session timeout
Thank you very much Mark, I will try it tomorrow.
On 17 March 2010 16:40, Mark Thomas wrote:
> On 17/03/2010 00:49, Goo Sam Kong wrote:
>> May I know how to set the SSL session timeout in Tomcat 5.5.16. I am
>> running JDK 1.5.0 update 7 on RedHat Enterprise.
>
> 1. Upgrad
e, Charles R wrote:
>> From: Goo Sam Kong [mailto:skgo...@gmail.com]
>> Subject: Re: How to set SSL session timeout in Tomcat 5.5.16
>>
>> I attempted that, that is HTTP Session not SSL session.
>
> Depending on how your webapp is configured, you may have two HttpSes
know how to do/configure to invalidate SSL session?
Thank you.
Regards,
SamKong Goo
On 17 March 2010 10:30, Caldarale, Charles R wrote:
>> From: Goo Sam Kong [mailto:skgo...@gmail.com]
>> Subject: Re: How to set SSL session timeout in Tomcat 5.5.16
>>
>> Can I invalidate t
ale, Charles R wrote:
>> From: Goo Sam Kong [mailto:skgo...@gmail.com]
>> Subject: How to set SSL session timeout in Tomcat 5.5.16
>>
>> May I know how to set the SSL session timeout in Tomcat 5.5.16.
>
> The session timeout value is independent of the session security
May I know how to set the SSL session timeout in Tomcat 5.5.16. I am
running JDK 1.5.0 update 7 on RedHat Enterprise.
Thank you.
Regards,
SamKong Goo
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional c
le, and if so, could you please
suggest the correct way to set this up, or recommend modules that can be
implimented or configs that do this.
Many thanks in advance
Sam
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apach
hi, everybody,
I have some question on make jsvc on centos 5.3 linux.
and need your help.
thanks
my step is :
1. install centos
chosed: a)server, b)Server-GUI
2. install tomcat.
3. compile jsvc and failed.
[r...@hcrm jsvc-src]# make
make -C native all
make[1]: Entering directory `/
On Mon, Nov 2, 2009 at 5:03 AM, Pid wrote:
> On 02/11/2009 10:06, S Arvind wrote:
>
>> Hi Tomcat developers,
>>
>>Bascially my requirement is ability to control the session
>> sharing in browser. Till now we maintained each application as differnet
>> context but pointing to same doc-
>
>
>
> No. That is by design. The session ID is almost as valuable as the
> password. If you need SSL to protect the password, you should use SSL to
> protect the session ID.
>
>
Well, that's fairly application specific, but the argument has also been
done to death elsewhere. Workaround is alread
? It just seems
like a bug to me. It does look like proxyPort can be used to force it to
443, though, so that will work.
On Tue, Oct 13, 2009 at 12:19 AM, Peter Crowther <
peter.crowt...@melandra.com> wrote:
> 2009/10/13 Sam Gendler :
> > That method uses
> > request.getSc
momentarily.
On Tue, Oct 13, 2009 at 1:00 AM, Sam Gendler wrote:
> That looks like it will work, but it doesn't explain why the connector
> would think port 80 was appropriate. I could see port 8090 showing up, but
> given that the scheme is https and there was no port number in t
the incorrect default of 80 when no port is specified in the url.
On Mon, Oct 12, 2009 at 9:59 PM, Sam Gendler wrote:
> [quickie synopsis]
> A request arriving on a connector configured for scheme=https and with
> secure=true is generating absolute redirect urls with scheme=https and po
[quickie synopsis]
A request arriving on a connector configured for scheme=https and with
secure=true is generating absolute redirect urls with scheme=https and port
= 80 (https://localhost:80/path.html) because incoming request was on 443
and didn't have an explicit port in the Host header.
[/quic
as this seems an uncommon combination to run nowadays).
For the moment we've just reverted to using the SunOne 7.0 stock
reverse proxy. This seems to fulfill our immediate needs, and we can
perhaps revisit mod_jk later.
Thanks for the tips so far,
Sam
--
Apologies for misinterpreting your post.
Unfortunately we can't ditch SunONE - it's a requirement from our
security guys. We're operating in a two-tier DMZ environment and
SunONE will be in the top tier, with an SSO agent running inside it.
JBoss will be in the 2nd tier.
Thanks,
Let's not turn this into a "which web server is better" thread please.
I've got a number of reasons for using SunONE over Apache in this
instance, but they're not relevant to the issue here.
I'm going to continue experimenting with this setup, and will post an
update
output is copied below.
I'll keep investigating, but suspect I may have to switch to using the
stock SunONE reverse proxy (which doesn't seem to exhibit this issue).
Thanks,
Sam
[Sat Oct 10 20:52:12.924 2009] [25246:3641224096] [trace]
ajp_process_callback::jk_ajp_common.c (1702): ent
r - as the length of the
body is already known before it's even begun.
Any suggestions greatly appreciated!
Thanks,
Sam
# curl -v http://webserver1.company.com:28080/test/
* About to connect() to webserver1.company.com port 28080
* Trying 10.1.2.3... * connected
* Connected to webse
Caldarale, Charles R wrote:
Do you have a CLASSPATH environment variable set for the
Tomcat process? (You shouldn't.)
Or is there a plain / in the -cp argument in the Tomcat startup script? Or has
conf/catalina.properties been modified to include the file system root?
Any of those are a rea
Caldarale, Charles R wrote:
Once you have your test Tomcat set up on the problematic server, try adding
this line to the conf/logging.properties file:
org.apache.jasper.level = ALL
That will display a *lot* of information about what's going on during JSP
compilation. One thing in particular
Sam Hokin wrote:
Caldarale, Charles R wrote:
I'll poke around in the webapp classloader to see if I can find
anything interesting, but in the meantime, is there a /net directory
on the problematic server? If there is and it targets a remote file
system, that might explain the long del
Caldarale, Charles R wrote:
I'll poke around in the webapp classloader to see if I can find anything
interesting, but in the meantime, is there a /net directory on the problematic
server? If there is and it targets a remote file system, that might explain
the long delay on these stat() calls
Caldarale, Charles R wrote:
The key lines have a 3+ second response time:
2498 15:24:35 stat64("/net/ims/jcms/Object.class", 0x7b6b9c20) = -1 ENOENT (No such
file or directory) <3.020996>
Most of the calls return in much less than a millisecond, but there are a few
ENOENT (not all) response
André Warnier wrote:
What in this directory path is (are) a symlink(s) ?
/home/sites/ims/jcms/webapps/ROOT/WEB-INF/classes/org/apache/jsp/test6_jsp.class
There are no symlinks in that path.
And how is this different from the other 2 systems that work fine ?
It differs in no known way, othe
NEW DISCOVERY - using a wildcard package import results in a much longer
response delay!
I've taken Mark's suggestion that I import individual classes rather than importing all with a wildcard to see if a
particular class is slowing down classloading. It turns out that it's the WILDCARD itself
André Warnier wrote:
Sam, because there is quite a bit of traffic on this issue, and because
the exact description seems to change a bit over time (e.g.
compilation-only or not), could you remake a summary of what you are
sure of so far ?
1. Initial requests to ANY JSP page on a site
Pieter Temmerman wrote:
Try this strace command:
strace -f -etrace=\!futex,gettimeofday,clock_gettime -p
PID_OF_TOMCAT_JAVA
where PID_OF_TOMCAT_JAVA is the PID of your Tomcat, duh! :)
Thanks! That certainly did the trick. The first time I ran strace against the Tomcat process, it brought Tom
Tim Funk wrote:
While I am late to this ... Is this an accurate summary?
- Slow re-load on a server
- Server is a production server
- Other servers are OK so it can only be reproduced on production server
- Initial looks at network seem to be no network activity
- There seems to be a hint at Fil
János Löbb wrote:
How about just using tcpdump during the long delay and see what the
machine is doing network wise ?
I have, and network timeout was suggested earlier on this thread. There is no TCP activity of particular interest
during the delay. I've hunted for, and not seen, anything
Juha Laiho wrote:
One tool that I haven't yet seen suggested is 'strace', the Linux system
call tracer. This will show all the calls your application makes to the
operating system. As you say the application is mostly idle during the
delay, it is, in one way or another, waiting for some OS servi
Mark Thomas wrote:
Sam Hokin wrote:
Thanks, Chris. I ran e2fsck with the -c option, which runs badblocks,
when I tested it earlier. And I just ran badblocks again - 0 bad blocks
found. I wish I could fix this by simply as swapping out a bad disk
(notwithstanding Andre's desir
Christopher Schultz wrote:
Sam,
On 2/20/2009 6:44 PM, Sam Hokin wrote:
Thanks, Chris. I ran e2fsck with the -c option, which runs badblocks,
when I tested it earlier. And I just ran badblocks again - 0 bad blocks
found.
Did you run badblocks on the array, or on an individual disk?
I would
André Warnier wrote:
Sam Hokin wrote:
I'd like to correct an error I made in my earlier report of this
problem. It turns out that the response delay in my simple test JSP
IS during compilation! I ran stat on the files in question, as well
as looked at the time shown on the response
it's software, either in some service mucking up the JVM
or the JVM itself. But it only manifests itself under Tomcat, and then only when this particular package is imported.
Christopher Schultz wrote:
Sam and David,
On 2/20/2009 1:36 PM, David Smith wrote:
Sam Hokin wrote:
It's
An update. I've written a simple standalone Java routine that calls File.exists(). It never hangs. In fact, I ran it
against the class file that Tomcat creates from a test JSP; it doesn't hang, returns false for the (long) time it takes
Tomcat to create the class file on the slow system, then
Actually, /usr/local/tomcat is a symlink to /usr/local/apache-tomcat-6.0.18. But that's a pretty important symlink for
me, to make it easy to change Tomcat versions. But I'll investigate that. That's the only symlink involved that I can
think of.
Caldarale, Charles R wrote:
Chuck's comment about JSP to Java translation done by Jasper reminded me that I should have included the time on the
Java source file created during JSP compilation. It shows that the Java source file was created immediately, but
accessed again six seconds later (!), presumably by the compiler.
-) Uid: ( 500/ sam) Gid: ( 100/ users)
Access: 2009-02-20 13:39:29.0 -0600 <--- Tomcat accesses the file
Modify: 2009-02-20 10:39:09.0 -0600
Change: 2009-02-20 13:39:06.0 -0600
File:
`/usr/local/tomcat/work/Catalina/www.ims.net/_/org/apache/jsp/test4_jsp.c
Christopher Schultz wrote:
jstack.8.txt is the last thread dump where File.exists was stalled.
http://ims.net/jstack/jstack.9.txt
http://ims.net/jstack/jstack.10.txt
http://ims.net/jstack/jstack.11.txt
The server appears to be idle, here.
It's a little weird that thread 9770 has NO STACK IN
Caldarale, Charles R wrote:
Run jstack several times during the delay, and then let's compare the set of
thread dumps.
What is the CPU utilization during the delay?
OK, done. The CPU utilization during the delay is tiny, 1% or less. I've run jstack before, during, and after I've
done a fi
Christopher Schultz wrote:
Sam,
On 2/19/2009 6:23 PM, Sam Hokin wrote:
The problem, which spontaneously appeared a few days before Christmas on
this one server, is that the initial request of a JSP or servlet takes
AGES to respond, usually exceeding several minutes.
Good... then you'll
Ron McNulty wrote:
Hi Sam
You jar - does it include any JSP tag files written as JSP fragments?
There are known issues in this area. The dependency management seems to
get confused, resulting in lots of unnecessary compilation of the .tag
files
No, it doesn't, Ron. But thanks fo
Caldarale, Charles R wrote:
1) What are the servers that don't have a problem?
One is a single AMD Athlon 64 2800+, running the 64-bit Sun JDK (same version).
The other is a dual AMD Athlon MP 2000+, running the 32-bit Sun JDK (same
version).
And the "bad" server has "8" Intel Xeon E5310 CP
I've been struggling with a very severe problem on one of my three Tomcat servers since late December. I'm completely
stumped. I'm running 6.0.18 on all three servers, which are all running Fedora Core 9, all currently running Sun's JDK
1.6.0_12. The only difference is hardware. The server th
Hi there,
I know it is better for me to ask this quetion in a jsp forum, but I
couldn't find one for mailing list .
And you guys are very helpful too in terms of this experience.
If you are using a good jsp editor, can you tell me where its download
link?
My current development enviorn
After this final changed (renamed the context.xml file to DBTest.xml), it
works fine now.
Thank you very much for the help along the way.
Without your patient and effort, I wouldn't be able to get this going.
Thanks
Sam
> - Original Message -
> From: David Smith
>
/conf #
do I need to remove DBTest.xml and web.xml here?
Thanks
Sam
> - Original Message -
> From: sam wun
> Sent: 03/09/08 11:13 am
> To: Tomcat Users List
> Subject: Re: Re: Can't execute servlet project
>
> After moved the context.xml file to
> /tom
ot; password="javadude"
> driverClassName="com.mysql.jdbc.Driver"
>url="jdbc:mysql://localhost:3306/javatest"
> validationQuery="select 1" />
>
>
> Obviously replace the username, password, and URL with what's
> appropriat
Here is the mysql-connector jar file I got in the common/lib directory:
linux:~/tomcat/apache-tomcat-5.5.26/common/lib # ls mysql*
mysql-connector-java-5.1.3-rc-bin.jar
Is thsi the correct mysql jar file?
Thanks
Sam
> - Original Message -
> From: David Smith
> Sent:
>
> You can also take a look at tomcat's JDBC Datasource howto's on the
> tomcat website for your version of tomcat which offer a lot of help.
>
> --David
>
> sam wun wrote:
> > Thanks David,
> >
> >
> >
> > After copied the jstl and stan
default.jsp
DB Connection
jdbc/TestDB
javax.sql.DataSource
Container
> - Original Message -
> From: sam wun
> Sent: 03/09/08 01:41
Servlet.java:803)
> - Original Message -
> From: David Smith
> Sent: 03/09/08 01:23 am
> To: Tomcat Users List
> Subject: Re: Can't execute servlet project
>
> Download the binary zip file and expand it. Within it is a lib
> directory with just standard
; Subject: Re: Can't execute servlet project
>
> Hmmm... good question. I moved over to Maven and don't manually
> download these any more. This looks like it should do the trick:
>
> Try
> http://jakarta.apache.org/site/downloads/downloads_taglibs-standard.c
Hi David,
No, I don't have this 2 jar files in the common/lib/ directory.
where can I download it from?
Thanks
Sam
> - Original Message -
> From: David Smith
> Sent: 02/09/08 10:39 pm
> To: Tomcat Users List
> Subject: Re: Can't execute servlet project
tabase connection pool. My only
> edit that article I would recommend is don't add ?autoReconnect=true to
> the end of the mysql database url. Instead, add validationQuery="select
> 1" to the element in your context.xml file so
> connections are tested and r
1 - 100 of 167 matches
Mail list logo