Could you try MemoryRealm to evict filter mechanisms (like firewall or
router configuration) between your tomcat serve rand your database ?
As you can see in the servlet specification the security-role element isn't
optional.
!ELEMENT web-app (icon?, display-name?, description?,
distributable?,
Hi there,
we are creating a staging / QA environment for our websites.
We are using a Win2K server running IIS which has multiple websites
defined (using host headers for identification against a single IP
address), eg:
localhost
staging.website.com
staging.website2.co.uk
staging.website3.de
Hi, I installed for testing tomcat and all was going well. At start I used
the default names I get for the directories, for example
jakarta-tomcat-5.0.28.
I now have changed the name to jakarta-tomcat and I'm being able to enter
the default site and documentation, but when I try to enter the
From: Chris Hosler [mailto:[EMAIL PROTECTED]
I am having a problem getting SSL to work on my tomcat 5 sever so I
would like to know what each segment of the class name means from the
server.xml file
(className=org.apache.coyote.tomcat5.CoyoteConnector)
and how it affect the SSL on my
Hi to all!
I have an application on Tomcat5.5.4+IIS5 that fills my Windows Log (Event
Viewer) with these messages:
Error: [jk_worker_ajp13.c (648)]: ajp13.service() Error forwarding
ajp13:localhost:8009 1 0
Error: [jk_worker_ajp13.c (546)]: ajp13.service() ajpGetReply recoverable
error
_
From: Gusti y Viky [mailto:[EMAIL PROTECTED]
Sent: Friday, February 11, 2005 12:28 PM
To: 'tomcat-user@jakarta.apache.org'
Subject: i solved the problem
I solved the problem, after changing the name of the directory I checked on
the Catalina.out log and saw that some
Hello
I try to set page encoding for *.jsp in web.xml for my context:
-- web.xml --
?xml version=1.0 encoding=ISO-8859-1?
web-app xmlns=http://java.sun.com/xml/ns/j2ee;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
I'm trying to enable CGI within one of my tomcat webapps. I've followed
the doc but I don't understand what I need to set the parameter
cgiPathPrefix to. What is it looking for in this search path ?
Thx,
Steve.
The CGI programs themselves.
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/cgi-howto.html says:
cgiPathPrefix - The CGI search path will start at the web application root
directory + File.separator + this prefix. The default cgiPathPrefix is
/WEB-INF/cgi
Does that help?
Richard Russell
Hi Richard,
So that's my cgi programs. So if my cgi programs are in
tomcat.base.dir/webapps/mywebapp/misc/stuff/cgi then I set the parameter
to /misc/stuff/cgi ?
Steve
-Original Message-
From: Richard Russell [mailto:[EMAIL PROTECTED]
Sent: 11 February 2005 11:10
To: Tomcat Users List
Don't know -- never done it. However, that's how I'd interpret it.
Richard Russell
Deutsche Bank AG London
Global Markets Customer Solutions
Office: +44 20 7545 8060
Mobile: +44 79 0661 2237
Kelly, Steve [EMAIL PROTECTED]
02/11/2005 11:26 AM
Please respond to Tomcat Users List
To:
If you wish to load a file relative to the context root of your webapp - look
at ServletContext.getResourceAsStream()
-Tim
Rodrigo Avila wrote:
Hi,
is possible to make a Propertie, in the web.xml file, poiting to a
file using the relative path of the file? Something like:
propertie: fooProp
The real problem is the lines above it. Either the server.xml is hosed,
missing, corrupted or Tomcat doesn't have rights to it.
What OS are you running on?
Doug
- Original Message -
From: Joseph Shraibman jks@selectacast.net
To: tomcat-user@jakarta.apache.org
Sent: Friday, February 11,
kill -9 {tomcat process id}
-Tim
Narayan, Satya wrote:
Hi,
Tomcat doesnot shutdown when one of the threads is in process.
I type catalina stop to stop the tomcat but it does not work cos one of
the threads is in process
Is there any way out of this of tomcat forcibly killing all threads
It appears you have a problem with a JSP. Check the logs for a more complete
trace and see if the is any additional info. Do all the examples work?
Doug
- Original Message -
From: ssk 2001 [EMAIL PROTECTED]
To: tomcat-user@jakarta.apache.org
Sent: Friday, February 11, 2005 2:29 AM
Hello
I've installed lomboz plugin on eclipse 3.0.1, using jdk 1.4
when lanching tomcat 5.0.30 from eclipse 3.0.1 I get the following
Due to new licensing guidelines mandated by the Apache Software
Foundation Board of Directors, a JMX implementation can no longer
be distributed with the Apache
http://jakarta.apache.org/tomcat/faq/version.html relates
tomcat vsns to the servlet versions.
Is there a similar relationship between java versions please?
Simply, will 5.0.28 run happily with java 1.5?
Regards DaveP.
snip here *
--
DISCLAIMER:
NOTICE: The information contained
Tomcat 5.0 will run on java 1.4 or 1.5.
Tomcat 5.5 runs on java1.5. TO use 1.4 - you need the compat libraries.
-Tim
Pawson, David wrote:
http://jakarta.apache.org/tomcat/faq/version.html relates
tomcat vsns to the servlet versions.
Is there a similar relationship between java versions please?
Ok, but in getResourceAsStream() i need to pass a String with the
name of the file, right? But, is the path/name of the file I store in
an parameter in web.xml... and I get this name again using
config.getInitParameter( nameOfTheFile ). For now, I use the
full-path in the nameOfTheFile parameter
I tried that and I can't get it to work. It just displays the cgi code
in the window that's trying to execute it.
Anyone else got any clues?
Thanks in advance,
Steve.
-Original Message-
From: Richard Russell [mailto:[EMAIL PROTECTED]
Sent: 11 February 2005 11:29
To: Tomcat Users List
-Original Message-
From: Tim Funk
Tomcat 5.0 will run on java 1.4 or 1.5.
Tomcat 5.5 runs on java1.5. TO use 1.4 - you need the
compat libraries.
What of the other way round Tim?
I want to run tc5.0.28 with java 1.5
(since I need 1.5 for other
Hi Steve.
Having just done this myself to help someone else, yes. There's a
comment block in the global web.xml file (find it at
$CATALINA_HOME/conf/web.xml) that really helps in explaining things.
--David
Kelly, Steve wrote:
Hi Richard,
So that's my cgi programs. So if my cgi programs are in
We're using apache 1.3.33 with tomcat 5.0.16, connected via mod_jk, on
Solaris.
What I'm observing is that load-balancing isn't working. We have a
couple of machines dedicated to our XML interface, and have apache
configured to hand all such requests to loadbalancer3. In our mod_jk
This is a good point. I do have a firewall on the server blocking all
external ports on the DB server. Tomcat is connect through localhost so I
thought this would be ok. Maybe its not.
I will try disabling the firewall and the memory realm and see what happens.
Thanks,
Luke
Luke Shannon
Web
The most common thing for this kind of issue is DNS resolution.
George Sexton
MH Software, Inc.
http://www.mhsoftware.com/
Voice: 303 438 9585
On Thu, 10 Feb 2005 01:19:10 -0800 (PST), Dola Woolfe
[EMAIL PROTECTED] wrote:
The offender is a super duper new dell desktop with
4gb of ram,
I've seen this if the tags specified by the page are not available.
George Sexton
MH Software, Inc.
http://www.mhsoftware.com/
Voice: 303 438 9585
-Original Message-
From: ssk 2001 [mailto:[EMAIL PROTECTED]
Sent: Friday, February 11, 2005 12:30 AM
To:
Heh, sounds a lot like the problem Iw as just having. Because of the
time crunch I'm under, after working on it for a week, I ended up haivng to
install an Apache server just to handle my CGI's. shrug
Good luck.
--Alex
Alex Brelsfoard
Web Applications Developer
Web Development Office
Environment: Tomcat 5.0.28, built from source.
I'm trying to persuade Tomcat to allow me to use a custom URL scheme
('bod3vfs'), both in webapps and in some of the behind-the-scenes setup
- for example, I have a custom HostConfig that examines a virtual file
system. I've tried the following
Hi all!
I have just upgraded from 5.0.28 to 5.5.7. My only problem is that
Tomcat can't compile some of my jsps that are using features found in
jdk1.5 (auto-boxing).
I have tried adding:
init-param
param-namecompilerSourceVM/param-name
In an environment totally hosted by Tomcat, how does one accomplish a
301 permanent redirect? What is the equivalent of .htaccess in
Tomcat? Can 301 redirects be defined in web.xml?
I am changing technology and don't want my site to loose its page rank.
Example:
On Fri, 11 Feb 2005 09:45:45 -0500, Daniel Rhoden [EMAIL PROTECTED] wrote:
In an environment totally hosted by Tomcat, how does one accomplish a
301 permanent redirect? What is the equivalent of .htaccess in
Tomcat? Can 301 redirects be defined in web.xml?
I think you are going to have to do
Put apache in front of it, You will gain in flexibility.
On Fri, 11 Feb 2005 08:52:03 -0600, Jason Bainbridge
[EMAIL PROTECTED] wrote:
On Fri, 11 Feb 2005 09:45:45 -0500, Daniel Rhoden [EMAIL PROTECTED] wrote:
In an environment totally hosted by Tomcat, how does one accomplish a
301
DaveP,
As Tim wrote Tomcat 5.0 will run on java 1.4 or 1.5.
So any Tomcat 5.0.x version will run on java 1.4 or higher.
Doug
- Original Message -
From: Pawson, David [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Friday, February 11, 2005 7:27 AM
Subject: RE:
Has anyone out there got CGI scripts running from a tomcat webapp. If
so, I'll carry on my investigations. If not, I might just give up !
-Original Message-
From: Brelsfoard, Alex [mailto:[EMAIL PROTECTED]
Sent: 11 February 2005 13:54
To: Tomcat Users List; Tomcat Users List
Subject:
Hi David,
I followed that but to no avail.
Steve.
-Original Message-
From: David Smith [mailto:[EMAIL PROTECTED]
Sent: 11 February 2005 12:34
To: Tomcat Users List
Subject: Re: Enabling CGI
Hi Steve.
Having just done this myself to help someone else, yes. There's a
comment block in
On Fri, 11 Feb 2005 10:09:03 -0500, Daniel Rhoden [EMAIL PROTECTED] wrote:
Thank you very much for that. It looks like where I mess up was not
making it a 404 error page first. I was actually creating a jsp with
the exact name and trying to change the status the same way documented
in the
Kelly, Steve wrote:
Has anyone out there got CGI scripts running from a tomcat webapp. If
so, I'll carry on my investigations. If not, I might just give up !
Yes. I'm baffled by the apparent problems with this. Since I needed
to update a dev server anyway, I /just now/:
1) downloaded and
Hi All
I am trying to configure IIS5 with tomcat5.0.28. My tomcat works fine. I
have tested IIS http://localhost/ http://localhost/ it shows the IIS page
fine.
However if I try to access jsp-examples
http://localhost:8080/jsp-examples/jsp2/el/basic-arithmetic.jsp
I'm about to start moving forward on a site that I took over a couple of
months back. All the hardware and configuration issues seem to be ironed
out, and I am beginning to redo large portions of the site. The product
portion of the site is currently html pages and not generated html pages,
Ok. Can you post some info?:
Tomcat version:
Platform:
CGI script language (native binary, shell, perl, bat, etc., ...):
Servlet mappings (from WEB-INF/web.xml):
Request URI used:
Location of the cgi scripts:
What's been done so far to make it work:
--David
Kelly, Steve wrote:
Hi David,
I
IMS is the system name... we chose that as the role name. You will need to use
your role name and role link in its place. When a role is defined on a servlet
it is secure. When it is not it is not secure (usually).
In the realm setting, make sure you have replaced the text username and
Hello TC gurus, I am willing to try this again. I am sure this has shown up a
few thousand times but I have just downloaded the TC 5.5 in hopes that my
little JSP app I am dreaming up will run on the servlet server. Here is the
problem: I cannot get the context path right no matter what and the
My only addition is take a look at the logs. The CGI servlet is set by
default to a log level of 6 which shows a lot of diagnostic info. I
found it very useful when I set mine up as a test last night.
--David
Hassan Schroeder wrote:
Kelly, Steve wrote:
Has anyone out there got CGI scripts
On Fri, 11 Feb 2005 16:28:00 + (UTC), David W. Brown
[EMAIL PROTECTED] wrote:
Hello TC gurus, I am willing to try this again. I am sure this has shown up a
few thousand times but I have just downloaded the TC 5.5 in hopes that my
little JSP app I am dreaming up will run on the servlet
Hi all,
I 'am trying to do jspPreCompilation, it is thrwing away saying.
ClassCastExcception.
Class java.util.HashMap loaded from parent loader (parentFirst)
Class java.util.Collections loaded from parent loader (parentFirst)
Class java.io.ByteArrayOutputStream loaded from parent loader
I've got a small web app that's working just fine. As soon as I add a listener,
it fails to deploy.
Here's the relevant part of web.xml:
?xml version=1.0 encoding=UTF-8?
web-app xmlns=http://java.sun.com/xml/ns/j2ee;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
Hi All,
We use Integrated Windows Authentication with Kerberos authentication
protocol to logon to our website (running on Tomcat). This works great
in dev/test/prod but when I try it on my localhost, I get the
following error:
-
message: This server does not allow NTLM, but the client
Thanks everyone,
Did as suggested and that works fine suggesting that the CGI bit is okay
and it's something wrong in my webapp. I'll post another question.
Cheers,
Steve.
-Original Message-
From: Hassan Schroeder [mailto:[EMAIL PROTECTED]
Sent: 11 February 2005 15:32
To: Tomcat
Anybody successfully implemented a tomcat webapp that uses the HTMLArea
editor and the SpellChecker plugin (both free from Interactive Tools and
Dynarch) ?
TIA
Steve.
Hi,
I'm running tomcat 5.0.30 on two machines A and B (Linux RHAS3).
When tomcat A restarts it fails to sync session state with session
state not received or something to that effect and tomcat B logs this
message:
11 Feb 2005 17:21:49
AFAIK - yes
-Tim
Parsons Technical Services wrote:
DaveP,
As Tim wrote Tomcat 5.0 will run on java 1.4 or 1.5.
So any Tomcat 5.0.x version will run on java 1.4 or higher.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
hi,
you should make the class public.
cheers,
martin
On Fri, 2005-02-11 at 12:27 -0500, Fenderbosch, Eric wrote:
I've got a small web app that's working just fine. As soon as I add a
listener, it fails to deploy.
Here's the relevant part of web.xml:
?xml version=1.0 encoding=UTF-8?
On Fri, 11 Feb 2005 12:47:42 -0500, Kelly, Steve
[EMAIL PROTECTED] wrote:
Anybody successfully implemented a tomcat webapp that uses the HTMLArea
editor and the SpellChecker plugin (both free from Interactive Tools and
Dynarch) ?
do you mean the spell checker 'plugin' that just uses
How embarrassing. I feel like such a newbie. Can I blame the missing public
modifier on my IDE? Please?
Thanks for the help. That was it.
-Original Message-
From: Martin Grotzke [mailto:[EMAIL PROTECTED]
Sent: Friday, February 11, 2005 1:02 PM
To: Tomcat Users List
Subject: Re:
Anybody successfully implemented a tomcat webapp that uses the HTMLArea
editor and the SpellChecker plugin (both free from Interactive Tools and
Dynarch) ?
What do people think about HTMLArea? It seems one of the only free HTML
textarea type widgets out there. I think the latest has greater
See http://www.fckeditor.net/
-Ursprüngliche Nachricht-
Von: David Wall [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 11. Februar 2005 19:15
An: Tomcat Users List
Betreff: Re: HTMLArea and SpellCheck plugin
Anybody successfully implemented a tomcat webapp that uses the
No. It's a plugin specifically for HTMLArea. But it does use Aspell. It
is only an intranet deployment.
Cheers,
Steve.
-Original Message-
From: Jason Bainbridge [mailto:[EMAIL PROTECTED]
Sent: 11 February 2005 18:07
To: Tomcat Users List
Subject: Re: HTMLArea and SpellCheck plugin
On
On Fri, 11 Feb 2005 19:07:27 + (UTC), David W. Brown
[EMAIL PROTECTED] wrote:
Hello Jason, thanks for the speedy reply and help. The only context.xml I can
find is @: /Apache Software Foundation/Tomcat5.5/conf/context.xml the xml
parameter you have quoted below is not present. There are
See http://www.fckeditor.net/
Aside from the odd name (we do have to give credit after all!), that does look
like a nice one. Has anybody used it enough to know how stable it is? I noted
that it's on 2.0, which is good, but it's not considered final. I like that it
appears to be a bit
Any chance you have a test case to reproduce this?
Shouldn't happen, unless the way sessions are created have changed.
Filip
- Original Message -
From: [EMAIL PROTECTED]
To: tomcat-user@jakarta.apache.org
Sent: Friday, February 11, 2005 11:47 AM
Subject: dodgy session class
Hi,
I'm
I'm trying to use jikes 1.22 with Tomcat 5.5.7 on Windows 2000.
I've built jikes following this:
http://oss.software.ibm.com/developerworks/opensource/jikes/faq/dev-win32.sh
tml
I did these steps (quoting jasper howto):
From your Ant installation, copy ant.jar and (if it's available: Ant 1.5
yes to HTMLArea, haven't tried spellcheck.
Mike Curwen
-Original Message-
From: Kelly, Steve [mailto:[EMAIL PROTECTED]
Sent: Friday, February 11, 2005 11:48 AM
To: Tomcat Users List
Subject: HTMLArea and SpellCheck plugin
Anybody successfully implemented a tomcat webapp
for me, the fckeditor drop-downs don't work. The font, size, etc select
areas. I click them, and then they roll-up before I can select a different
value.
and yah, how about that name?
Mike Curwen
-Original Message-
From: David Wall [mailto:[EMAIL PROTECTED]
Sent: Friday, February
Hi all,
it is throwing ClassCastexception in JSPRuntimeCOntext class when
casting ANTClassLoader class to URLCLassLoader. I don't whether it is a bug. or
configuration problems.
Regards,
Jagga
-
Do you Yahoo!?
Yahoo! Search
Check out OpenCMS (http://www.opencms.org) because it integrates
HTMLArea very nicely, even with Mozilla support (in the version 6
release, still in Alpha).
Kelly, Steve wrote:
Anybody successfully implemented a tomcat webapp that uses the HTMLArea
editor and the SpellChecker plugin (both free
I noticed I had some weird problems using Firefox and FckEditor with the
dropdowns if I used the default theme, but if I changed to a different theme
(I like Noia 2.0) the problems go away.
HTH
--
Dov Rosenberg
Conviveon Corporation
http://www.conviveon.com
On 2/11/05 3:08 PM, Mike Curwen
I don't know if anyone has mentioned it already, but JSpell HTML
(http://www.jspell.com) is really good. Not free, though...
--
Wendy Smoak
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
I have been working with Filip Hanik to get failover/session replication
working for my application. Finally it is working quite well. Hooray for
Filip!
However it did uncover one issue with the way I was handling the
commons-logging logger instances in my business objects that I store in
the
this is tricky to reproduce, but I'm trying to debug it now. Will keep you
posted.
-Original Message-
From: Filip Hanik - Dev [mailto:[EMAIL PROTECTED]
Sent: Fri 2/11/2005 7:28 PM
To: Tomcat Users List
Cc:
Subject:Re: dodgy session class
Any chance you have a test
We're using apache 1.3.33 with tomcat 5.0.16, connected via mod_jk, on
Solaris.
This is very outdated. You shuld update to TC 5.0.30 and mod_jk 1.2.8.
What I'm observing is that load-balancing isn't working. We have a
couple of machines dedicated to our XML interface, and have apache
Now,
Hi;
I can't get the memory realm to work either. I am still getting the error
below without a login prompt:
HTTP Status 403 - Configuration error: Cannot perform access control without
an authenticated principal
type Status report
message Configuration error: Cannot perform access control
Hello;
I finally got this. It turned out I had my:
login-config
auth-methodBASIC/auth-method
/login-config
Inside my security-constraint instead of being in the web-app.
Once I moved this to the correct place in the document. Everything worked
fine.
Thanks to all that posted advice.
Luke
Adam Fisk [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Can I use Coyote HTTP 1.1 server outside of the rest of tomcat? I'm
interested in just plugging in the coyote jar for serving static content
using Jetty, but it appears to have dependencies on the rest of tomcat. I
Great -- I'll try it. Thanks!
-Adam
Bill Barker wrote:
Adam Fisk [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Can I use Coyote HTTP 1.1 server outside of the rest of tomcat? I'm
interested in just plugging in the coyote jar for serving static content
using Jetty, but it
For those who are curious. I decided to run apache AB against jetty to
see if there are any differences.
Max Request/sec
--
tomcat 5.5.4 - 5584
jetty 5.1.2 - 2486
the results suggest tomcat's throughput for 1k static content is 2x
higher than the jetty 5.1.2.
peter
Hi All,
I'm new to Tomcat and Servlets, I'm having a problem with one of my
first Servlets:
This is my program:
import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;
import java.util.*;
public class TestingServlet extends HttpServlet {
public void
From: Trond G. Ziarkowski [mailto:[EMAIL PROTECTED]
Subject: Tomcat 5.5.7 compiler settings
I have just upgraded from 5.0.28 to 5.5.7. My only problem is that
Tomcat can't compile some of my jsps that are using features found in
jdk1.5 (auto-boxing).
Please read
77 matches
Mail list logo