I've been trying to get my App working for the last two days but I'm
stuck.
I'm running tomcat 6.0.14 on XP.
When tomcat starts up it tries to load the first servlet and I get the
following error:
SCHWERWIEGEND: Error deploying configuration descriptor
ITVHealthGate.xml
Ladislav Gaspar wrote:
[...]
What strikes me as very strange is that in the error message:
java.lang.NoClassDefFoundError: HttpServlet
there is no package name in HttpServlet (that's why the ClassLoader
can't find the Class, I suppose).
Has anyone got an idea what could be wrong?
No, but
As I wrote in the original post
(I've cleaned up the classpath, there are no duplicate servlet-api.jar files
around)
The servlet-api.jar is there and it's also in the classpath. (in
$catalina_home/lib)
-Ursprüngliche Nachricht-
Von: André Warnier [mailto:a...@ice-sa.com]
Gesendet:
Charles,
thanks a bunch,
that's explaining my observations.
Do I understand your statement correctly in that sense, that *if* an
APRLifeCycleListener has been configured within TC 5.5, but no APR is
found due to mis-configuration, a message then will show up in the
logs?
Cheers
Gregor
--
From: Leon Rosenberg [mailto:rosenberg.l...@googlemail.com]
Well, actually when it comes to IO performance Java outperforms C, so
I wouldn't place my money on old bets like C is faster because its C.
It isn't.
Specifics! Which platform(s), which compiler(s), which runtime(s), which
David Boreham wrote:
Jess Holle wrote:
David Boreham wrote:
I think you also need to factor in the labor cost to manage two
different servers. I know that in our production deployments we
could buy many many machines for the cost of the time we've spent
trying to make AJP work. Tomcat could
Mladen Turk wrote:
When it comes to the large file serving then the OS sendfile
support in Tomcat Native outperforms the standard Java IO
by an order of magnitude (In some of my tests up to 4 times),
and with constant memory usage regardless of file size.
There is also some other advanced
If I understood right, Apache httpd 1.3 is not multi threaded but can
consist of multiple processes. And one Apache process has a connection pool
size of 1 that should not be changed. So is there a kind of pool of
1-connection-pools ? Is it right that it does not make sense then for mod_jk
to have
Maybe you miss spoke (typed?), but the servlet-api.jar should only be in
$CATALINA_HOME/lib and absolutely not on any classpath environment
variable. Tomcat's classloader hierarchy will make sure it's loaded as
needed.
--David
Ladislav Gaspar wrote:
As I wrote in the original post
(I've
From: Gregor Schneider [mailto:rc4...@googlemail.com]
Subject: Re: Indicator APR is loaded - TC 5.5
Do I understand your statement correctly in that sense,
that *if* an APRLifeCycleListener has been configured
within TC 5.5, but no APR is found due to mis-configuration,
a message then will
Well, if you don't want to deal with the APR (which I don't think is
all that complicated), maybe new NIO-connector is worth a try:
http://tomcat.apache.org/tomcat-6.0-doc/config/http.html
However, I haven't seen any benchmarks comparing NIO with APR,
especially when it comes to SSL
Btw., a
Hi guys,
I'm just wondering if anyone of this list will be joining the
ApacheCon in Amsterdam this year?
If so, maybe we could set up kid of a userlist-meeting and see the
faces behind those posts?
Cheers
Gregor
--
just because your paranoid, doesn't mean they're not after you...
gpgp-fp:
Gregor Schneider wrote:
Well, if you don't want to deal with the APR (which I don't think is
all that complicated), maybe new NIO-connector is worth a try:
http://tomcat.apache.org/tomcat-6.0-doc/config/http.html
However, I haven't seen any benchmarks comparing NIO with APR,
especially when it
From: Gregor Schneider [mailto:rc4...@googlemail.com]
Subject: Re: Performance of APR
However, I haven't seen any benchmarks comparing NIO with APR,
especially when it comes to SSL
SSL handling is the same for the NIO and the traditional Java connector, so APR
wins there. Filip has
Arne Riecken wrote:
If I understood right, Apache httpd 1.3 is not multi threaded but can
consist of multiple processes. And one Apache process has a connection pool
size of 1 that should not be changed. So is there a kind of pool of
1-connection-pools ?
That I don't really know, but it sounds
Gregor Schneider wrote:
Hi guys,
I'm just wondering if anyone of this list will be joining the
ApacheCon in Amsterdam this year?
If so, maybe we could set up kid of a userlist-meeting and see the
faces behind those posts?
I'm planning to go. Most of the things are usually far above my head
2009/1/30 Ladislav Gaspar ladislav.gas...@it-vision.com:
As I wrote in the original post
(I've cleaned up the classpath, there are no duplicate servlet-api.jar files
around)
The servlet-api.jar is there and it's also in the classpath. (in
$catalina_home/lib)
I do not understand. is
Caldarale, Charles R wrote:
It's my understanding that servlet 2.5 loosened the requirement that a
included/callee Servlet (and JSP?) cannot set the resp headers/status,
and should now be able to set them if not already committed.
Here's the exact text from SRV.8.3 of the servlet spec version
Red hat linux:
Here is the script:
#!/bin/sh
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You
Maybe you miss spoke (typed?), but the servlet-api.jar should only be in
$CATALINA_HOME/lib and absolutely not on any classpath environment
variable. Tomcat's classloader hierarchy will make sure it's loaded as
needed.
--David
Ladislav Gaspar wrote:
As I wrote in the original post
(I've
From: Ken Johanson [mailto:tomcat-u...@kensystem.com]
Subject: Re: Servlet 2.5 and RequestDispatcher.include +
Response.setHeader, invalid?
Do you know if that rule applies only to the Request
object passed by the RequestDispatcher, or should the
container also prevent this if the original
It is Version 5.0.27.
uddav wrote:
Hello Everyone,
I have set up a Virtual Directory (Directory Listing) in Tomcat. We use
this to distribute documents and reports. The way we do is put the
documents to be distributed in this directory on the server and all our
user go to this virtual
From: uddav [mailto:adi.upr...@gmail.com]
Subject: Re: Excel file in Tomcat Virtual Dir has junk data in it.
It is Version 5.0.27.
Which is no longer supported. I do seem to recall that the mime-mapping
settings for .xls were incorrect in that version. If you can't upgrade to a
supported
Server version: Apache Tomcat/6.0.18
Server built: Jul 22 2008 02:00:36
Server number: 6.0.18.0
mime-mapping
extensionxls/extension
mime-typeapplication/vnd.ms-excel/mime-type
/mime-mapping
hth
Gregor
--
just because your paranoid, doesn't mean they're not after
Caldarale, Charles R wrote:
From: Ken Johanson [mailto:tomcat-u...@kensystem.com]
Subject: Re: Servlet 2.5 and RequestDispatcher.include +
Response.setHeader, invalid?
Do you know if that rule applies only to the Request
object passed by the RequestDispatcher, or should the
container also
Jess Holle wrote:
You can make your own LB using Tomcat.
Yes, I /could/, but Apache already does it. I don't want to invest
enough of my own time in such a thing to put it on an equal footing
with mod_jk and mod_proxy_ajp.
Until someone does, though, Apache is a really necessary piece in a
John Holman wrote:
Also is it a supported configuration to use commons-logging and log4j in
WEB-INF/lib?
Where else would you put them?
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands,
André Warnier wrote:
Gregor Schneider wrote:
Hi guys,
I'm just wondering if anyone of this list will be joining the
ApacheCon in Amsterdam this year?
If so, maybe we could set up kid of a userlist-meeting and see the
faces behind those posts?
+1
I'm planning to go. Most of the things
I am using Tomcat 6.0.18, JDK 1.5 on CentOS 5. From within a JSP page,
applicaton.getRealPath() is returning results that I wasn't expecting.
Say, my application root directory in CentOS is app-root. From within
app-root/dir-a/test.jsp, I am using application.getRealPath(). Here are the
Hi Mark,
knowing those conferences, I know how hard it is to get hands on the
speaker ;)
I've registered for the 3 conference days only plus tuesday hackaton.
I've got actually no idea how the hackaton works, but I'm curious to
meet some of you guys.
So if you have any information on what's
On Fri, Jan 30, 2009 at 7:45 PM, Rusty Wright rusty.wri...@gmail.com wrote:
John Holman wrote:
Also is it a supported configuration to use commons-logging and log4j in
WEB-INF/lib?
Where else would you put them?
i.e. ${CATALINA_HOME}/common/lib
Saves the hazzle to put them into each
Gregor Schneider wrote:
Hi Mark,
knowing those conferences, I know how hard it is to get hands on the
speaker ;)
I've registered for the 3 conference days only plus tuesday hackaton.
I've got actually no idea how the hackaton works, but I'm curious to
meet some of you guys.
So if
Does that work reliably now? I was under the impression that it caused problems, but
that may have been with a previous version of tomcat. That's why I asked my where
else question; I was wondering if that's what he was thinking of.
Gregor Schneider wrote:
On Fri, Jan 30, 2009 at 7:45 PM,
On Fri, Jan 30, 2009 at 8:33 PM, Rusty Wright rusty.wri...@gmail.com wrote:
Does that work reliably now? I was under the impression that it caused
problems, but that may have been with a previous version of tomcat. That's
why I asked my where else question; I was wondering if that's what he
From: Qiao Jin [mailto:bra...@gmail.com]
Subject: application.getRealPath() in JSP from a subdirectory
I am using Tomcat 6.0.18, JDK 1.5 on CentOS 5. From within a JSP page,
applicaton.getRealPath() is returning results that I wasn't expecting.
Using getRealPath() inside an app server of any
DataSource pds = null;
pds = (DataSource)context.lookup(name);
name had to be java:/comp/jdbc/GFDataSource and then I moved on to my next
problem.
-Original Message-
From: Pid [mailto:p...@pidster.com]
Sent: Thursday, January 29, 2009 2:43 PM
To: Tomcat Users
David Boreham wrote:
Jess Holle wrote:
You can make your own LB using Tomcat.
Yes, I /could/, but Apache already does it. I don't want to invest
enough of my own time in such a thing to put it on an equal footing
with mod_jk and mod_proxy_ajp.
Until someone does, though, Apache is a really
Gregor Schneider wrote:
Server version: Apache Tomcat/6.0.18
Server built: Jul 22 2008 02:00:36
Server number: 6.0.18.0
mime-mapping
extensionxls/extension
mime-typeapplication/vnd.ms-excel/mime-type
/mime-mapping
Which by the way, dear OP, is exactly the same as the
Mark Thomas wrote:
Hope to see you there for a *yuck* Heinecken...
I'm sure we can find something better than that :)
Since we're already OT here, let's do something for the sake of general
cultural enlightenment outside of Tomcat and Java.
As any real amateur knows, the only really good
Ok, the backup manager which does two things
1. [every request] it selects a backup node and each time the session
changes it publishes the delta to the back up node
2. [one time] upon session creation it also notifies the other nodes
with the location of the backup node for session X
should
state transfer timeout -1 is not a good setting. one should prefer to
timeout rather than getting stuck, even if the timeout means we didn't
get everything
you may also try the backup manager, which does the state transfer in a
bit smarter manner.
when your system is stuck, then thread
Gregor Schneider wrote:
Hi Mark,
knowing those conferences, I know how hard it is to get hands on the
speaker ;)
I've registered for the 3 conference days only plus tuesday hackaton.
I've got actually no idea how the hackaton works, but I'm curious to
meet some of you guys.
So if you have
Chuck, thanks for your response. It turns out that the auto-deploy switch
does affect the situation. New subdirs created after the auto-deploy is
turned off are no longer being treated as separate apps and getRealPath is
returning the path as I expected.
ServletContext.getResourceAsStream() is
Qiao-
file:///foo/bar is a URI
http://java.sun.com/javase/6/docs/api/java/net/URI.html
Martin
__
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official business
of Sender. This transmission is of
From: Qiao Jin [mailto:bra...@gmail.com]
Subject: RE: application.getRealPath() in JSP from a subdirectory
In my case, I need to list all the files under an image directory.
Perhaps you could use the customized directory listing capability of the
DefaultServlet:
I installed Tomcat 5.5 yesterday, with limited success. It took me until a
few hours ago to manage to get all of the ports and such things set
correctly, so that everything would run properly. I then tried to install a
servlet that I created, and then restart Tomcat. It won't start. The
Qiao Jin wrote:
Chuck, thanks for your response. It turns out that the auto-deploy switch
does affect the situation. New subdirs created after the auto-deploy is
turned off are no longer being treated as separate apps and getRealPath is
returning the path as I expected.
This looks very much
I will look into your suggestion. Could you elaborate a bit on your
statement: Using getRealPath() inside an app server of any kind is pretty
much always a Bad Idea?
Thanks
Qiao
-Original Message-
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
Sent: Friday, January 30,
Serving mydomain.com, what I have is one application in an unpacked
directory, 'app-root', with jsp files located in the root dir or its
subdirs. The Host for mydomain.com has its appBase pointing to 'app-root'.
The ROOT.xml for mydomain.com has only one line: Context path= docBase=
Hi follks,
I know this has been discussed many time but couldn't find the exact
thing I am looking for. I am deploying several application over tomcat6.
Each having its own libraries in WEB-INF/lib. Many of the applications
are using the same libraries like hibernate3.jar so this is
Qiao Jin wrote:
Serving mydomain.com, what I have is one application in an unpacked
directory, 'app-root', with jsp files located in the root dir or its
subdirs. The Host for mydomain.com has its appBase pointing to 'app-root'.
The ROOT.xml for mydomain.com has only one line: Context path=
51 matches
Mail list logo