what error are your getting?
-Original Message-
From: Sam Seaver [mailto:samseaver;hotmail.com]
Sent: Wednesday, October 16, 2002 8:12 PM
To: [EMAIL PROTECTED]
Subject: Re: classpaths again
No I'm importing it in the JSP tag %@page import sam.xml.* %
S
JC Rules
ok, several problems here:
1. place a 'return;' after your sendRedirect()
2. remove unintended whitespace from your jsp:
change
%
jsp:forward page=daily.jsp/jsp:forward
%
to
%jsp:forward page=daily.jsp/jsp:forward%
3. post your error messages with stack trace. I happen
put it in the WEB-INF/classes directory and your serlvet should be able to
find it.
Charlie
-Original Message-
From: Marek Majtan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 17, 2002 12:13 PM
To: [EMAIL PROTECTED]
Subject: loading class
I cant't load class
in Tomcat.
I thought the most descriptive definition would get the mapping. Maybe its
the last match. Have you tried reversing the order of your servlet mappings?
Charlie
-Original Message-
From: Thomas Heller [mailto:th.heller;mx4k.com]
Sent: Friday, October 18, 2002 6:22 AM
To: Tomcat Users
This was posted on another thread(socket permission catalina.policy
question) by Erik Erskine - see if its is related:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7319
Charlie
-Original Message-
From: Gustavo Antonio Muñoz Lechuga [mailto:gmunoz;interware.com.mx]
Sent:
which version of tomcat?
what's the error message?
are you using catalina.policy, if so did you allow the WEB-INF/classes
directory?
Charlie
-Original Message-
From: Greg Bullough [mailto:gwb;outofchaos.com]
Sent: Friday, October 18, 2002 11:57 AM
To: Tomcat Users List
Subject:
: RE: Class Loader ignoring WEB-INF classes
At 12:43 PM 10/18/02 -0400, Cox, Charlie wrote:
are you using catalina.policy, if so did you allow the
WEB-INF/classes
directory?
Thanks Charlie!
That's it! What's the protocol for getting a hyperlink to
security policies
added
did you restart tomcat after changing tomcat-users file?
-Original Message-
From: James D. Whittington [mailto:jim;whittington.com]
Sent: Sunday, October 20, 2002 10:34 AM
To: [EMAIL PROTECTED]
Subject: Admin/Manager problems
Ok here it goes... I am a real newbie to java and
you want to access them as http://localhost/manager. You need to make sure
you define the manager app under your warp connector.
Charlie
-Original Message-
From: Fabio Marsilio [mailto:fmarsilio;veniceplaza.net]
Sent: Monday, October 21, 2002 6:56 AM
To: Tomcat Users List
Subject:
the filter is only applied on teh original request, not for forward() or
include()
/* will match all files
/mydir/* will only match the files in /mydir
*.do will match all 'do' files - reguardless of path
/*.do - invalid, you cannot mix path and wildcard.
Charlie
-Original Message-
sounds like you need to allow the WEB-INF/classes permission in your
catalina.policy file
Charlie
-Original Message-
From: Jeremy Cavagnolo [mailto:jcavagnolo;hotmail.com]
Sent: Wednesday, October 23, 2002 12:31 PM
To: [EMAIL PROTECTED]
Subject: Tomcat 4.1.12 ClassNotFoundException
is the Session object loaded by 'Mailer.envCtx.lookup()' loaded in the same
classloader?
do you have a different version of javamail in your WEB-INF/lib that is
passed to a class in /common/lib where the version shipped with tomcat is
loaded?
Charlie
-Original Message-
From: Garrett
did you restart tomcat after movig it to /tomcat/lib?
are you using it for a JdbcRealm in 4.1.12? If so, you need to put it in
/common/lib so that the tomcat internal classes can access it along with
your web app.
Charlie
-Original Message-
From: Curley, Thomas
there is no way. you will have to do that in your filter.
you could apply your filter to subdirectories individually instead of /* and
leave your login page in the root or in an unmapped directory.
Charlie
-Original Message-
From: [EMAIL PROTECTED] [mailto:rhodespc;telerama.com]
sounds like you want each webapp to have its own instance of
statics,singletons,etc within your jar. In order to do this, you will need
to copy the jar into each WEB-INF/lib where it is needed (and allow each
with catalina.policy if applicable)
Charlie
-Original Message-
From: Frank
yes, classpath is ignored.
you must put them in /WEB-INF/lib for each application or in /common/lib if
you want to share them between apps. database jars need to be in /common/lib
to be visible to tomcat's classes and also your webapps.
Charlie
-Original Message-
From: Sinclair, Alan
the problem would be knowing where to insert those lines. You sometimes need
to do things before writing to the output stream(response encoding,etc), so
it can't just go at the top of the file in all cases. This is why the
include is available.
You could use a filter to use
you can use lucene to index whatever you want. You have to create your own
'crawler'(I think some have been contributed). It is very flexible in that
your indexed data does NOT have to be(but can be) web pages.
http://jakarta.apache.org/lucene
Charlie
-Original Message-
From: Felipe
the default servelt invoker is disabled by default in /conf/web.xml for
security reasons. you can enable this or create your own mapping for your
servlet in /WEB-INF/web.xml
Charlie
-Original Message-
From: Correo [mailto:hefperez;ar.inter.net]
Sent: Wednesday, October 30, 2002 8:15 AM
,
Which bit of which spec are you referring to? It sounds
strange to me that
a webapp is not allowed to use any version of any parser it wants to.
Steve Slatcher
Cox, Charlie wrote:
this was done to enforce the spec. It was added in later and the doc
was probably overlooked. you can
the default servlet invoker is disabled by default in conf/web.xml. Either
enable it or create your own servlet mapping in WEB-INF/web.xml
-Original Message-
From: Denys Sene dos Santos [mailto:sene;cptec.inpe.br]
Sent: Thursday, October 31, 2002 6:52 AM
To: Tomcat Users List
-Original Message-
From: Andy Wickson [mailto:andy;awtech.co.uk]
Sent: Thursday, October 31, 2002 7:57 AM
To: Tomcat Users List
Subject: packages
Hi all,
If I put a servlet called Hello.class into a package called
com.myco.test and have a suitable dir structure under
depends on your goal. If both hostnames are doing the same things in all
cases you should use Alias to prevent multiple copies of everything from
running. If you have different contexts, logfiles, etc for each then you
should use multiple host elements.
Charlie
-Original Message-
From:
sessions are unique to the virtual hosts. You will have to maintain the
session information yourself through a common database, or use different
contexts instead of virtual hosts.
If you don't want to use tomcat's built-in authentication, you can use a
filter to enforce login before accessing
I don't think so. The whole point of the j_security is to protect resources
and the filter is a resource(it can abort the request mapping chain and
return a response itself).
A valve may let you do it. I haven't worked with valves.
Charlie
-Original Message-
From: Guru Mandavia
I'm not sure which jasper TC5 is using, but maybe this thread can help.
http://www.mail-archive.com/tomcat-user;jakarta.apache.org/msg57664.html
Charlie
-Original Message-
From: Ralph Einfeldt [mailto:ralph.einfeldt;uptime-isc.de]
Sent: Friday, November 01, 2002 8:20 AM
To: Tomcat
you need a servlet-mapping(after servlet) in your web.xml. Your class is
in the correct place.try
servlet-mapping
servlet-nameDispatchServlet/servlet-name
url-pattern/BookStore/DispatchServlet/url-pattern
/servlet-mapping
this may just be your email, but 'web-inf' should be
you will also want to review the classloader doc
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/class-loader-howto.html
Charlie
-Original Message-
From: Jacob Kjome [mailto:hoju;visi.com]
Sent: Friday, November 01, 2002 3:33 PM
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: Re:
can't you just have ant copy the modified classes(or jar) to WEB-INF?
-Original Message-
From: Chris gokey [mailto:cgokey;gcmd.nasa.gov]
Sent: Monday, November 04, 2002 10:34 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat and CLASSPATH
We never run Tomcat as root so this is
-Original Message-
From: Chris gokey [mailto:cgokey;gcmd.nasa.gov]
Sent: Tuesday, November 05, 2002 9:25 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat and CLASSPATH
Thanks Justin. Yes, I think you understand me correctly. I
think the
easiest way to handle a problem like
I wouldn't mind a 'common-file-separate-instance' directory where each
application (as allowed in some manner(web.xml?)) could load *separate
instances* of a jar/class file that resides in the same loaction. This would
avoid the duplication of such libraries that should not share instances.
I
try adding a leading / to your filter-mapping:
url-pattern/ca/servlet/*/url-pattern
Charlie
-Original Message-
From: jjnfg [mailto:jjnfg;yahoo.com]
Sent: Wednesday, November 06, 2002 8:42 PM
To: [EMAIL PROTECTED]
Subject: WEB.XML and TOMCAT v.4.0.6 reading error
-Original Message-
From: Turner, John [mailto:JTurner;AAS.com]
Sent: Thursday, November 07, 2002 2:28 PM
To: 'Tomcat Users List'
Subject: RE: Class Path and New Context
-Original Message-
From: [EMAIL PROTECTED] [mailto:developer;wexwarez.com]
Sent: Thursday,
a WAR is a complete web application. If you upload a WAR and place it in
\tomcat\webapps, you could then install it via manager and have it
available(until tomcat is shutdown). just don't let your upload process get
out or you will have a major security hole.
it sounds like you just want a jar.
actually this should work. I have used install with a context(not a war).
you have to play around with the path to get it exactly right. I would
expect it to work with a war as well. I don't recall the exact syntax, but I
did get it working by referencing the manager howto.
I think Tom read it as
my apologies, saw your reply before your original post...
I haven't tried a remote war file
Charlie
-Original Message-
From: Cox, Charlie [mailto:ccox;cincom.com]
Sent: Friday, November 08, 2002 11:13 AM
To: 'Tomcat Users List'
Subject: RE: System user accounts required to use
if your filter is not being called, then the mapping is probably not
correct. Please provide the relevant portions of your web.xml. Also provide
the url that your are using for testing. You can change names to protect the
innocent.
did you look in the logs to see if there are any messages?
file this as an enhancement in bugzilla. This is the best way to make sure
it is not overlooked.
Charlie
-Original Message-
From: Sriram N [mailto:sriramx_2000;yahoo.com]
Sent: Saturday, November 09, 2002 11:20 AM
To: [EMAIL PROTECTED]
Subject: Contribution to the running.txt file
set load-on-startup in web.xml for your servlet. This will call init()
when tomcat is started as opposed to the first call.
Are your applet and browser calling the same url? If you defined multiple
servlet definitions for your servlet in web.xml you will get separate
instances. Also if you have
-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Sunday, November 17, 2002 8:42 PM
To: Tomcat Users List
Subject: Re: Can all vhosts share one Webapp?
On Sun, 17 Nov 2002, Brandon Cruz wrote:
Date: Sun, 17 Nov 2002 16:46:44 -0600
From:
: Wednesday, October 30, 2002 9:26 AM
To: Tomcat Users List
Subject: Re: Tomcat Xerces Issue.
Hi Charlie,
Which bit of which spec are you referring to? It sounds
strange to me that
a webapp is not allowed to use any version of any parser it
wants to.
Steve Slatcher
Cox
Put all yout common code in one context, make a context available for it in
each virtual host. Then create a context-specific directory(named the same
in all hosts) that contains header.jsp,etc that are specific to each host.
Charlie
-Original Message-
From: Turoff, Steve
you have to identify your context somehow so that it knows which context you
want, so you need a real path to specify it.
Within each context I create a virtual directory(servlet mapping) so that I
can specify any filename in the directory and it will always go to my
servlet. This works great for
WebAppClassloader is the classloader used for webapps and
StandardClassLoader is used for common,shared, and server classloaders.
You probably want the whole source since they reference other classes. It's
not that big.
Charlie
-Original Message-
From: aps olute [mailto:[EMAIL
both are safe. reload will be faster(one command vs two), but start/stop
will allow web.xml to be read again.
Charlie
-Original Message-
From: Renato [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 18, 2002 1:30 PM
To: [EMAIL PROTECTED]
Subject: Manager application - quick
you may be in conflict with the new admin feature of 4.1.x. I'm not on 4.1.x
yet, so I'm not sure how its implemented.
Charlie
-Original Message-
From: Colic, Alex [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 18, 2002 3:29 PM
To: 'Jano'; Tomcat Users List
Subject: RE: Tomcat
web app?
Alex
-Original Message-
From: Cox, Charlie [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 19, 2002 10:47 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat 4.12 no longer likes my admin directory.
you may be in conflict with the new admin feature of 4.1.x.
I'm
you may want to try ServletContext.getResourceAsStream()
getServletContext().getResourceAsStream(/WEB-INF/classes/myprop.properties
);
Charlie
-Original Message-
From: Klein, Scott @ TW [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 19, 2002 7:37 PM
To: 'Tomcat Users List'
do not put xerces.jar in WEB-INF/lib. It will not work there since it is
already in /common/lib. Tomcat comes with Xerces already, so unless you need
functionality not contained in the provided xerces.jar, you don't have to do
anything. if you need a newer version, replace the one in /common/lib.
check out the application developer's guide
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/appdev/index.html
Charlie
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 20, 2002 3:26 AM
To: [EMAIL PROTECTED]
Subject: hi
hi
i wnt
which version? there was a deadlock problem in 4.0.1 to 4.0.3, but it was
fixed in 4.0.4.
Charlie
-Original Message-
From: Michele Emmi [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 20, 2002 3:18 PM
To: [EMAIL PROTECTED]
Subject: Manager--hangs during clean up
Hi,
I was
why not set up a URL that your scheduler can call?
http://myserver/scheduler/doTask http://myserver/scheduler/doTask
This could run a servlet that would do the task. You can set up filters or
valves to restrict access to localhost.
Charlie
-Original Message-
From: Nathan Smith
://myserver/sc
heduler/doTask
);, which
returns a URL object?
The point I am at when it comes to executing the servlet I
don't have access
to any HttpServletRequest or HttpServletResponse so it makes it a bit
trickier.
Nathan.
- Original Message -
From: Cox, Charlie [EMAIL
What difference does it make what the sessionid is? the session will still
expire, so if you need to keep track of data by ip address instead of
sessions, store it in a database. You can always store the ipaddress in the
session and retrieve it just as you sould retrieve the session id.
The use
you have to define the Manager context for each virtual host. You do not
need to copy any files for the manager app.
Charlie
-Original Message-
From: Brandon Cruz [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 21, 2002 1:22 PM
To: Tomcat Users List
Subject: Is anyone using
from AccessLogValve.java:
dateFormatter = new SimpleDateFormat(-MM-dd);
I'm seeing custom code in your future...but on the positive side, it's only
a valve, not all of tomcat that you have to build.
Charlie
-Original Message-
From: peter lin [mailto:[EMAIL PROTECTED]]
Sent:
You want to upgrade to at least 3.3, if not 4.x for the bug fixes and
additional features. AccessLogValve does this in 4.x, I'm not sure what 3.3
uses.
Charlie
-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 21, 2002 11:57 AM
To: Tomcat Users
the context within my virtual
host it is
thinking that it is an application level servlet and can't
reference what it
needs.
I have set it to priveleged in my context but it seems to ignore that
setting.
-Original Message-
From: Cox, Charlie [mailto:[EMAIL PROTECTED
-Original Message-
From: jennifer lindner [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 21, 2002 2:48 PM
To: [EMAIL PROTECTED]
Subject: is there a free ide that gets along well with tomcat?
hello, i'm a newbie so i apologize if this topic came
up last week or something.
you will probably have to write your own filter to do this. I don't think
you can bypass the auth on a context.
you could use a valve to allow your block of ip's if only that block would
be used. It is not clear from your email if users with name/pass are also in
this ip block. if any ip is
? Is there anyway to have Tomcat
automaticaly look for a file in the Common Context if it
doesn't find it in the Local Context?
Thanks,
Steve
-Original Message-
From: Cox, Charlie [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 18, 2002 8:31 AM
To: 'Tomcat Users List'
Subject
use request.gePathInfo() to get the path. Then parse the string and use
RequestDispatcher.forward(/products/Toys/index.jsp?myparam=+langString).
The forward() will not be subject to further filter processing.
Charlie
-Original Message-
From: Stephen Riek [mailto:[EMAIL PROTECTED]]
presume you also mean that I should map all incoming requests to a
servlet that then examines the PathInfo and issues the
requestDispatcher.
Magnificent solution. Thank you indeed.
Stephen.
Cox, Charlie [EMAIL PROTECTED] wrote:use
request.gePathInfo() to get the path. Then parse the string
are you getting any errors in the error log? is it possible that you are
throwing/catching an exception that is not allowing anything to be written
to the output stream?
Charlie
-Original Message-
From: neal [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 26, 2002 2:36 PM
To:
you are correct. Java 1.4 does not allow you to override classes already
loaded by a parent classloader. Tomcat enforces this. You can replace the
version that comes with tomcat if you need a newer version.
Charlie
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
what you compile against and what tomcat is using *could* be two different
things if your classpath is not identical to /common/lib(and WEB-INF/lib),
which it looks like yours is very different.
Therefore if your class was compiled against some library that contains a
different version of any
this is a similar thread - see if helps at all:
http://marc.theaimsgroup.com/?l=tomcat-userw=2r=1s=filters+running+twice;
q=b
Charlie
-Original Message-
From: Cédric Viaud [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 27, 2002 8:31 AM
To: Tomcat Users List
Subject: Re: Pb
no, filters are only applied on the original request.
Charlie
-Original Message-
From: AAron nAAs [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 28, 2002 12:45 PM
To: [EMAIL PROTECTED]
Subject: Re: filter jsp:include servletPath?
Due to the complexity of the question and
why do you need a servlet wrapper for binary files? if you need to do
pre/post-processing, use a filter and let tomcat server the file. This way
you don't have to try to implement the http spec in your servlet.
You will run into problems when a download manager requests 10 pieces(via
http
are you setting the content type in the jsp?
Charlie
-Original Message-
From: Caton, Paul [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 03, 2002 9:06 AM
To: Tomcat Users List
Subject: RE: Not getting CSS with XML
Dave,
Thanks for the reply, but no, I'm sure that's not
. Is there another way you know of I
could try?
Paul.
-Original Message-
From: Cox, Charlie [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 03, 2002 10:06 AM
To: 'Tomcat Users List'
Subject: RE: Not getting CSS with XML
are you setting the content type in the jsp?
Charlie
was speculating on something like
this, but didn't know if it's true. If you have time, please
point me to
some where easy to find info on how to do this (since you did the same
thing before). Again, thank you very much for the help.
On Tue, 3 Dec 2002, Cox, Charlie wrote:
why do you
open an enhancement in bugzilla for this update to ensure that is doesn't
get lost. I'm sure its just a carryover from the 4.0 release.
Charlie
-Original Message-
From: Jacob Kjome [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 04, 2002 11:52 AM
To: Tomcat Users List
Subject:
I do a silimar thing where all my content is in a database as XML, so that
the users can update their content when *they* need to(not when I get around
to it). Then the html is created using xsl when requested.
The way that I set this up is that I map a directory to each servlet (or
sometimes
You should have a java class that is implemented in a native dll provided by
whoever created the native dll. You should have a .java file for it
describing the methods available. This .java is where you can add the
singleton code to load the library. Then you can call it just as any other
class.
you can use a filter to do this programatically. You can use
request.isUserInRole(myrole) to see if they are in a given role.
you can reload web.xml by using manager to stop/start(not reload) the
application. This will only affect the requested context as opposed to
restarting tomcat.
Charlie
you didn't mention your version, but filters are a 4.x feature. There are
filter examples in the 'examples' context under /WEB-INF/classes/filters
Charlie
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 01, 2002 12:47 PM
To: [EMAIL PROTECTED]
I just answered this last week. see the thread Native library cannot be
loaded twice in the archives
Charlie
-Original Message-
From: Collins, Jim [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 02, 2002 1:30 PM
To: 'Tomcat Users List'
Subject: Ahh Native Library Hell
Hi all,
that will only be
loaded once. I
have explained this in my original post, do you have any idea
what I need to
set so that I don't get the java.lang.UnsatisfiedLinkError in this new
servlet.
Many thanks
Jim.
-Original Message-
From: Cox, Charlie [mailto:[EMAIL PROTECTED]]
Sent
-Original Message-
From: Ravindar Reddy [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 08, 2002 10:20 AM
To: 'Tomcat Users List'
Subject: Custom security realm/class loader issues
I wrote a custom security realm for authentication. This
realm class is
referring to the
you have to create a session by using request.getSession(). Once you are
creating sessions, then they will show up in manager.
see session-timeout in web.xml to decrease the session timeout.
Charlie
-Original Message-
From: Steve Wong [mailto:[EMAIL PROTECTED]]
Sent: Monday, July
you can use a filter to see if the referring page is your form and then
allow the download or redirect to your form appropriately. Alternatively,
you could set a value in the session that is only set by your form
submission that your filter can look for.
I do a similar thing in a filter where I
I originally tried this, but it became a pain because I didn't support
'Range' requests which sent the whole file(in my case 50MB) for each request
when someone used a download manager.
A filter on the actual file is much more efficient since Tomcat can serve
the file when it needs to and it
someone just typing the folder URL and
grabbing the file?
Thanks everyone for your input.
Kevin
-Original Message-
From: Cox, Charlie [mailto:[EMAIL PROTECTED]]
Sent: 11 July 2002 17:46
To: 'Tomcat Users List'
Subject: RE: How to hide a download file
you can use a filter
yes, it is true that jni_tester will only be loaded once.
Your code that uses Bridge only has to be in the \lib directory if Bridge
uses any of those classes. If your other code is just calling Bridge, it can
go into the web-inf/lib for your context.
Charlie
-Original Message-
is there a reason why you can't have the directory under webapps? In order
to do this you would need to write your own servlet that reads the file and
writes to the output stream. You should let Tomcat serve the file when
possible so that you don't have to implement all the http 1.1 features...
I just answered this last week. Use a filter that checks the session and
leave your download files in a directory under webapps. Filters make this
simple. Don't do any more work than you need to :)
Charlie
I have found an article at www.javaworld.com about witing
servlets for
alternatively you can unpack the jar files, delete the older conflicting
classes, and repackage to avoid these conflicts. I've had to do this on
occasion.
Charlie
-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 17, 2002 2:49 PM
To:
);
return;
}
chain.doFilter(req,resp);
}
-Original Message-
From: Lars Nielsen Lind [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 17, 2002 5:34 PM
To: Tomcat Users List
Subject: Re: Hide download file
Cox, Charlie wrote
The errors look like it can't find the XML parser. Did you replace
parser.jar with xerces or crimson? If so, you need to update your
wrapper.properties path to point to the new jar files.
Charlie
-Original Message-
From: gisprogram [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 17,
I'm not sure you need filters for this.
define your servlet mapping in web.xml to be *.html
Then you can set up a welcome-file-list to go to index.html, which would
route to your servlet based on it ending with .html
it's that simple.
Charlie
-Original Message-
From: Mark Beecroft
further down in the stack trace should be a 'root cause'. please post it as
this is the real error...
-Original Message-
From: Renato Romano [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 22, 2002 6:38 AM
To: 'Tomcat Users List'
Subject: Urgent!!Please Help!
I find several
you would have to use the machine's ip and access tomcat that way in order
to know which tomcat you are managing. But if you have multiple virtual
hosts on each server this becomes more difficult.
can you set up new aliases in your loadbalancer that knows to direct
requests to the specific host?
it seems to me that there was a problem where tomcat was returning a 50x
error due to a NPE, but I don't see it in the release notes for 4.0.4, so I
don't know it was resolved or not. You may want to check bugzilla.
Charlie
-Original Message-
From: Renato Romano [mailto:[EMAIL
change the appbase for your host in server.xml to be something other than
webapps. This will stop the autoloading of contexts. therefore it will only
load the contexts that you have explicitly defined.
Charlie
-Original Message-
From: Marinko, Jeff [mailto:[EMAIL PROTECTED]]
Sent:
-Original Message-
From: Ryszard Lach [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 24, 2002 8:07 AM
To: [EMAIL PROTECTED]
Subject: Best practice for virtual host configuration
Hi!
How is (in your opinion) best practice for virtual host
configuration ?
I see there is
Message-
From: Ryszard Lach [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 24, 2002 8:55 AM
To: Tomcat Users List
Subject: Re: Best practice for virtual host configuration
On Wed, Jul 24, 2002 at 08:37:50AM -0400, Cox, Charlie wrote:
if you change the appBase, then you need
try deleting the 'work' directory.
-Original Message-
From: smashingwebs [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 18, 2002 1:52 PM
To: Tomcat Users List
Subject: Fw: Bug in tomcat 3.2.3
Anybody.Any ideas??
- Original Message -
From: smashingwebs [EMAIL
its 'password', not 'passwords' for user 'steve'.
Also you want 'Context', not 'ContextManager'. Server.xml has changed
significantly. See the sample server.xml that comes with tomcat 4.x or the
docs in \tomcat-docs.
I would also recommend 4.0.4 as it has bug fixes for 4.0.3
Charlie
actually, there are three versions. you should get rid of the older 2
because they may be conflicting. you should also get rid of other
duplicates(xalan,xml-apis,regexp,xmldb?).
you have no way of knowing which version of xerces is loaded first - only
the first version loaded(may be the old or
1 - 100 of 444 matches
Mail list logo