Manager App: 500 internal error

2002-04-08 Thread JBrawner
Hello, I'm having trouble getting the manager app to work. I've added an entry in tomcat-users.xml and after authentication I get the following error: (in log and browser) javax.servlet.ServletException: Error allocating a servlet instance at

security-constraint and error-page

2002-03-12 Thread JBrawner
I've setup a security constraint, with basic authentication, in a memory realm. It works as expected until I add an error page for the 401 error code (unauthorized). Then, when I request the page, I get the 401 error page automatically and am never prompted to login. I was expecting to get the

Tomcat 4.0.2 unpacking wars

2002-03-04 Thread JBrawner
I've upgraded from Tomcat 3 to Tomcat 4.0.2 and have lost the ability to unpack wars. Here is a piece of my server.xml Host name=localhost debug=0 appBase=webapps unpackWARs=true Context path=/PSP docBase=PSP debug=0 reloadable=true Logger

RE: 2 instance of tomcat within 1 machine

2002-02-26 Thread JBrawner
John, Could you please post the contents of you server.xml? I'm trying to do exactly what you've done with only 2 tomcat instances and am having difficulty. Also, I'm confused at which tomcat subdirectories needed to be present in each CATALINA_BASE directory. The running.txt file mentions

Jasper - precompiling and loading jsp's

2002-02-21 Thread JBrawner
I'm having difficulty getting Tomcat 4.0.2 (Win2000) to load jsp's on startup. Here are my questions: 1. Do I have to pre-compile a jsp before starting tomcat for the load-on-startup to work on a jsp file? 2. How do I get jspc / jasper tool to work? Where is the documentation? My goal is to

JSP load-on-startup

2002-01-29 Thread JBrawner
I used the following xml in my deployment descriptor expecting Tomcat4 to generate a servlet from my jsp within the work directory. servlet servlet-nameHome/servlet-name jsp-file/home.jsp/jsp-file load-on-startup1/load-on-startup /servlet servlet-mapping

Directory problem

2002-01-25 Thread JBrawner
I am running Tomcat 4 standalone. Currently, I have my website running with a base directory called Brawner. Therefore, to access my site you have to use the following URL... http://localhost/Brawner/ I need it to work off the root directory like the following... http://localhost/ Is there a

Tomcat4 not unpacking wars

2001-12-27 Thread JBrawner
Tomcat4 is not unpacking my wars on startup. Do I have to configure it to do this? The following is the host element from my server.xml. Isn't this right? Host name=localhost debug=0 appBase=webapps unpackWARs=true Thanks, Jason E. Brawner -- To unsubscribe: mailto:[EMAIL

Unknown error

2001-12-20 Thread JBrawner
I have Tomcat 4 running standalone. The error message below is in my catalina_log file many times and I don't know what the problem is. All my JSP's and servlets run fine. 2001-12-20 07:53:45 HttpProcessor[80][3] process.invoke java.lang.NullPointerException at

Using mod_jk in Tomcat4

2001-12-13 Thread JBrawner
I've given up on mod_webapp and am trying to use mod_jk. The instructions for mod_jk says 'use Tomcat to create the mod_jk.conf file'. How is this done? thanks, Jason E. Brawner -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with

Tomcat 4 as an NT Service

2001-12-03 Thread JBrawner
I am trying to get Tomcat 4 to run as an service on win2000pro. I copied the wrapper.properties file from my Tomcat 3.2 installation and placed it in CATALINA_HOME\conf\ directory and used jk_nt_service to create the service. When I try to start the service, windows returns a message saying the

2 Tomcat4 questions

2001-11-30 Thread JBrawner
Question 1: How do you make Tomcat4.0 a NT Service? In previous releases I used jk_nt_service and pointed that toward the wrapper.properties file. There is no wrapper.properties file in Tomcat4 Question 2: I installed tomcat and i can see the example jsp's fine running tomcat alone.

Apache/Tomcat sending default image

2001-10-26 Thread JBrawner
Is there anyway for Apache/Tomcat to send a default image to the user if the image they are requesting doesn't exist to prevent a broken image? I have a JSP/Servlet site that collects and dynamically displays images based on user response. Sometimes the image requested just isn't there. I could

Case Sensitivity

2001-09-14 Thread JBrawner
I want a directory in my url to not be case sensitive. For example: http://localhost/abc/ABCServlet http://localhost/ABC/ABCServlet I want both of the above to go to the /ABC/ABCServlet. I'm running Apache/Tomcat. I've tried the alias in httpd.conf but it doesn't seem to work. Any ideas?

static class and JSP

2001-09-12 Thread JBrawner
Upon tomcat being started, I have a servlet populate a static class with configurations that are used by other servlets when they are invoked. This works great! But, now I'd like to have my JSP's use this static class but I'm getting the Undefined variable or class name error on the JSP. How

JSP/Servlet Printing

2001-08-21 Thread JBrawner
This is a question I posted in Sun's Java Forums and got no replies. I really need a solution and was hoping someone in this group could help out. I have an Apache/Tomcat webserver on a standalone touchscreen kiosk. The customer would like a print button on every jsp and, when touched by the

Multiple servlets using same initParameters

2001-08-14 Thread JBrawner
I have multiple servlets in the same directory and they all get the same init-params from web.xml. Currently, I have 5 servlets and am required to repeat all the init-params 5 times, one for each servlet. So if one parameter changes, I have to change it five times in web.xml. I'd like to only

Trouble with logging

2001-08-10 Thread JBrawner
In my servlet I use the log() method which logged to servlet.log. I have recently moved my context out of the webapps directory and into my own directory not in tomcat's directory structure. Now, everything works ok except nothing gets logged to servlet.log. Anybody know how to fix this?

Logging

2001-08-08 Thread JBrawner
In my servlet I use the log() method which logged to servlet.log. I have recently moved my context out of the webapps directory and into my own directory not in tomcat's directory structure. Now, everything works ok except nothing gets logged to servlet.log. Anybody know how to fix this?

Re: locating web.xml

2001-07-26 Thread JBrawner
Does tomcat require a WEB-INF directory? I would like to replace the default: \WEB-INF\classesdirectory with simply: \servlet and have my web.xml be in \servlet instead of \WEB-INF\classes Is this possible? Jason E. Brawner Silenus Group (248) 735-8077

Problem running Tomcat 3.2 as a service on Win2000

2001-07-02 Thread JBrawner
I have a servlet that connects to a database. When I have tomcat running from the batch file (tomcat start) the servlet runs fine and connects to the db. When I install tomcat as a service I get a ClassNotFoundException saying it can't find my JDBC driver. My driver is contained in a jar file

Apache as dependant service

2001-07-02 Thread JBrawner
I know have Tomcat and Apache running as services on Win2000. Since Tomcat must start before Apache, how do I make Apache depend on Tomcat? In other words, how can I guarantee that Tomcat will start before Apache? In the Win2000 services there is a tab for dependencies but its disabled. I am

servlet-mapping tag

2001-06-04 Thread JBrawner
I need to modify my servlets url's so they don't include tomcat's default 'servlet' directory. For example, One servlet is in: c:\tomcat\webapps\dir1\WEB-INF\classes therefore the url is: http://localhost/dir1/servlet/ServletName I need the urls to not have the 'servlet' in it

URL Help

2001-06-04 Thread JBrawner
I need my URL to look like this: http://localhost/Gillette/Venus?SerialId=ZVXZVContactId=1 where Gillette is a directory and Venus is the servlet name. I can only get it to work if I include 'servlet' like the following: http://localhost/Gillette/servlet/Venus?SerialId=ZVXZVContactId=1 I've

RE: URL Help

2001-06-04 Thread JBrawner
My servlet class name is GVservlet. Jason E. Brawner William

Changing Tomcats default servlet url?

2001-05-23 Thread JBrawner
Sorry, if this is a duplicate posting...but I received no responses and thought I sent it incorrectly. I'm in the process of switching from JServ to Tomcat. All the servlets that were running previously are running now on tomcat but they have different urls. I need the url to be the same as

Changing default servlet url

2001-05-22 Thread JBrawner
I'm in the process of switching from JServ to Tomcat. All the servlets that were running previously are running now on tomcat but they have different urls. I need the url to be the same as it was before I switched to tomcat and am having trouble. My servlet is in: