I've just done a fresh install of Tomcat 5.5.9 and when I start
it up I see the following in catalina.out:
May 18, 2005 4:14:23 PM org.apache.catalina.realm.JAASRealm
setContainer
INFO: Set JAAS app name Catalina
I haven't configured a JAASRealm anywhere -- doing:
grep -i jaas $(find .)
in $TOM
Iannis,
Tomcat used to require javac (the Java compiler from the SDK) in order to
compile the java code generated from the jsps. Tomcat 5 now comes packaged
with the jasper compiler, so all you need is the Java 5.0 JRE.
fRITZ
-Original Message-
From: Iannis Hanen [mailto:[EMAIL PROTECTED
Hi,
It seems that tomcat requires a JDK (and not only a JRE) to be present
on the physical machine in order to run properly. I am a bit surprised
that a JDK is also required. Is there a way to run Tomcat on top of a
JRE only? How do I setup this?
Thanks,
Iannis
Try this: http://tools.herberlin.de/phpservlet/index.shtml
Fritz
-Original Message-
From: Chris Holden [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 18, 2005 3:52 PM
To: tomcat-user@jakarta.apache.org
Subject: Tomcat and PHP?
Hi,
I was wondering if anyone knows if it's possible to con
David,
I'm differentiating between a link as in src= and a hyperlink as in href=.
For a link, the browser does indeed do another HTTP GET to retrieve it, but
if the result is a 404, the rest of the response is discarded and the image
is rendered as a small box with a red x in it.
On the other han
Hi,
I was wondering if anyone knows if it's possible to configure Tomcat to run PHP
5? I have Tomcat 5.5.9 installed and it's all running fine with my MySQL etc,
but I'd really like to be able to test just a few php pages without having to
install Apache to handle php seperately (everything els
> From: "Jim Henderson" <[EMAIL PROTECTED]>
> Sent: Wednesday, May 18, 2005 11:45 AM
> I am attempting to rewrite org.apache.catalina.users to access an existing
> backend application database of users and groups. The database could have
> hundreds of users. I cannot add/change/delete users or gr
Yes, I'm now going the HttpClient route - and yes, I also realized that the
object to be launched doesn't have to be a servlet at all. I was just
anchored in thinking along those lines since I thought that the servlet
would be the one receiving its own response. Anyway, I think I'm on the
right
> From: Dakota Jack [mailto:[EMAIL PROTECTED]
> Subject: Re: Tomcat vs Apache
>
> I think there is not much question that the Apache server is far more
> efficient serving static html. Is there really any issue on that? If
> so, things sure have changed. I thought the comparison was like 5 to
Fritz,
Well, that's a hyperlink to the image, not embedded. In the case below,
the image is not embedded in the HTML but is simply a link to the image
that requires an HTTP(S) GET to retrieve. With a relative URL like you
used, it just constructs the complete URL by appending the current
page
okay, now I've created a new, small web-project with a very simple web.xml
just containing the HttpSessionListener, a 2-minute-session-timeout and very
small index.jsp and it works without any problems! but my original
jsf-web-app still doesn not release the sessions (I already have 40 sessions
Hi Phil,
To answer your question directly; no, in 5 you don't need (and
shouldn't have) a context entry in the server.xml for a war file (or
any webapp for that matter). Assuming the war contains a context.xml
file in META-INF, then tomcat will use that one (it will copy it to
{TomcatHome}\conf\Ca
> -Original Message-
> From: Dakota Jack [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, May 18, 2005 2:01 PM
> To: Tomcat Users List; Jason Bainbridge
> Subject: Re: Tomcat vs Apache
>
>
> I think there is not much question that the Apache server is
> far more efficient serving static ht
I don't think saying it's "silly" is really helpful, or even necessarily
accurate...
If the idea is that the request to the outside server is meant to to
asynchronous, i.e., maybe it feeds a queue or something, then it's a
reasonable model. It doesn't sound like that's what the OP meant, but if
i
According to benchmarks posted a few months ago, depending on your
circumstances, that may no longer be true (or it may even be the
reverse). I don't have the url, but I am sure someone else does, or
search for the benchmark site.
On May 18, 2005, at 1:01 PM, Dakota Jack wrote:
I think there
I've done something a little similar w/ the HTTPClient. What I ended up
w/ was a Object that was run in the Servlet container but was not itself
a servlet. Nit-picking. Anyway, you can do this, you just have to use
other libraries (like the Commons HTTPClient).
Michael Mehrle wrote:
Thanks f
Ah, okay. The only reason we were considering switching to Apache was
to possibly improve the performance of our Java applet.
However the Apache Web Server may well have better performance when
serving large files, I don't believe I have seen any benchmarks
dealing with large files only smaller on
hihi,
another (simple) way to think about the difference is that Apache
serves static web pages, whereas Tomcat *can* do some server-side
processing and serve dynamic web pages.
all else being equal (and with no mods installed on Apache such as
CGI/SSI/PHP), everyone visiting an Apache hosted web
I can't thank you enough. I was wondering if anyone had done it, and
you certainly have.
The sample files I have has always been the biggest hurdle for me also.
The mod_jk.so I am using is "mod_jk-1.2.13-apache-2.0.54.so" which I
think is for Windows.
I'll refer to the same directions you us
> From: "Michael Mehrle" <[EMAIL PROTECTED]>
> Sent: Wednesday, May 18, 2005 8:58 AM
> - Servlet issues https request to an outside server (via
> getServletContext().getRequestDispatcher(https://www.someoutsideserver/) )
> - Outside server processes request and responds with POST response (also
v
I think there is not much question that the Apache server is far more
efficient serving static html. Is there really any issue on that? If
so, things sure have changed. I thought the comparison was like 5 to
1. Is that no longer true?
On 5/18/05, Jason Bainbridge <[EMAIL PROTECTED]> wrote:
> O
By having a page that is essentially:
-Original Message-
From: David Wall [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 18, 2005 11:01 AM
To: Tomcat Users List
Subject: Re: 404 redirection question
Fritz Schneider wrote:
>If you have hyperlinks
>to images, as opposed to HTML page
Thanks for your elaborate reply - actually, someone else also suggested to
use commons HTTPClient. I might have over-explained all this - the major
difference is that the servlet is being launched by Quartz, not by an
outside HTTP request. Thus, it is the servlet that needs to be able to
receiv
Sorry, I'm replying to my own post. I'm afraid it got lost in all the spam
over the past couple of days :)
Is what I am trying to do just not possible?
>I am putting the global data sources in server.xml, and I am putting the
>resource links in each virtual hosts's ROOT.xml. What I mean by cha
I am attempting to rewrite org.apache.catalina.users to access an existing
backend application database of users and groups. The database could have
hundreds of users. I cannot add/change/delete users or groups in the
database from the Tomcat Admin consol. In other words authentication will
be in
For my own education, what the heck is "off-roading"?
On 5/18/05, Chris <[EMAIL PROTECTED]> wrote:
> > Apache is not a J2EE container - you are off-roading on this one ;-)
>
> Thanks. That was pretty much what I wanted to find out. BTW, I keep
> hearing of people using Apache and Tomcat in conj
The dynamic aspect of Tomcat is used to write HTML dynamically. This
is unrelated to the service of applets. If all you are doing is
serving an applet, you don't need Tomcat, as your HTML is static. I
don't know what some of the other replies mean, but this much is
clear.
On 5/18/05, Anthony E.
Hi,
For a variety of reasons, we proxy access to tomcat through apache. Using
4.1.31, ssl connections to apache were proxied as regular http to tomcat, and
everything worked as expected. But with 5.5.9 the browser/server connection
goes back to regular http even through the initial GET was sent
Tom,
I have Tomcat 5.5.7, Apache 2.0.54, JRE 1.5.0_03, JK
1.2.11, running on Win2k3 server with no problems.
The biggest hurdle I had to get over was making the
necessary changes on the sample files included with
the software. (the worker names didn't match) The
files required are mod_jk.so (dow
Chris,
Earlier versions of Tomcat were quite a bit slower than Apache when
delivering static pages. For high volume work the preferred solution was to
have Apache listening on port 80, and when it received a request for a page
from in a J2EE context, to forward it to Tomcat, listening on 8080. A
s
Those classes are "browsers" without a GUI. I do this sort of thing
all the time.
On 5/18/05, Dakota Jack <[EMAIL PROTECTED]> wrote:
> You might want to look at the COS message classes.
>
> On 5/18/05, Michael Mehrle <[EMAIL PROTECTED]> wrote:
> > Simple question, but it's driving me nuts. I rea
You might want to look at the COS message classes.
On 5/18/05, Michael Mehrle <[EMAIL PROTECTED]> wrote:
> Simple question, but it's driving me nuts. I really don't want to get into
> the whole web service business - all I need is for a servlet to be the
> recipient of its own request. Or - in oth
Requests from from a browser or any other suitable socket based
mechanism that sends requests. Servlets and servers don't send
requests, although you can have a client in a server that does send
requests. You could, I suppose, even build a request making mechanism
inside a servlet or as a field f
Fritz Schneider wrote:
If you have hyperlinks
to images, as opposed to HTML pages with images embedded,
How would you embed images inside the HTML rather than using hyperlinks
to the image?
David
-
To unsubscribe, e-mail: [EMAIL
On 5/18/05, Chris <[EMAIL PROTECTED]> wrote:
> > If all you're doing is serve static pages, both are equivalent.
> > However, if you ever need dynamic content, either client or server
> > side, for example a page whose content is extracted from a database, or
> > a form for which you need to recor
Chris wrote:
Ah, okay. The only reason we were considering switching to Apache was
to possibly improve the performance of our Java applet.
The performance of the applet should have nothing to do with the server
that delivers it, unless perhaps the server happens to be downloading
slower than th
Look at the Timer and TimerTask classes, for scheduling tasks.
-Original Message-
From: Michael Mehrle [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 17, 2005 7:16 PM
To: Tomcat Users List
Subject: Scheduled task in tomcat - how?
I need to create an automated task in tomcat that gets launc
Greg Vilardi wrote:
FYI. I just tried to nudge the list managers, but the folks at Jakarta don't
make it easy to find a list admin.
All the command addresses, including the owner address, are sent to
users when they subscribe.
Since the
800 messages that I've received over the past 5 days have n
Make your servlet act like a java HTTPS client using the java.net.URL,
java.net.HttpURLConnection and javax.net.ssl.HttpsURLConnection classes.
Read from the response input stream (using java.io. classes) returned by
the connection. You will need to write your own hostname verifier and have
the
Chris:
I guess that the applet is just a static file that is served to the
client's browser window. Therefore, ANY web server would work just
fine. There are no appreciable differences between Tomcat and Apache
for your requirements so far. They act very similarly when serving
static content. S
You *probably* could do this... I'm not 100% sure.
What I *AM* sure about though is that this would be pretty ugly :)
I'm not sure what you mean by "Outside server processes request and
responds with POST response (also via https)." though...
Is the idea that the request to the outside server is
Wade,
Browsers don't display the error page for missing GIF or JPEG elements in a
page, only when the entire requested URL gets a 404. If you have hyperlinks
to images, as opposed to HTML pages with images embedded, then what you are
looking for can be accomplished. You could create a JSP which do
I don't think so. You will have to have something start the request.
Servlets are loaded by the container and are run in response to a request.
Once the servlet is running, there is no reason why it could not make an
http request for data from another server/servlet and parse the response.
Robert
Apache is not a J2EE container - you are off-roading on this one ;-)
Thanks. That was pretty much what I wanted to find out. BTW, I keep
hearing of people using Apache and Tomcat in conjunction. How does that
work?
Chris
-
To
If all you're doing is serve static pages, both are equivalent.
However, if you ever need dynamic content, either client or server
side, for example a page whose content is extracted from a database, or
a form for which you need to record the values, you need some kind of
intelligence.
For
Hi,
I'm new to tomcat 5.0 and the use of context seems to have changed since
4.0. I have a war that expands outside ROOT when I place it in the
webapps directory. If I place it in the ROOT directory it doesn't. I
also noticed that 5.0 doesn't use a context entry for ROOT. So my
questions ar
FYI. I just tried to nudge the list managers, but the folks at Jakarta don't
make it easy to find a list admin.
-Greg
--- Forwarded message follows ---
From: Greg Vilardi <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject:Need H
I think I need to ask a question before offering any information.
When you say applet, do you mean a java applet that runs in a client's
browser window? Or, do you have a web application comprised of
servlets/jsps (or some analogous configuration)?
We have a large java applet that runs in the cli
I too am a Apache/Tomcat/Modjk2 vet. I have begun looking at moving to
Tomcat 5.5 and evaluating the need for Apache, as well as other connectors
for Modjk2. One you can look at would be Apache Mod Proxy, apparently that
has caught on as an excellent way to connect Apache to Tomcat.
From: "To
Simple question, but it's driving me nuts. I really don't want to get into
the whole web service business - all I need is for a servlet to be the
recipient of its own request. Or - in other words - can a servlet act like a
web browser - just without the GUI?
Use case:
- Servlet issues https req
Simple question, but it's driving me nuts. I really don't want to get into
the whole web service business - all I need is for a servlet to be the
recipient of its own request. Or - in other words - can a servlet act like a
web browser - just without the GUI?
Use case:
- Servlet issues https req
Apache is not a J2EE container - you are off-roading on this one ;-)
Michael
- Original Message -
From: "Chris" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Wednesday, May 18, 2005 7:37 AM
Subject: Tomcat vs Apache
I've been working with Tomcat for a while now, but I haven't messed
If all you're doing is serve static pages, both are equivalent.
However, if you ever need dynamic content, either client or server
side, for example a page whose content is extracted from a database,
or a form for which you need to record the values, you need some kind
of intelligence.
For
I have the need to redirect visitors to my site to different error pages
depending on the type of element missing. For example, if the element
that is missing is an image file (e.g. *.jpg, *.gif), then I want to
present them with a custom 404 error page. If the missing element is an
entire page, th
I think I need to ask a question before offering any information.
When you say applet, do you mean a java applet that runs in a client's
browser window? Or, do you have a web application comprised of
servlets/jsps (or some analogous configuration)?
-Anthony
On May 18, 2005, at 10:37 AM, Chris wr
hihi,
what controls what type of resource will be displayed within the
browser? (versus invoking an external application specifically for
that resource type?)
for example on one of my web pages i have this link:
http://localhost:8080/myapp/hello.txt
on Tomcat 4.1.24 clicking on that link will a
Ok, I'm not a newbie to Apache 2.x, Tomcat 4.x, JK2 with Java SDK 1.4.x
... I have gotten these to work over the years with few problems either
on a Windows or Linux environment. I've modified the httpd.conf file
and workers2.properties files under Apache 2.x, and the server.xml and
jk2.prope
The problem has now been resolved. There was an announcement about it this
morning.
The "list nanny" put in a blocking rule on Tuesday but it took several hours
to get to the top of the queue and take effect.
Rhino
- Original Message -
From: "Mieke Banderas" <[EMAIL PROTECTED]>
To: "Tom
Mieke Banderas wrote:
What is the adress of the list nanny? I can't seem to find it. Such a
problem like we currently experience should have been blocked serverside
days ago.
See http://marc.theaimsgroup.com/?l=tomcat-user&m=111639963131255&w=2
for info.
--
Should I assume this is a known issue or bug?
Thanks,
Byron
-Original Message-
From: Guernsey, Byron (GE Consumer & Industrial)
Sent: Wednesday, May 11, 2005 5:53 PM
To: Tomcat Users List
Subject: Jk 1.2.10+ & Tomcat 4.1.x slight problem
I'm running into a minor issue with jk 1.2.12
Leonardo Otoni de Assis wrote:
Mladen,
I do the copy of server sub-directory in the jvm directory to the jre
directoy. See:
jvm directory
D:\Powerlogic\jdk1.5.0_02\jre\bin\server (with the jvm.dll);
copy to:
C:\Program Files\Java\jre1.5.0_02\bin
when install the service again:
D:\Powerlogic\tomc
Matt Galvin said:
>On 5/17/05, Guy Katz <[EMAIL PROTECTED]> wrote:
>> am i the only one getting this annoying spam from the tomcat lisy?
>
>No, I have gotten like 100 of them, it's getting really annoying.
What is the adress of the list nanny? I can't seem to find it. Such a
problem like we curr
I've been working with Tomcat for a while now, but I haven't messed with
Apache yet. Could someone explain or point me to something explaining
the differences between Tomcat and Apache? I have a large applet hosted
on Tomcat, and am investigating using Apache instead. Is this feasable?
TIA.
I'm upgrading tomcat from 5.0.28 to 5.5.9 and I'm getting a class not
found error for org.apache.catalina.logger.FileLogger In 5.0.28,
this class was in the catalina jar, but it's not in 5.5.9. Is there
something else I need to download? Or some setting I need to change?
Something has changed:
"
You might want to take a look at
http://www.experts-exchange.com/Web/Application_Servers/Q_20654602.html
it seems to include several ways to override error pages. A friend has done
custom error pages for his own webapps, but never tried to override every
error page.
-Original Message-
F
you need to get at least the Java 1.5 run-time environment (aka JRE
5.0)
Tomcat 5.5.x does not work with Java 1.4 unless you install a
compatibility patch
since you are developing, i recommend you install the JDK 1.5 and
update your JAVA_HOME to point to 1.5 instead of 1.4
hth,
woodchuck
--- J
Hi.
We're having an issue with a Tomcat servlet making RMI calls.
Background:
We have a Java based client-server product. For web deployment, the client
converts its RMI calls into http posts encoded in XML and we have a servlet
that processes the posts, converts them back into the RMI calls an
nor, still now I don't use an "offical" authentication-method which is
protected by a login-config-tag. my login-method just loads a usergroup out
of the database which has specific access-rights and associates it with the
current user-objects which belongs to one session-object. but this runs
--- Lutz Zetzsche <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Am Montag, 16. Mai 2005 16:33 schrieb Woodchuck:
> > i've read the class loader how-to and also searched the archives
> but
> > haven't found any answers for my current problem -- which is that
> my
> > application-specific jars (under WEB-IN
I sent this a couple of days ago in the blizzard of listserv messages and never
got a response so I'm sending it again in the hope someone can help me.
Background: I had a blojsom blog server set up on tomcat 4.1 that used a jdbc
realm to control access. I customized the login.jsp to
include s
Hi,
I have these in my tomcat server's global web.xml file:
404
/http404.jsp
503
/maintenance.html
It works for the 404 but not the 503 error code. What's wrong with it?
I want to redirect users to a "maintenance in progress" page when I "stop"
any webapp with the tomcat manager. But it al
Are you creating a basic authentication or form based authentication ?
-Original Message-
From: Hendrik Neumann [mailto:[EMAIL PROTECTED]
Sent: 18 May 2005 14:11
To: tomcat-user@jakarta.apache.org
Subject: Tomcat totally ignores my timeout-settings
Hi everybody,
I have the following pr
Hi everybody,
I have the following problem: I have created and registered an
HttpSessionListener which sets the MaxInactiveInterval to 120 seconds in the
sessionCreated-method, whenever a new session is created. Then I have
System.out.println("session is killed") in the sessionDestroyed-method
Hello all
If I send to Tomcat two times the same request with the same parameters
it seems that Tomcat serializes the requets. If the servlet is the same
but the parameters are different, then the requests are not serialized.
I want to mention that I do not synchronize any important method and
that
Mladen,
I do the copy of server sub-directory in the jvm directory to the jre
directoy. See:
jvm directory
D:\Powerlogic\jdk1.5.0_02\jre\bin\server (with the jvm.dll);
copy to:
C:\Program Files\Java\jre1.5.0_02\bin
when install the service again:
D:\Powerlogic\tomcat559\bin>service install
I
Just a follow-up to let others know how this worked out.
The fix turned out to be pure load balancer configuration. Cisco Support
instructed us to use the CSS load balancer's "urlrewrite" feature to ensure
that the HTTP 302's after Tomcat-managed authentication come back targeting the
correct
Hi Robert -
I'm not sure why having the the catalina-ant.jar in your ant libs folder
didn't work, but here's an extract from my build.xml, which works for
me. (obviously you need to set $tomcat.home somewhere - I tend to do it
in a properties file which I DON'T commit to my SCM repos, as it tend
Thanks Mark and Co. for fixing the problem
-Original Message-
From: Mark Thomas [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 18 May 2005 4:59 PM
To: tomcat-user@jakarta.apache.org
Subject: Recent spam
All,
Just a quick update on the recent issues.
1. The spam with German subject messages
Hi,
while writing an input filter, that decompresses its input, I have
encountered a problem. My filter (see complete source below) contains
roughly the following code:
private HttpServletRequest
getServletRequest(final HttpServletRequest pRequest) {
String contentEncoding =
The reason is Tomcat 5.5.9 will run on JDK 5.0 onwards.
I was not made for Older JDK's...
Try once on J2SDK 1.5and see.
Joy Kenneth
-Original Message-
From: Jobish P [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 17, 2005 9:51 PM
To: tomcat-user@jakarta.apache.org
Subject: On wi
Hi,
> --- Ursprüngliche Nachricht ---
> Von: "Michael Mehrle" <[EMAIL PROTECTED]>
> An: "Tomcat Users List"
> Betreff: Scheduled task in tomcat - how?
> Datum: Tue, 17 May 2005 19:16:10 -0700
>
> I need to create an automated task in tomcat that gets launched every two
> hours or so, does its wo
Hi,
I am not getting the tomcat home page while trying to run tomcat in
Windows XP. I had set the JAVA_HOME and CATALINA_HOME path variables.
And stopped other servers(IIS ans apche) running in the system.
But I couldn't see anything by typing http://localhost:8080. The
utilitie's that I used are
Hi,
I am not getting the tomcat home page while trying to run tomcat in
Windows XP. I had set the JAVA_HOME and CATALINA_HOME path variables
and stopped other servers(IIS ans apche) running in the system.
But I couldn't see anything by typing http://localhost:8080. The
utilitie's that I used are
83 matches
Mail list logo