Hi buddies,
I've downloaded the tomcat source code but got question of how to run the
testcases.
Here's my output result when running ant.
I'm wondering what's the best practice for building tomcat source code and
running all the testcases.
Best regards.
Buildfile:
C:\Downloads\apache-tomca
Hi, guys:
I was running a myfaces blank application, which runs perfectly well on
Tomcat 5.5.17, on my new tomcat 5.5.20 server and the log told me that I
need to add
org.apache.myfaces.webapp.StartupServletContextListener
However, I see that this listener has been defined in one of the
"Christopher Schultz" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>Can anyone comment on Tomcat's caching of path lookups on the disk? >That
>would seem to be a tremendous waste of memory if Tomcat actually
>remembered that a file didn't exist (not to mention a pain in the neck
>
"Assaf Flatto" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello
>
> Does anyone know how i can shorten the length of the jsessionid from 32
> chars to 30 ?
>
Set sessionIdLength="15" on the tag for your context.
>
> thanks
>
> Assaf
>
>
> ---
Hi
I have been examining Tomcat bugs and have been looking for ways of
predicting the field defect rate, that is, predicting at the time of release
the number of field defects in each time interval after the release. I am
brainstorming possible applications for this research.
I was wondering wh
Assaf,
> Does anyone know how i can shorten the length of the jsessionid from 32
> chars to 30 ?
In Tomcat 4.1, the class org.apache.catalina.session.ManagerBase creates
sessions and assigns ids to them. The source I'm looking at right now
uses a message digest algorithm (it's not clear which one
Mark,
> I think your suggestion about multiple windows was a good guess.
[snip]
> No, no HTTPS-to-HTTP stuff; all requests are going to a port dedicated
> to Tomcat (8088).
>
> And the Firefox cookies options form is set so that cookies are kept
> "until they expire" which I believe is the defa
Hi chris,
I think your suggestion about multiple windows was a good guess. It
would account for all the behavior, except that I'm quite sure I wasn't
using a different window. I mean, the web app responds with a page that
refreshes itself after a set, short amount of time, presenting a
progress ba
Mark,
> My web app had been working just fine in the TEST environment, PROVIDED
> I included the initial session ID as a param to the URL used on the
> cancel/switch-to-batch form. But starting just this morning, it was
> failing again, DESPITE my using the session ID as a param to the URL on
> th
Edmond,
> a user's profile doesn't change regularly so there is no reason to
> use jsp for accessing such a page, secondly, I am using lucene which
> can't search jsp directly.
Lucene cannot search HTML pages directly, either. Lucene requires an
index which is separate from everything else. What
I know premature optimization is root of some evil, but I prefer the setup I
have at the moment, I think it will work fine. I beleive I will benefit
performance wise if I don't have to do constant queries against my db, I am
not sure how much performace gain there will be. As far as indexing with
Edmond,
Mikolaj has a point... your are using JSP for something it was not
designed to do: generate static content. JSP was designed to generate
/dynamic/ content on the fly.
> what's crazy about it??, the site I am creating will contain user
> generated content, however the content isn't going t
> From: Jason Novotny [mailto:[EMAIL PROTECTED]
> Subject: Re: trying to change the context path in context.xml
>
>
> since it wasn't clear how the context attribute is useful now
> based on what you say.
The element has 24 other attributes besides path; the path
attribute itself is only pert
EDMOND KEMOKAI wrote:
I'll probably end doing that, I understand apache is better for serving
static content. However the problem isn't where user data is stored,
my user
data is stored in a database. Basically my app is similar to a dating
site(it is not a dating site) where a user's profile
Thanks Chuck,
It might be nice to have some info about the "Tomcat deployment
philosophy" on the page
http://tomcat.apache.org/tomcat-5.5-doc/config/context.html
since it wasn't clear how the context attribute is useful now based on
what you say.
Cheers, Jason
Caldarale, Charles R
I'll probably end doing that, I understand apache is better for serving
static content. However the problem isn't where user data is stored, my user
data is stored in a database. Basically my app is similar to a dating
site(it is not a dating site) where a user's profile doesn't chnage
regularly
> From: Jason Novotny [mailto:[EMAIL PROTECTED]
> Subject: trying to change the context path in context.xml
>
> I've configured context.xml in my webapp
> META-INF/context.xml and I want to change
> the path attribute, so that instead of the
> context being identified by my web application
> n
EDMOND KEMOKAI wrote:
what's crazy about it??, the site I am creating will contain user
generated
content, however the content isn't going to be changing frequently so i
didn't want to have jsp's hold objects in memory for pages that aren't
chnaging too often. I have the user publish their info
what's crazy about it??, the site I am creating will contain user generated
content, however the content isn't going to be changing frequently so i
didn't want to have jsp's hold objects in memory for pages that aren't
chnaging too often. I have the user publish their info whenever they make
chang
EDMOND KEMOKAI wrote:
I make a call to my jsp via something to the effect:
URL url = URL(jsp);
write the stream i receive to
context_path/customer/public/customer_id/index.html
The servlet function from within which the above processing is done
should return a preview of the page to
Dan Baumann wrote:
Interesting. How does your webapp compare to MX4J's http adapter
(mx4j.sf.net)?
Hi,
I didn't try hard, but I was unable to run mx4j and its http adapter. So
it's hard to compare with it.
http://mx4j.sourceforge.net/docs/ch05.html
It seems that this adapter runs its own, ve
Alright, now I'm really baffled. Below, I've copied my original post
about the discrepancy that's been puzzling me. Please consult that for a
description of the web app and the TEST environment.
My web app had been working just fine in the TEST environment, PROVIDED
I included the initial session
Hi Christopher
My directory structure is as follows:
context_path/customer/public
I make a call to my jsp via something to the effect:
URL url = URL(jsp);
write the stream i receive to
context_path/customer/public/customer_id/index.html
The servlet function from within whi
Hi,
I've configured context.xml in my webapp META-INF/context.xml and I
want to change the path attribute, so that instead of the context being
identified by my web application name it is user configurable in the
context.xml. Is this possible?
Thanks, Jason
-
The short story is this worked, thanks very much for the pointer. When
I read this I said Duh! I knew that. I ran into further problems with
attempting to put the jar files in the lib directory, but it turns out
that was the monitoring software that we run things through didn't have
CATALINA_BASE
Edmond,
> My app generates static html pages from jsp and writes the html files
> to a sub-dir of my context path
Ugh... you are using JSP as a content-generation system? Why!?
> however when I click on the link for the file, I get a 404 error.
Can you give us an example of what the URL of the
Ryan,
> Is there anyway to create JSessionIDs per window rather than per
> browser? I am having the problem of when you open multiple tabs within
> a browser, and enter two simultaneous queries, the results returned are
> corrupted. Any suggestions? Thanks for the help.
I have an application t
Hi guys
I am a newbee so bear with me. I have tomcat deployed on a ubuntu machine,
everything works fine except: My app generates static html pages from jsp
and writes the html files to a sub-dir of my context path, however when I
click on the link for the file, I get a 404 error. When I restart t
please display the jsp
Martin--
This e-mail communication and any attachments may contain confidential and
privileged information for the use of the
designated recipients named above. If you are not the intended recipient, you
are hereby notified that you have received
this communication in er
Dies,
>> But if he's using something like Axis, then there is no ServletContext
>> around to use IIRC.
>
> Actually, there is. You can get it with
> javax.xml.rpc.server.ServletEndpointContext#getServletContext().
Thanks! You learn something new every day ;)
-chris
signature.asc
Description:
Martin,
I'll go ahead and turn off GPG message signing so you can read this one,
Martin. It appears that you see many of my messages as blank, probably
due to odd handling of mime types by your mail client.
> you can't skip SSL if your browser is speaking it? How does your
> browser speak SSL?
W
Short answer: no. Tomcat doesn't have any knowlege of how many windows
client-side are sharing the same session cookie. As long as the same
session cookie is returned, tomcat see's just one client.
The issue can be mitigated by storing state information in the request
via hidden form fields
I am new for Tomcat. I installed jdk1.5.0_09 and Tomcat5.5.20 on Windows
2003 Server. I would like to connect Tomcat to database. I was able to see
the log in page. However, I got a blank page and when I tried logon. please
see the error below from the log.
Any help would be greatly appreciate
No, Martin. I believe this is not exactly true.
- There is no https involved in this discussion. We're talking http on
port 443.
- This case involves having a directory name at the end of the path, and
excluding the trailing slash which results in a 302 from the server.
- This problem appea
On 23.10.2006, at 10:07, Mikolaj Rydzewski wrote:
Hi,
I hope you will not find it a spam ;-)
I wrote small application to work with Mbeans, and day after day it
evolved in something bigger. I'd like to present you a web enabled jmx
console. If you know what mbeans and jmx are you can give it a
> From: Cyber Dog [mailto:[EMAIL PROTECTED]
> Subject: Dynamically Add Vhosts?
>
> - Dynamically load a vhost config:
The admin app can create hosts on the fly, but it does so
programmatically, not by reading up some .xml file. Perhaps you could
modify it for your purposes.
- Chuck
THIS COM
Hello,
I'm trying to set up Tomcat 5.5 so that a single instance/machine
can run several unrelated vhosts. I'm trying to make the
implementation as dynamic as possible; ie requiring as few
restarts/reloads and core config changes as I can get away with. I'm
having trouble determining a good imp
> From: Ryan O'Hara [mailto:[EMAIL PROTECTED]
> Subject: JSessionID Confusion
>
> I am having the problem of when you open multiple tabs
> within a browser, and enter two simultaneous queries,
> the results returned are corrupted.
Sounds like an application bug - keeping values/references in t
Is there anyway to create JSessionIDs per window rather than per
browser? I am having the problem of when you open multiple tabs
within a browser, and enter two simultaneous queries, the results
returned are corrupted. Any suggestions? Thanks for the help.
-Ryan
> From: Martin Gainty [mailto:[EMAIL PROTECTED]
> Subject: Re: Eliminating the need for a trailing slash in
> accessing sub-directoryresourceson a Tomcat HTTP server
>
> If I interpret this correctly
> you're saying if I go to https://www.whateveryoursiteis.com OR
>
> From: Juanjo Cuadrado [mailto:[EMAIL PROTECTED]
> Subject: About connections
>
> When I try to recover a connection, I use the Tomcat's
> pool connections, that it work fine too if I previously
> have put the Oracle's jar into 'common' directory.
>
> I have put the jar (classes12) into lib dir
> From: evimail [mailto:[EMAIL PROTECTED]
> Subject: Cannot start application: SEVERE: Error listenerStart
>
> Please advise where to look for solution.
>
> INFO: Deploying web application archive jetspeed.war
> Oct 23, 2006 2:53:10 PM org.apache.catalina.startup.ContextConfig
> validateSecuri
> From: syg6 [mailto:[EMAIL PROTECTED]
> Subject: WAR file strangeness
>
>
> When I start Tomcat it unpacks the WAR in as
> /var/local/projects/vcs/ROOT/WEB-INF
>
> Any idea why this is happening?
Because it's supposed to. You've declated the context to be the default
app (path=""), an
connection refused, simple the Tomcat instance is unable to open a
connection to the other instance to send the replication data.
your systems will continue to function, but if you fail over that other
node might not have your data.
You'll want to find out why it is failing to open a connection,
this would be pretty easy for you to try out and find out.
there is a flag you can set "notifySessionListenersOnReplication"
Filip
Pascal Bleser wrote:
What happens when a HttpSession times out in a cluster, wrt
HttpSessionListeners ?
Will the HttpSessionListener be notified with a HttpSession
http://www.harding.motd.ca/autossh/
Filip
Massimiliano Berruti wrote:
You're perfectly right...the problem is we must do this because this
is a sample application we're developping for our university and they
asked to use ssh tunnel or something else to secure connection in the
cluster... Thanx
Guys,
We would like both appBase and docBase to be the same for the default
Context (is this possible?)
*Basically, all the WAR/JSPs/Servlets will all go/served by tomcat from
the public_html folder?*
Here is the current setup that worked and resolved the other issue but
it
created is
Hi,
I hope you will not find it a spam ;-)
I wrote small application to work with Mbeans, and day after day it
evolved in something bigger. I'd like to present you a web enabled jmx
console. If you know what mbeans and jmx are you can give it a try.
This is alpha version, I'll appreciate your op
If I interpret this correctly
you're saying if I go to https://www.whateveryoursiteis.com OR
http://www.whateveryoursiteis.com:443
IE 6 browser intentionally (with no 301/302 HTTP events being sent from web
server)
redirects to port 80?
M-
This e-mail communica
Can you send a complete request
ie http://x.com/page.jsp
that return 400 code.
Matthew Dickinson a écrit :
Hi,
I'm running into an issue of a new install of Tomcat and the Connector to
integrate with an existing apache site.
RHEL4
httpd-2.0.55-2
tomcat5-5.5.17-6jpp_2rh
Mod_jk-1.2.19 built
> But if he's using something like Axis, then there is no ServletContext
> around to use IIRC.
Actually, there is. You can get it with
javax.xml.rpc.server.ServletEndpointContext#getServletContext().
Regards,
Dies
Christopher Schultz wrote:
Tomas,
2) Then the code will be independent of t
you can't skip SSL if your browser is speaking it?
How does your browser speak SSL?
M-
This e-mail communication and any attachments may contain confidential and
privileged information for the use of the
designated recipients named above. If you are not the intended recipient, you
are hereby not
Ron Wheeler wrote:
The download of version 1.1.6 of the windows binary of tcnative-1.dll
from http://tomcat.heanet.ie/native/ appears to have been built with a
set of libraries that only work on Windows XP.
In Windows 2000, you get a message that an entry point for getaddrinfo
can not be found
Hi
I'm trying to deploy an app and it needs to use the Oracle's drivers (
classes12.jar).
When I try to recover a connection, I use the Tomcat's pool connections,
that it work fine too if
I previously have put the Oracle's jar into 'common' directory. If by
some razon, I didn't recover
В , Mark Thomas <[EMAIL PROTECTED]> писал:
There is a problem of work "Tomcat" under the https protocol if it is
loaded dll (tcnative-1.dll).
Without loading given dll-s all works perfectly.
Sometimes together with loaded dll (tcnative-1.dll) works normally, if
on the party
the client alread
Hello,
I am trying to run Jetspeed on Tomcat 5.5.20 but the application does not
start. Catalina log file shows "SEVERE: Error listenerStart" - all logs are
listed on below. Please advise where to look for solution.
Regads,
Evi
Localhost.log:
Oct 23, 2006 2:52:15 PM org.apache.catalina.cor
Hello,
How many threads tomcat with APR and without APR uses to handle
keep-alive connections?
As I understand tomcat without APR uses 1 thread per keep-alive
connection as tomcat does not use NIO.
APR may use epoll to handle keep-alive connections
http://tomcat.apache.org/tomcat-5.5-doc/apr.ht
Hi,
I've no manged to get things working with Tomcat 5.5.20.
I've changed my servlet filter so it appends the parameter to the query string
as proposed.
As I now understand it the standard CGIServlet will not work if there is a
servlet-filter that do getParameters() and adds a new parameter as
Hello everyone.
I am using Tomcat 5.5 and have a webapp called vcs. The config is like this:
http://www.nabble.com/WAR-file-strangeness-tf2493401.html#a6951325
Sent from the Tomcat - User mailing list archive at Nabble.com.
-
Hi,
instead of apache2 make a directory listing the tomcat want to do that
and returns
The requested resource (/info/) is not available.
URL: http://ong.de.lucent.com/info
With the URL "http://ong.de.lucent.com/tools"; the dir listing works but also
made by Tomcat.
I have two Apache2/Tomcat
Hello
Does anyone know how i can shorten the length of the jsessionid from 32
chars to 30 ?
thanks
Assaf
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comm
В , Caldarale, Charles R <[EMAIL PROTECTED]> писал:
SSL configuration is different with APR (tcnative-1.dll).
I have adjusted and now all works, for exception of one
now I cannot obtain the data of the certificate of the client in "Servlet"
"X509Certificate [] cr = (X509Certificate[])
request
Hi Torsten,
you could try the FlushPakets JkOption from
http://tomcat.apache.org/connectors-doc/config/apache.html
Please let us know, if this helps. If not, please open a bugzilla ticket
and include your config and a simple test case.
Regards,
Rainer
Torsten R. schrieb:
> hi,
>
> i used tom
63 matches
Mail list logo