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
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
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
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
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
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
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 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
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
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
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
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.
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
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?
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
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
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
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?
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?
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
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
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
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
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
My servlet class name is GVservlet.
Jason E. Brawner
William
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
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:
27 matches
Mail list logo