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
gt;
> Looks like you 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
ial
documentation.
Thank you very much for the info-
Allen
On Friday 03 August 2007 19:42, David Smith wrote:
> Doh!
>
> Looks like you already know about getServletContextName().
> getContextPath() still doesn't exist. If getContextPath() is what I
> think it is, it's on
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() + "'");
log.write("AppInitializer::ContextIniti
ists wrote:
> 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
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 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 for the tip!
> >
&
> (windows syntax)
>
> 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
lassloader howto at
> http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html. It
> might offer 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
unpacked 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 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 org.apache.catalina.loader.We
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 directo
resolves its file names.
On Wednesday 16 August 2006 16:42, aladdin wrote:
> On Wednesday 16 August 2006 08:16, David Smith wrote:
> > aladdin wrote:
> >
> > >On Wednesday 16 August 2006 07:42, David Smith wrote:
> > >
> > >
> > >>aladdin wr
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 confi
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
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 doesn
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 sud
inal
> message without making a copy. Thank you.
>
>
>
> - Original Message -
> From: "aladdin" <[EMAIL PROTECTED]>
> To:
> Sent: Monday, May 29, 2006 12:09 PM
> Subject: mod_jk: shm and performance, & which port?
>
>
> &g
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 it
19 matches
Mail list logo