Hi all.
Both options work for me.
Which is the better solution in terms of performance ?
--
To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
http://www.galatea.com/flashguides/apache-tomcat-4-win32.xml
John
-Original Message-
From: Felipe Schnack [mailto:felipes;ritterdosreis.br]
Sent: Wednesday, October 30, 2002 12:16 PM
To: Tomcat Users List
Subject: Re: tomcat apache in win32
Telling by the URL this is for
Will remove work?
Regards,
Phillip Qin
Software Developer
Canadian Shareowner
121 Richmond Street W, 7th Floor
Toronto, ON M5H 2K1
(416) 595-9600 ext 291
-Original Message-
From: Stefan Wachter [mailto:Stefan.Wachter;gmx.de]
Sent: October 30, 2002 11:55 AM
To: [EMAIL PROTECTED]
Thanks!
On Wed, 2002-10-30 at 16:34, Turner, John wrote:
http://www.galatea.com/flashguides/apache-tomcat-4-win32.xml
John
-Original Message-
From: Felipe Schnack [mailto:felipes;ritterdosreis.br]
Sent: Wednesday, October 30, 2002 12:16 PM
To: Tomcat Users List
Hi,
I'm having some troubles while running Tomcat 4.1.12-LE
under Digital Unix (OSF1). The server are running ok, but the
/examples dir with the servlets are returning the error :
HTTP Status 404 - /examples/servlets/
type Status report
message /examples/servlets/
description
Hey Guys,
I am trying to create a custom error page for my webapps, and I am encountering the
following message when I try to force an error.
Error page location myerror.jsp must start with a /
My webapp file has the following included:
error-page
error-code404/error-code
I guess Tomcat complies too, at least on my expierence. The error ocurrs when the
jsp gets converted into servlet code:
%=blah();%
into
out.write(blah();); // servlet code
... therefore the semicolon should be omitted for the servlet to be compiled
Ben Ricker wrote:
On Mon, 2002-10-28 at 20:24, William Lee wrote:
Hmm, it may have something to do with the kernel, I'll try later to see
whether this is the case. I don't think the log gives me much though.
Anyhow, I've made a weird discovery that I found interesting.
After the other
Hi all,
This email is a little bit off topic, as it's more about JDBC-related stuff than
tomcat.
I'm really looking for comments on the approach for JDBC connection pooling described
in the article at :
http://www-106.ibm.com/developerworks/java/library/j-threads3.html
In (very) short: the
I need help with the jakarta-tomcat 1.4.1 and j2sdk1.4.0 which is installed in windows
2000 Professional in an IBM laptop with an intel celeron processor with 466Mhz speed.
Both in the user variables for default and the system variables. I use this to declare
my variables:
CATALINA_HOME
You're missing =.
Should be: CATALINA_HOME=C:\tomcat
John
-Original Message-
From: Stanley Michaud [mailto:jmichau2;optonline.net]
Sent: Wednesday, October 30, 2002 5:51 PM
To: [EMAIL PROTECTED]
Subject: help with tomcat 1.4.1 and j2sdk1.4.0?
I need help with the
On Wed, 2002-10-30 at 12:57, Jaimes Blunt wrote:
Hey Guys,
I am trying to create a custom error page for my webapps, and I am encountering the
following message when I try to force an error.
Error page location myerror.jsp must start with a /
Just as it says: you must begin the locations
Anyone know whether TomCat can be used on the Mac? I'd like to do development on my
own home computer (which is a Mac) with the eventual idea to port it over to a Linux
system.
--
To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail:
Good tip - thanks!
-Original Message-
From: Tim Funk [mailto:funkman;joedog.org]
Sent: Wednesday, October 30, 2002 3:55 AM
To: Tomcat Users List
Subject: Re: Tomcat standalone - traffic logs???
Performance tip - keep resolveHosts=false.
Otherwise your server will attempt to resolve
When we startup Tomcat on a Win XP machine, the DOS window comes up saying
Tomcat. What causes that to happen instead of the normal
C:\Windows\System32\cmd.exe?
Micael
---
This electronic mail transmission and any accompanying documents
Check out Catalina.bat:
if not %OS% == Windows_NT goto noTitle
set _EXECJAVA=start Tomcat %_RUNJAVA%
goto gotTitle
:noTitle
set _EXECJAVA=start %_RUNJAVA%
:gotTitle
-Original Message-
From: micael [mailto:caraunltd;harbornet.com]
Sent: Wednesday, October 30, 2002 3:16 PM
To: [EMAIL
On Wed, 30 Oct 2002 [EMAIL PROTECTED] wrote:
i think i worked it out. It just meant that i couldnt find any reason
according to my config, to pass html / gif etc to Tomcat - which is right..
Yes, I believe that's it. Every request gets processed through mod_jk
to see if it's something that
Who has ever seen this error
Thanks in advance...
F.
description The server encountered an internal error () that prevented it
from fulfilling this request.
exception
org.apache.jasper.JasperException: gnu/regexp/REException
at
Platform :
linux 2.4.7.10 RH 7.2
Tomcat 4.1.12
J2SDK 1.4.1
Ant 1.5.1
With the binary distribution of TOMCAT I try the manager role, I login correctly with
MemoryRealm with the following ResourceLink
Context path=/manager docBase ...
ResourceLink name=users global=UserDatabase
Wiith correct privileges on MySQL, I can't login. May be a bad definition of
ResourceLink attribut, look to my current post.
Marcel
- Original Message -
From: Jean-Luc BEAUDET [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, October 30, 2002 3:33 PM
Subject: Re:
Hi,
I haven't used the examples, but I'm going to make a guess:
Did you try using /examples/servlet/servletName?
notice servlet/ instead of servlets/
Garrett
--- Denys Sene dos Santos [EMAIL PROTECTED] wrote:
Hi,
I'm having some troubles while running Tomcat 4.1.12-LE
Hi:
We have an application running as part of Tomcat applications. Recently we
have encountered Tomcat died
from time to time. We have no clue where to start debugging the problem
because we could not find any log message on its death.
Sysmptom:
Apache and tomcat ran as a service on
Content-Class: urn:content-classes:message
Received: from nagoya.betaversion.org ([192.18.49.131]) by hume.tsdinc.steitz.com with
Microsoft SMTPSVC(5.0.2195.5329); Wed, 30 Oct 2002 13:28:47 -0500
Received: (qmail 16865 invoked by uid 97); 30 Oct 2002 18:32:12 -
Mailing-List: contact [EMAIL
i am trying to run tomcat 4.0 in standalone ssl mode in solaris env
and i just followed the tomcat doc
JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA
it asked me bucnh of question
that was ok but
when it comes password used by Tomcat
i put changeit (all lower case)
at that time it
Im running RH 7.2, Mysql 3.23.41-1, and Tomcat 4.1.2 with the most current
Connector J from Mysql. I jar xf the connector jar within my tomcat4 dir
under etc. Is there a way to simply validate the connector is working? Im
hoping there is something other than using a simple Result Set or JSP?
Hello,
I'm new to Servlet programming and need help in starting to develop
servlets.
I have downloaded jakarta-tomcat-4.0.6. Once installed, it's installed as
C:\Program Files\Apache Tomcat 4.0
Now, I have a development environment of my own, where I write and compile
my Java files.. Like,
you can make mysql log everything it is doing, by starting it mysqld -l with
the -l flag. It will then log all connections failed or otherwise queries
(everything) to /usr/lib/mysql/yourhostname.log (rpm install)
very useful.
- Original Message -
From: David Kramer [EMAIL PROTECTED]
You can for example, setup a false login/password , it will tell you than
the access is denied. If nothing happens with a false login/password the
connector doesn't work certainly.
Marcel
- Original Message -
From: David Kramer [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday,
put a servlet mapping in your web.xml file..
servlet
servlet-nameHelloWorld/servlet-name
servlet-classHelloWorld/servlet-class
/servlet
servlet-mapping
servlet-nameHelloWorld/servlet-name
url-pattern/servlet/HelloWorld/url-pattern
/servlet-mapping
see
Hi,
I am using j_security_check to authenticate a user using Tomcat 4.1. =
Every time a user closes the browser window, he is forced to re-login =
even though he logged in just a couple of minutes ago.=20
Is there a way to configure j_security_check to use an existing session =
after the
We've currently got Apache running on HP-UX 11. Now I'm developing a Struts
webapp that will need to go on the same box. HP hasn't released Tomcat 4
yet, so we'll have to get it to work ourselves.
Since the Struts app has no static content, is there any reason to put
ourselves through the pain
I have st.Servlet1 class on Tomcat
4.1/weapps/Myapp/WEB-INF/classes/st
and Servlet1.shtml on Tomcat
4.1/weapps/Myapp
I have not problen when call Servlet1.shtml whit http://localhost:8080/Myapp/Servlet1.shtml
but when I click on button to call
Servlet1.class(the servlet) Tomcat return 404
I played around with the config for a few hours today - didn't get any
results. Having read that about name based hosting before, I switched to IP
based vhosting... - after poping in a few network cards...
What happens now is the same as before...
1)
I switch to HTTPS - and I get the
TC and apache don't need to know about each other unless you want tomcat and
apache to run on the same port. (This includes SSL on 443...) - TC would
have to use a different port than the standard https 443 for secure
transmission - if you require such a thing.
Other than that - they can both
I was wondering how search engines handle multi-view-controller
architecture?
Thanks,
Michele
_
Internet access plans that fit your lifestyle -- join MSN.
http://resourcecenter.msn.com/access/plans/default.asp
--
To
On Wed, 30 Oct 2002, Wendy Smoak wrote:
We've currently got Apache running on HP-UX 11. Now I'm developing
a Struts webapp that will need to go on the same box. HP hasn't
released Tomcat 4 yet, so we'll have to get it to work ourselves.
Since the Struts app has no static content, is there
Greetings Tomcat-Users Group,
I tried to search on this topic on Google for a few days but was unable to
come up with any useful leads.
I was hoping if any of you would have any idea about the following:
For each jsp page, I do the following
tag:custom_tag
do some work
/tag:custom_tag
other
MVC is a design pattern not an engine.
If you want to learn about MVC you could visit www.java.sun.com and
search for design patterns or MVC especifically.
Regards.
German
==
[EMAIL PROTECTED] 10/30 5:40 p.m.
I was wondering how search engines
I know it is not an engine...how do search engines handle it.
To clarify...I have 2 websites built on the mvc architecture, I would like
to have them indexed...does anyone have any experience in this...
Michele
From: German Augusto Niebles Alvarez [EMAIL PROTECTED]
Reply-To: Tomcat Users
Your question is not descriptive enough, which is the
reason you were directed to the java.sun.com website.
What you are asking makes no sense. You must
elaborate more about what you are trying to
accomplish.
You have 2 websites implemented under the MVC design
pattern. Okay, now what? You
If I understand your question correctly, why don't you
just use one of the include directives to insert that
into your file where you want it?
Either:
%@ include file=relativeURL %
-- OR --
jsp:include page={relativeURL | %= expression %}
flush=true| false
jsp:param
Thank you for the quick response. Actually that's the problem. I don't want
to have to remember to always insert an include into the jsp file.
I'd like to modify Tomcat's behavior such that ANY jsp file (preferably in
a context) will get these lines added.
Good point though and I'll keep these
Michael,
Are you using CATALINA_OPTS (or some other method) to set the
http.proxyHost and http.proxyServer? If so, you might be able to set
http.proxyUser and http.proxyPassword the same way. (I understand this
doesn't always work, but if you haven't tried it yet, it's worth looking
into.)
His question was clear. I'm interested in the answer as well. Anyone?
Guessing I would say that as most search engines employ crawlers or spiders
the sites will get indexed assuming there are links that propogate a user
through the site. Presumably rather than static pages the URLs indexed by
Tomcat, from time to time, starts processing and locks into some loop or something. I
don't know what is happening, and that is the best way I can explain it. After
noticing that the JSP do not get served and IE just waits and waits, I try to Shutdown
Tomcat and I get an exception.
Is there a more efficent way to get the web.xml to point to an common error
page for all errors?
I currently have in web.xml
!-- Error pages for different reasons --
error-page
error-code400/error-code
location/errorpage/error.jsp/location
/error-page
error-page
Hello,
I'm trying to monitor the sessions of users using the app. I want to be able to
distinguish between a user logging out and a session being timed out. I tried using
the HttpSessionBindingListener and it's not ideal for redirecting requests back to the
user (since the session is
Michele Emmi,
I've never used Struts, or anything which could be abbreviated to MVC. Despite this,
your question did strike a chord with me. I think what you're asking is this:
How do search engines handle dynamic content, where the content changes based on the
query-string?
Example:
2 Cents...
Not all threads need to do things with the database? kind of a waste to use
the thread with the connection sitting idle, if it is a limited resource.
I'm guessing the worker thread pool in tomcat typically needs to be higher
that that of the connection pool its classes would use, in
Upgrade to tomcat 4.0.4 - 4.0.6, then you can put the jaxb-rt.jar into the
WEB-INF/lib directory. I think 4.0.3 has some class loader issues with
packages that start with java and javax in the WEB-INF/lib folders
This solved the problem for us.
PaulE
-Original Message-
From: Nick
John, I still can't get this to work?!
I started over from scratch with your docs and was able correct the
duplicate mod_jk.conf problem.
However, when I try the following URL's, localhost still doesn't work.
http://localhost result= Netscape starts searching the internet
http://localhost:8080
You don't have localhost in your HOSTS file, add this entry and it'll all be
good :)
-Josh
Who can it be knocking at my door?
Go away, don't come round here no more.
Can't you see that it's late at night?
I'm very tired, and I'm not feeling right.
- Original Message -
From: Lambert,
I can't seem to figure out why my setup behaves differently when I access
the same host with and without 'www.'. I used to run Apache 1.3.x and Tomcat
4.0.x, where my setup included aliases in Apache config file as well as two
virtual hosts in Tomcat (with 'www.' and without) for each domain. Not
Hello,
I too am trying to get this configuration working to give me a test
environment that duplicates a remote server. I have followed the
instructions pointed to by John Turner very closely and only modified
the line in workers2.properties that points to the jvm.dll. When I
start Apache I
How about the slashes in your path?
C:\ApacheGroup\Tomcat4.1/bin/tomcat-jni.jar
^^^
- Original Message -
From: M. Hockings [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, October 30, 2002 10:00 PM
Subject: Re: need help
Thanks Robert and Bill,
I've got the system working now using direct additions to httdp.conf
(basically a cut and paste of the auto generated file mod_jk.conf with
additions). I haven't yet had a chance to experiment with the
noRoot=false though that sounds very much like the sort of attribute
Hi Newbie,
In the workers2.properties it is ${TOMCAT_HOME}/bin/tomcat-jni.jar.
I've tried hard-coding it with forward slashes but the result was the
same. There is probably something very simple that I'm overlooking.
Thanks,
Mike
Tomcat Newbie wrote:
How about the slashes in your path?
I've Tomcat up and running on Mac OS X v10.2. I can execute basic .jsp
files, but as soon as I started working with beans I hit a wall.
I have a very simple bean I copied from a tutorial. They instruct me
to place the .java file in a particular path with a .class file. I
assumed the .class
Classes (.class) go under /WEB-INF/classes in each and every web app.
If they are in a jar, then it goes under /WEB-INF/lib of every web app.
Christopher J. Utley wrote:
I've Tomcat up and running on Mac OS X v10.2. I can execute basic
.jsp files, but as soon as I started working with beans I
Denys Sene dos Santos wrote:
Hi,
I'm having some troubles while running Tomcat 4.1.12-LE
under Digital Unix (OSF1). The server are running ok, but the
/examples dir with the servlets are returning the error :
HTTP Status 404 - /examples/servlets/
type Status report
message
Thanks. Much appreciated.
At 03:31 PM 10/30/2002 -0500, you wrote:
Check out Catalina.bat:
if not %OS% == Windows_NT goto noTitle
set _EXECJAVA=start Tomcat %_RUNJAVA%
goto gotTitle
:noTitle
set _EXECJAVA=start %_RUNJAVA%
:gotTitle
-Original Message-
From: micael
Don't use the apache, switch the Tomcat to 80. Works out of the box like
that, and the directions on how are in Goodwill's Apache Jakarta-Tomcat if
you want to look at that. It is really obvious, though. Just don't use
apache and change 8080 to 80.
At 03:13 PM 10/30/2002 -0700, you wrote:
I am using Tomcat 4.1 on Win2k.
If I place my web application outside ${Tomcat_Home}\webapps the package for my
classes (placed in WEB-INF\classes) is not recognized. Even the jar file's package in
the lib dir of my web application is not recognized. If I copy the same dir into the
webapps
I think this has been reported at Bugzilla with id:12387 And it says that it
is fixed. Should I download latest Tomcat version?
Can someone tell me how to fix this?
- Original Message -
From: Affan Qureshi [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, October 31, 2002 11:46 AM
The basicPortal project on Sourceforge has just released a new release of
their FREE OPEN SOURCE portal software. See http://basicportal.SF.net.
basicPortal is a SET OF vertical applications designed to increase web
programmer
productivity that incorporates Struts, the JSTL tag library, a BASIC
Is it possible to send a USSD through MIDP ?
/Dan
--
To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
Hello,
has anybody tested the largefile option with Tomcat 4.1.12?
In my opinion it seems to be without effect. No .dat file are
generated like in 4.0.x. I have also scanned the jasper code
for this option. The option is set at the EmbededServletOptions
class, but nobody seems to use this value
101 - 167 of 167 matches
Mail list logo