Help needed with Tomcat 5.5.7 admin app (MBeanServer is not available)

2005-04-11 Thread Fritz Schneider
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 _

RE: How do I restrict access to webapps applications from browser users?

2005-04-13 Thread Fritz Schneider
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

RE: How do I restrict access to webapps applications from browser users?

2005-04-13 Thread Fritz Schneider
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:

RE: Multiple tomcat instances

2005-04-15 Thread Fritz Schneider
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

RE: Multiple tomcat instances

2005-04-15 Thread Fritz Schneider
: 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

RE: Deploying Sakai 1.5.0 with Tomcat 5.5.7

2005-04-18 Thread Fritz Schneider
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

RE: Deploying Sakai 1.5.0 with Tomcat 5.5.7

2005-04-18 Thread Fritz Schneider
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

RE: Need help exporting contexts not under webapps/

2005-04-19 Thread Fritz Schneider
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 -

RE: Need help exporting contexts not under webapps/

2005-04-19 Thread Fritz Schneider
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

RE: localhost Context files and path = /

2005-04-20 Thread Fritz Schneider
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

RE: Tips regarding security and configuration

2005-04-21 Thread Fritz Schneider
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

Tomcat SSI variables missing?

2005-04-25 Thread Fritz Schneider
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

RE: Virtual hosts

2005-04-25 Thread Fritz Schneider
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

RE: Tomcat SSI variables missing?

2005-04-25 Thread Fritz Schneider
, 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

RE: Newbie Question: conext.xml

2005-04-26 Thread Fritz Schneider
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

Virtual Hosts and SSL Certificates

2005-04-27 Thread Fritz Schneider
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

RE: Error Redirection

2005-05-01 Thread Fritz Schneider
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

RE: tomcat and virtual hosts

2005-05-11 Thread Fritz Schneider
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

RE: No such list! s An explanation

2005-05-17 Thread Fritz Schneider
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

RE: 404 redirection question

2005-05-18 Thread Fritz Schneider
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

RE: Tomcat vs Apache

2005-05-18 Thread Fritz Schneider
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

RE: 404 redirection question

2005-05-18 Thread Fritz Schneider
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

RE: 404 redirection question

2005-05-18 Thread Fritz Schneider
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

RE: Tomcat and PHP?

2005-05-18 Thread Fritz Schneider
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

RE: JRE vs. JDK for Tomcat

2005-05-18 Thread Fritz Schneider
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

RE: server options

2005-05-19 Thread Fritz Schneider
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

RE: server options

2005-05-19 Thread Fritz Schneider
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