> If you name it *.zip, it will definitely NOT be found in common/lib,
> shared/lib, or anywhere else. Tomcat only loads *.jar files.
Yes, you are right (!) I'm sorry, but my memory let me down there: it used
to be that Oracle supplied its driver as a '.zip' file and you simply had to
re-name the
Snotman,
For an example.
Search the archives for the thread "Servlets with JDBC connectivity".
Look for the messages from me.
Doug Parsons
- Original Message -
From: "Snotman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, March 05, 2004 1:08 AM
Subject
Hi,
we use Tomcat 5.0.16 under linux and all of our web.xml's are starting
with a
standard "public" dtd tag, i.e.
"http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";>
or
"http://java.sun.com/dtd/web-app_2_3.dtd";>
Everything worked fine until duesday: java.sun.com was unreachable and the
s
As I remember, tomcat (including this specific version) will often leave
some sort of background thread running even when the shutdown script has
been successfully executed. I don't know enough about tomcat to say what
it is or why it is running. You could use the kill -TERM command to kill
it off
It works for me. To be able to answer you, it would be good to have
error messages to build the answer on. this is the only thing that
comes to mind. You have to have the full class name (with package name)
to be able to call it, as :
http://localhost/webapp/servlet/com.john.mclain.servletTest
hi
i installed a product called wasp server
http://www.systinet.com/products/java_ws (looks like a neat tool for web
services) on my local machine (win2kpro).
problem is now my tomcat doesn't seem to start even when wasp is shut
down. heres' what i'm getting from the log file - localhost-exam
The Tomcat FAQ has a cautionary note about the invoker servlet:
http://jakarta.apache.org/tomcat/faq/misc.html#evil
> call http://localhost:8080/web_app_context/servlet/
That *should* work, assuming is the fully qualified name of
the servlet you are trying to invoke. (And assuming everything el
Hello Everybody,
I'm using apache2/tomcat4.1.29 and jk2
is it possible to configure virtual host so, that
I can put all subdomains automatically through to
a webapp with the same name without restarting of
httpd and tomcat.
I want tp deploy webapps with the tomcat manager
without adding a new vir
> I'm still trying to figure out how Tomcat
> sees a new window as a new session
I do not think Tomcat sees anything more than what is sent to with the
request. As I understand it, if the browser does not send a session cookie
id, Tomcat will not be able to associate the request with any of its
ex
Thanx a lot mike, it worked!
For someone else who may experience same problem, other than the
suggestion
Given below, I downloaded mysql-connector-java-3.0.11-stable.jar
Thanx again and regards
marco
-Original Message-
From: Mike Curwen [mailto:[EMAIL PROTECTED]
Sent: 04 M
Hi,
>- Root Cause -
>java.lang.ClassNotFoundException:
org.apache.catalina.servlets.CGIServlet
>I have servlets-cgi.jar in \jsp_files\WEB-INF\lib
Did you try the setup recommended in the CGI HOWTO?
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/cgi-howto.html
Yoav Shapira
This e-m
Hi,
>If the objects in the session is serialized to the disk and then
>re-serialized when I re-deploy my servlet, what happens if the class in
my
>newer version of my servlet has
>- added/removed methods/attributes in the class
>- added/removed static variables in the class
>
>How will the hotswa
Hi,
>As I remember, tomcat (including this specific version) will often
leave
>some sort of background thread running even when the shutdown script
has
>been successfully executed.
What are you talking about? You remember this from where?
Tomcat doesn't leave any of its threads running when th
Hi,
Your logs don't indicate anything wrong. Are there any errors in them?
;)
Yoav Shapira
Millennium ChemInformatics
>-Original Message-
>From: Chris Daly [mailto:[EMAIL PROTECTED]
>Sent: Friday, March 05, 2004 5:20 AM
>To: [EMAIL PROTECTED]
>Subject: tomcat wont start - log file erro
Hi,
I'm having problems when I try to declare an XML ENTITY, like in
an XML formatted JSP page. Tomcat 4 never gave problems, but Tomcat 5
always gives errors off of the following example:
]>
http://java.sun.com/JSP/Page"; version="1.2">
Saying:
org.apache.jasper.Jas
I prefer to have a general simple calculation for health, rather than multiple tiers
of warnings. The other thought I had for warning is:
(busy/max) > 75%
peter lin
Antonio_Fiol_Bonnín <[EMAIL PROTECTED]> wrote:
Hi,
I would establish two thresholds (possibly in %). Or maybe one threshold
hi
the server is running and i'm getting the following message
"The page you are looking for is currently unavailable. The Web site might
be experiencing technical difficulties, or you may need to adjust your
browser settings."
the wasp server is set to port 6060 and is not running. the page
Thanks very much for the clarification.
Loading 1,800 contexts consumes about 200MB of RAM and takes several
mintues. The contexts have no load-on-startup activity: the context
definitions contain only the docbase and the path attributes, and the
web.xml contains an empty web-app section.
I'm
Hi,
>Loading 1,800 contexts consumes about 200MB of RAM and takes several
>mintues. The contexts have no load-on-startup activity: the context
>definitions contain only the docbase and the path attributes, and the
>web.xml contains an empty web-app section.
Yeah, I suppose it would add up ;) Al
I am still trying to fix error page problem. This is my server.xml
...
...
I have a directory "$TOMCAT_HOME/webbapps/myapp" in my system. I created
"error/404.html" in $TOMCAT_HOME/webbapps/myapp. But I am not able to
se
Hi,
>I have a directory "$TOMCAT_HOME/webbapps/myapp" in my system. I
created
>"error/404.html" in $TOMCAT_HOME/webbapps/myapp. But I am not able
to
>see 404.html if get 404 error, but I get page not found.
Can you point your browser http://yourhost:yourport/myapp/error/404.html
and see the
I can see that page, if type the url on browser
> Hi,
>
>>I have a directory "$TOMCAT_HOME/webbapps/myapp" in my system. I
> created
>>"error/404.html" in $TOMCAT_HOME/webbapps/myapp. But I am not able
> to
>>see 404.html if get 404 error, but I get page not found.
>
> Can you point your br
I can see that page, if type the url on browser
> Hi,
>
>>I have a directory "$TOMCAT_HOME/webbapps/myapp" in my system. I
> created
>>"error/404.html" in $TOMCAT_HOME/webbapps/myapp. But I am not able
> to
>>see 404.html if get 404 error, but I get page not found.
>
> Can you point your br
Hi,
>I can see that page, if type the url on browser
OK, so what you're saying is:
- You have an error-page for 404s defined in web.xml
- Tomcat starts up without errors, and you can see your custom error
page by putting its URL directly in the browser
- But when you get actual 404 errors in you
Tomcat 4.1.27 on Solaris 8
I have two jar files I'd like to make available to all my web applications
so I placed them in $TOMCAT_HOME/shared/lib however they are not being
found. I also tried common/lib but it didn't work either. The error I'm
getting is java.lang.IllegalStateException:
java.
On Thu, 4 Mar 2004, Shapira, Yoav wrote:
> >Is it possible for users to define a MemoryRealm (or other associated user
> >authentication realm) in their own web.xml file with an associated
> >"users.xml" file? Or must realms be configured in the server.xml file?
>
> Not in web.xml (because Realms
Hi,
Thanks for that, got native2ascii converting my property files as an Ant
task now and all seems to be working well.
Cheers,
Keith
Yansheng Lin wrote on 04/03/2004, 18:17:
> native2ascii your properties file. works for me:).
>
> -Original Message-
> From: Keith Hyland [mailto:
Hi,
>I have two jar files I'd like to make available to all my web
applications
>so I placed them in $TOMCAT_HOME/shared/lib however they are not being
>found. I also tried common/lib but it didn't work either. The error
I'm
>getting is java.lang.IllegalStateException:
>java.lang.ClassNotFoun
Hi,
I have a strange problem which I don't know how to describe accurately, but
here goes:
we have a tomcat server running and every time a lot of jsp pages running
under are changed, it seems the process forks and starts an additional
tomcat process. When this happens neither process seems abl
Has anyone implemented P3P on tomcat without an Apache front-
end?
I see pointers on how to do this using Apache's configuration files,
but I can't find how to do it in Tomcat. Do I have to write a filter
that adds the header to all the response streams?
thanks,
Bill
---
Hi, I have had literally a minute to think about this so sorry if it's
way off but my instinct says to try running WASP on Port 8080 (or maybe
80??) and running Tomcat at the same time.
Quick Thought - I wonder if the order in which you start them up would
help??
Of course if the WASP development
Hi,
Try turning off the fork parameter of the JSP server in conf/web.xml.
It's true by default, and that's usually a good idea. I don't know the
root cause for your problem.
You have an interesting JDK version, by the way ;)
Yoav Shapira
Millennium ChemInformatics
>-Original Message-
I noticed that too. Sun's Web Site is really slow these few days. Any news on
being hacked? And how it happened?
Tomcat will automatically look for a cached copy of your dtd's on your local
machine if it cannot find one online. That's why it's slower. One way to solve
this is use a local copy a
Can anyone point me to documentation listing the hardware/software
prerequisites for installing Tomcat 4.1.30 (binary)?
I'm having trouble installing the Tomcat 4.1.30 binary on Win98SE on
an old Pentium 100 PC with 64 MB of memory. I suspect the PC is too old and slow
to run Tomcat but I h
I've commited the first set of icons for the monitor, for those who are curious.
please email me directly with comments. the icons start with "monitor"
http://cvs.apache.org/viewcvs.cgi/*checkout*/jakarta-jmeter/src/core/org/apache/jmeter/images/monitor-load-8.gif?rev=1.1
peter lin
---
When I use the tag in Ant, I get an NPE if the page doesn't
compile b/c of a JSP error. What I'd like to get is the error message
pointing me to the coding problem and line number as I do when I hit a
JSP and have it compiled on-the-fly.
Is there anything besides verbose="99" that I can pass to
cheers
i've tried running both at same time but no joy, running at different
times, changing ports. when i run both at same time on same port
interestingly i get a 404 on the tomcat.jsp, and the wasp page takes
preference.
probably have to try a reinstall on old tomcat (4.1.12- LE)
chris
A
Hi,
I was hoping that someone would be able to point me in the direction of an
example for using tomcat to serve PDF files.
Thanks
Pete
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAI
Hi Yoav,
this seems to fix the problem. Strangely this parameter was not described
in the default web.xml, but that may have a lot of causes, maybe even the
same that caused that strange jdk version ;-).
Thanks!
Hans
ps if anyone has experienced this problem and found a root problem (not
necesa
>What two jars are these? Is the class in the CNFE above in one of those
>two jars?
>Yoav Shapira
They are specific to the applications that we build and the class in the
CNFE is located in WEB-INF/classes
Thanks,
-Mark
-
To
I just came across JRocket's JVM console. Has anyone tried it?
peter lin
-
Do you Yahoo!?
Yahoo! Search - Find what youre looking for faster.
here's a link just in case
http://edocs.bea.com/wljrockit/docs70/userguide/mancons.html
Peter Lin <[EMAIL PROTECTED]> wrote:
I just came across JRocket's JVM console. Has anyone tried it?
peter lin
-
Do you Yahoo!?
Yahoo! Search - Find what youre looking
Hi,
>They are specific to the applications that we build and the class in
the
>CNFE is located in WEB-INF/classes
OK, so they're not like XML parsers or something else common that tomcat
already includes?
If the class in the CNFE is in WEB-INF/classes, which gets loaded before
common/lib or sha
Tomcat should be doing that out-of-the-box currently:
See "Default MIME Type Mappings" under conf/web.xml.
Also on a side note:
http://www.onjava.com/pub/a/onjava/2003/06/18/dynamic_files.html
Thanks,
RS
Hi,
> I was hoping that someone would be able to point me in the
direction
>of an
>example for using tomcat to serve PDF files.
It's been discussed many times on the list in the past. There really
isn't much to it:
- Write the PDF via response.getOutputStream (not getWriter) because
it's
Hi There,
Thanks, I forgot to use get output stream.
Cheers
Pete
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: 05 March 2004 16:15
To: Tomcat Users List
Subject: RE: Using tomcat to serve PDF files
Hi,
> I was hoping that someone would be able
hello all,
I'm installing a new server and I'd like know where should I put the
mysql jdbc driver.
In all my other server I installed them in the $JAVA_HOME/jre/lib/ext
But I suppose this is not the best position for it.
Where do u suggest to put it?
Common
Shared
in each webapp WEB-INF/lib
Tha
Thanks very much to the two of you.
I got Charlies version to run with mod_jk and
with the help of tutorial on the mentioned website mod_jk2 !
Since mod_jk seems to go out of service soon I'll stick with the mod_jk2.
Ok, as I said guys, thanks very much, from here I hope I'll make my way on
my
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html
Depends on how you want it exposed and what you are doing with it.
There's a plethora of documentation online. common/lib will be exposed to
all your webapps.
On Fri, 5 Mar 2004, Simone - Dev wrote:
> Date: Fri
I put my driver in the WEB-INF /lib since I only wanted that application
to use the driver. If you want it to be available to the whole server
you can use the others.
-Original Message-
From: Simone - Dev [mailto:[EMAIL PROTECTED]
Sent: Friday, March 05, 2004 10:33 AM
To: 'Tomcat Users
Thanx a lot.
Simone
-
Simone Chiaretta
www.piyosailing.com/S
Any sufficiently advanced technology is indistinguishable from magic
"Life is short, play hard"
> -Messaggio originale-
> Da: Alex [mailto:[EMAIL PROTECTED]
> Inviato: venerdì 5 marzo 2004 17.26
> A: To
Simone - Dev wrote:
hello all,
I'm installing a new server and I'd like know where should I put the
mysql jdbc driver.
In all my other server I installed them in the $JAVA_HOME/jre/lib/ext
But I suppose this is not the best position for it.
It should be in common/lib.
Best
Bao
Where do u s
Is there a way, from within a servlet, to find out what the maximum
number of processes has (maxProcessors attribute) and how many of them are
in use?
*Jeff Poling, Research and Development, CMHC Systems**
** For every difficult problem, there is * "A warp core breach
Hi,
>Is there a way, from within a servlet, to find out what the maximum
>number of processes has (maxProcessors attribute) and how many of them
are
>in use?
Yes. The code is of course tomcat-specific, not guaranteed to work in
future tomcat versions, and the servlet must be running in a pri
Im trying to get mod_jk2 to compile and Im getting a problem during
linking.
It's basically not finding the crypt symbol/library.
Im using gcc on tru64.
I tried adding my ssl libraries but cant figure out a way to get it to
link.
Does anybody have any ideas, or should I go to the developers m
We had a cookie problem here at work, and it was all the same domain,
and we couldn't figure it out.. until we recognized that foo.com and
www.foo.com were two *different* domains, and therefore the browser
would treat them differently.
So we have apache set up like so:
virtual host name: foo.co
Shapira, Yoav mpi.com> writes:
>
> Hi,
>
> >They are specific to the applications that we build and the class in
> the
> >CNFE is located in WEB-INF/classes
>
> OK, so they're not like XML parsers or something else common that tomcat
> already includes?
>
> If the class in the CNFE is in WEB-
Hi,
Long time ago, I ask the same question, and got no answer.
and I found these in JavaServer Pages Specification 2.0:
> JSP.6.2.4 JSP Document Validation
>
> A JSP Document with a DOCTYPE declaration must be validated
> by the container in the translation phase. Validation errors
> must b
>U got it.
>
My TOMCAT start up with our errors. I checked in logs directory and made
sure it.
If I take out this from web.xml and restart webserver/tomcat I get typical
404 TOMCAT message if type a wrong url.
404
/error/404.html
Hi,
>
>>I have two jar files I'd like to make availabl
Hi,
I am sure this is a FAQ, but I've googled for it and I could not find
any detailed info.
Is there a table specifying Tomcat version <-> JDK version compatibility?
In particular, I'm interested in running some Tomcat version with JDK
1.2.2. Is it possible? Which version of Tomcat?
I had ne
Hi,
This is the sort of thing that's much faster to try yourself than ask the list, no? ;)
Tomcat 5 requires JDK 1.3 or later, as noted in $CATALINA_HOME/RUNNING.txt.
Tomcat 4 requires JDK 1.2 or later, as noted in $CATALINA_HOME/RUNNING.txt.
Tomcat 3 I don't know, but I'd guess JDK 1.2 or late
Hi Yoav,
Thank you for answering *before* I posted. :-)
It is indeed easy to know if you download all versions and read
RUNNING.txt, but it is quite a tedious job if you don't *know* that all
versions of every series are compatible with the same JDK versions.
Thankfully, *you* do. ;-)
Thank
Hi,
We are seeing a sporadic error with a JSP page we have with Tomcat 4.0.6
sitting on JDK 1.4.2_03 on a Redhat Linux box. Sometimes after we restart
Tomcat we get a page error.
If we remove the webapps deployment directory and the corresponding
compilation work/Standalone/localhost directori
Can anyone tell me, how to configure tomcat to work with a port, less than 1024, port
80 to be exact.
Thanks
a ton
-
Do you Yahoo!?
Yahoo! Search - Find what youre looking for faster.
Hi All,
Is there any way to install Apache2 and Tomcat4 as service on Linux? If so, please
advise me. Your help is greatly appreciated.
Regards,
Rama
-
Do you Yahoo!?
Yahoo! Search - Find what youre looking for faster.
Hi,
Try opening up /tomcat-home/conf/server.xml
there you can set the connector to use what ever port you like. (try
searching for 8080).
hope it helps
-reynir
Ralph Merrick wrote:
Can anyone tell me, how to configure tomcat to work with a port, less than 1024, port 80 to be exact.
Thanks
a t
You will also have to run Tomcat as root if you use port 80.
-Original Message-
From: Reynir Þór Hübner [mailto:[EMAIL PROTECTED]
Sent: Friday, March 05, 2004 2:30 PM
To: Tomcat Users List
Subject: Re: Tomcat ports
Hi,
Try opening up /tomcat-home/conf/server.xml
there you can set the co
As service in Linux ?? In NT U can do that
> Hi All,
>
>
> Is there any way to install Apache2 and Tomcat4 as service on Linux? If
> so, please advise me. Your help is greatly appreciated.
>
>
>
> Regards,
> Rama
>
>
>
> -
> Do you Yahoo!?
> Yahoo! Search - Find wha
Le ven 05/03/2004 à 08:47, Shapira, Yoav a écrit :
> >As I remember, tomcat (including this specific version) will often
> leave
> >some sort of background thread running even when the shutdown script
> has
> >been successfully executed.
>
> What are you talking about? You remember this from wh
hi to all
my login apear but when i try to enter the chat room i get a 404 jsp sesion
id not available only under cloaking redirect utility exemple: < non cloaking=1.2.3.4:8080>
so under cloaking i get 404
under non cloaking everyting works fine
but still i would prefer my domain name instead of
WARNING: a virus (probably I-Worm.NetSky.c) or suspicious attachment was detected and
removed from the following message from [EMAIL PROTECTED] to [EMAIL PROTECTED]
Some of the content may still be readable.
--- Begin Message ---
is that your cd?
--- End Message ---
-
Thanks piccoli.
Yes you are right, this is the second step of authentication.
After doing this step, IE returns NTLM authentication in its header.
Im validating the credentials sent by the IE(Step 3 to Step 6).
Successfully got the username and domain name.
Then I will display a form to user in w
72 matches
Mail list logo