Re: Newbie question - Tomcat 5.0 and external Javascript files

2005-10-05 Thread Darek Czarkowski
You have to specify the full path, this should not work under any of the webservers. DarekC On Wed, 2005-10-05 at 08:03, Pigott, Paul wrote: Greetings, I'm having problems executing functions in an external javascript file. It's like the .js file can't be found. I was able to do this under

Re: Newbie question - Tomcat 5.0 and external Javascript files

2005-10-05 Thread Larry Meadors
You may be able to use this instead: src=js/EdiHost.js IDEA will get pissed about it, but it should work (I know it does for images). It is nice, because you can rename your context, and not break your webapp. :) Larry On 10/5/05, Pigott, Paul [EMAIL PROTECTED] wrote: Greetings, I'm

Re: Newbie question - Tomcat 5.0 and external Javascript files

2005-10-05 Thread Hassan Schroeder
Larry Meadors wrote: You may be able to use this instead: src=js/EdiHost.js It is nice, because you can rename your context, and not break your webapp. :) Or, if you're using JSTL, use: src=c:url value=/js/EditHost.js/ which has the added advantage of *not* being a relative path that'll

Re: Newbie question - Tomcat 5.0 and external Javascript files

2005-10-05 Thread Larry Meadors
Yeah, i just hate the tag inatag / / stuff. Messy. ;-) Larry On 10/5/05, Hassan Schroeder [EMAIL PROTECTED] wrote: Larry Meadors wrote: You may be able to use this instead: src=js/EdiHost.js It is nice, because you can rename your context, and not break your webapp. :) Or, if

Re: Newbie question. /manager only gives the directory listing

2005-09-18 Thread Peter Johnson
Jimi, try /manager/html PJ [EMAIL PROTECTED] wrote: Hi all, I have been using Tomcat for some time now, but I still feel like a newbie in most regards. At least when it comes to configuring it. Tomcat has been working great, together with Apache 2, for several months now. But now, I find

Re: Newbie question. /manager only gives the directory listing

2005-09-18 Thread tomcat
Ah, it worked like a charm! Thanks a bunch, Peter! :) /Jimi Quoting Peter Johnson [EMAIL PROTECTED]: Jimi, try /manager/html [EMAIL PROTECTED] wrote: Hi all, I have been using Tomcat for some time now, but I still feel like a newbie in most regards. At least when it comes to

Re: newbie with a short question

2005-08-26 Thread Brian Cook
, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Allistair Crossley [mailto:[EMAIL PROTECTED] Subject: RE: newbie with a short question First I cause an open/save prompt with response.addHeader(Content-Disposition, attachment; filename=somebat.bat); Then I use the response.getOutputStream

RE: newbie with a short question

2005-08-26 Thread Robert Harper
: Re: newbie with a short question Couple of things 1. You will get better responses on this list if you review the posting guide at. This post is way to vague to get specific answers. So most people are not going to respond to it. http://jakarta.apache.org/site/mail.html 2. If I follow

Re: newbie with a short question

2005-08-26 Thread Hassan Schroeder
nick sturm wrote: ok, I have done the two things on that page: renamed the serverlet and deleted the comments around the cgi section of the web.xml config file. Uh, you probably want to *read* those comments :-) -- specifically !-- executableName of the exectuable used to run the -- !--

Re: newbie with a short question

2005-08-25 Thread nick sturm
the batch file. thanks, sorry I'm very new to this. -n On 8/24/05, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Allistair Crossley [mailto:[EMAIL PROTECTED] Subject: RE: newbie with a short question First I cause an open/save prompt with response.addHeader(Content-Disposition

RE: newbie with a short question

2005-08-24 Thread Allistair Crossley
Hi, I did this the other day with a bat file. First I cause an open/save prompt with response.addHeader(Content-Disposition, attachment; filename=somebat.bat); Then I use the response.getOutputStream() and stream the bat file down it. This requires of course that you get an inputstream to

RE: newbie with a short question

2005-08-24 Thread Caldarale, Charles R
From: Allistair Crossley [mailto:[EMAIL PROTECTED] Subject: RE: newbie with a short question First I cause an open/save prompt with response.addHeader(Content-Disposition, attachment; filename=somebat.bat); Then I use the response.getOutputStream() and stream the bat file down

RE: Newbie: Installing Admin on Tomcat

2005-08-03 Thread Steve Delaney
Assuming you are configured to use folder names when you unzip, doing so will essentially create a directory structure that is parallel to the default Tomcat installation (C:\Program Files\Apache Software Foundation\Tomcat 5.5) Just unzip the Admin files into their own, separate directory, then

Re: Newbie: Connection refused first time on Tomcat

2005-07-26 Thread Rob Hills
Hi Bruce, On 25 Jul 2005 at 18:39, Bruce E. Stemplewski wrote: Where does this get installed? Remember, I am a total newbie at this. And do I even need this? The error says: This release of Apache Tomcat was packaged to run on J2SE 5.0 or later. It can be run on earlier JVMs by

Re: Newbie: Connection refused first time on Tomcat

2005-07-25 Thread David E. Shapiro
I have the same problem here. If you tail -f the catalina log it never completes the startup. It hangs trying to set the context for admin for me. Can somebody let us know what we are doing wrong? Bruce E. Stemplewski wrote on 7/25/05 2:54 am: I just installed Tomcat for the first time ever

Re: Newbie: Connection refused first time on Tomcat

2005-07-25 Thread Larry Meadors
You need the compatibility stuff: http://jakarta.apache.org/site/downloads/downloads_tomcat-5.cgi Search for compat on that page, and you'll see it. Larry On 25 Jul 2005 18:52:00 GMT, David E. Shapiro [EMAIL PROTECTED] wrote: I have the same problem here. If you tail -f the catalina log it

Re: Newbie: Connection refused first time on Tomcat

2005-07-25 Thread Bruce E. Stemplewski
Where does this get installed? Remember, I am a total newbie at this. And do I even need this? The error says: This release of Apache Tomcat was packaged to run on J2SE 5.0 or later. It can be run on earlier JVMs by downloading and installing a compatibility package from the Apache Tomcat

RE: Newbie: Does Tomcat 5.5.9 support JSP 2.2/1.1?

2005-07-19 Thread Didier McGillis
Servlet/JSP Spec 2.4/2.0 Tomcat 5.5 uses the Jasper 2 JSP Engine to implement the JavaServer Pages 2.0 specification. http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jasper-howto.html From: Leonardo Lagos [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: tomcat-user@jakarta.apache.org

RE: newbie can't start tomcat

2005-07-11 Thread dsimmons
Thanks, I tried it, and this makes no change in the behavior. -Original Message- From: Mandar Vaidya [mailto:[EMAIL PROTECTED] Sent: Friday, July 08, 2005 2:44 PM To: 'Tomcat Users List' Subject: RE: newbie can't start tomcat Hi Doug, I believe you don't have to start it as ./bin

RE: newbie can't start tomcat

2005-07-11 Thread dsimmons
My goal is to get Sakai running, and it must have 1.4, so I guess I'm stuck with it. Thanks, Doug Simmons -Original Message- From: Luis Torres [mailto:[EMAIL PROTECTED] Sent: Friday, July 08, 2005 2:43 PM To: Tomcat Users List Subject: Re: newbie can't start tomcat It may

Re: newbie can't start tomcat

2005-07-11 Thread Paul Singleton
The clue is in 'Exception in thread main java.lang.NoClassDefFoundError: server' where it seems to be trying to load a class named 'server'. In your environment variables you have JAVA_OPTS=server -Xms512m -Xmx512m -verbose:gc -XX:+PrintGCDetails -XX:+PrintGC but the first option should

RE: newbie can't start tomcat

2005-07-11 Thread dsimmons
: Re: newbie can't start tomcat The clue is in 'Exception in thread main java.lang.NoClassDefFoundError: server' where it seems to be trying to load a class named 'server'. In your environment variables you have JAVA_OPTS=server -Xms512m -Xmx512m -verbose:gc -XX:+PrintGCDetails -XX:+PrintGC

RE: newbie can't start tomcat

2005-07-08 Thread Mandar Vaidya
Hi Doug, I believe you don't have to start it as ./bin/startup.sh Go to bin directory and then execute ./startup.sh See if it helps you. Thanks, Mandar -Original Message- From: dsimmons [mailto:[EMAIL PROTECTED] Sent: Friday, July 08, 2005 4:23 PM To:

Re: newbie can't start tomcat

2005-07-08 Thread Luis Torres
It may not be the best solution because you may have a special attachment to Java 1.4 but since you are running Solaris you can install JDK 1.5 anywhere (even /export/home) without it colliding with the overall SO Java installation. So why not use JDK 1.5, set your JAVA_HOME to your new Java

Re: newbie question: Tomcat/Apache settings

2005-07-01 Thread Mark Thomas
Have a look at http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html for an overview of the different type of connectors. You need the web server type rather than the HTTP type. You should use the mod_jk with Apache.

RE: newbie tips - how to deploy tomcat/mod_jk

2005-05-11 Thread Raghupathy,Gurumoorthy
http://www.one0.com/html/downloads.php download the pdf document ... Guru -Original Message- From: mbneto [mailto:[EMAIL PROTECTED] Sent: 11 May 2005 14:52 To: Tomcat Users List Subject: newbie tips - how to deploy tomcat/mod_jk Hi, I am looking for tips for beginners regarding

Re: Newbie question

2005-05-05 Thread Markus Schönhaber
Am Donnerstag, 5. Mai 2005 20:30 schrieb Mário Gamito: I've just installed Tomcat 5.5 for Linux and so far so good, except... that i've installed also Tomcat Administration module (not the Manager one) and it asks me for a login and a password and i can't find how to define it. I see a file

Re: Newbie question

2005-05-05 Thread Lutz Zetzsche
Hi Mário, Am Donnerstag, 5. Mai 2005 20:30 schrieb Mário Gamito: Hi, Sorry for this newbie question :( I've just installed Tomcat 5.5 for Linux and so far so good, except... that i've installed also Tomcat Administration module (not the Manager one) and it asks me for a login and a

Re: Newbie question

2005-05-05 Thread Mott Leroy
See - http://jakarta.apache.org/tomcat/tomcat-5.5-doc/manager-howto.html#Configuring%20Manager%20Application%20Access From what I remember, admin access follows that same rules as manager app access, so the instructions on that page are the same except the role should be admin not manager.

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

Re: Newbie Question: conext.xml

2005-04-26 Thread Bob Bronson
Hello Fritz, Thank you for the welcome. I have comments below - Original Message - From: Fritz Schneider [EMAIL PROTECTED] To: 'Tomcat Users List' tomcat-user@jakarta.apache.org; 'Bob Bronson' [EMAIL PROTECTED] Sent: Tuesday, April 26, 2005 3:22 PM Subject: RE: Newbie Question

Re: Newbie Question: conext.xml

2005-04-26 Thread Hassan Schroeder
Fritz Schneider wrote: 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. No, no, no. That's simply not true. I have multiple installations of 5.5.x systems running and not one

Re: Newbie Question: conext.xml

2005-04-26 Thread Bob Bronson
, as the documentation indicates. - Original Message - From: Hassan Schroeder [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Cc: 'Bob Bronson' [EMAIL PROTECTED] Sent: Tuesday, April 26, 2005 3:46 PM Subject: Re: Newbie Question: conext.xml Fritz Schneider wrote: Welcome, fellow

Re: Newbie Question: conext.xml

2005-04-26 Thread Hassan Schroeder
Bob Bronson wrote: But using the $CATALINA_HOME/conf/{engine}/{hostname}/ROOT.xml approach is only one of 4 documented approaches (and the only approach I was able to get working). Why don't the other three work? Well, I'm absolutely certain that this: 4:

Re: Newbie help

2005-03-22 Thread Frank Høvin
I don't know anything about JWSDP, but have you read the setup and configuration pages for the version of Tomcat you're using? e.g., http://jakarta.apache.org/tomcat/tomcat-5.0-doc/index.html That's the how-to you're looking for, I suspect... Yah, I tried, but I found it much more confusing

Re: Newbie help

2005-03-21 Thread Hassan Schroeder
[EMAIL PROTECTED] wrote: Now, I've downloaded JWSDP and tomcat50-jwsdp, and nothing makes sense anymore. What I want to do is the following: - create a directory in the /webapps dir, and place my small servlets in that dir and run them. I don't know anything about JWSDP, but have you read the

Re: newbie having problems with MySQL JDBC/JNDI Datasource example

2005-03-02 Thread David Smith
In your context definition, you have Resource name=TestDB.. In your web.xml, you have res-ref-namejdbc/TestDB/res-ref-name These two need to match. If one is jdbc/TestDB, so must the other. --David Darryl Wagoner wrote: Greetings, Not sure if this made it the first time. I didn't see it show

Re: newbie having problems with MySQL JDBC/JNDI Datasource example

2005-03-02 Thread Darryl Wagoner
David, I have been looking at this off and on for weeks and could not see the problem. I changed the context to be jdbc/TestDB and it worked. Thank you very much David Smith wrote: In your context definition, you have Resource name=TestDB.. In your web.xml, you have

Re: newbie having problems with MySQL JDBC/JNDI Datasource example

2005-03-02 Thread David Smith
No problem. Amazing what an extra set of eyes will catch, isn't it? Enjoy! David Darryl Wagoner wrote: David, I have been looking at this off and on for weeks and could not see the problem. I changed the context to be jdbc/TestDB and it worked. Thank you very much David Smith wrote: In

Re: newbie having problems with MySQL JDBC/JNDI Datasource example

2005-03-01 Thread Parsons Technical Services
Resource Link http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/globalresources.html http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/context.html#Resource%20Links Doug - Original Message - From: Darryl Wagoner [EMAIL PROTECTED] To: Tomcat Users List

Re: newbie having problems with MySQL JDBC/JNDI Datasource example

2005-03-01 Thread Justin Crabtree
Parsons Technical Services wrote: Resource Link http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/globalresources.html http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/context.html#Resource%20Links Doug - Original Message - From: Darryl Wagoner [EMAIL PROTECTED] To: Tomcat

Re: newbie having problems with MySQL JDBC/JNDI Datasource example

2005-03-01 Thread Darryl Wagoner
Sounds like it can't find the driver. Do you have the Connector/J jar installed in the correct place? Should be in common/lib. I think so! I have $CATALINA/common/lib/mysql-connector-java-3.0.16-ga-bin.jar which I believe to be the correct. I just downloaded and installed 3.1 with same

Re: newbie having problems with MySQL JDBC/JNDI Datasource example

2005-03-01 Thread Parsons Technical Services
What version are you running of Tomcat? Did you put in your resource link? Doug - Original Message - From: Darryl Wagoner [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Tuesday, March 01, 2005 5:09 PM Subject: newbie having problems with MySQL JDBC/JNDI

Re: newbie having problems with MySQL JDBC/JNDI Datasource example

2005-03-01 Thread Drew Jorgenson
javax.servlet.ServletException: Unable to get connection, DataSource invalid: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null' what is your connection URL? it doesn't seem like you're supplying one to the driver. If you're passing it

Re: newbie having problems with MySQL JDBC/JNDI Datasource example

2005-03-01 Thread Drew Jorgenson
Woops, my bad, that's not it, I should have read the entire message :( Drew. On Tue, 2005-03-01 at 18:51, Drew Jorgenson wrote: javax.servlet.ServletException: Unable to get connection, DataSource invalid: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class ''

Re: [Newbie] Failed access to servlet via URL mapping (context setting problem?)

2005-01-17 Thread Geoffrey Charters
Still no success. This is what I have: $CATALINA_HOME/webapps/hi/WEB-INF/classes/hi.class $CATALINA_HOME/webapps/hi/WEB-INF/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;

Re: [Newbie] Failed access to servlet via URL mapping (context setting problem?)

2005-01-16 Thread Parsons Technical Services
I notice you are using 1.4.2 Does the compat install mean you set it up to use 1.4 in place of the 1.5 per RUNNING.txt? Doug - Original Message - From: Geoffrey Charters [EMAIL PROTECTED] To: tomcat-user@jakarta.apache.org Sent: Saturday, January 15, 2005 11:47 PM Subject: [Newbie]

Re: [Newbie] Failed access to servlet via URL mapping (context setting problem?)

2005-01-16 Thread Geoffrey Charters
Doug wrote: I notice you are using 1.4.2 Does the compat install mean you set it up to use 1.4 in place of the 1.5 per RUNNING.txt? I didn't do any setting up, other than to install the compatibility patch as directed. It is my understanding that this acts as a bridge between the new V5.5

Re: [Newbie] Failed access to servlet via URL mapping (context setting problem?)

2005-01-16 Thread Parsons Technical Services
I didn't do any setting up, other than to install the compatibility patch as directed. It is my understanding that this acts as a bridge between the new V5.5 tomcat architecture, and the old 1.4 JDK. From the success of the trial servlets, the installation seems to be working, and I just

RE: Newbie question on Database and struts

2005-01-04 Thread Phillip Qin
In the controller, read form values, query the database, store result in Collection and save it to session or request-scope. On jsp, use iterate tag to display elements in Collection. -Original Message- From: Manisha Sathe [mailto:[EMAIL PROTECTED] Sent: December 23, 2004 10:25 PM To:

Re: Newbie question on Database and struts

2004-12-27 Thread Dustin
This isn't exactly answering your question but... Check out iBATIS SQL Maps: http://www.ibatis.com/common/sqlmaps.html I won't go into how to use it. They have an excellent manual and tutorial. It is ridiculously easy to learn and use. Especially with Struts. Basically, you set up a query in

RE: Newbie question on Database and struts

2004-12-27 Thread Amit Gupta
I tried SQLMaps. It is wonderful but is there any easy manual (except PDF that come with ibatis) available on net? Amit Gupta -Original Message- From: Dustin [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 28, 2004 1:28 AM To: Tomcat Users List Subject: Re: Newbie question

RE: Newbie question on Database and struts

2004-12-23 Thread John Najarian
Hi Manisa, I'm not sure what you mean by 'create array of databeans'. Your result set contains multiple rows, your bean should be able to return the entire result set. Why do you need an array of a bean? -Original Message- From: Manisha Sathe [mailto:[EMAIL PROTECTED] Sent:

RE: Newbie question on Database and struts

2004-12-23 Thread Amit Gupta
Hi Manisha, I was also struggling with problem similar to you. I came you with following: package forklifts; import org.apache.struts.action.Action; import org.apache.struts.action.ActionForward; import org.apache.struts.action.ActionMapping; import

RE: Newbie question on Database and struts

2004-12-23 Thread Amit Gupta
Following code fetch records from database table , populate them to hastable and create vector of these hashtables . Then we pass this vector to JSP through request attribute. Action class import org.apache.struts.action.*; import javax.servlet.http.*; import java.sql.*; import java.util.*;

RE: Newbie question on Database and struts

2004-12-23 Thread Manisha Sathe
what i mean to array of databeans means - I have created employee data bean and for each row of result set i am creating one object of bean. So in a way i will get array of databeans. regards Manisha John Najarian [EMAIL PROTECTED] wrote: Hi Manisa, I'm not sure what you mean by 'create

Re: Newbie question on Database and struts

2004-12-23 Thread Sharad Ramadas
You dont need an array of data beans. Store your data bean in an ArrayList or in a Vector. e.g ArrayList empList = new ArrayList(); Employee emp = null; while(rst.next()) { emp = new Employee(); /* Fill the employee object with the records from the database. */

RE: Newbie question on Database and struts

2004-12-23 Thread Goel, Manish Kumar
, December 24, 2004 9:40 AM To: Tomcat Users List Subject: RE: Newbie question on Database and struts what i mean to array of databeans means - I have created employee data bean and for each row of result set i am creating one object of bean. So in a way i will get array of databeans. regards

RE: [newbie] Container Managed Security - preventing direct accessto .jsp

2004-12-15 Thread Ben Souther
Thanks for the help and discussion Ben. /robert Yep, they look the same. Glad to help, even if I've done nothing more than validate your assumptions ;) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: [newbie] Container Managed Security - preventing direct access to .jsp

2004-12-15 Thread David Smith
/bea/message.jspa?messageID=202433201 Oh well... /robert -Original Message- From: Hassan Schroeder [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 14, 2004 5:55 PM To: Tomcat Users List Subject: Re: [newbie] Container Managed Security - preventing direct access to .jsp Robert Taylor wrote

RE: [newbie] Container Managed Security - preventing direct accessto .jsp

2004-12-15 Thread Robert Taylor
- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 14, 2004 10:35 PM To: Tomcat Users List Subject: RE: [newbie] Container Managed Security - preventing direct accessto .jsp It appears that there is no standard way to do this even though it's implied in the spec

RE: [newbie] Container Managed Security - preventing direct access to .jsp

2004-12-14 Thread Robert Taylor
Ping... Please let me know if this questions is just too obvious and I'll gladly RTFM...even more. And yes, I know this list is not here just to serve _my_ interests. It just seems like a common idiom to provide a portable mechanism for protecting direct access to .jsp so as to enforce access

RE: [newbie] Container Managed Security - preventing direct access to .jsp

2004-12-14 Thread Ben Souther
Filters are portable. On Tue, 2004-12-14 at 12:32, Robert Taylor wrote: Ping... Please let me know if this questions is just too obvious and I'll gladly RTFM...even more. And yes, I know this list is not here just to serve _my_ interests. It just seems like a common idiom to provide a

Re: [newbie] Container Managed Security - preventing direct access to .jsp

2004-12-14 Thread Hassan Schroeder
Robert Taylor wrote: Please let me know if this questions is just too obvious and I'll gladly RTFM... See below :-) It just seems like a common idiom to provide a portable mechanism for protecting direct access to .jsp so as to enforce access through some controller. I have in the past placed .jsp

RE: [newbie] Container Managed Security - preventing direct accessto .jsp

2004-12-14 Thread Robert Taylor
, December 14, 2004 1:16 PM To: Tomcat Users List Subject: RE: [newbie] Container Managed Security - preventing direct accessto .jsp Filters are portable. On Tue, 2004-12-14 at 12:32, Robert Taylor wrote: Ping... Please let me know if this questions is just too obvious and I'll

RE: [newbie] Container Managed Security - preventing direct access to .jsp

2004-12-14 Thread Robert Taylor
page/message when a .jsp page is requested without going through the controller? /robert -Original Message- From: Hassan Schroeder [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 14, 2004 2:21 PM To: Tomcat Users List Subject: Re: [newbie] Container Managed Security - preventing

Re: [newbie] Container Managed Security - preventing direct access to .jsp

2004-12-14 Thread Dennis Payne
I have not run into that kind of problem before... typically if you hit a JSP without hitting its controller first you will just get nothing (an HTML screen with no data). when it gets routed back to the controller, it will then register a failure due to lack of data. Problem solved. [EMAIL

RE: [newbie] Container Managed Security - preventing direct access to .jsp

2004-12-14 Thread Robert Taylor
, December 14, 2004 5:07 PM To: Tomcat Users List Subject: Re: [newbie] Container Managed Security - preventing direct access to .jsp Robert Taylor wrote: I didn't realize that was added to the 2.4 spec. It was in 2.3, too. I'd guess it was in the spec from the get-go, but don't have an older

Re: [newbie] Container Managed Security - preventing direct access to .jsp

2004-12-14 Thread Hassan Schroeder
Robert Taylor wrote: Does this not imply that I can do what I am trying to do? I suppose; I'm just baffled why you want to reinvent this particular built-in wheel, but don't let that stop you :-) -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1)

RE: [newbie] Container Managed Security - preventing direct access to .jsp

2004-12-14 Thread Robert Taylor
example: http://forums.bea.com/bea/message.jspa?messageID=202433201 Oh well... /robert -Original Message- From: Hassan Schroeder [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 14, 2004 5:55 PM To: Tomcat Users List Subject: Re: [newbie] Container Managed Security - preventing direct

Re: [newbie] Container Managed Security - preventing direct access to .jsp

2004-12-14 Thread Dwayne Ghant
a .jsp page is requested without going through the controller? /robert -Original Message- From: Hassan Schroeder [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 14, 2004 2:21 PM To: Tomcat Users List Subject: Re: [newbie] Container Managed Security - preventing direct access to .jsp

Re: [newbie] Container Managed Security - preventing direct access to .jsp

2004-12-14 Thread Hassan Schroeder
Robert Taylor wrote: I didn't realize that was added to the 2.4 spec. It was in 2.3, too. I'd guess it was in the spec from the get-go, but don't have an older copy to hand to confirm. Even so, it would be nice to know how to use CMS to achieve this. What is your definition of Container Managed

Re: [newbie] Container Managed Security - preventing direct access to .jsp

2004-12-14 Thread Wendy Smoak
From: Hassan Schroeder [EMAIL PROTECTED] Given that the Java Servlet Specification Version 2.4, page 70 sez: A special directory exists within the application hierarchy named WEB-INF. This directory contains all things related to the application that aren't in the document root of the

RE: [newbie] Container Managed Security - preventing direct access to .jsp

2004-12-14 Thread Ben Souther
It appears that there is no standard way to do this even though it's implied in the spec. I don't know how standard this is but it works. The trick is in the auth-constraint node (note the commented out role-name). Since it is exclusive. Not declaring a role-name for the protected resource

RE: [newbie] Container Managed Security - preventing direct access to .jsp

2004-12-13 Thread Robert Taylor
Sorry. I left off some info: Tomcat 5.0.25 Win2k JDK1.4.2 /robert -Original Message- From: Robert Taylor [mailto:[EMAIL PROTECTED] Sent: Monday, December 13, 2004 8:59 PM To: [EMAIL PROTECTED] Subject: [newbie] Container Managed Security - preventing direct access to .jsp

RE: Newbie: problem with WebDav Tomcat servlet

2004-11-13 Thread Mark Thomas
This works for me. Did you restart the app after changing web.xml? What version of tomcat are you using? Mark -Original Message- From: Alessandro Ronchi [mailto:[EMAIL PROTECTED] Sent: Friday, November 12, 2004 11:40 AM To: [EMAIL PROTECTED] Subject: Newbie: problem with WebDav

RE: Newbie: problem with WebDav Tomcat servlet

2004-11-13 Thread Alessandro Ronchi
Il giorno sab, 13-11-2004 alle 12:18 +, Mark Thomas ha scritto: This works for me. Did you restart the app after changing web.xml? Yes, I did. What version of tomcat are you using? Apache Tomcat/4.1.27-13 Another question: is it possible to access to a webapp dir contents with this

RE: Newbie: problem with WebDav Tomcat servlet

2004-11-13 Thread Mark Thomas
Another question: is it possible to access to a webapp dir contents with this webdav url: http://host:8080/webapp/webdav/? No. The url is http://host[:port]/context/pathtofile/file Must I add any configuration directive to get this working? You shouldn't need to. You might want to try /*

RE: Newbie: problem with WebDav Tomcat servlet

2004-11-13 Thread Alessandro Ronchi
Il giorno sab, 13-11-2004 alle 13:57 +, Mark Thomas ha scritto: Another question: is it possible to access to a webapp dir contents with this webdav url: http://host:8080/webapp/webdav/? No. The url is http://host[:port]/context/pathtofile/file Here is my example: I have a context

RE: Newbie: problem with WebDav Tomcat servlet

2004-11-13 Thread Mark Thomas
From: Alessandro Ronchi [mailto:[EMAIL PROTECTED] Here is my example: I have a context named dwers, and I correctly execute this jsp page: http://localhost:8080/dwers/index.jsp located on /usr/share/tomcat/webapps/dwers/index.jsp what's the correct webdav url? All tomcat responses are

RE: newbie question

2004-10-28 Thread Shapira, Yoav
Hi, Yes: define separate Engines or Services for the two apps in your server.xml, and put each connector only in the Service where you want it. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Luke FERNANDEZ [mailto:[EMAIL PROTECTED] Sent: Thursday, October 28, 2004

RE: newbie question

2004-10-28 Thread Ben Souther
Or you could run multiple instances of Tomcat On Thu, 2004-10-28 at 12:23, Shapira, Yoav wrote: Hi, Yes: define separate Engines or Services for the two apps in your server.xml, and put each connector only in the Service where you want it. Yoav Shapira http://www.yoavshapira.com

RE: newbie question

2004-10-28 Thread Luke FERNANDEZ
Can you run multiple instances of Tomcat? I tried this but I ran into problems. I'm running Sakai (the open source Learning Management System) which installs its own Tomcat engine. When I try to start up my own non-Sakai Tomcat instance from the command line (which resides in a completely

RE: newbie question

2004-10-28 Thread Filip Hanik \(lists\)
, October 28, 2004 1:27 PM To: [EMAIL PROTECTED] Subject: RE: newbie question Can you run multiple instances of Tomcat? I tried this but I ran into problems. I'm running Sakai (the open source Learning Management System) which installs its own Tomcat engine. When I try to start up my own non-Sakai

RE: newbie question

2004-10-28 Thread Luke FERNANDEZ
Ok I'll research that. Any chance you could give me an example of how to write this in the server.xml? I've got the following webapp folder structure. balancer jsp-examples ROOT_OLD sakai-chef-tool sakai-dav sakai-embedded sakai-framework-component sakai-james sakai-legacy-component

RE: newbie question

2004-10-28 Thread Luke FERNANDEZ
, call catalina.bat run to have the windows stay the same and not shutdown on you FIlip -Original Message- From: Luke FERNANDEZ [mailto:[EMAIL PROTECTED] Sent: Thursday, October 28, 2004 1:27 PM To: [EMAIL PROTECTED] Subject: RE: newbie question Can you run multiple instances of Tomcat

RE: newbie question

2004-10-28 Thread Filip Hanik \(lists\)
did you look at the other connectors? catalina.bat run - will tell you the message, try that Filip -Original Message- From: Luke FERNANDEZ [mailto:[EMAIL PROTECTED] Sent: Thursday, October 28, 2004 1:52 PM To: [EMAIL PROTECTED] Subject: RE: newbie question There would be port conflict

RE: newbie question

2004-10-28 Thread Luke FERNANDEZ
the windows stay the same and not shutdown on you FIlip -Original Message- From: Luke FERNANDEZ [mailto:[EMAIL PROTECTED] Sent: Thursday, October 28, 2004 1:27 PM To: [EMAIL PROTECTED] Subject: RE: newbie question Can you run multiple instances of Tomcat? I tried this but I ran

RE: newbie question

2004-10-28 Thread Steve Kirk
works (click links in the left margin to access further pages) -Original Message- From: Filip Hanik (lists) [mailto:[EMAIL PROTECTED] Sent: Thursday 28 October 2004 19:29 To: Tomcat Users List Subject: RE: newbie question you have conflict in ports, both tomcats can not run

RE: newbie question

2004-10-28 Thread Filip Hanik \(lists\)
-Original Message- From: Luke FERNANDEZ [mailto:[EMAIL PROTECTED] Sent: Thursday, October 28, 2004 2:10 PM To: [EMAIL PROTECTED] Subject: RE: newbie question Ok. When I use catalina.bat run instead of startup the window stays open but the second instance (on port 80) still isnt serving pages

RE: newbie question

2004-10-28 Thread Luke FERNANDEZ
(click links in the left margin to access further pages) -Original Message- From: Filip Hanik (lists) [mailto:[EMAIL PROTECTED] Sent: Thursday 28 October 2004 19:29 To: Tomcat Users List Subject: RE: newbie question you have conflict in ports, both tomcats can not run on the same

RE: newbie question

2004-10-28 Thread Shapira, Yoav
Hi, The shutdown port is also in server.xml, at the top of the file. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Luke FERNANDEZ [mailto:[EMAIL PROTECTED] Sent: Thursday, October 28, 2004 3:19 PM To: [EMAIL PROTECTED] Subject: RE: newbie question So its more

RE: newbie question

2004-10-28 Thread Steve Kirk
. Note that any parts of server.xml commented out between !-- and -- are not active so you can ignore them for the time being. -Original Message- From: Luke FERNANDEZ [mailto:[EMAIL PROTECTED] Sent: Thursday 28 October 2004 20:19 To: [EMAIL PROTECTED] Subject: RE: newbie question So

RE: newbie question

2004-10-28 Thread Luke FERNANDEZ
, October 28, 2004 2:10 PM To: [EMAIL PROTECTED] Subject: RE: newbie question Ok. When I use catalina.bat run instead of startup the window stays open but the second instance (on port 80) still isnt serving pages. I've included the screen output that happens after running catalina.bat run. Looks like

RE: newbie question

2004-10-28 Thread Steve Kirk
] Sent: Thursday 28 October 2004 20:27 To: 'Tomcat Users List' Subject: RE: newbie question I would advise that you read the doc, because it only takes a few mins, and then you'll understand what's really happening ;) But to get you going, assuming that you have not changed the standard

RE: newbie question

2004-10-28 Thread Ben Souther
] Sent: Thursday, October 28, 2004 2:10 PM To: [EMAIL PROTECTED] Subject: RE: newbie question Ok. When I use catalina.bat run instead of startup the window stays open but the second instance (on port 80) still isnt serving pages. I've included the screen output that happens after

RE: newbie questions

2004-10-02 Thread Cameron Roe
Thanks QM! -Original Message- From: QM [mailto:[EMAIL PROTECTED] Sent: October 1, 2004 4:05 PM To: Tomcat Users List Subject: Re: newbie questions On Fri, Oct 01, 2004 at 03:42:09PM -0600, Cameron Roe wrote: : Ok so here goes. I want a have a version of the JavaDoc for the Java Servlet

Re: newbie questions

2004-10-01 Thread QM
On Fri, Oct 01, 2004 at 03:42:09PM -0600, Cameron Roe wrote: : Ok so here goes. I want a have a version of the JavaDoc for the Java Servlet : API on my local machine. I can then link in my IDE and get mouse-over : javadoc for the Servlet API. Where do I get it? java.sun.com, there should be a

Re: Newbie to Version 5.5

2004-09-06 Thread Tim Funk
Yes. The easiest way is to make multiple copies of the dist in different directries and make sure server.xml soes not have any overlapping ports. So ... - get it working - copy the distribution to a new dir - Change the ports,addresses, dirs as needed -Tim Freddy Villalba wrote: Hi, I just

Re: Newbie to Version 5.5

2004-09-06 Thread Remy Maucherat
On Mon, 6 Sep 2004 15:04:57 +0200, Freddy Villalba [EMAIL PROTECTED] wrote: Hi, I just downloaded version 5.5. I'm interested in having several instances of the server running on the same Windows machine (different ports, obviously). Is this possible? Where can I find the documentation for

  1   2   3   4   5   6   7   8   >