I have visual studio 6 service pack 5 installed. I have the processor
packs installed. I have set APACHE1_HOME to my apache_1.3.33 source
directory. I have set JAVA_HOME to my JDK directory. APACHE_HOME is set
to the apache installation directory. A colleague advised me to change
these two lines
Tomcat is capable of server static and dynamic content with out Apache.
One of the main benefits to using Apache is to let Apache server the
static content and thereby reduce the load on Tomcat. By default, the
document roots for your various webapps are in
$CATALINA_HOME/webapps/$WEBAPP_NAME . At
Uhm, did you read the docs at all?
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/setup.html
Installation as a service: Tomcat will be installed as a Windows
NT/2k/XP service no matter what setting is selected. Using the checkbox
on the component page sets the service as auto startup, so that
I wanted to take a look at the source code for tomcat.exe that can be
installed as a windows service. I downloaded and looked through the
4.1.30 src distribution and don't see anything. Can someone point me in
the right direction?
Charles H. Baker
O: 864.422.5349 C: 864.201.8456
[EMAIL
I'm using tomcat 4.1.30 on Red Hat Linux w/ Sun JDK 1.4.2_03. In
catalina.sh one of the other admins has redirected standard out to a log
file so that we can capture some info that would ordinarily only be seen
at the console. What we would like to do is have the tomcat container
itself, not just
--- Barney Hamish [EMAIL PROTECTED]
wrote:
I assume you mean spreadsheet and not stylesheet...
Unless you really need something complicated from
excel why don't you just
send a csv (comma seperated values) file. Excel can
open CSV files like
normal excel format spreadsheets.
{{SNIP}}
--- Jeff Ousley [EMAIL PROTECTED] wrote:
Hello,
I cannot seem to get this example below to work
under
tomcat (I'm using version 4.1.18). I get an error
indicating that the class localBean cannot be found
such as:
java.lang.ClassNotFoundException: localBean
at
--- Scott Purcell [EMAIL PROTECTED] wrote:
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
--- Jeff Ousley [EMAIL PROTECTED] wrote:
Charles,
The bean is actually on the same page in a
declaration
block. If I pull the bean out and put it into it's
own
class file, I can get it to work. I was just trying
to
get the example from the tutorial to work. It seems
to
work on the
--- Reynir_Hübner [EMAIL PROTECTED] wrote:
Has anyone created debian packages of tomcat 4.1.x ?
Please inform me of where to find these if there are
any available (I've only found some unstable
packages).
Thanx
[EMAIL PROTECTED]
That is one of the reasons I upgraded my machine to
--- John P. Dodge [EMAIL PROTECTED]
wrote:
You are probably going need to compile it yourself
from the source. I have
compiled it on Solaris and it is pretty simple, but
I don't know about
Win32.
On Thu, 9 Jan 2003, Pipho Matt wrote:
We are trying to run Tomcat 4.1.18 as our servlet
--- Craig R. McClanahan [EMAIL PROTECTED] wrote:
On Tue, 7 Jan 2003, Will Hartung wrote:
Date: Tue, 7 Jan 2003 10:05:05 -0800
From: Will Hartung [EMAIL PROTECTED]
Reply-To: Tomcat Users List
[EMAIL PROTECTED]
To: Tomcat Users List
[EMAIL PROTECTED]
Subject: Re: How to organize
--- Denise Mangano [EMAIL PROTECTED] wrote:
Just curious if anyone knows how to use bean
properties so that on a retry
of a form, the previously selected item in a select
list is maintained if
validated. For example, for Select Your State. If
I select NY, but
something else on my form is
--- Randy Paries [EMAIL PROTECTED] wrote:
Hello, me again
This should have been so easy (famous last words)
I am upgrading from tomcat jakarta-tomcat-4.0.4 to
jakarta-tomcat-4.1.17
4.0.4 was working fine.
For some reason I can not find my servlets ARG!
I believe that the
--- Brandon Cruz [EMAIL PROTECTED] wrote:
Does anyone know how many processes tomcat should
create? When I start my
server, there are about 525 processes created. The
number constantly grows
as time goes on, but I think it is related to a
database connection being
left open.
525 seems
I just tried to shutdown Tomcat 4.1.12-2 using Sun JDK
1.3.1_03 on my box running unstable. I got the
following undefined symbol message and Tomcat does not
shutdown. Does anyone have a suggestion for what I
should do other than kill the Tomcat pids? I wonder if
I do that will Tomcat be able to
I had successfully changed the root webapp on a tomcat
3.x installation. I upgraded to 4.1.12, but cannot
seem to get it regard my webapp as the root webapp.
Anyone have a clue or a few pointers? I don't have
access to the machine right now, but I can send my
server.xml later if need be.
=
--- Kwok Peng Tuck [EMAIL PROTECTED] wrote:
No servlet and jsp only.
Nicholas Orr wrote:
Just a quick one,
Can you run full blown J2EE apps in Tomcat?? If so
do you need to do
anything special or is it ready to go out of the
box??
Nicholas Orr
{{SNIP}}
Try jboss and tomcat
--- Steinar Bang [EMAIL PROTECTED] wrote:
Ralph Einfeldt
[EMAIL PROTECTED]:
From: Steinar Bang [mailto:sb;dod.no]
Is this program available for free download? I
was unable to
determine from the web pages whether it was a
freely downloadable
program, or whether it was a
--- Jared Reeve [EMAIL PROTECTED] wrote:
Using Apache Tomcat/4.1.12
I have my application under the webapps directory.
When I do a sendRedirect to /servlet/MyServlet I
get an HTTP Status 404 - The requested resource
(/servlet/MyServlet) is not available. The correct
path should be
I found a nice little snippet of code to force certain
pages to be served via ssl by applying a rewrite wule
to them. What I want is to have apache change
http://my.domain.com/form.jsp
to
https://my.domain.com/form.jsp
Here is my rewrite rule that I adapted from the
mod_ssl FAQ.
One of the apps I'm working with needs the javax.xml.*
packages. I put the needed jars in
/path/to/webapps/app/web-inf/lib
Is this a good practice? Or should they go in the
common/lib or perhaps the JDK's on lib/ext ? If this
or a similar topic has been beat to death already just
tell me to
--- Shapira, Yoav [EMAIL PROTECTED] wrote:
Howdy,
/path/to/webapps/app/web-inf/lib
Is this a good practice? Or should they go in the
common/lib or perhaps the JDK's on lib/ext ? If
this
or a similar topic has been beat to death already
just
tell me to go read archives and I
--- Koes, Derrick [EMAIL PROTECTED]
wrote:
http://www.galatea.com/flashguides/index
snip
Really nice useful link. Thanks
=
[EMAIL PROTECTED]
Hacking is a Good Thing!
See http://www.tuxedo.org/~esr/faqs/hacker-howto.html
__
Do You
--- Basil Bourque [EMAIL PROTECTED] wrote:
SNIP
I did not catch the earlier part of this thread, but
let me throw
in my favorite db:
FrontBase
http://www.FrontBase.com/
It is native software, but runs on many Unixes, MS
Windows, and Mac
OS X, with a most excellent GUI admin tool
--- Carl Bacher [EMAIL PROTECTED] wrote:
There's one coming out soon - hopefully.
Developer's Guide to Tomcat 4 by Alex Garrett Jeff
Kean and published
by Manning
SNIP
Cindy Ballreich wrote:
I can't speak to the others, but I really didn't
like JSP, Servlets, and Mysql. It reads
--- Anibal Constante Brito [EMAIL PROTECTED]
wrote:
I have the same problem of other, I read a some
tutorial too and...
public class UserData {
String username;
String email;
int age;
public void setUsername( String value )
{...
I put in UserData.java and compiled
--- Anibal Constante Brito [EMAIL PROTECTED]
wrote:
Hello:
I dont understand somthing, I a beginner of Java
programming and Tomcat. I
read in some tutorial that when a wirte a servlet,
just put the .java in
\WEB-INF\classes and the tomcat compile this .java
in .class, but I tried to
do
--- Frederick Aubert [EMAIL PROTECTED] wrote:
Hi,
I am currently building a Webapp for a project and I
came on a couple of
questions I didn¹t find any answer to. So if one of
you has time to go
through them and answer to them I would be thankful.
Maybe it would be
better to reply to my
--- Gary Frick [EMAIL PROTECTED] wrote:
Hi All,
I've been working day and night trying to get
Tomcat started and to get past the HTTP 500 error
when trying to invoke the JSP examples. I've been
combing the archives, but I'm not seeing any real
solutions. What must I do and where
--- Jose Ferrer [EMAIL PROTECTED] wrote:
Yes, CATALINA_HOME is set to /var/tomcat4
Here is my simple jsp
%@ page language=java %
%@ page import = java.util.* %
%@ page import = java.io.* %
%Properties prop =
Does anyone have any experience using the webmin
tomcat module w/ tomcat4.x? Does it work at all?
=
[EMAIL PROTECTED]
Hacking is a Good Thing!
See http://www.tuxedo.org/~esr/faqs/hacker-howto.html
__
Do You Yahoo!?
Yahoo! Health - your guide
--- Brian Adams [EMAIL PROTECTED] wrote:
netbaens! it will do that and more (java) when you
are ready for servlets!
:)
www.netbeans.org
-Original Message-
From: C Cayetano [mailto:[EMAIL PROTECTED]]
Sent: Sunday, March 10, 2002 10:25 PM
To: Tomcat Users List
Subject: Unix
Which is first the jsp or the servlet? I don't see any
code in your servlet snippet that adds the new
instance of the bean to the session. If the bean
already exists in the session as created by the jsp, a
session.setAttribute(myFormBean, fb) will overwrite
the old bean values w/ the new values.
--- Dahnke, Eric [EMAIL PROTECTED] wrote:
Hello,
This is killing me. I've got a form that posts to a
servlet. I simply want
to get the form variables into a bean's properties.
I can find only one reference to what I'm trying to
do here. it is a
formToBean() method from a FormUtils
--- Micael Padraig Og mac Grene
[EMAIL PROTECTED] wrote:
At 01:08 AM 1/25/02 -0800, you wrote:
FIRST
If I want several development urls, e.g.
app1.mycompany.com
app2.mycompany.com
app3.mycompany.com
to be accessed through one registered url, e.g.
--- Ramkumar Menon [EMAIL PROTECTED] wrote:
hi,
I am getting the following error when I try
accessing the database via a
datasource .
Dude, this is a mostly volunteer mailing list. People
help out as they can, not on demand and not for pay.
Also, in the USA, email w/ ALL CAPITAL
You don't have to get permission for anything. Apache
and Tomcat are Free Software!
http://www.apache.org/LICENSE.txt
see also:
http://httpd.apache.org/ABOUT_APACHE.html
--- Hemant Singh [EMAIL PROTECTED] wrote:
Hi All
I am working on a project which is to be deployed on
Apache-Tomcat
Well, I hope I'm getting this right. Any directory( or
*.war or *.tar.gz or *.jar file) right under webapps
that has the proper structure will be automatically
loaded as a context. What does your server.xml say
about the root, '/', context? What if you change the
root directory to another name
I want apache's docroot to point to a webapp directory
containing static content as well as servlets and
jsp's.
I only have one site on this machine. do i still need
to set up a virtual server in httpd.conf like this:
VirtualHost 10.0.0.1:80
DocumentRoot /web/host1
ServerName
I'm setting up apache and tomcat to process some
credit card info and other personal data via verisign.
For the moment, Apache and tomcat live on the same
box. Do I need just one certificate or two? I will
read more on apache and ssl, but there isn't much to
the tomcat-ssl howto...
=
-
]
Ämne: Re: How to start/stop tomcat from a remote
machine???
I am currently using windows NT. Could you provide
more details on how
exactly you do even for Linux or Solaris (and NT if
possible)
Thanks
Sio
From: Charles Baker [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED
Are you using *nix or NT? On my Linux or Solaris boxes
I just ssh in and start/stop whatever I want to.
--- Siomara Pantarotto [EMAIL PROTECTED] wrote:
Hi all,
How can I start/stop tomcat web server from a remote
machine???
In other words, how can I run the start/shutdown
batch files
What all needs to be changed to make a webapp's
directory be the document root of my apache server? Do
I just need to change the docment root entry in httpd.conf?
=
-
[EMAIL PROTECTED]
Hacking is a Good Thing!
See http://www.tuxedo.org/~esr/faqs/hacker-howto.html
Another question, do apps developed under the 3.2.x (
jsp 1.1/servlet 2.2 ) work well with Tomcat 4.0 and
the newer servlet/jsp specs?
--- John Hebert [EMAIL PROTECTED] wrote:
Tia Haenni wrote:
Has anyone gone from 3.2.1 up to 3.3? Does it
require a complete uninstall
of previous
have you tried the url:
http://your.machine:8080/examples
or
http://your.machine:8080/test
have you read the User Guide that comes bundled w/
Tomcat or that is available here:
http://jakarta.apache.org/tomcat/tomcat-3.2-doc/index.html
I'm just guessing from the Ajp12ConnectionHandler on
This is my first time doing any of this. I guess
first off I need to try to
figure how to test tomcat standalone to ensure that
it is working properly
before I attempt to go any further
- Original Message -
From: Charles Baker [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, July
This is my first time doing any of this. I guess
first off I need to try to
figure how to test tomcat standalone to ensure that
it is working properly
before I attempt to go any further
- Original Message -
From: Charles Baker [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, July
--- John Baker [EMAIL PROTECTED] wrote:
On Thursday 12 July 2001 23:04 pm, you wrote:
Hi,
Weird!!!
You can always use the Class class'
getInstance(String className) method to
get a copy of your class.
You mean Class.newInstance(className) ? :-)
Well I'd rather know why Tomcat
Sorry, you're right about that! stop(), suspend(),
resume() and countStackFrames() are deprecated.
--- John Baker [EMAIL PROTECTED] wrote:
On Friday 13 July 2001 12:23 pm, you wrote:
--- John Baker [EMAIL PROTECTED] wrote:
On Thursday 12 July 2001 23:04 pm, you wrote:
MyThread t = new
Can anyone point me to an example of using a bean w/ a
servlet similar to the way a bean can be used with jsp
pages? I'm not ready to implement EJBs or an EJB
container yet.
=
-
[EMAIL PROTECTED]
Hacking is a Good Thing!
See http://www.tuxedo.org/~esr/faqs/hacker-howto.html
Here is a servlet definition from my web.xml file:
servlet
servlet-name
Login
/servlet-name
servlet-class
com.beeslender.servlets.LoginServlet
/servlet-class
servlet-mapping
servlet-name
Login
a web.xml file, but
the servlet mappings in it aren't working.
To clarify, my servlet isn't in a package.
- Erin
On Tue, 26 Jun 2001, Charles Baker wrote:
Here is a servlet definition from my web.xml
file:
servlet
servlet-name
Login
On Tue, 26 Jun 2001, Charles Baker wrote:
Here is a servlet definition from my web.xml file:
servlet
servlet-name
Login
/servlet-name
servlet-class
com.beeslender.servlets.LoginServlet
/servlet-class
servlet-mapping
I thought tomcat need to start first? Or is that only
when using the generated mod_jk.conf?
--- Antoni Reus [EMAIL PROTECTED] wrote:
Hi,
You should create a script with something like
and put it on /etc/rc.d/init.d/
cut here---
#!/bin/sh
# Set this as
Look in
$TOMCAT_HOME/work/
there should be directories there for different
contexts, which contain the generated *.java files as
well as the compiled *.class files
--- [EMAIL PROTECTED] wrote:
I was told that JSP scripts get translated into a
servlet, however where do
you find it.Where can
Spare-threads are idle threads. We want a few idle
threads to quickly answer incoming requests. We don't
want too many idle threads, or else we can negatively
impact performance. So, we can represent the config
below with this pseudo-code in an attempt to make it
more clear:
// Max spare threads
You might want to take a look in the configuration
file $TOMCAT_HOME/conf/server.xml at the sections that
define the contexts. The path is sort of from the
docroot of your websererver like /admin if you want
to access the admin context as
http://your.domain.com/admin;, the documentation says
it
There is also httpunit which tests the website as if
it were actually an automated browser...well that
might not be the best description. Check the page:
http://httpunit.sourceforge.net/
--- Alex Fernández [EMAIL PROTECTED] wrote:
Hi Rajesh!
Rajesh Chandran M. R. wrote:
I want to test
). This has been a bit of a
headache for us with JServ (which
uses a querystring arg just like JRun)
It sounds like the problem here is that the URL
you're presenting is not being
served by Tomcat and should not be rewritten in the
first place.
Cheers
Dave
Charles Baker wrote:
Thanks
I searched the list archives and found that there
needs to be a user with role=admin like so:
user name=admin password=some_hard_password
roles=admin /
Also, in the server.xml the admin context should have
trusted=true and password=some_hard_password, the
same as the one in the
I've been browsing the archives but still haven't seen
what I'm looking for. Why does Tomcat use ';' rather
than '?' when an URL gets encoded?
Example:
URL = http://my.domain/some_form.htm;;
response.sendRedirect(response.encodeRedirectURL(URL));
Yeilds an url like this:
/6503277
On Sat, 2 Jun 2001, Charles Baker wrote:
I've been browsing the archives but still haven't
seen
what I'm looking for. Why does Tomcat use ';'
rather
than '?' when an URL gets encoded?
Example:
URL = http://my.domain/some_form.htm;;
response.sendRedirect
63 matches
Mail list logo