Simon,
I had the same problem. Then I discovered that the admin app had to be
installed under ${Catalina.home}/server/webapps rather than just
${Catalina.home}/webapps. Once I moved the directory to where the Context
docBase said it was supposed to be, it started working.
Fritz
_
Ike.
You need to complete your security-constraint with authorization, login,
and role information. Here is what works for me:
!-- Define a Security Constraint on this Application --
security-constraint
web-resource-collection
web-resource-nameRestricted Files/web-resource-name
Ike,
All I'm saying is Here is what works for me. But it seems that you must
have some form of authentication as well as a statement of the required role
if you want to restrict access to certain users.
Fritz
-Original Message-
From: Ikonne, Ike [mailto:[EMAIL PROTECTED]
Sent:
Another option which uses fewer resources but doesn't provide quite the same
degree of isolation is to run two hosts in the same Catalina service. If
your DNS maps www.mydomain.com and test.mydomain.com to the same IP address,
they can share the same ports. Each one can have its own logs, Servlet
: Multiple tomcat instances
Can you expand a bit more how this would work. I understand how you can
have two domains pointing to the same ip address but how do I split my
logs, servlet mapping and web apps.
Steve.
-Original Message-
From: Fritz Schneider [mailto:[EMAIL PROTECTED]
Sent
Joe,
Do you also have a deployed application at
TOMCAT_HOME/webapps/sakai-dispatch? If so, what does its web.xml look like?
Fritz
-Original Message-
From: Joe Bautista [mailto:[EMAIL PROTECTED]
Sent: Monday, April 18, 2005 1:59 PM
To: tomcat-user@jakarta.apache.org
Subject: Deploying
load-on-startup1/load-on-startup
/servlet
...
servlet-mapping
servlet-name
dispatch-portal
/servlet-name
url-pattern
/portal/*
/url-pattern
/servlet-mapping
Thanks Fritz,
Joe
-Original Message-
From: Fritz Schneider [mailto:[EMAIL PROTECTED]
Sent
Guru,
Earl isn't the only one trying to do this. Here are the details for my
attempts which may or may not be similar to his:
- Running TC 5.5.8, JVM 1.5.0_02-b09 under Win XP Pro SP2
- I have a set of static pages (starting with index.htm) stored at
C:\www\aegean
-
to the manager application and see if you can see the application
started ?
if not try to start it. If yes then try the link
http://www.peacham.com/aegean
If it does not look into the logs
Regards
Guru
-Original Message-
From: Fritz Schneider [mailto:[EMAIL
Joe,
Have you tried adding that context element to your host element in
server.xml? Also I think you need path= in order to specify the root of
the server.
Fritz
-Original Message-
From: Joe Bautista [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 20, 2005 5:02 PM
To: Tomcat Users
Mbneto,
Security is necessary, virtual hosting is neat.
If you were a bit more specific, we could be also.
Fritz
-Original Message-
From: mbneto [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 21, 2005 7:09 AM
To: tomcat-user@jakarta.apache.org
Subject: Tips regarding security and
I am running Tomcat 5.5.8 standalone under Windows XP. I have created a
custom error page for 404 errors. Part of it is:
pI'm sorry, stronghttp://!--#echo var=HTTP_HOST --!--#echo
var=REQUEST_URI --/strong,
the page you requested, cannot be found. It may have been removed, had its
name
Dola,
The simplest way is to have a welcome page such as index.html that redirects
the request. It would look like this:
html
head
META http-equiv=refresh content=0;URL=http://www.mysite.com/myapp;
titleRedirect to Myapp/title
/head
body/
/html
Fritz
-Original Message-
From: Dola
,
REMOTE_USER, REQUEST_METHOD, SCRIPT_NAME, SERVER_NAME,
SERVER_PORT, SERVER_PROTOCOL, SERVER_SOFTWARE
DATE_GMT, DATE_LOCAL, LAST_MODIFIED
HTH,
Patches to add support for additional ones are always welcome.
Mark
Fritz Schneider wrote:
I am running Tomcat 5.5.8 standalone under Windows XP. I
Bob,
Welcome, fellow newbie! I struggled with this one also. It turns out that
the context element for a root directory MUST be nested inside the host
element in server.xml. The relevant documentation reads:
You may define as many Context elements as you wish. Each such Context MUST
have a
I am running TC 5.5.8 standalone under Windows XP Pro. I have two domains
coming in to the same IP address, one for production and one for testing.
There are two host elements in my engine. I have a CA created SSL
certificate for the production domain, but I want to add a self-signed
certificate
Steve,
Have you tried a custom error page for error 500?
error-page
error-code500/error-code
location/_error/500.html/location
/error-page
Fritz
-Original Message-
From: Steve Vanspall [mailto:[EMAIL PROTECTED]
Sent: Sunday, May 01, 2005 6:33 PM
To: Tomcat User List
Subject: Error
Bagus,
Each virtual host is a host element in server.xml. The service (e.g.
Catalina) has connectors to the ports for incoming requests. The engine in
that service sorts out the requests for a particular virtual host based on
the name attribute of the hosts. Any which don't match go to the
In general list servers have at least two e-mail addresses on which to
receive mail. The most heavily used one is the main list address which
accepts submissions and broadcasts them to all members of the list. In our
case it's [EMAIL PROTECTED]
There is also one or more list management addresses
Wade,
Browsers don't display the error page for missing GIF or JPEG elements in a
page, only when the entire requested URL gets a 404. If you have hyperlinks
to images, as opposed to HTML pages with images embedded, then what you are
looking for can be accomplished. You could create a JSP which
Chris,
Earlier versions of Tomcat were quite a bit slower than Apache when
delivering static pages. For high volume work the preferred solution was to
have Apache listening on port 80, and when it received a request for a page
from in a J2EE context, to forward it to Tomcat, listening on 8080. A
By having a page that is essentially:
htmlhead/body
img src=images/xxx.jpg/
/body/html
-Original Message-
From: David Wall [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 18, 2005 11:01 AM
To: Tomcat Users List
Subject: Re: 404 redirection question
Fritz Schneider wrote:
If you have
used, it just constructs the complete URL by appending the current
page's URL to the front, so images/xxx.jpg becomes something like
http(s)://www.host.com/app/images/xxx.jpg assuming the HTML is located
at http(s)://www.host.com/app.
David
Fritz Schneider wrote:
By having a page
Try this: http://tools.herberlin.de/phpservlet/index.shtml
Fritz
-Original Message-
From: Chris Holden [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 18, 2005 3:52 PM
To: tomcat-user@jakarta.apache.org
Subject: Tomcat and PHP?
Hi,
I was wondering if anyone knows if it's possible to
Iannis,
Tomcat used to require javac (the Java compiler from the SDK) in order to
compile the java code generated from the jsps. Tomcat 5 now comes packaged
with the jasper compiler, so all you need is the Java 5.0 JRE.
fRITZ
-Original Message-
From: Iannis Hanen [mailto:[EMAIL
Sergey,
The -server option is not used in Windows. Instead, you copy the
jre\bin\server folder from the JDK into your JRE installation folder and
select that JVM in your service configuration.
Fritz
-Original Message-
From: Sergey Livanov [mailto:[EMAIL PROTECTED]
Sent: Thursday, May
Message-
From: Fritz Schneider [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 19, 2005 5:06 PM
To: 'Tomcat Users List'; 'Sergey Livanov'
Subject: RE: server options
Sergey,
The -server option is not used in Windows. Instead, you copy the
jre\bin\server folder from the JDK into your JRE
27 matches
Mail list logo