This is where I saw it :
http://jakarta.apache.org/commons/dbcp/apidocs/org/apache/commons/dbcp/AbandonedConfig.html
But I think the code is still in there, just marked as deprecated :D
Philipp Taprogge wrote:
Hi!
Kwok Peng Tuck wrote:
Isn't removeAbandoned deprecated ? If so is it still usabl
hi
why do not u try this statment inyour jsp?
getServletContext().getInitParameter("");
this statement will just retrieve the value of the parameter name u set in
the web.xml.
good luck
sat
- Original Message -
From: "neal cabage" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTE
http://www.mail-archive.com/[EMAIL PROTECTED]/msg101489.html
> -Original Message-
> From: Marc Dugger [mailto:[EMAIL PROTECTED]
> Sent: Monday, December 15, 2003 6:09 PM
> To: [EMAIL PROTECTED]
> Subject: "Unable to compile class for JSP"
>
>
> Tomcat 5.0.16
>
> I keep getting this error
Hi!
Kwok Peng Tuck wrote:
Isn't removeAbandoned deprecated ? If so is it still usable ?
I can't find a word about it being deprecated on
http://jakarta.apache.org/commons/dbcp/configuration.html
I am using this parameter quite successfully.
Phil
--
Hi,
I am getting right away. Below the code structure where I am getting.
try{
Context ctx = new InitialContext();
if(ctx == null )
throw new Exception("No Context found");
DataSource ds =
(DataSource)ctx.lookup("java:comp/env/jdbc/informixDB");
if (ds != null
Isn't removeAbandoned deprecated ? If so is it still usable ?
Hmm... are you getting the error right away or only after a few requests?
Hard to say anything without further information. It is always a good
idea to make sure you properly close all Statements, ResultSets anc
Connections obtained
Kausik Dey wrote:
Hi Guys,
Currently I am using 5.0.5 in production. I was trying to upgrade to 5.0.15 or 5.0.16.
I made necessary changes to server.xml
> to create informix DBCP. Unfortunately, I am getting "Connection
Pool Exhausted" error while trying to obtain the connection
from Datasource.
Hmm maybe you are not returning connections after using them ?
In the tomcat docs they do give a pattern you could use in your code, like
try {
}catch(SQLException e) {
}finally {
try {
//Perform your close statements here.
}catch(SQLException e) {
}
}
HIH .
Kausi
Hi Guys,
Currently I am using 5.0.5 in production. I was trying to upgrade to 5.0.15 or 5.0.16.
I made necessary changes to server.xml to create informix DBCP. Unfortunately, I am
getting "Connection Pool Exhausted" error while trying to obtain the connection from
Datasource. Is it a bug in thes
I got "Open too many files" error when I set the max open files 4096, so
that I changed it to 9182. But I think no matter how large it is, it won't
affect the performace, right?
I'm not good at Java. But I don't think I reloaded the classes in Tomcat
manager. I didn't change web.xml. Is it the pro
No problem.
BTW: If you're not using an IDE for development, you might want to bookmark
the j2ee API Docs.
http://java.sun.com/j2ee/1.4/docs/api/
On Monday 15 December 2003 07:39 pm, you wrote:
> Ah, thanks Ben. Yes, I tried what I wrote prior and also tried
> application.getAttribute ... bu
Ah, thanks Ben. Yes, I tried what I wrote prior and also tried
application.getAttribute ... but didn't realize there was a getInitParameter() method.
That did the trick.
Thanks.
N
Ben Souther <[EMAIL PROTECTED]> wrote:
In your web.xml file:
city_name
NY
In your JSP
City:
On
I am posting this again since I could not figure out how to solve this. I wud really
appreciate any help.
*** Problem statement ***
I need to use Tomcat's manager app to install my webapp with its context file.
I was playing with the manager app to install my application on Tomcat in Window
Tomcat 5.0.16
I keep getting this error about every 20 to 25 requests for various pages.
Sometimes I can simply send another request and it will compile, and other
times it will consistently throw this exception:
2003-12-15 17:31:05,348 [http8080-Processor23] ERROR
org.apache.struts.taglib.tiles.
In your web.xml file:
city_name
NY
In your JSP
City: <%= application.getInitParameter("session-expired-page")%>
On Monday 15 December 2003 02:40 pm, you wrote:
> I'm trying to do something as simple as define global constants for my JSP
> application. In ASP there is a Glo
Do you have the same error that I do in your log? As far as I can tell this
is a bug in Tomcat.
Jon
- Original Message -
From: "Lawrence, Gabriel" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Monday, December 15, 2003 4:58 PM
Subject: RE: CGI not working on Tomca
When I do that, I get a context at "/" and a context at "eSM". In
$TOMCAT_HOME/work/Standalone/localhost/ tomcat makes both "_" and "eSM".
I use exactly the same context config as you, except some I don't declare
since the defaults are the same. The only one I don't recognise is
'displayName' - ca
I've noticed that on tomcat 5 the working directory that it execs the
cgi script in is different then it was on tomcat 4. I haven't solved my
problem yet, but I have isolated that to be my problem.
-gabe
-Original Message-
From: Jonathan Eric Miller [mailto:[EMAIL PROTECTED]
Sent: Monday
Hi,
In Tomcat 5.0.16, I noticed that when I enable the clustering section of
the server.xml (uncommenting the cluster and valve). So I would start
tomcat, then login to the "admin" app, I would get the error below, shown
in the console. But if I don't use clustering then all is fine...
Dec 15
I've been having problems getting CGI to work with Tomcat 5.0.16. I have it
working with Tomcat 4.1. Has anyone else been able to get it to work?
I'm receiving the following error in my localhost_log*.txt log even though
the file listed is there. Has anyone else had this problem?
2003-12-12 16:46
Yes, both pc's are on the same network. What i have found now is that it
doesn't matter what OS the pc is running, the problem is with the one on
which the web server is running -mine-. If the attribute 'allow' is
specified in the 'valve' tag it takes me to the troubble; however if
'deny' is sp
I'm sure you have and I don't want to sound patronizing, but are both pc's on the same
network you specified (allow="xxx.xxx.xxx.*")
-Original Message-
From: Pedro Garcia [mailto:[EMAIL PROTECTED]
Sent: Monday, December 15, 2003 5:01 PM
To: Tomcat Users List
Subject: Re: Manager
Well, that works fine... but a new question arrives to my mind:
why, when using a valve for a context it works well in one OS and not in
another?
This is what is happening:
i put a valve tag in one of my contexts (). When trying to access the corresponding web
application from my computer running
Ahhvery nice..i was ripping my hair out, I used
everything but a comma.Thank you..
Filter eh? Good idea...which is more secure?
Russ
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Monday, December 15, 2003 4:27 PM
To: Tomcat Users
On 12/15/2003 06:05 PM Renato Romano wrote:
it seems to me the simplest way to authenticate users is using form base
auth, in conjunction with declarative security (declaring
resources/roles in web.xml); the main problem with this approach in my
opinion is handling several login pages, for example;
Howdy,
You can use comma-separated address in the allow list of the
RemoteAddressValve.
Of course you can also write your own Filter and map it to /* in the
manager app's web.xml.
Yoav Shapira
Millennium ChemInformatics
>-Original Message-
>From: Pitre, Russell [mailto:[EMAIL PROTECTED
How can I restrict access to my manager app to only TWO ip addresses
When I go into the admin app to add a valve for an ip address other than
127.0.0.1 or add multiple ip addresses to a single valvei get the
following error:
==
V
Pedro,
What i have done:
1. modify the server.xml file to add a Realm tag ()
Where did you put this declaration? In the of your web
application? I recall that Realm declarations can appear in multiple
places. Make sure that it appears in the where you have:
2. modify the web.xml to add a secu
I have been trying to use the catalina "deploy" ant task to deploy my
web app to Tomcat 5.0 from a local directory structure (not a war
file). Unfortunately, this proved rather difficult, as this task is not
documented very well at present. After reading various bits of
documentation and the
Howdy,
>Oops, you're right that line would not have compiled...I meant I use
this:
>
>DataSource ds = (DataSource) new
>InitialContext().lookup(application.getInitParameter("db.jndi.dsn"));
What is the type of the application object?
>
>...to get a datasource values and assumed the similar lin
Hi!
I am trying to set up security management for my web applications
through JDBCRealm.
What i have done:
1. modify the server.xml file to add a Realm tag ()
Database and corresponding tables exists
2. modify the web.xml to add a security-constraint tag (
Area de pruebas de seguridad
Oops, you're right that line would not have compiled...I meant I use this:
DataSource ds = (DataSource) new
InitialContext().lookup(application.getInitParameter("db.jndi.dsn"));
...to get a datasource values and assumed the similar line would work for retrieving a
String:
String str = (Str
> From: Lenny R. Sorey [mailto:[EMAIL PROTECTED]
> I cannot successfully get any of my Tomcat
> https://localhost/webapps to run. all the Tomcat
> https://localhost:8443/webapps still run without any problems.
What does your ssl.conf file look like?
I'm assuming you've started Apache with ss
First of all, Here's my platform:
Win2K Server
J2SDK 1.4.2
Tomcat 4.1.29
Apache Http server 2.0.47
I have successfully set up Apache and Tomcat to work together per John Turners
very good instructions.
In addition, I also have successfully set up a server.keystore to allow Tomcat to run
as htt
Howdy,
>I'm trying to do something as simple as define global constants for my
JSP
>application. In ASP there is a Global.asa file and the closest thing in
JSP
>is of course the web.xml file. I defined a value in my web.xml file
and
>assumed I could retrieve it using the following line:
>
>Strin
I'm trying to do something as simple as define global constants for my JSP
application. In ASP there is a Global.asa file and the closest thing in JSP is of
course the web.xml file. I defined a value in my web.xml file and assumed I could
retrieve it using the following line:
String test = (S
On Mon, December 15, 2003 at 9:42 am, Sean Dockery wrote:
> "Tim Funk" <[EMAIL PROTECTED]> wrote in message:
>> [I hate saying this since its rather very much like flambait
>> but...]
>>
>> If its worth anything, I haven't had enough load on any of our apps
>> to know whether Linux or Windows is be
No dude, after org.apache JspC task will include "jsp" also, so the
result is org.apache.jsp
> --
> De: Hans Steinraht[SMTP:[EMAIL PROTECTED]
> Responder:Tomcat Users List
> Enviada: segunda-feira, 15 de dezembro de 2003 11:52
> Para: Tomcat Users List
> Assunto:
Doing it this way your using ants jspc task giving the classes a packagename
"org.apache"
I have checked tomcats work directory and see that tomcat compiles the jsp
in a package "org.apache.jsp".
Thats why I like to use tomcats jspc task (org.apache.jasper.JspC), to avoid
that there are differenc
Howdy,
If it's a tomcat bug, it's a very peculiar one. You need to walk
through the code in your JSP and make sure you're not calling
getWriter() twice on the response.
Yoav Shapira
Millennium ChemInformatics
>-Original Message-
>From: Seth Ladd [mailto:[EMAIL PROTECTED]
>Sent: Monday,
: I had the same question. In all of the years I've worked with Java I've
: always thought it was free of memory leaks.
This is a touchy topic, because a lot of it comes down to semantics:
Java frees the developer of explicitly destroying objects. This is key
in Java because your code only han
Hello,
I'm sorry for the forward, but Scott from Sitemesh thought that a
problem I was experiencing was a Tomcat bug.
Below is a stacktrace I'm experiencing when running the sitemesh example
webapp in Tomcat 5.0.16 (SuSE 9, JDK 1.4.2). Scott thinks it's a Tomcat
5 bug.
Would the stacktrace a
Philipp Taprogge wrote:
In tomcat 4 you have to either restart tomcat after you drop the war
in it's webapps directory or manually install the webapp using the
tomcat manager (the path to war file should be relative to the webapps
dir, so if you drop the war there, you can just enter it's name
I cannot for the life of me find if this is a known issue or not but I'm
using Tomcat 4.0.3 and I have a web application that, throughout the
software, uses a single header.jsp file on every JSP page. There are
multiple subdirectories that call that header.jsp file like so:
Because header.jsp e
Title: Message
I have been using
Apache Tomcat version 4.1.18 to run a set of servlet-based web
applications. As part of my software installation, Apache
Tomcat is silently installed (AT use is documented in release
notes).
I am attempting to
transition my project to using Apache Tomca
Thanks, Tim, for the even handed response.
I'm not looking for a business case to choose one or the other, however; it
is certain that our customers will be deploying our application on both
Linux and Windows (and even Solaris). I'm just looking to find out whether
or not OS service (TCP/IP stack
I have an instance where I need the deployer of an application to
provide an unknown number of DBCP connection pools to my application at
start up time. The most appropiate way I can think to do this would be
to deploy a name-value Map to my application using Tomcat. However, is
this possible?
Ano
There is a real, bigger problem.
Without looking at the source, my guess is that the parameters are not
being parsed correctly and they are being treated as ISO-8859-1 and not
UTF-8. This can happen when there is a mismatch between the character
encoding sent from the browser, and the encoding use
Matt Raible <[EMAIL PROTECTED]> wrote:
>With 5.0.16, it's now an attribute on the .
Thanks!
--
Michiel Meeuwissen
Mediapark C101 Hilversum
+31 (0)35 6772979
nl_NL eo_XX en_US
mihxil'
[] ()
-
To unsubscribe, e-mail: [EM
I would like some clarifications about handling authentication in a
webapp:
it seems to me the simplest way to authenticate users is using form base
auth, in conjunction with declarative security (declaring
resources/roles in web.xml); the main problem with this approach in my
opinion is handling
With 5.0.16, it's now an attribute on the .
HTH,
Matt
On Dec 15, 2003, at 9:34 AM, Michiel Meeuwissen wrote:
I just upgraded my test-machine from tomcat 4.1.29 to 5.0.16.
It seems that the 'allow-linking' feature is broken, or I'm doing
something
wrong. My server.xml sais something like:
definately try port forwarding first though, read ur router's
documentation and try to figure out if u can solve ur dilema with port
forwarding alone
unfortunately, if u DMZ ur computer then u loose the security that the
router gives u
port forwarding allows u to punch holes in ur firewall but
port forwarding is safer, but if u have no idea what ports to forward or u
want the ISP's IP to actually point to a comp in ur local network then u
must DMZ that computer
Thanks,
Alan Czajkowski
-
Database Administrator
BMO Financial Group
Decision Support S
mike,
ur still asking a technical question unrelated to tomcat, but here's the
answer:
ok .. here's my understanding:
ur developing at home but the tomcat server is somewhere outside ur local
network (somewhere on the internet)
request.getRemoteAddr() is returning the IP that ur ISP assigns to
I just upgraded my test-machine from tomcat 4.1.29 to 5.0.16.
It seems that the 'allow-linking' feature is broken, or I'm doing something
wrong. My server.xml sais something like:
This used to make symlinks possible, but it doesn't in tomcat 5 (gives
404's). Should I know more, to ge
webmaster said:
> I want to use my home computer for some development on Tomcat. I
> frequently use a laptop which is on a home combination wire and wireless
> router (one wireless and four wires). How can I find out the ip
> address of each machine in the the network? A call to the ip address
Hi, Alan,
The folks in the know suggested this as the appropriate list. I am not
trying to obtain an ip address in order to access locally Tomcat, but to
access Tomcat globally. Therefore, the local subnet address will not
help. By a request object, I mean an http request object that I send
Hello,
I have a problem sending a serialized object (instance of a class that is
not part of the Java Core API) from a servlet to an applet. I don't have a
problem to send a serialized String object though - everything works fine
(even in both directions). But when I replace the String object to b
!!! u r posting a question about networking, this is the wrong place to
post !!!
but i will answer ur question anyway:
u r behind a router, think of a router as two pieces, a piece that talks
to the outside world (the internet) and a piece that allows your internal
network to communicate with
As long as you are using global variables to point to your request and
response objects, you will eventually run into concurrency problems.
On Monday 15 December 2003 10:15 am, Altankov Peter wrote:
> Thanks for the nice feed-back Anthony.
> And Antonio, just for the record, the snipplet:
>
> p
Hi everyone,
I compiled an MMBase Installation HOWTO:
http://www.offerman.net/MMBase-Installation-HOWTO/
Any feedback is welcome.
I'm not a regular subscriber to this list,
so please reply to mmbase-at-offerman-dot-net.
Best,
Adrian Offerman
Abstract
This document describes the installation
I need help understanding where this is falling apart. Apache HTTP
Server & Tomcat 4.1.24 on HP-UX.
Previously, we created pdf's, placed them on the web server, and
redirected the browser to https://example.com/user/some.pdf so that
Apache would serve them up over SSL.
Now, however, I'm trying
It is a feature of the JAR specification. You can find the online
document at
http://java.sun.com/j2se/1.4.2/docs/guide/jar/jar.html
It is in the "Main Attributes" section. The feature is also present in
JDK 1.4.1 (and I think in 1.3.1 too, but I have not tested this) :-)
Regards,
Rodrigo Ru
/manager/ gives me a directory listing of the manager context. The
correct access is:
http://localhost:8080/manager/html
However you should check in your server.xml to see what your connectors
are set up for. manager operates under ssl and the connector should
redirect the http request to the
I want to use my home computer for some development on Tomcat. I
frequently use a laptop which is on a home combination wire and wireless
router (one wireless and four wires). How can I find out the ip address of
each machine in the the network? A call to the ip address of the laptop
yields
Hi there
I have embedded the tomcat version 4.1 in my java application whereby I start the
tomcat and stop the tomcat and also creates the context on fly. Starting of the
tomcat is not a problem , its only when I stop the embedded tomcat and restart it,
tomcat stop method doesnt stop all the m
Thanks for the nice feed-back Anthony.
And Antonio, just for the record, the snipplet:
public class TestServlet extends HttpServlet {
public void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOExcep
Jason,
check out this thread:
http://marc.theaimsgroup.com/?l=tomcat-user&m=107123762419428&w=2
Adam
On 12/15/2003 03:40 PM Tim Funk wrote:
The Realm is intended as a readonly gateway for authentication and
authorization. Its not the job of the realm to update the datasource
with respect to aut
Hello,
we would like to install tomcat5 with one of our applications and we
have a problem with creating the service with the needed parameters for
our web-application.
With tomcat 4 we did it with a batch file. This is the content of the
batch file:
c:\Tomcat\bin\Tomcat.exe -install Application
On 12/15/2003 04:02 PM Edson Alves Pereira wrote:
Hello folks, i´m using Mozilla 1.4 and i just create a session
atribute named "Var_Blah" with value "here my value" and made my JSP page
show its value, like <%= ( String )session.getAttribute( "Var_Blah" ) %>.
But it didn´t work, my browse
Peter:
If you deploy your application as a web archive (.war), if you store
your context file in META-INF/context.xml (where META-INF is at the same
level as WEB-INF), upon deploy, Tomcat will copy META-INF/context.xml to
$tomcat_home/conf/Catalina/$hostname/${contextName}.xml, where $host is
the
Right yes - that would be it then.
Thanks
Adam
On 12/15/2003 01:18 PM Stefanos Karasavvidis wrote:
there is an issue lately with character encodings when sent as HTTP GET.
look for example in the developer list the "[5.0] content-type and
charset issues" thread.
Try using POST in your form and
> -Original Message-
> From: Krause Karin
> Sent: Montag, 15. Dezember 2003 15:36
> To: 'Tomcat Users List'
> Subject: [EMAIL PROTECTED]
>
>
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
The Realm is intended as a readonly gateway for authentication and
authorization. Its not the job of the realm to update the datasource with
respect to authentication creddentials or permissions. If you use JDBC, or
LDAP, then any SQL or LDAP update tool can update the backing data source
with
Hi,
I hope this question isn't too stupid, but in all of my reading of
configuring Realms, it looks like this process is done out of band, by
hand. In other words someone needs to edit tomcat-users.xml or a JDBC
database. What I would like to do is provide a web interface for admins
to b
Howdy,
Yeah, I was wrong, I realized as soon as I posted ;) It doesn't hurt to
read the JavaDoc every now and then ;)
Yoav Shapira
Millennium ChemInformatics
>-Original Message-
>From: Yiannis Mavroukakis [mailto:[EMAIL PROTECTED]
>Sent: Monday, December 15, 2003 9:10 AM
>To: 'Tomcat U
No dont think so, unless I got this completely backwards of course ;) This
is from the J2EE API:
"Returns any extra path information associated with the URL the client sent
when it made this request. The extra path information follows the servlet
path but precedes the query string. This method ret
Hi,
I'm trying to create a portlet using our GridSphere framework that
would essentially use the functionality of the tomcat manager webapp to
allow dynamic webapp reloading, etc. This all worked by doing the
following :
try {
URL u = new URL("http://127.0.0.1:8080/manager"; + co
I would like some clarifications about handling authentication in a
webapp:
it seems to me the simplest way to authenticate users is using form base
auth, in conjunction with declarative security (declaring
resources/roles in web.xml); the main problem with this approach in my
opinion is handling
Hello folks, i´m using Mozilla 1.4 and i just create a session
atribute named "Var_Blah" with value "here my value" and made my JSP page
show its value, like <%= ( String )session.getAttribute( "Var_Blah" ) %>.
But it didn´t work, my browser window is modal, any idea?
Rega
Howdy,
Isn't getPathInfo supposed to always return a string starting with /?
Yoav Shapira
Millennium ChemInformatics
>-Original Message-
>From: Yiannis Mavroukakis [mailto:[EMAIL PROTECTED]
>Sent: Monday, December 15, 2003 8:58 AM
>To: 'Tomcat Users List'
>Subject: RE: getPathInfo behav
Hmm not quite but it could be related. I noticed that getPathInfo returned
"/"
instead of null when there where no parameters present, which is part of the
issue
I am facing...
-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: 15 December 2003 13:45
To: Tomcat Users List
S
Is this it?
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25015
-Tim
Yiannis Mavroukakis wrote:
Hi everyone,
I have an app running in Tomcat 4.1.x which I moved over to Tomcat 5. I
noticed
that the return results I was getting when calling getPathInfo() where
different
between the two server
user administration with the "Tomcat Web Server Administration Tool"
(/admin)
a) umlauts
No umlauts are supported. Try to enter "Käsbär". The xml encoding is
always utf-8. For Western Europe it should be "iso-8859-1". Even if I set
this encoding in the xml file it is overwritten by the web gui
Why this directory have jars of file upload,beanutils.
Antony Paul
- Original Message -
From: "Shapira, Yoav" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Monday, December 15, 2003 6:53 PM
Subject: RE: /server/lib available to web applications?
Howdy,
No, serv
Howdy,
Umm, yeah, we figured we'd completely rewrite something elementary just
for kicks ;) Of course I'm just kidding.
What is the behavior you're observing?
Yoav Shapira
Millennium ChemInformatics
>-Original Message-
>From: Yiannis Mavroukakis [mailto:[EMAIL PROTECTED]
>Sent: Monday
Howdy,
>But I read somewhere that one should always distance himself from
system-
>level exception handling when it comes to web applications.
Please save yourself time by ignoring references that say "one should
always..." or "one should never..." -- there are real-world exceptions
to nearly e
Hi everyone,
I have an app running in Tomcat 4.1.x which I moved over to Tomcat 5. I
noticed
that the return results I was getting when calling getPathInfo() where
different
between the two server versions. Does anyone know whether the implementation
changed?
Cheers,
Yiannis
Howdy,
Don't blindly increase the max memory: figure out how much your
application SHOULD need in order to handle the expected maximum load
with an acceptable response time. Set your app to that number and
load-test it. Repeat until you arrive at the true max memory needed for
your app. It may
If you really need to know the date - The DefaultServlet has code which gets
the date.
-Tim
Shapira, Yoav wrote:
Howdy,
You are doing this right, and the code is functioning as designed. 0 is
a legitimate return value, and the JNDI url is appropriate.
What are you really trying to find out? T
Howdy,
It's a classic thread safety issue. Dump your homebrew connection
pooling implementation in favor of a 3rd party one like DBCP that is
better tested against these race conditions.
Yoav Shapira
Millennium ChemInformatics
>-Original Message-
>From: Vikas [mailto:[EMAIL PROTECTED]
Howdy,
You 2nd context probably has deployment problems which prevent JNDI from
working. autoDeploy for the host just appears to break JNDI because it
triggers deployment of your 2nd context.
Yoav Shapira
Millennium ChemInformatics
>-Original Message-
>From: Tony Colson [mailto:[EMAIL
Howdy,
You are doing this right, and the code is functioning as designed. 0 is
a legitimate return value, and the JNDI url is appropriate.
What are you really trying to find out? The date that the JSP page was
modified?
Yoav Shapira
Millennium ChemInformatics
>-Original Message-
>Fro
Howdy,
No, server/lib is not available to webapp. No, do not copy the jar from
server/lib to common/lib. If you want it available to both webapps and
the server, just have one copy in common/lib, that's what that
repository is for.
Yoav Shapira
Millennium ChemInformatics
>-Original Messag
Hello,
Try this:
Back up server.xml,
Delete all sections that are commented out,
change all tags to be on a single line.
Indent the file properly.
Remove the examples context.
Then comment the file by looking through the Docs.
IMPORTANT: You need to have each host serving from a different direct
[I hate saying this since its rather very much like flambait but...]
If its worth anything, I haven't had enough load on any of our apps to know
whether Linux or Windows is better. Instead, look at:
*** - Maintenance - If your a windows shop - stay windows ***
- Debugging - I think troubleshootin
It should be:
jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/valves/ErrorReportValve.java
But it would be WAA easier to use in web.xml
-Tim
Josh G wrote:
Hi, I'm trying to find the source for the default 404 not found page
that tomcat uses, so I can add more functionality to
Try starting with catalina.bat (in the same directory as startup.bat).
When you start Tomcat this way, the dos window will stay open so you can see
any startup errors.
On Monday 15 December 2003 07:06 am, you wrote:
> Hi All,
> I have a standalone Tomcat 4.0.6 startup which used to works OK.
there is an issue lately with character encodings when sent as HTTP GET.
look for example in the developer list the "[5.0] content-type and
charset issues" thread.
Try using POST in your form and if this solves your problem, then you're
hit by it.
sk
Adam Hardy wrote:
This is something I tho
Hi All,
I have a standalone Tomcat 4.0.6 startup which used to works OK.
Now it stop working, I can't even get it started.
On Win2K machine, starting tomcat's default startup.bat failed.
Nothing shown on tomcat's log files.
I guess the logging services are not even started.
I also tried with Tomc
1 - 100 of 109 matches
Mail list logo