Sorry... I figured it out. I needed to change the reference in
$CATALINA_HOME/webapps/admin.xml.
-Jake
- Original Message -
From: "Jake Robb" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, March 21, 2003 4:38 PM
Subject: Tom
blem.
What do I need to do to make the default admin servlet show up when I go to
http://hostname/tomcatadmin/?
Thanks,
Jake Robb
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
This is an interesting proposition! I read both of your posts.
Personally, if I were you, I would create a custom server. David Flanagan's
Generic Multithreaded Server (as given in O'Reilly's Java Examples in a
Nutshell) would be a good starting point (if you're using it commercially,
there's a
The very first thing I'd try is upgrading to the latest version of the JDK
(1.4.1_01). I thought Tomcat 4.x required it -- I'm surprised you got as
far as you did!
-Jake
- Original Message -
From: "Strecker, Mark" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Thur
Sorry I'm a little late to this thread, but you could also have Tomcat start
on system startup. I don't know exactly how to do this in Solaris, but in
Linux it involves placing the startup script (or a link to it, or a script
that calls it) in /etc/rc.d/ directory.
It's more complex than that, ho
In order to be HTML 4.01 compliant, you need to specify a charset and
content type. I find that the easiest way to do that is to include the
following on all my pages (I typically make a common include page to
generate it for me).
Or similar, if you're using a different charset.
-Jake
- O
JSTL, while new to me, appears to be a good approach. I, however, just do
the following. I'm using request.getAttribute() as the source of my
possibly-null string, as that's where it seems to arise most often for me.
String sParam = request.getAttribute("param");
if (sParam == null) sParam = "";
All but two of those are commented out, you know.
-Jake
Chris Dodunski wrote:
> Thank you very much for the reply!
>
> Should I, say, reduce minProcessors=1 and maxProcessors=2 to each of the
> following then? Would this low value have undesirable consequences should
> more than two Servlets g
I have heard that Apache is much more robust than Tomcat, in particular from
a security standpoint (i.e., it is harder to hack).
I run a site in which there are almost no static resources -- one logo image
at the top of the page gets cached, and most of the rest is dynamic JSP
content. We use Apa
I'm not 100% familiar with Solaris, but I think you can do the following:
1. set up secure shell (SSH) access on the Solaris box so that you can log
into it remotely on the network
2. download and install PuTTY on your Windows machine (get it from
www.versiontracker.com)
3. Use PuTTY to connect
Seems to me that the problem is with the means you are using to send us the
file. Can you show us that code?
-Jake
- Original Message -
From: "Prashanth Pushpagiri" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, March 07, 2003 12:31 PM
Subject: [OT] Caching
Where might I find good documentation on what exactly the contents of
web.xml need to be? I've found a basic syntactical description, but is
there something that gives examples, describes what exactly the purpose of
web.xml is, what you can accomplish with it, when it is read, etc.?
My current pr
I just installed this today with 4.1.18 on RedHat 8. Put it in
/usr/java/tomcat/lib (where /usr/java/tomcat is CATALINA_HOME).
The Driver classname is com.mysql.jdbc.Driver
The connect string is the usual JDBC format:
jdbc:mysql://SERVERADDRESS:3306/DATABASENAME?user=USER&password=PASS
Where th
Is there an easy way to keep tabs on the progress/status of mod_jk2
development? I'd like to use it, but I'm understandably wary about using
development-quality stuff in a production environment. In the little use
I've given it on my test machine, jk2 has worked well, but I can't deploy it
withou
Can you show us the errors that were reported when the JSP failed to
compile? Full stacktraces are best.
-Jake
Jason Johnston wrote:
> Ok, I'm trying to use a custom object inside a JSP and I'm just doing
> something wrong.
>
> I have an editor.jsp file that is a little text editor with some
There's a setting... I think it's in workers.properties, called lbfactor,
which allows you to control the balancing factors.
-Jake
Mike Bradford wrote:
> Has anyone else had experience with mod_jk (and mod_jk2) not evenly
> distributing requests across systems? It seems that the first system
>
I had a similar problem trying to build mod_jk2, where it didn't create the
.so file.
I don't remember it very well, but I believe the problem was that I had
upgraded Apache, but had missed the copy of apxs in /usr/bin. By removing
/usr/bin/apxs and /usr/bin/apachectl, plus my entire Apache2 inst
My best guess is that Tomcat isn't using your JAVA_HOME environment
variable, and is therefore still running with Java 1.3. Check out your
Tomcat startup script and look for references to your Java 1.3 installation.
You could also move or remove your Java 1.3 installation and see if Tomcat
contin
Weird problem here. Any help or suggestions would be greatly appreciated.
This is slightly off-topic, but is still relevant to Tomcat users.
I have a large package of Java classes, which contains half a dozen
subclasses, each with several classes. Total class count is about 150.
I have Apache l
The 1.4.x JDK isn't production-ready for OS X yet. There are developer
preview versions, but they're far from reliable or complete at this time.
-Jake
Ian McFarland wrote:
> Are you using JDK1.3.1 or 1.4.1 on your OS X box? You know the default
> configuration for OS X is to use 1.3.1, and you
Obviouisly, if you want the spec for a different version, just change the
2.2. For instance:
http://java.sun.com/products/servlet/2.3/javadoc/
- Original Message -
From: "Jake Robb" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: F
http://java.sun.com/products/servlet/2.2/javadoc/
- Original Message -
From: "Xiongfei Wang" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, February 21, 2003 9:05 AM
Subject: where can i servlet api specification?
>
>
> servlet api specification is not inc
f
any issues.
Details on issues with finalize() would be appreciated, if that is indeed
the case.
-Jake
Jake Robb wrote:
> I apologize for not being familiar with this, but I have some insight to
> offer. Bear with me:
>
> Is ConnCache your own class (i.e., did you write it)? If
I apologize for not being familiar with this, but I have some insight to
offer. Bear with me:
Is ConnCache your own class (i.e., did you write it)? If it is, I'd put a
call to close() in the finalize method of that ConnCache, not GeneralConn.
If it's not, I would expect that has already been don
Internal and External refer to whether you compile the mySQL source into
your program and distribute that (internal), or you just distribute mySQL
along with your software (external).
The only important part is that you have to *distribute* the mySQL software
in order to incur charges. As I said
According to MySQL's licensing page, you only need to worry about the
software license at all if you are distributing MySQL code. If you are only
using it (for instance, to serve data to your web application), you do not
have to license MySQL, even if your web application's code is not
distributed
You can not delegate static content to Apache using any currently-available
version of mod_webapp (aka the warp connector). You need to use mod_jk or
mod_jk2. Mod_webapp is supposed to gain that ability some time in the
future.
-Jake
- Original Message -
From: "Duma Rolando" <[EMAIL PRO
To me, the obvious answer is that your old version of Tomcat is still
running.
To kill a process that won't die, use `kill -9 [PID]`. -9 is the
"strongest" kill signal you can send. The kernel won't let the process
ignore or catch the signal.
What I would do, though, is remove your old Tomcat i
Session variables!
When your user logs in, set a session variable (session.setAttribute(...)).
On all other pages (or in an included file), check for that session
variable. If it's not present and set properly, redirect (I think it's
response.sendRedirect("login.jsp")).
It can also be helpful t
Try to access a file that doesn't exist, but that should be served by Tomcat
if it did (i.e. foo.jsp in one of your servlet directories). You should get
an error page from Tomcat.
Then do the same with another file that doesn't exist, but that should be
served by IIS if it did (i.e. foo.html, or
I thought Coyote WAS mod_jk2.
:-)
-Jake
Chong Yu Meng wrote:
> Greetings, everyone !
>
> I started writing a kind of Tomcat HOWTO exactly a week ago for
> publication on a site called the Linux StepByStep. This document is a
> Work-In-Progress (WIP) at present, and I'm working as fast as I ca
Extra machine? What's wrong with running it on your current machine? If
you really need to keep win2k around, just dual-boot.
-Jake
tomcat guy wrote:
> No extra machine at the moment. Although it wouldn't take much of a machine
> to run it...
>
> - Original Message -
> From: "Nicole
Well, you forgot to attach the code. I'm going to assume it looks something
like this:
Today's date is: <%= (new Date()).toString() %>
And that you saw only "Today's date is:" in the browser window.
By your description, I'm guessing that Tomcat isn't actually parsing the
JSP, and that you'r
mcat
4.0.3 with mod_webapp.
-Jake
- Original Message -
From: "Brett Neumeier" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Thursday, February 13, 2003 5:24 PM
Subject: RE: jk2 config -- uri directive for root context?
> Jak
it works via a plug-in to the web server -- Tomcat isn't an option.
>
> Any way to access a REMOTE_USER variable set in Apache from Tomcat?
>
> Thanks again for your time, and anyone else who can weigh in,
>
> Tim
>
> On 2/13/03 2:04 PM, "Jake Robb" <[EMAIL PROT
ED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Thursday, February 13, 2003 5:17 PM
Subject: RE: jk2 config -- uri directive for root context?
> Jake Robb writes:
> > Do I have to use the manager app to do something to set up my context,
or
> > c
I'm quite sure you can have Tomcat do the auth instead of Apache, and then
you'll have access to the variable.
Try checking the configuration file (web.xml) of the built-in admin servlet.
It should contain an example of exactly what you want to do.
-Jake
- Original Message -
From: "Tim O
Okay, I think I might have figured out my mistake, but I still need help
here.
I enabled the port 8080 direct connection, and I get the same behavior as
before, so my problem is with Tomcat, and not with JK. I set debug="10" in
several places, and the Tomcat error logs look normal.
None of my si
I use the CGI/Perl-based AWStats. I like it a lot.
http://awstats.sourceforge.net/
-Jake
- Original Message -
From: "tomcat guy" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Thursday, February 13, 2003 4:54 PM
Subject: Network Monitor
What are people using for
If you're using a connector, some threads may remain until you stop the web
server application itself.
- Original Message -
From: "Jon Roberts" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Thursday, February 13, 2003 4:05 PM
Subject: Re: Problem: Processes java ope
Nevermind -- that brings about ridiculous complications (i.e. you'd have to
extend the HttpSession object and implement Serializable, and then you'd
have to alter Tomcat to use your extended class).
- Original Message -----
From: "Jake Robb" <[EMAIL PROTECTED]>
To: &
Serialize it? That would give you an approximate answer.
- Original Message -
From: "Tim Funk" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Thursday, February 13, 2003 3:49 PM
Subject: Re: Session size
> There is no way. Unless you iterate through all session
gt;
To: "Tomcat Users List" <[EMAIL PROTECTED]>; "Jake Robb"
<[EMAIL PROTECTED]>
Sent: Thursday, February 13, 2003 1:52 PM
Subject: RE: Class location? - Solved
> Good, although you probably still have a problem. Putting them under
> WEB-INF/lib or WEB-INF/
n/lib?
>
> --mikej
> -=-
> mike jackson
> [EMAIL PROTECTED]
>
> > -Original Message-
> > From: Jake Robb [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, February 13, 2003 10:41 AM
> > To: Tomcat Users List
> > Subject: Class location?
> >
I think I've seen this question on the list several times, with answers, but
the answers aren't working for me. What am I doing wrong?
I have a large set of Java classes. I jarred them up and put them in
$CATALINA_HOME/shared/lib/myjar.jar, but Tomcat can't find them. Then I
unjarred and put th
Use Apache and a connector like mod_jk. In this setup, Tomcat typically
runs on port 8009, and Apache uses the connector to send relevant requests
to Tomcat.
-Jake
- Original Message -
From: "McBrayer, Roy" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Thursday,
I have a directory called /admin/ that has a lot of JSP pages in it. It is
in my $CATALINA_HOME/webapps/ directory.
When I go to http://my.address/admin/, I am taken to Tomcat's built-in admin
servlet, which is located at $CATALINA_HOME/server/webapps/admin/.
How do I get it to use mine instead?
RE: jk2 config -- uri directive for root context?
> Jake Robb writes:
> > From server.xml
> > -
> >
> >
> > > ... *** unchanged from original form
> >
> >
I used that as well. I am using Apache 2.0.44, Tomcat 4.1.18, and RedHat 8,
with mod_jk2 as a connector.
However, I compiled Apache myself. It only took about ten minutes, once I
figured out the right arguments to the configure script.
-Jake
- Original Message -
From: "Andy Richards" <
apneel and something else
points to ROOT.
- Original Message -----
From: "Jake Robb" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Thursday, February 13, 2003 11:26 AM
Subject: Re: index.html and ipaddress ?
> Is there a reason you can
Is there a reason you can't put your index.html file in the ROOT directory?
- Original Message -
From: "Swapneel Dange" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 13, 2003 11:24 AM
Subject: index.html and ipaddress ?
> hi there !
>
> i am running a TOMCAT succes
An army recruiter?
- Original Message -
From: "Sterin, Ilya" <[EMAIL PROTECTED]>
To: "'Rasputin '" <[EMAIL PROTECTED]>; "'Tomcat Users List '"
<[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, February 13, 2003 11:05 AM
Subject: RE: Fw: Fight war
> What if you don't want to stop t
ify in [uri]. For
> example, $CATALINA_HOME/webapps/examples translated into uri is
> [uri:/examples/*]
>
> Regards,
>
>
> PQ
>
> "This Guy Thinks He Knows Everything"
> "This Guy Thinks He Knows What He Is Doing"
>
> -Original Message--
As Rasputin pointed out, the message is a virus (please see his message and
follow the link). As such, it is indeed "crap".
Out of politeness and respect, I request that viruses not be freely,
deliberately distributed on the Internet.
Please.
-Jake
- Original Message -
From: "Vermeulen
Arun,
Try putting the paths to JkWorkersFile, JkLogFile, and your examples
directory in quotes, i.e.:
LoadModule jk_module libexec/mod_jk-1.3.26.dll
AddModule mod_jk.c
JkWorkersFile "C:/Tomcat4_1_12/conf/workers.properties"
JkLogFile "C:/Tomcat4_1_12/logs/mod_jk.log"
JkLogLevel debug
Alias
at:
/usr/java/jakarta-tomcat-4.1.18/webapps/
I tried putting them in webapps/ROOT, but that didn't help.
Do I have the source location wrong, or the URI directive? Or both?
Any help is much appreciated.
Thanks,
Jake Robb
-
I tried using the Tomcat RPM, and have had nothing but bad luck. Removing
it (rpm -e ) and then installing using a normal binary has
helped a lot.
-Jake
- Original Message -
From: "Turner, John" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Wednesday, February 1
RPM is "RedHat Package Manager"
-Jake
- Original Message -
From: "Steve Burrus" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, February 12, 2003 2:59 PM
Subject: RE: newbie installation problem
> Excuse my ignorance please, but what does RPM stand for e
I've been searching for good documentation on setting up jk2, with no luck.
Apache's documentation is poor and incomplete. I went out and bought a book
on Tomcat, and it has mod_jk information, but it's pretty limited on jk2.
Does anyone have a good online reference?
-Jake
- Original Messag
Do PDFs served from other servers open the plugin? If so, your server is
probably providing a bad content type. If not, then you should probably
just reinstall the PDF plugin.
- Original Message -
From: "Duma Rolando" <[EMAIL PROTECTED]>
To: "Tomcat Mailing List" <[EMAIL PROTECTED]>
Se
I sort my email messages by date, and yours is appearing out of order --
this is slightly annoying. Thanks!
-Jake Robb
Alex K. wrote:
> Hello,
>
> Any ideas?
>
> Best Regards,
>
> Alex Korneyev
>
>
> --
The only way I can think of to do that is to mirror your secure content with
nonsecure matching pages with either META or Javascript redirects, or using
JSP (PHP and other server-side languages could do it too) to do a header
write.
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EM
I am using several custom TLDs, and I keep them all in WEB-INF/, outside of
any JAR files. No trouble!
-Jake
- Original Message -
From: "Peter Lin" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, February 11, 2003 3:46 PM
Subject: Re: tld files not found
ldn't matter), check here: http://www.johnturner.com/howto
> NOTE: I don't use JK2, I built that one for someone else who was having
> problems building one and decided to post it to the website, since there
> isn't one available from the Jakarta site that's built with
You can have your users turn down their browser security settings, and then
the applet has free reign.
Of note: I have an applet that accesses data from a remote host, and
Internet Explorer lets it run with normal security settings.
-Jake
- Original Message -
From: "Jeff Ousley" <[EMAIL
e 2.0.44. Is this true? I've been unable to confirm
that anywhere.
Should I remove Apache and go back to 2.0.40 or something, or am I just
doing something wrong? Maybe I need to build in a special module in Apache?
Any help is appreciated!
Thanks,
Jake Robb
66 matches
Mail list logo