Hello all
I have a problem concerning Tomcat 4.1.30. In web.xml i defined several
security constraint. First of all I protected the whole application and
then I excluded the directories with images and css files. Furthermore I
defined some roles.
pre
security-constraint
Hi all,
I guess this is not really new, but I haven't seen any concrete solution nor
much discussion about it.
So here's the problem:
one webapp composed of multiple pieces (jsp, html, css, etc.) located at
various locations on the filesystem.
I know, this goes against the servlet spec. but
Hello.
I am trying to write a comparator that randomly sorts a collection.
I have something like this:
new Comparator() {
/**
* @see java.util.Comparator#compare(java.lang.Object,
java.lang.Object)
*/
public int compare(Object object1, Object
Mark Benussi wrote:
Hello.
I am trying to write a comparator that randomly sorts a collection.
I have something like this:
new Comparator() {
/**
* @see java.util.Comparator#compare(java.lang.Object,
java.lang.Object)
*/
public int compare(Object object1, Object
Hello all
Is there any posibility of logging the HTTP headers ?
Thx.
Cristi
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Thanks very much
-Original Message-
From: Rafal Krupinski [mailto:[EMAIL PROTECTED]
Sent: 03 June 2005 09:06
To: Tomcat Users List
Subject: Re: OT Friday - Random sorting
Mark Benussi wrote:
Hello.
I am trying to write a comparator that randomly sorts a collection.
I have something
Hi Cristi,
they are in the Apache Logfile anyway, why do you want to log them again?
Bernhard
-Ursprüngliche Nachricht-
Von: cristi [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 2. Juni 2005 10:04
An: Tomcat Users List
Betreff: Logging the HTTP headers
Hello all
Is there
My application works fine but following log is streaming.
I don't know the reason, what should I do?
Thanks
Otgo
NotifyUtil::java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at
My application works fine but following log is streaming.
I don't know the reason, what should I do?
Thanks
Otgo
NotifyUtil::java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at
Am Donnerstag, 2. Juni 2005 10:03 schrieb cristi:
Hello all
Is there any posibility of logging the HTTP headers ?
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/valve.html#Request%20Dumper%20Valve
Regards
mks
-
To
Exactly what i was looking for. Thanks!
- Original Message -
From: Mark Thomas [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Thursday, June 02, 2005 9:03 PM
Subject: Re: Context at Host Level
Andrés Glez. wrote:
there is no ContainerListener or
Mark Benussi wrote:
Hello.
I am trying to write a comparator that randomly sorts a collection.
I have something like this:
new Comparator() {
/**
* @see java.util.Comparator#compare(java.lang.Object,
java.lang.Object)
*/
On 6/3/05, Markus Schönhaber [EMAIL PROTECTED] wrote:
Am Donnerstag, 2. Juni 2005 10:03 schrieb cristi:
Hello all
Is there any posibility of logging the HTTP headers ?
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/valve.html#Request%20Dumper%20Valve
What about a Filter ?
--
You can also just watch these on the fly with browser plug-ins:
IE: google for ieHTTPHeaders
Mozilla/FireFox: http://livehttpheaders.mozdev.org/index.html
Both have been very useful to us.
Jon
Bernhard Slominski wrote:
Hi Cristi,
they are in the Apache Logfile anyway, why do you want to log
Am Freitag, 3. Juni 2005 11:46 schrieb Anto Paul:
On 6/3/05, Markus Schönhaber [EMAIL PROTECTED] wrote:
Am Donnerstag, 2. Juni 2005 10:03 schrieb cristi:
Hello all
Is there any posibility of logging the HTTP headers ?
thank you all of you.
cristi
You can also just watch these on the fly with browser plug-ins:
IE: google for ieHTTPHeaders
Mozilla/FireFox: http://livehttpheaders.mozdev.org/index.html
Hello all
Is there any posibility of logging the HTTP headers ?
Thx.
Cristi
Even better, thank you!
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Holger Klawitter
Sent: 03 June 2005 09:06
To: tomcat-user@jakarta.apache.org
Cc: user@excalibur.apache.org
Subject: Re: OT Friday - Random sorting
Mark Benussi wrote:
Hello.
I am trying
which log file I can check the error message?
I had check all files in %TOMCAT_HOME%\logs ,but can't any helpful message.
The another process --pc Anywhere host Service on the machine have same
issue.
Ivy
- Original Message -
From: Parsons Technical Services [EMAIL PROTECTED]
To: Tomcat
Caldarale, Charles R [mailto:[EMAIL PROTECTED]
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Why only two rather than maxThreads?
How many separate clients are you using to test this with? Browsers
typically honor the HTTP RFC recommendation of no more that two
concurrent requests to a given
Hi.
Is it possible to start tomcat 5.5 i a dos window instead of as a
service?
I need it to monitor System.err.println()
Soren, DK
Nolas Consulting
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
Hi,
How can I make a Windows Tomcat 5.0 Installer
with custom configuration and webapp bundled ?
Best Regards
--
Jean-Philippe Encausse - RD Jalios SA
[EMAIL PROTECTED] - http://www.encausse.com - http://www.jalias.com
ICQ: 109796741 - AOL: NextOne - MSN: [EMAIL PROTECTED]
Mob: +33 6 80 75
On 6/3/05, Søren Blidorf [EMAIL PROTECTED] wrote:
Hi.
Is it possible to start tomcat 5.5 i a dos window instead of as a
service?
Download the Zip archive instead of the installer and that will have a
startup.bat that you can use just for that purpose, no idea why they
stopped including the
hihi all,
i am upgrading a webapp from TC 4.1.24 to TC 5.5.9 and discovered what
seems to be an EL related issue.
my webapp uses:
- JSTL 1.0
- web.xml with version 2.3 dtd (ie. EL turned OFF by default)
- Struts 1.1
the piece of code with the issue is with the logic:iterate tag
basically
Laurent Brucher wrote:
Hi all,
I guess this is not really new, but I haven't seen any concrete solution nor
much discussion about it.
So here's the problem:
one webapp composed of multiple pieces (jsp, html, css, etc.) located at
various locations on the filesystem.
I know, this goes against
I tried adding it to my .../WEB-INF/web.xml
web-app
session-config
session-timeout45/session-timeout
/session-config
...
/web-app
but I started getting errors when tomcat is deploying the context:
Jun 3, 2005 11:51:20 AM org.apache.commons.digester.Digester error
SEVERE: Parse
Good Morning to all,
I need to know if anyone can run cocoon on Tomcat 5.x.
Reading on the official site of cocoon it seems to not be possible to
run cocoon on Tomcat 5.x. This came from the fact that I cant find an
help in how to do this on the site.
Does anyone can help me?
--
Omar Adobati
Hello together,
I have a problem, concerning the normal call of the Tomcat-Startpage. Each
time I call the localhost:8180 ( 8180 is my port for tomcat, debian-tomcat )
I get this weired output on my Browser. I don't understand this, the servelt
were not compiled in runtime like a PHP or
I would like to dump the configuration of a specific instance of a class
loader form within tomcat. For some reason when I run TC standalone my
listener works no problem, the class loader can find my class from
within my webapp directory. However when its run under Eclipse it can
not, I notice
On 6/3/05, Omar Adobati [EMAIL PROTECTED] wrote:
Good Morning to all,
I need to know if anyone can run cocoon on Tomcat 5.x.
Reading on the official site of cocoon it seems to not be possible to
run cocoon on Tomcat 5.x. This came from the fact that I cant find an
help in how to do this on
How much memory do you have in w2k.
One time this thing happen to my tomcat but my guess is the ODBC
driver. I have a shared foxpro table in use by other application
and i have a webapp that access the foxpro table - suddenly shutdown
my tomcat service.
If you can not find any information in the
From: QM [EMAIL PROTECTED]
On Thu, Jun 02, 2005 at 05:37:23PM -0700, Wendy Smoak wrote:
: Any idea why String.contains(String) wouldn't work within Tomcat 4.1
on
: HP-UX and Java 1.5?
Doesn't Tomcat 4.1 even support JDK 1.5?
Tomcat 4.1 works fine under JDK 1.5 on Windows 2000... I see
This is an SSL HostnameVerifier() question. I _believe_ I have my client and
server certificates configured properly and, up to now, I have been accessing
my server via ip address and using the ip address as the CN in the server cert.
So I assumed that the problems I was having on the client
Well, it seems that the shared classes in shared\lib really are responsible
for this. I tried to move those in the WEB-INF\lib directories. There are a
couple of new problems to work out, nothing serious, but the problem with the
shared classes
vanished.
Thanks again for your assistance.
did
I keep getting the following repeating error message
in my log file:
2005-06-03 09:54:54,500 DEBUG
[org.apache.catalina.session.ManagerBase] - Start
expire sessions StandardManager at 1117817694500
sessioncount 4
2005-06-03 09:54:54,500 DEBUG
[org.apache.catalina.session.ManagerBase] - End expire
On 6/3/05, Angelov, Rossen [EMAIL PROTECTED] wrote:
I tried adding it to my .../WEB-INF/web.xml
web-app
session-config
session-timeout45/session-timeout
/session-config
...
/web-app
but I started getting errors when tomcat is deploying the context:
Jun 3, 2005
I am trying to configure mod_jk 1.2.11 to work with apache httpd 2.0.54
and tomcat 5.5 and having difficulties. It seems the worker is not
configured correctly.
The jk_mod log shows the following error:
[Fri Jun 03 10:33:37 2005] [info] jk_handler::mod_jk.c (1976): Could
not find a worker for
Jason, thanks for pointing out the order in web.xml matters.
Placing the session-config lines after the mappings resolved the problem
with the XML exception, but another exception started appearing in the log:
Jun 3, 2005 2:17:59 PM org.apache.coyote.tomcat5.CoyoteAdapter service
SEVERE: An
So I am running Tomcat 5.5.9
I have a jsp page that imports com.polliard.db.RaidDB;
It also has a line that invokes a new instance of this class
RaidDB rdb = new RaidDB();
The code works on Jetty but when used with Tomcat I am getting the error
RaidDB cannot be resolved or is not a type.
Any
Unless I misunderstood, RaidDB.class should be located in directory
WEB-INF/classes/com/polliard/db and not
WEB-INF/classes/com/polliard/db/RaidDB.
Thomas Polliard wrote:
So I am running Tomcat 5.5.9
I have a jsp page that imports com.polliard.db.RaidDB;
It also has a line that invokes a
It is located there. Sorry the location is as you wrote. I was unclear.
WEB-INF/classes/com/polliard/db/ Contains RaidDB.class
Thanks
--
Thomas Polliard
Sr. Systems Administrator, AOL
[EMAIL PROTECTED]
-Original Message-
From: Scott Dudley [mailto:[EMAIL PROTECTED]
Sent: Friday,
From the deployed location of Raid
./login.jsp
./menu.jsp
./index.jsp.old
./WEB-INF
./WEB-INF/classes
./WEB-INF/classes/com
./WEB-INF/classes/com/polliard
./WEB-INF/classes/com/polliard/db
./WEB-INF/classes/com/polliard/db/RaidDB.class
./WEB-INF/lib
./WEB-INF/lib/postgresql-jdbc.jar
./index.jsp
Thomas Polliard wrote:
So I am running Tomcat 5.5.9
I have a jsp page that imports com.polliard.db.RaidDB;
It also has a line that invokes a new instance of this class
RaidDB rdb = new RaidDB();
The code works on Jetty but when used with Tomcat I am getting the error
RaidDB cannot be resolved
Have you tried reloading the webapp / restarting tomcat?
If you're new to tomcat, then I suggest you give a few more details of
where the webapp is, and where the jsp page is, and/or how you deployed
the web-app, just in case these give a clue.
Thomas Polliard wrote:
It is located there.
Angela Stempfel wrote:
Hello all
I have a problem concerning Tomcat 4.1.30. In web.xml i defined several
security constraint. First of all I protected the whole application and
then I excluded the directories with images and css files. Furthermore I
defined some roles.
snip
So my problem
For the following configuration:
Sun ONE / iPlanet 6.0sp5
NSAPI redirector from jakarta-tomcat-connectors-1.2.8
Tomcat 5.5 (embedded in JBoss 4.0.2)
All of the requests that get forwarded over the redirector require
authentication. The configuration works fine if the request body is less
than
Hi ,
Under tomcat I am integrating the uPortal and running one portlet
application in a web context.
I put my own classes under the WEB-INF/classes directory and also put
jar files in
WEB-INF/lib directory , but I am getting the error :
ClassNotFoundException ,
We have a web page that contains many business documents laid out one
after the other so a user can just click print and have all of them
print together (with a stylesheet that starts each contract on its own
printed page).
But we seem to be having an error that the generated servlet code is
It's a global java limitation.
You'are limited to around 10 000 lines of code in a try catch block.
Try to use dynamic includes instead of static includes.
Pascal Gehl
-Original Message-
From: David Wall [mailto:[EMAIL PROTECTED]
Sent: Friday, June 03, 2005 16:31
To:
You are actually limited by Java. I can't recall the actual size off
hand, but a method can only be so big.
From what I remember, it has something to do with server side includes
vs jsp includes. We ended up doing some pretty nasty stuff by
conditionally doing a server side include. I can't
The jsp:include is coming very close for us, but we're doing some tricks
on these JSP pages that are causing us a problem with this approach.
In the main JSP, we are creating a class inside that has the data
elements for that page as well as a bunch of custom routines that act on
the bean
Steve Kirk wrote:
yes context.xml is fine in META-INF. in fact it is preferred over having it
in server.xml. your alternative is to put it in
conf/enginename/hostname/yourwebappname.xml (which is in fact what TC will
do for you when it unpacks the war).
I don't know that you can have the
It all depends on what OS and what editor you use. Under Unix using
symbolic links could be a solution.
I am not familiar with rsync, but you could use a tool like
that to keep
two folders in sync. It should be possible to setup a process that is
watching your working folder and every
you can us includes and then delete the compiled file in the work directory.
So split page up by using %@ include file=checklogin.jsp %
for each block of general code coded in a include jsp. After upload delete
the file in the work directory, so compilation is done at runtime of tomcat.
And its
I keep getting the following repeating error message
in my log file:
2005-06-03 09:54:54,500 DEBUG
[org.apache.catalina.session.ManagerBase] - Start
expire sessions StandardManager at 1117817694500
sessioncount 4
2005-06-03 09:54:54,500 DEBUG
[org.apache.catalina.session.ManagerBase] - End expire
Hello
We're using Tomcat 5.5.9 + Sun Java 1.5.0_03 + Oracle 9i in our Intranet
application.
Everything looks fine... unless we run a SELECT statement into Tomcat.
Without the 'ORDER BY' clause, no problem.
With 'ORDER BY', Tomcat runs at 100%.
JDBC library file: ojdbc14.jar
JDBC URL :
Hi Rodson,
Check your JDBC Driver documentation may be it has a bug
when use in Sun Java 1.5.0_03. Check for the latest version.
This look like a problem in the translation of SQL statement.
Cheers,
John
-Original Message-
From: Robson dos Santos Franca [mailto:[EMAIL PROTECTED]
Hi Sir John,
We updated JDBC drivers (at Oracle Website) and it just have worked!
Thanks a lot!
Robson
Sir John Nueva wrote:
Hi Rodson,
Check your JDBC Driver documentation may be it has a bug
when use in Sun Java 1.5.0_03. Check for the latest version.
This look like a problem in
Hi,
I am looking for rpms for tomcat/mod_jk that work with FC3. Any tips ?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Along with what Mark said, you should know that TC 4.1.30 stops checking
after the *first* matching constraint (so in your case, the '/*' always
wins). Try reversing the order of your constraints in web.xml.
As Mark mentioned, this has changed in TC 5.x, and your web.xml should work
as
believe me man u'd much rather build it for fc3 instead of looking for rpm.
i looked for rpm myself for a day or two without much luck and then built
it. it only took one and half hour for me to figure out how to build it.
-Original Message-
From: mbneto [mailto:[EMAIL PROTECTED]
Sent:
60 matches
Mail list logo