You are right. If I remove xercesImpl.jar from the class path then it works
also.
But there is another observation which is weird. Its that if I have my
application anywhere on C: drive then it works. It also works if I have it
on D:\Program Files\. If I have it on D:\ then it gives this error. W
When I call a JSP directly via web.xml exceptions provide a number of
"root cause" stack traces the second or third of which indicates what
the exception actually was and, with some deciphering, which .tag file
generated it. The trace is shown on both the form and Tomcat standard
output, which is
As you've noted, this happens too early for a Valve as well. It takes place
in the CoyoteAdapter, which is where the Connector hands off the request to
the Servlet-Engine for processing. As it happens, in a Filter or Valve you
can call request.isRequestedSessionIdFromURL() to check if the requ
> How do I conigure the AccessLogValve to write via log4j so I can
> direct it's output to my own appender?
Visit our website at http://www.ubs.com
This message contains confidential information and is intended only
for the individual named. If you are not the named addressee you
should not di
Hi,
I am by no means an expert, however generally I too have had problems
running the latest versions of tomcat using Java < 1.6.0.
I am not sure of the reason but using Java 1.6.0_02 makes most problems
go away. (I am guessing the tomcat 6 distro is compiled with java 1.6?)
Try this to get
Chuck,
I ended up taking care of it within the servlet/jsp. Not a new page, and maybe
not the most elegant thing in the world, but it does the job.
---
catch(Exception SQex){
SQex.printStackTrace();
log("SQL exception:", SQex);
if (SQex!=null) {
out.println("Your ID m
that last part...if it's nothing more, which doesn't surprise me, then yeah,
I'll need to come up with another solution outside of catching that particular
500 error within the server.xml file.
basically, Tomcat would catch it with the class name in there correctly, but
would simply ignore it i
> From: Søren Blidorf [mailto:[EMAIL PROTECTED]
> Subject: SV: How many jsessionid's is valid in my webapp
>
> I will take a look at HttpSessionListener. Any code examples will be
> greatly appreciated
The Tomcat 6.0 distribution includes this one:
webapps/examples/WEB-INF/classes/listeners/
> From: Propes, Barry L [mailto:[EMAIL PROTECTED]
> Subject: RE: customized error page for tomcat depending on code
>
> I believe the webapp catches it prior to that, Chuck.
If the webapp catches the exception, then how could you expect Tomcat to
process it?
> And FYI, I tried it with a space a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Vitale,
Christopher Vitale wrote:
> I'd like to create a filter very, very early in the processing pipeline.
> I'm running tomcat 5.5.23 with jre 1.5.0. If a request comes in looking
> like this:
>
> POST /path;jsessionid= HTTP/1.1
> cookie:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hugo,
LASSIEGE Hugo wrote:
> I trace the request between client and server and I see that the
> jsessionid is set twice. Here is the trace :
>
> Request :
> POST /appli/server/servlet/appliservlet HTTP/1.1
[snip]
> Response :
> HTTP/1.1 200 OK
[snip
I believe the webapp catches it prior to that, Chuck.
And FYI, I tried it with a space and without. You would think that I'd get a
malformed XML error upon startup, wouldn't you? Well, I didn't.
-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 1
Hi Chuck
Yes "active" is probably a better term.
I will take a look at HttpSessionListener. Any code examples will be
greatly appreciated
Soren
-Oprindelig meddelelse-
Fra: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sendt: 10. juli 2007 19:35
Til: Tomcat Users List
Emne: RE: Ho
Hello,
I'd like to create a filter very, very early in the processing pipeline.
I'm running tomcat 5.5.23 with jre 1.5.0. If a request comes in looking
like this:
POST /path;jsessionid= HTTP/1.1
cookie: JSESSIONID=
.
a=b&e=f
I'd like to manipulate this request before the
> From: Søren Blidorf [mailto:[EMAIL PROTECTED]
> Subject: How many jsessionid's is valid in my webapp
>
> Is there a why to tell how many jsessionid's is valid in my webapp.
Not sure what you mean by "valid" here; would "active" be a better term?
> I want to use it to display the number of onl
> From: Propes, Barry L [mailto:[EMAIL PROTECTED]
> Subject: RE: customized error page for tomcat depending on code
>
>
> java.sql.SQLException.Exhausted
ResultsSet
> /chngctrl/500error.jsp
>
You don't really have a space in the middle of a class name, do you?
That obviously
actually it seems there's no specific number for it, just under the 500
umbrella.
However, is there a way to make the root cause of an error - along with its
exception class -- as part of an error exception type attribute in the web.xml
file?
i.e.
Hi.
Is there a why to tell how many jsessionid's is valid in my webapp.
I want to use it to display the number of online users?
Also is there a way to connect the username from my realm to the
jsessionid so that I can display online users?
BR
Soren, DK
---
someone else posted a similar topic the other day, but I didn't want to
"thread-hijack" so I started this new topic.
Anyone know of the error code number for an Exhausted ResultSet error? Or does
it just fall under the generic 500 error series?
i.e. like a page not found is 404 or forbidden sec
throwable maybe?
Like the following:
java.lang.Throwable
/chngctrl/error_server.htm
-->
404
/chngctrl/404error.jsp
-Original Message-
From: EricKnight [mailto:[EMAIL PROTECTED]
Sent: Saturday, July 07, 2007 6:12 PM
To: users@tomcat.apache.org
Su
sounds like the update hosed the SQL driver.
-Original Message-
From: Søren Blidorf [mailto:[EMAIL PROTECTED]
Sent: Friday, July 06, 2007 6:12 AM
To: Tomcat Users List; Struts Users Mailing List
Subject: Realm problems - security issues?
Hi.
I am having trouble setting up my application
| From: axelspin [mailto:[EMAIL PROTECTED]
| Sent: Monday, 09 July, 2007 13:12
|
| But how about performance..
|
| is it better to have multiple instances of hibernate sessionFactory
| Objects
| (one each web app) or to use an http call for each db query?
|
| Maybe transactions are handled bette
> From: Artur Rataj [mailto:[EMAIL PROTECTED]
> Subject: Re: Context.xml error
>
> I have a web app that has servlets on /library/*, and want tomcat to
> also display some directory listing under /files or something like
> that.
Directory listings are handled by the DefaultServlet, normally
cont
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Thai,
Nhut Thai Le wrote:
> Thanks for the info about the struts 1.3. If you didnt say that, i
> would pack everything up and deploy on a school server for my demo
> next week. So now I gotta change back to container-managed
> dataSource.
You can
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Titi,
Titi Wangsa wrote:
> we have 3 instances on the same hardware
> we did this due to a memory/thread constraint
> correct me if i'm mistaken, but i've read that
> the more memory you allocate for you Heap, the less thread you have,
> we want a lot
Hi,
javax.xml.parsers.FactoryConfigurationError loads a implementation of
xml parsers using a J2SE discovery mecanism. This discovery mecanism
uses hints provided in .jars META-INF/ folder. Since you exploded your
jar of XercesImpl, this JAR does not take part anymore in the discovery
mecanism and
i think i goofed up while uploading the workers.properties. here is the one
i just picked from the server.
"site is hung up " means even the first page ( the login page) doesn't get
displayed on the browser. it just goes on and on..
- we can not connect to apache during this behaviour
- acce
It looks like OpenSTA uses a timeout and your responses are to slow. Add
"%D" to your apache access log format to learn about response times.
Most likely OpenSTA will tell you about timeouts too.
The messages are only infos, the system works in principle, but a lot of
client abort messages might m
Hi,
Im getting the following error while the starting of Tomcat. I have version
5.5.23 of Tomcat and its an embedded version.
I had xercesImpl.jar in my classpath which conatins this class.
INFO: Error registering
javax.xml.parsers.FactoryConfigurationError: Provider
org.apache.xerces.jaxp.Docu
folks,
I currently try to load my application using OpenSTA by simulating 1000
virtual users. having a quick look within mod_jk.log, it seems that I
have a problem with my load balancer... connections dropped ??
My configuration: apache 2.0.59 /mod_jk 1.2.23/tomcat 5.0.28
_LOG
[Tue J
There are configuration and coding examples on the tomcat website at
http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html
Take a look at that and post a follow up if you still have questions.
--David
Nhut Thai Le wrote:
Hi Chris,
Thanks for the info about the struts 1
Hi,
I trace the request between client and server and I see that the
jsessionid is set twice. Here is the trace :
Request :
POST /appli/server/servlet/appliservlet HTTP/1.1
Content-Type: text/xml; charset=ISO-8859-1
connection: keep-alive
Cache-Control: no-cache
Pragm
Joseph, I looked at this once and remember seeing a good article somewhere,
sure if you google for Tomcat and valve you will find it.
The best way is actually to download the source code and just copy an
existing one that is close to what you looking for, you will then also pick
up on all the
http://tomcat.apache.org/tomcat-5.5-doc/config/context.html
--
reloadable
Set to true if you want Catalina to monitor classes in /WEB-INF/classes/
and /WEB-INF/lib for changes, and automatically reload the web
application if a change is detected. This feature is very useful during
application
Try manager url,
http://localhost:8080/manager/reload?path=/app_name
(app_name is your web application name.
). it will reload the specific application alone.
You will be prompted for manager login, which you have already
configured in /conf/tomcat-users.xml
--
Manivannan.Palanichamy (@) Oracle
This is the kind of thing tomcat cant really do for you and it depends
very much on the sophistication needed.
One dirty trick, is to change the web.xml file slightly, when TC gets a
little quiet time it will reload the whole web app, ie when its able to shed
all classes dont really re
On 7/9/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote:
What are you actually trying to accomplish?
I have a web app that has servlets on /library/*, and want tomcat to
also display some directory listing under /files or something like
that.
Artur
---
Your workers.properties don't look complete, for instance there is no
worker.list in there, so all your worker definitions will not be functional.
Have a look at the various timeouts mod_jk provides, especially
connect_timeout and reply_timeout. You could also use apaches builtin
server-status and
Thanks Bill,
I already wrote a servlet that send chunked data, but since i saw in tomcat
document that tomcat support it, i thought it is something i can configure .
any way if my client support chunks i saw with wireshark that chunks size
are 2000 byte with default servlet , looks to me like def
39 matches
Mail list logo