Mark certain contexts inactive?

2005-10-06 Thread Scott Purcell
Hello, On my development machine, I have created quite a few contexts or webapp instances, and due to that fact, the startup time is increasing. I do not want to remove any of the contexts as they all mean something to me, but I would like to be able to mark them so they do not start up. And

Tomcat 5.5 where is a hard-copy dtd reference?

2005-09-01 Thread Scott Purcell
Hello, Is there a quick reference, or somewhere one can go to get a listing of the element order for the 2.4 dtd? I already have a bunch of elements in my web.xml and I want to add a listener but I forgot where it goes and I can't seem to google it up today? Anyone know? Thanks, Scott

Users Can See root files

2005-08-31 Thread Scott Purcell
Hello, I was showing someone my website the other day, and when they started playing with the URL, they could see the jsp files, html files, and files under the WEB-INF directory. Is created a welcome-file-list in the web.xml, but I guess if someone plays with the url and tries to get a look

Database Pooling Follow-up

2005-08-31 Thread Scott Purcell
Hello, I want to say thanks for the links yesterday in regards to my pooling problem. After reading the docs, I have a better handle on how this will work. I am ready to test, and I was able to get the following to work within a JSP page. But I would really like to create a Singleton class

Database Pooling

2005-08-30 Thread Scott Purcell
Hello, To start off with, I hand rolled a database pooling class to handle database pooling for a ecommerce site I am writing. The application is web-based so of course I am using Tomcat 5.5 and all was going well. But in my implementation, I occasionally get errors when the connection has not

Virtual Host Config Question

2005-08-12 Thread Scott Purcell
Hello, I have configured two Hosts in my server.xml for two different sites. The one I am having issues with is as follows: Host name=www.theuniquepear.com appBase=webapps/unique/ unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false Context path=

RE: Problems with context

2005-08-12 Thread Scott Purcell
Actually I am getting no errors. Basically some of the images and includes do not show up unless I take out the unique from the querystring. That is why I am confused. Originally, while building the application, I did not have an entry in the host element. I just used something like this:

RE: Virtual Host Config Question

2005-08-12 Thread Scott Purcell
it? You may need to ensure your static resource uris like images reference the context name, e.g src=/unique/images/pic.gif Allistair. -Original Message- From: Scott Purcell [mailto:[EMAIL PROTECTED] Sent: 12 August 2005 15:43 To: tomcat-user@jakarta.apache.org Subject: Virtual Host

Certificates On 5.5

2005-08-10 Thread Scott Purcell
Hello, I have the need install Verisign Certificate on my Tomcat 5.5 running on XP. I am not that familiar with SSL, and was hoping someone may of done this, and could give me a high-level of the complexivity. I would like to have this running by Friday and could use any links, help. Thanks,

Virtual host, routing, problems with localhost

2005-08-09 Thread Scott Purcell
Hello, I am running Tomcat 5.5 on a PC. Up until a week ago, the machine was a local machine basically for my development. So I would hit the machine like so for sites: http://localhost/site1 or http://localhost/site9 On Monday, I purchased a staticIP and a DNS entry. I had register.com bind

RE: Virtual host, routing, problems with localhost

2005-08-09 Thread Scott Purcell
List' Subject: RE: Virtual host, routing, problems with localhost Do you have a host entry in your server.xml with the name of localhost? George Sexton MH Software, Inc. http://www.mhsoftware.com/ Voice: 303 438 9585 -Original Message- From: Scott Purcell [mailto:[EMAIL PROTECTED

Logging With Tomcat 5.5

2005-08-02 Thread Scott Purcell
Hello, I am sure this topic has been beaten to death, but I am having trouble understanding how the Log4J works, and how I can configure it on my localbox. First off, I am running Tomcat 5.5 and I have created two webapp contexts. One is a dev site, and the other is a production site. I am

RE: Logging With Tomcat 5.5

2005-08-02 Thread Scott Purcell
.[Catalina].[localhost][/webappname]=DEBUG, R -Original Message- From: Scott Purcell [mailto:[EMAIL PROTECTED] Sent: 02 August 2005 14:22 To: tomcat-user@jakarta.apache.org Subject: Logging With Tomcat 5.5 Hello, I am sure this topic has been beaten to death, but I am having

Using Tomcat As Webserver Question

2005-07-28 Thread Scott Purcell
Hello, I have created a web-site using Struts framework. I have created it on a dev box, and I am finally ready to deploy it to the world. My goal is to create 3-4 web sites, and I am going to have one static IP address to the machine. I currently have two web sites, and dns names. I am

RE: Using Tomcat As Webserver Question

2005-07-28 Thread Scott Purcell
mean? I've seen web apps in tomcat stress tested with 20.000 requests per day (doing relatively complicated db queries) and doing very well. Regards, Marius -Original Message- From: Scott Purcell [mailto:[EMAIL PROTECTED] Sent: Thursday, July 28, 2005 4:31 PM To: tomcat-user

Tomcat For SSL

2005-05-23 Thread Scott Purcell
Hello, I have a webapp that is running on Tomcat 5.5. I have always developed just using Tomcat. Now I want to take a site, and host it. The site will also run certificates for SSL. Should I wrap my site around Apache now. Meaning should I install apache and put tomcat inside? Or however this

logging per context

2005-04-22 Thread Scott Purcell
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/logging.html Hello, I have just read this document about tomcat 5.5 ability to use logger. From the example there show putting the log4j.properties into the common/classes folder. But doing this of course, puts all logging here. I really ...

configure DataSource Question

2005-04-15 Thread Scott Purcell
Hello, I am trying to configure a javax.sql.DataSource to work with the JDBC pooling stuff. I have been screwing with this stuff quite a while now and could use some help. In my Servlet I want to use the JNDI and something like this for a connection: Context ctx = new InitialContext();

How to Deploy Replacement War

2005-04-13 Thread Scott Purcell
Hello, I deployed a war file for a new project a couple of weeks back. The war extracted, and the manager saw it, and all is good. But now I need to replace that webapp, with a new war file. Now the other day, I went to the manager, undeployed the webapp, turned off Tomcat and deleted the

RE: DBCP Please Help Get Working Properly

2005-04-11 Thread Scott Purcell
a 2.3 spec web.xml file. The full spec can be found at http://www.jcp.org/en/jsr/detail?id=154 --David Scott Purcell wrote: Hello, I am trying to use the DBCP features of Tomcat 5.5.7. I created a webapp named testDB and put it under $CATALINA_HOME/webapps/testDB. Then I created a testDB.xml

META-INF/context.xml question

2005-04-11 Thread Scott Purcell
Hello, I am still configuring my Tomcat 5.5.7 on a PC. I am configuring a Context element and would like to put it in the META-INF/context.xml for my webapp. The docs say this would be fine. My question is, so I need anytype of doctype heading for this, since it is a xml file? Or do I just

Logging assistance.

2005-04-11 Thread Scott Purcell
Hello, I am trying to get the logging to work for a webapp I am working on. I am using Tomcat 5.5.7 and I am here: http://localhost/tomcat-docs/logging.html I followed the instructions but do not get what I assume is proper behavior. 1) created the log4j.properties file and placed under

Add Context Path, Tomcat 5.5.7

2005-04-08 Thread Scott Purcell
Hello, I am following the information here to add DBCP to my application. http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jndi-datasource-examples-howto.html I am reading to add the Context path=/DBTest ... from the above docs. The instructions say to . Configure the JNDI DataSource in

DBCP Please Help Get Working Properly

2005-04-08 Thread Scott Purcell
5.5.7 Hi. Take a look at this for where to put Context elements: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html This is new with Tomcat 5.0 and is continued in Tomcat 5.5 --David Scott Purcell wrote: Hello, I am following the information here to add DBCP to my application

Reload Class Does Not Kill Session in 5-5?

2005-03-28 Thread Scott Purcell
Hello, I am new at using the 5-5.7 Tomcat servlet engine, and I just noticed something unique from the older versions. If I update a class file, I can see that the class gets reloaded, but my session does not expire like in previous versions. So my question is, is this correct and if so,

Tomcat 3x to 5-5.7

2005-03-25 Thread Scott Purcell
I just installed Tomcat 5-5.7 and used the installer on a PC. It installed and all is good. I went to the manager and poked around. I need to create a new web application (it is not a war). So I have a directory that I am ready to drop into the /webapps directory. Before I do this, I have a

Tomcat 5-5.7 make reload classes?

2005-03-25 Thread Scott Purcell
First time using the manager application. I deployed a war file into my webapps, and all is good. Problem is, if I update class file in newly created webapp, it does not recompile automatically like my old 4x did. I had to do a reload from the manager to see the changes. If my new webapp is

Questions About jakarta-tomcat-5.0.28

2005-03-01 Thread Scott Purcell
Hello, I am running Tomcat 4.1.31 at work (dev) and I have a 5.0.28 at home. I have been working with Tomcat for quite some time, and ran into a problem trying to set up a webapp. At work on my 4.1.31, when create a new web-app, I edit the server.xml file and add my Context (see context

filter question

2005-02-23 Thread Scott Purcell
Hello, I am having trouble with a filter. Code below. What I am trying to achieve is as follows: We have a current web-site, with a lot of jsp pages, etc. We are moving the code to a load-balanced environment, and I would like to put a hidden IP address into each display page. This way I can

welcome-file-list

2005-02-03 Thread Scott Purcell
Hello, I have a web site that I want accessed using the dns name: eg: http://www.purcell.com I have a welcome-file entry which says go to index.jsp. Of course the page loads and the url looks like this: http://www.purcell.com/index.jsp Is there anyway to remove the index.jsp, but display

Tomcat 4.0 admin url?

2005-01-05 Thread Scott Purcell
Hello, A while back, I was learning Tomct 4.1.31. Anyway, back then I used a web-based admin tool to load war files, etc. I did not save my notes, and I forgot what the url was to launch this admin helper. Could someone help me out with this? Thanks, Scott

jndi error configuring data source

2005-01-05 Thread Scott Purcell
I am trying to configure database pooling in Tomcat 4.1.31. I found some excellent documentation here http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html I followed this exactly for mysql (top article). I created the DBTest web-app precisely, and all folders

Problems With Configuring IP

2004-12-09 Thread Scott Purcell
Tomcat Running on Win2000, Tomcat 4.1.3 1. Tomcat is running on port 80 independent of Apache. 2. I have changed the server.xml file as below; !-- Define the default virtual host -- Host name=my_IP_address debug=0 appBase=webapps unpackWARs=true autoDeploy=true 3. When I run netstat -an

RE: Problems With Configuring IP

2004-12-09 Thread Scott Purcell
No I am not using Apache as a front end, I am using just Tomcat. Is this bad? -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, December 09, 2004 10:18 AM To: Tomcat Users List Subject: RE: Problems With Configuring IP Hi, My specific IP address never

RE: 404 capture anywhere without apache

2004-12-03 Thread Scott Purcell
The deployment descriptor will allow the following: error-page error-code404/error-code location/errorpage.jsp/location /error-page Give this a try and all 404 errors caught by the context will be sent to the errorpage.jsp file. Also check the docs, as there are other attributes that get

Database Pooling

2004-11-16 Thread Scott Purcell
I am developing a mid-sized application, which will use JSP Model 2 Architecture. Currently I have a class that does Database Pooling, but I am curious about some threads I see time to time. I have noticed that some developers on this list refer to Tomcats Database Pooling. It looks like

TC 4.1_05

2004-11-09 Thread Scott Purcell
I have just installed Tomcat 4.1_05 on my win2000 box and I am having trouble adding web Contexts. Here is the original server.xml entry. Context path=/ docBase=ROOT debug=0 reloadable=true / Now, on all my old Tomcat installs, when I needed to add a new Context I would add another line like

RE: TC 4.1_05 sb 4.1.31

2004-11-09 Thread Scott Purcell
I am stressing and writing the wrong info. I apologize Here is the startup info C:\Documents and Settings\spurcell%CATALINA_HOME%\bin\startu Using CATALINA_BASE: C:\jakarta-tomcat-4.1.31 Using CATALINA_HOME: C:\jakarta-tomcat-4.1.31 Using CATALINA_TMPDIR: C:\jakarta-tomcat-4.1.31\temp Using

Tomcat Manager

2004-11-02 Thread Scott Purcell
I am running Apache Tomcat/4.1.31 on Win2000. Yesterday I tried to deploy some war files and had no luck. I added a Context path=/myapp docBase=myapp debug=0 reloadable=true / stopped and started tomcat and it never worked. Anyway, a person in the group recommended me using the Tomcat Manager.

deploy war file

2004-11-01 Thread Scott Purcell
Hello, I am using Tomcat 4.1 on Win2000. I have a web application that has been running for a while that has an entry in the server.xml file for reloading etc. Anyway, I am beginning to create a .war file for the code, using ant. I have read the docs, and it seems easy that one should put the

RE: deploy war file

2004-11-01 Thread Scott Purcell
call it from the cmd line? Thanks, Scott -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Monday, November 01, 2004 2:05 PM To: Tomcat Users List Subject: Re: deploy war file From: Scott Purcell [EMAIL PROTECTED] Anyway, I am beginning to create a .war file

Increase The Heap

2003-11-17 Thread Scott Purcell
Hello, I am running Tomcat 4.06 on Windows, and had run into an problem that I am trying to figure out. I have created a download application that enables end-users to gather images, zip them up and let them download them. Pretty simple. All is happy during testing if three users download at

enable GET within Tomcat

2003-09-30 Thread Scott Purcell
I am migrating from a IIS box to Tomcat, and we had enabled the write function to a designated site, so I could accept PUT data. I tried using existing code, but I am getting a 403, which tells me I need to somehow turn PUT on within the Tomcat. I am running Tomcat 4.0.6 on Win2000. Thanks,

enable 'PUT' followup

2003-09-30 Thread Scott Purcell
how to enable this 'PUT'. Thanks, Scott -Original Message- From: Scott Purcell Sent: Tuesday, September 30, 2003 12:24 PM To: [EMAIL PROTECTED] Subject: enable GET within Tomcat I am migrating from a IIS box to Tomcat, and we had enabled the write function to a designated site, so I

Directory Listing

2003-09-26 Thread Scott Purcell
Hello, I am running Tomcat 4.0.6 on Win 2000, and I have three web apps running. I would like to turn off directory listing, but cannot figure out how. I have searched google, but have came up empty. Could someone please let me know how to turn 'directory listing' off. [eg http://site/webapp

RE: Directory Listing

2003-09-26 Thread Scott Purcell
/faq/misc.html#listing Yoav Shapira Millennium ChemInformatics -Original Message- From: Scott Purcell [mailto:[EMAIL PROTECTED] Sent: Friday, September 26, 2003 12:24 PM To: [EMAIL PROTECTED] Subject: Directory Listing Hello, I am running Tomcat 4.0.6 on Win 2000, and I have three web

RE: XP and session persistence

2003-03-20 Thread Scott Purcell
If Tomcat is unable to set a cookie to the browser, it should do url rewriting. Are you seeing that? -scott -Original Message- From: Frank Diakovasilis [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2003 9:47 AM To: [EMAIL PROTECTED] Subject: XP and session persistence I have run

RE: Starting a Clean-up program

2003-01-29 Thread Scott Purcell
class and immediately executes its init. Scott Purcell Vertis Corporation -Original Message- From: Chandra Gottipati [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 29, 2003 9:45 AM To: Tomcat Users List Subject: Starting a Clean-up program I have a static method that starts a thread

RE: ServletException: Servlet.init()

2003-01-14 Thread Scott Purcell
It looks like it cannot find the following: root cause java.lang.NoClassDefFoundError: org/apache/jasper/compiler/JspRuntimeContext at org.apache.jasper.servlet.JspServlet.init(JspServlet.java, Compiled Code) Which tell me it cannot find a certain class I think Denise is right, I

RE: Perl And Tomcat

2003-01-14 Thread Scott Purcell
to hack on things to get them to work. It is like a mission. Thanks, Scott -Original Message- From: Charles Baker [mailto:[EMAIL PROTECTED]] Sent: Monday, January 13, 2003 5:52 PM To: Tomcat Users List Subject: Re: Perl And Tomcat --- Scott Purcell [EMAIL PROTECTED] wrote: Hello, I

RE: ServletException: Servlet.init()

2003-01-14 Thread Scott Purcell
I don't get it. I had trouble installing 4.1.18 on my Win 2000 box also. I dropped down to 4.0.6 and it went right up. You may want to try removing that tomcat, and trying another ... Wish I could be of better help. I know on the 4.0.6, I just defined the JAVA_HOME variable and it just worked.

Perl CGI Problem W/Tomcat Help Needed

2003-01-13 Thread Scott Purcell
Hello, I am trying to run some CGI scripts (perl cgi's) on my Tomcat 4.0.3 under Win 2000. I followed the documentation showing: Rename $CATALINA_BASE/server/lib/servlets-cgi.renametojar to $CATALINA_BASE/server/lib/servlets-cgi.jar. and Remove the XML comments from around the CGI servlet and

RE: Checking if Tomcat is up

2003-01-13 Thread Scott Purcell
That sounds good, you could probably create a small app with threads which uses the url class to connect to your tomcat, try and read a url. If that throws a error, your down, else your up. I use the url class quite a bit to ensure servers are alive before using xml-rpc on them. Scott

Perl And Tomcat

2003-01-13 Thread Scott Purcell
Hello, I have been beating my head on a wall all afternoon, trying to get Perl to work with Tomcat. I can call up the CGIServlet, and it shows that the tomcat side is working. The problem is in the fact that I cannot seem to get a perl cgi to run. Has anyone out there ever ran perl on Tomcat?

Problems Starting Server

2003-01-09 Thread Scott Purcell
Hello, I have a new box that I am configuring. I installed java jdk1.3.1_06 and set JAVA_HOME to C:\jdk1.3.1_06. and set the path to its existance. I can call java or javac and all is happy. Then I downloaded jakarta-tomcat-4.0.6 on D:\ I unzipped the application and set my path to its lib.

Problem Starting More Info

2003-01-09 Thread Scott Purcell
Hello, I am getting a little farther into my non-starting tomcat. Here is the error I am now getting. To me it appears that there is another server running on port 80, but there is not. Using CATALINA_BASE: .. Using CATALINA_HOME: .. Using CATALINA_TMPDIR: ..\temp Using JAVA_HOME:

Server Is Up, One More Question

2003-01-09 Thread Scott Purcell
I got the server up. It was a port issue. In the server.xml there is a line: I think it is the first non-comment line Server port=8005 shutdown=SHUTDOWN debug=0 That line messed me up. Is that stating that it is using port 8005 for the jvm connection? If anyone gets this, could you fill me in a

Two Questions Tomcat 4.1.12 Win2000

2002-12-06 Thread Scott Purcell
Running Tomcat 4.1.12 on Win2000. Problem 1) I created a site under webapps in which only servlets will run. I created a web-xml file: (see Below): All works good. Question: When I hit the URL http://localhost/site I see a directory listing. I do not want this. I thought the welcome-file-list

init() block not initializing?

2002-12-06 Thread Scott Purcell
Hello, I am trying to get a servlet Initialization block to initialize but I cannot seem to get it to work. I am running a new install of Tomcat 4.1.12 on win2000. I have created a webapp called cybrary, and I have put that into the server xml with the following line: Context

RE: init() block not initializing?

2002-12-06 Thread Scott Purcell
not initializing? Hi, Did you check the $CATALINA_HOME/logs/catalina.out log? By default, it swallows System.out and System.err statements. Yoav Shapira Millennium ChemInformatics -Original Message- From: Scott Purcell [mailto:[EMAIL PROTECTED]] Sent: Friday, December 06, 2002 2:34 PM To: [EMAIL

RE: init() block not initializing?

2002-12-06 Thread Scott Purcell
Subject: RE: init() block not initializing? Hi, Did you check the $CATALINA_HOME/logs/catalina.out log? By default, it swallows System.out and System.err statements. Yoav Shapira Millennium ChemInformatics -Original Message- From: Scott Purcell [mailto:[EMAIL PROTECTED]] Sent: Friday

localhost_log to stdout?

2002-12-06 Thread Scott Purcell
Hello, I was just wondering if there is a way on win2000 Tomcat 4.1.12 to take the output that is going to the localhost_log_timestamp.txt to stdout? Thanks, Scott -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Form-based authentication assistance

2002-10-25 Thread Scott Purcell
form-login-config form-login-page/loginpage.html/form-login-page form-error-page/errorpage.html/form-error-page /form-login-config /login-config security-role role-namemanager/role-name /security-role Scott Purcell | Developer | VERTIS

RE: WEB-INF/classes, WEB-INF/lib

2002-10-14 Thread Scott Purcell
It works on my tomcat on NT. We use a lot of jars, but it it someties hard to uncompress and compress the jars with changes, so I just put the updated class in the classes dir and all works out well. When we go to production, I just jar them all back. Scott -Original Message- From:

New Install, New Question

2002-10-11 Thread Scott Purcell
: Context path= docBase=ROOT debug=0 reloadable=true / Context path= docBase=/newapp debug=0 reloadable=true / But it dies on startup. I cannot even find the error: The black startup screen just dies a quiet death. I checked typing and I do not believe it is that. How do I add a new context? Scott

RequestDispatcher question

2002-08-09 Thread Scott Purcell
Hello, I am trying to send a (request, response) object to a server that lives at another IP (or URL). I have the need to pass parameters that are in the request object, but I cannot seem to forward the request to the other servlet. I keep getting a error: java.lang.IllegalArgumentException:

log method showing error:

2002-07-01 Thread Scott Purcell
) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1012) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107) at java.lang.Thread.run(Thread.java:484) Scott Purcell | Developer | VERTIS | 555 Washington Ave. 4th Floor | St. Louis, MO 63101 | T

tomcat to run perl cgis?

2002-06-24 Thread Scott Purcell
Hello, I have Tomcat 4.0.3 running on my NT box. I do mostly servlet work, but I have the need to run a Perl CGI for a web project. I have put some .pl files and .cgi files into the docroot, but they do not execute properly. Is there a way to allow Perl to run with Tomcat? Could someone advise

RE: Database locked by Tomcat

2002-06-12 Thread Scott Purcell
Have you updated any record using Toad? I updated some records in toad and forgot to hit commit, and it screwed me up for hours. My code that worked earlier stopped working and I was getting all kinds of wierd problems. I went back to toad, hit commit, and all problems disappeared.

RE: Database locked by Tomcat

2002-06-12 Thread Scott Purcell
Andryc Web Systems Engineer MISER http://www.umass.edu/miser/ Phone: (413)-545-3460 [EMAIL PROTECTED] -Original Message- From: Scott Purcell [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 12, 2002 03:36 PM To: Tomcat Users List Subject: RE: Database locked by Tomcat Have you updated any

log() method

2002-05-31 Thread Scott Purcell
localhost_access_log localhost_examples_log localhost_log I have been tailing each of those, but I never see my messages. Also, they do not go to stdout, as I am starting tomcat in a cmd window, and the log() does not go there. Thanks, Scott Purcell -- To unsubscribe, e-mail: mailto:[EMAIL

RE: uploading files software

2002-05-17 Thread Scott Purcell
Check out the O'Reilly site or servlets.com. They have a multipart parser that does uploading, and handles anysize upload. Scott -Original Message- From: pascal GEND [mailto:[EMAIL PROTECTED]] Sent: Friday, May 17, 2002 9:07 AM To: [EMAIL PROTECTED] Subject: uploading files software

Cocoon install tomcat4.03/cocoon 2.0.2 on NT Help

2002-05-01 Thread Scott Purcell
I have been running Tomcat 4.0.3 on my NT box for a few months, and I am pretty familiar with it. I set the server.xml to run on port 80 not 8080. I tried to install cocoon 2.0.2 and ran into a problem. I read the install guide, and it basically said to place the cocoon.war file under my

Tomcat Upgrade question

2002-05-01 Thread Scott Purcell
Hello, I am running Tomcat 4.0.3 on NT, and I am going to upgrade the version. Up to this point, when I upgraded, I basically copied my old version to a bak.version and copied the web-apps folder over. Is this the best way to do a upgrade, or is the sw intelligent enough to just upgrade on

RE: javax.servlet.ServletException: Cannot create bean of class MoniTestBean

2002-04-24 Thread Scott Purcell
was perfect. So All should be good. *jsp:useBean id=formHandler scope=request class=com.MoniTestBean/ I bet that works. I talked to my teacher about it before and he believes that all beans have to be in a named package. I always worked for me. good luck Scott Purcell Vertis Corporation

RE: How can I get the location of the webapps-directory?

2002-04-22 Thread Scott Purcell
I think it is servletContext now. Check out the j2ee for servletContext that may be what you are looking for. my o'reilly book shows public String ServletContext.getServerInfo() if that don't fly, I can dig deeper, just yell Scott -Original Message- From: Eichfelder, Frank

Want to grab SQL stmt from executing servlet

2002-04-12 Thread Scott Purcell
Hello, I have the need to parse out a query from a running .jar file. The .jar is a servlet that does some queries to a local DB. I want to grab the querystring that is being sent to the DB somehow when I am running the servlet. Is there anyway to achieve this goal?? -- To unsubscribe:

RE: Want to grab SQL stmt from executing servlet

2002-04-12 Thread Scott Purcell
there is a system table called V$SQLAREA that holds this information. -Original Message- From: Scott Purcell [mailto:[EMAIL PROTECTED]] Sent: Friday, April 12, 2002 10:17 AM To: [EMAIL PROTECTED] Subject: Want to grab SQL stmt from executing servlet Hello, I have the need to parse out a query from

Log File Error

2002-04-01 Thread Scott Purcell
Hello, I somehow foobared my Tomcat on NT install. I did not touch the server.xml file, but did play with the class path. When I try and do a start : startup at the command line, if just begins it tries to start and dies. I checked my java_home and it is good. I can't figure out why its