Also that link says 2.4 Java API, not 2.5. Perhaps another indicator of an
artifact of earlier versions?
But, y'all are confident getContextPath is in Tomcat 6.0?
On Saturday 04 August 2007 08:43, David Smith wrote:
Mark Thomas wrote:
aladdin wrote:
If you go here (Sun's official docs
I have the following two lines of code in a context listener:
ServletContext sc= e.getServletContext(); // e is a ServletContextEvent
log.write(AppInitializer::ContextInitializer: context name=' +
sc.getServletContextName() + ');
already know about getServletContextName().
getContextPath() still doesn't exist. If getContextPath() is what I
think it is, it's only available in ServletRequest.
--David
aladdin wrote:
I have the following two lines of code in a context listener:
ServletContext sc
:
aladdin wrote:
After using Tomcat for over a year, one thing I still can't get straight
is how directories are resolved. I would love it if someone could point
me to a reference that ties together the context in server.xml, mod_jk
mounts, and web.xml mappings, particularly with regard
After using Tomcat for over a year, one thing I still can't get straight is
how directories are resolved. I would love it if someone could point me to a
reference that ties together the context in server.xml, mod_jk mounts, and
web.xml mappings, particularly with regard to an Apache front end.
the user tomcat runs as can
read it. One last thing to look for is any errors further up in the
logs above the class not found exception.
--David
aladdin wrote:
Thanks for the tip!
I don't think I'd have a conflict with all the classes in my application.
Although some of my classes have
)
to be sure it's valid. The command above lists all the files in the jar
file. Then be sure permissions are set so the user tomcat runs as can
read it. One last thing to look for is any errors further up in the
logs above the class not found exception.
--David
aladdin wrote:
Thanks
some ideas.
--David
aladdin wrote:
When I put my webapp.jar file in the WEB-INF directory, it doesn't find
the app. When I exploded it into the classes directory, and associated
subdirectories, they are found fine, but I get this problem (the one
below).
This, it turns out
in the classes
directory, he seems perfectly happy. Is there some magic I need for tomcat
to use .jar files in the WEB-INF/lib directory, like an entry in web.xml or
server.xml?
On Friday 16 February 2007 22:52, aladdin wrote:
I was getting a message like SEVERE PersistenceManager persistence
I was getting a message like SEVERE PersistenceManager persistence not
enabled, or something like that (I don't remember) so I disabled (commented
out) the Manager tag in server.xml that configured the PersistenceManager.
Now, I'm getting
Feb 16, 2007 9:26:34 PM
I have a development machine on which everything works fine, and I'm trying to
deploy to a production machine, and for some reason it's not finding my
filter. The fact that it *knows* about the filter indicates (well, at least,
I think it indicates) that it found the web app and associated
On Wednesday 16 August 2006 07:42, David Smith wrote:
aladdin wrote:
I have an apache-http tomcat configuration set up that works just
fine, with static htm's, jsp's, and servlets, except for one thing. It
finds all my .htm static content, and, when serving that, uses the
referenced .css
On Wednesday 16 August 2006 08:16, David Smith wrote:
aladdin wrote:
On Wednesday 16 August 2006 07:42, David Smith wrote:
aladdin wrote:
I have an apache-http tomcat configuration set up that works just
fine, with static htm's, jsp's, and servlets, except for one thing
as to why is this the case? Why would
a file referenced as file.ext be mapped to mod_jk, when a file
referenced as /file.ext isn't?
Actually, I'm beginning to think I'll never understand how an integrated
apache/tomcat installation resolves its file names.
On Wednesday 16 August 2006 16:42, aladdin
I have an apache-http tomcat configuration set up that works just
fine, with static htm's, jsp's, and servlets, except for one thing. It
finds all my .htm static content, and, when serving that, uses the
referenced .css style sheets. However, when it goes to tomcat and
serves .jsp files, it
I had this all working with some basic jsp pages and a (one) servlet. I went
to continue to build on my application, and all of a sudden, it broke again.
I changed a lot of code (html, jsp, and java), but none of the configuration
files,
I don't think (but, you know how that goes). All of a
I have gotten mod_jk working connecting apache and tomcat, but the log has this
error:
[Mon May 29 11:27:16 2006] [5118:52288] [error] init_jk::mod_jk.c (2356):
Initializing shm:/etc/apache2/logs/jk-runtime-status errno=2
I found that it is because I didn't give it a shared memory file.
Will
.
- Original Message -
From: aladdin [EMAIL PROTECTED]
To: users@tomcat.apache.org
Sent: Monday, May 29, 2006 12:09 PM
Subject: mod_jk: shm and performance, which port?
I have gotten mod_jk working connecting apache and tomcat, but the log has
this
error:
[Mon May 29 11
18 matches
Mail list logo