Hello,
A part from this list, does someone have a good reference for a Tomcat user guide?
Thanx,
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
You have things in the wrong order: ant doesn't over-ride in a later
format. The first time a variable is defined, that's when it's set.
For example:
...
Will print out john.
Therefore, in your example, all three will be read. When a variable is
defined, it stays that way and usually (note:
Tim, sorry, I do not understand "Since you didn't
replace your connection information with the dummy
JDBCRealm placeholder, the connection failed to the
database."
Now, I am testing the Tomcat using the existing code
in the server.xml file by simply removing the
surroundinging . (I understand w
If your realm declaration is:
> className="org.apache.catalina.realm.JDBCRealm"
> debug="99"
> driverName="org.gjt.mm.mysql.Driver"
> connectionURL="jdbc:mysql://localhost/authority"
> connectionName="test" connectionPassword="test"
> userTable="users" userNameCol="user_name"
>
Frames with sessions can be a complicated beast if cookies are
disabled:
- First make shure that you encode all frame url's in the top
level framset. Otherwise each frame will get his own session.
- After that make shure that all frames keep in sync with the
session id. The simple design
Hi,
I'm new using tomcat (over windows xp) and ANT, I was doing the example
exercise http://jakarta.apache.org/tomcat/tomcat-5.0-doc/appdev/index.html,
using the files included.
When I want to install my app on the tomcat server using the ANT INSTALL
command I receive the next mes
Howdy,
The tomcat docs: the reference guide and app developer's guide.
Yoav Shapira
Millennium ChemInformatics
>-Original Message-
>From: "Thébault, Médérick" [mailto:[EMAIL PROTECTED]
>Sent: Thursday, October 09, 2003 12:31 PM
>To: Tomcat Users List
>Subject: Tomcat user guide
>
>Hello
Thanks Nathan,
Already found that - and it's for mod_jk not jk2 and the 2 are slightly
different.
Greg
> -Original Message-
> From: Nathan Christiansen [mailto:[EMAIL PROTECTED]
> Sent: 09 October 2003 17:06
> To: Tomcat Users List
> Subject: RE: Loadballacing with Apache 1.3.2x, mod_jk2
NO I JUST GET THE USERID AND PASSWORD PROMPT, and WHEN I PROVIDE THE CORRECT
USERID/PASSWORD IT GET A MESSAGE SAYING INCORRECT USERID/PASSWORD. NO ENTRIES IN LOGS
OR ANY EXCEPTIONS.
have you any log entries or anything helpful ?
classnotfound exception or something like this woulmd be great (ea
This one is for mod_jk2, but it is also for Apache 2:
http://www.pubbitch.org/jboss/mod_jk.html
If you are passing session objects between servers, then I think that the session
object passing starts to be the bottleneck at only 6 servers in your cluster.
-- Nathan Christiansen
Tahitian Noni
Tim, thanks for your help. The server workes now.
--- Tim Funk <[EMAIL PROTECTED]> wrote:
> If your realm declaration is:
> > > className="org.apache.catalina.realm.JDBCRealm"
> > debug="99"
> > driverName="org.gjt.mm.mysql.Driver"
> > connectionURL="jdbc:mysql://localhost/authorit
I have a tomcat server in a DMZ coming off my firewall machine. I have
permitted traffic to /from port 8080 but am having some connection
problems. Are there other *standard* ports needed for communications
with my server process?
Specifically Im trying to call URLConnection::getOutputStream() -
Or the Professional Tomcat book from Wrox. It is an excellent reference
book.
- Original Message -
From: "Shapira, Yoav" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Thursday, October 09, 2003 11:50 AM
Subject: RE: Tomcat user guide
Howdy,
The tomcat docs: the
Thanks Tim,
Seen those - We've got it working, but I was looking for more info about the
jkstatus output and the jk log output when the logging level is turned up.
I'll need to dig out the source code and have a read
Thanks,
Greg
> -Original Message-
> From: Tim Funk [mailto:[EMAIL
Or the Sun's web services developer tutorial. (Its a reference, I hope its good)
-Tim
epyonne wrote:
Or the Professional Tomcat book from Wrox. It is an excellent reference
book.
- Original Message -
From: "Shapira, Yoav" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
S
Hello,
As I was using Orion server, I used to start it with some parameters to allocate more
memory and to define the encoding, like this:
\java\jdk1.3.1_01\jre\bin\java.exe -server -Xms16m -Xmx512m -Xss4m -jar
-Dfile.encoding=iso-8859-1 -Djdbc.connection.debug=true orion.jar
How can I use it
Howdy,
Modify JAVA_OPTS in $CATALINA_HOME/bin/catalina.sh.
As an aside, why -Xss4m???
Yoav Shapira
Millennium ChemInformatics
>-Original Message-
>From: Kleber [mailto:[EMAIL PROTECTED]
>Sent: Thursday, October 09, 2003 2:12 PM
>To: [EMAIL PROTECTED]
>Subject: allocate more memory
>
>H
Thanks...
Could you see if what I had done in the code below is correct? It starts
normally the Tomcat, however, I'd like to know if it really allocates more
memory. How can I see this?
It related with your question about the -Xss4m, could you indicate me
another value that I can use for set java
Howdy,
No, what you did is not what I meant. The ONLY modification you should make to
catalina.sh is to add a line like
JAVA_OPTS='-server -Xms16m -Xmx512m'
to the file before the first rem. Don't modify anything under the rem line.
As for the 4m stack: -Xss is the correct and only way to set
You could also write a filter to measure performance.
http://www.javaworld.com/javaworld/jw-06-2001/jw-0622-filters.html
Subir
-Original Message-
From: Jay Glanville [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 09, 2003 9:12 AM
To: 'Tomcat Users List'
Subject: RE: can tomcat give m
I'm trying to load balance multiple Tomcat 4.1.27 servers behind Apache
1.3.28 using jk(1) on RedHat 9. It appears that the sessions are not being
maintained when more than one Tomcat server is running. A quick test page
which prints application, session, request, and cookie information shows
I'm having caching problems with Tomcat. Here's what I'm trying to do. I
have an app under the mapping of /PageWorks. In the context I have a
index.jsp that does a jsp:forward to a servlet that handles the request.
So to access the app you have to type http://myserver/PageWorks and it
works. Bu
Just as a quick check of the obvious.
You do have jvmRoute set correctly on the s for each
Tomcat server, don't you?
You aren't using BASIC authentication by any chance are you?
G. Wade
Ned Regina wrote:
I'm trying to load balance multiple Tomcat 4.1.27 servers behind Apache
1.3.28 using jk(1)
The jvmRoute attributes are set to tc1 and tc2 respectively. The jvmRoute
suffix on the JSESSIONID cookie alternates between the two servers when
reloading. There's no authentication on the page.
At 03:49 PM 10/9/2003, you wrote:
Just as a quick check of the obvious.
You do have jvmRoute set
Howdy,
Post the relevant sections of your server.xml. All you had to do is
make path="" in your Context declaration.
Yoav Shapira
Millennium ChemInformatics
>-Original Message-
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>Sent: Thursday, October 09, 2003 3:41 PM
>To: [EMAIL PROT
I have an update. The webap runs fine using the standalone version of Tomcat
(http://host:8080/cm/servlet/cm/welcome).
Has anyone had a similar problem?
-- Nathan Christiansen
Tahitian Noni International
http://www.tahitiannoni.com
-Original Message-
From: Nathan Christiansen
Here is it.
Thank You,
Justin A. Stanczak
Web Manager
Shake Learning Resource Center
Vincennes University
(812)888-5813
"Shapira, Yoav" <[EMAIL PROTECTED]>
10/09/2003 03:04 PM
Please respond to "Tomcat Users List"
To: "Tomcat Users List" <[EMAIL PROTECTED]>
cc:
Hi Justin,
Did you try deleting the contents of the work folder?
Regards,
Paul
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 09, 2003 3:41 PM
To: [EMAIL PROTECTED]
Subject: Help root context problem!!!
I'm having caching problems with To
No, but what will that do for me? Would I have to do that every time?
Thank You,
Justin A. Stanczak
Web Manager
Shake Learning Resource Center
Vincennes University
(812)888-5813
"Lee, PaulNYC" <[EMAIL PROTECTED]>
10/09/2003 03:20 PM
Please respond to "Tomcat Users List"
Arthur Veinstein wrote:
Noam,
I suspect that the tomcat doesn't hangs but rather you reach the max TCP
connection that your server accepts.
The best will be to write a small program you run by calling a servlet which
write to the output "I'm a live" every 10 min.
Run the program after you restart t
Noam Camiel wrote:
On Thursday, October 09, 2003 5:11 PM "Ryan Lissack"
<[EMAIL PROTECTED]> wrote:
Hi Noam,
We have experienced similar problems. You will notice in the thread dump
that there is no thread from the connectors thread pool waiting on an
accept
I see your what you mean, I compared
Hi Justin,
The work directory contains the generated source code and compiled classes
for JSPs. When a JSP is first requested, Tomcat generates Java source code
for the JSP, and then compiles it. Both the source code and the compiled
class are stored there. Since you changed your context and didn
I am trying to setup a webapp and am having a little difficulty. My
application starts on /webapps/myapp/index.jsp with 2 text fields(1
text, 1 password), this is a login type page, when the submit button is
clicked on the jsp my class which is packaged into
com.mycompany.myapp.Login comes bac
Can you include the relevant part of web.xml?
-Original Message-
From: Duane Kehoe [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 09, 2003 4:47 PM
To: Tomcat Users List
Subject: Web-app setup
I am trying to setup a webapp and am having a little difficulty. My
application starts on
You probably need to write a deployment descriptor (web.xml file).
I couldn't find a good tutorial quickly, but the book Java Servlet Programming is a
good resource for beginners.
-- Nathan Christiansen
Tahitian Noni International
http://www.tahitiannoni.com
-Original Message-
Fr
You only need to put your class files in the WEB-INF directory not the
java files.
Is your class file a Servlet???
Maybe is a mapped error in your web.xml include relevant part of it
pls...
Sincerely
Erlis Vidal Santos
> -Original Message-
> From: Duane Kehoe [mailto:[EMAIL PROTECTED]
Being new to Linux\Tomcat I've scoured the internet looking for a
step-by-step showing how to enable tomcat to start on boot with no real
success. I'm running Red Hat 9.0 w/Jakarta-tomcat-4.1.27. Anyone.
-
To unsubscribe, e-mail:
Sorry about that the whole web.xml is included. This is a very simple
app(actually my second app ever, the first was a simple lookup(which
worked)) so the web.xml that I have created thus far is very small
"http://java.sun.com/dtd/web-app_2_3.dtd";>
Login
my little login app
Login
It's my understanding that the jvmRoute values must match the
worker names in order for mod_jk to know where to route the
request.
In this case, the values should be "live2" and "live3".
G. Wade
Ned Regina wrote:
The jvmRoute attributes are set to tc1 and tc2 respectively. The
jvmRoute suffix
Try this
Login
/Login
Sincerely
Erlis Vidal Santos
> -Original Message-
> From: Duane Kehoe [mailto:[EMAIL PROTECTED]
> Sent: Thursday, October 09, 2003 5:03 PM
> To: Tomcat Users List
> Subject: Re: Web-app setup
>
> Sorry about that the whole web.xml is included. Thi
Oh, no that's not it. It does recompile the code just fine. If you for
example call http://myserver/a-path/index.jsp it works fine. Then
index.jsp will forward to http://myserver/a-path/servlet/MyServlet and
that works just fine. Both path will reflect any changes of the dynamic
content from th
Hi,
Am running my webapp under tomcat 4.1.18. Everything was fine till
yesterday (always is:)).
I am facing this issue today. I wrote a new taglib for a jsp page
called PotatoList.jsp.
Now when i change the value of the Constants.POTATO_LIST_DISPLAY_SIZE
in the Constants.java and "reload" my
Sorry, I misunderstood. So something else here is caching your page. Do
you have a webserver sitting in front of tomcat or just tomcat?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 09, 2003 5:05 PM
To: Tomcat Users List
Subject: RE: Help
http://www.meritonlinesystems.com/docs/apache_tomcat_redhat.html
On Thu, 2003-10-09 at 16:59, Eduardo Vazquez wrote:
> Being new to Linux\Tomcat I've scoured the internet looking for a
> step-by-step showing how to enable tomcat to start on boot with no real
> success. I'm running Red Hat 9.0 w/Ja
Hi,
my Web-Server is behind a firewall-router, which blocks everything
different to Port 80 and redirects the incoming external host-name to the
local real host-name (IP-Adress) of the Server with IIS and Tomcat.
(example: http://xyz-e.de/webapp/ ==> http://xyz-prod.de/webapp)
I had connected
That's ok. Yep, something else. Here's what's in my jsp page: It just forwards to the servlet. It's strange,
if you use the full path to either one you get the updated information
from the database. But if you access using that context I set in the
server.xml it loads the information from the d
Oh, yep just Tomcat no web server.
Thank You,
Justin A. Stanczak
Web Manager
Shake Learning Resource Center
Vincennes University
(812)888-5813
"Lee, PaulNYC" <[EMAIL PROTECTED]>
10/09/2003 04:22 PM
Please respond to "Tomcat Users List"
To: 'Tomcat Users Lis
Will this help.
#!/bin/sh
JAVA_HOME=/usr/j2se
CATALINA_OPTS="-Xms512m -Xmx2000m -Xss8192k"
export JAVA_HOME CATALINA_OPTS
TOMCAT_BIN=/opt/jakarta-tomcat-5.0.12/bin
case "$1" in
start)
echo "Starting Tomcat Server..."
$TOMCAT_BIN/startup.sh
;;
Right on the money. Thanks!
-Original Message-
From: Mike Millson [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 09, 2003 5:27 PM
To: Tomcat Users List
Subject: Re: Start Tomcat on boot
http://www.meritonlinesystems.com/docs/apache_tomcat_redhat.html
On Thu, 2003-10-09 at 16:59, Edua
I just changed the jsp page to a program and removed the jsp:forward and
it works. I set a single parameter that can be supplied and that will make
it print a different set of numbers. When I do that it changes just fine.
So my question is, why will the forward not work?
Thank You,
Justin A.
Hi,
i am still having problems with DBCP 1.0 - TomCat 4.18.
Some hints:
1 - I didnt setted the server.xml up.
2 - I am using the Oracle Thin Driver
3 - I ve created my own connection pooling class, called BeanPoolConn,
which returns a datasource object. See below the main statement:
DriverA
Suppose your domains are: d1,d2; corresponding ips are ip1, ip2.
ip1
..
ip2
..
Please let me if it works.
Srinivasu Gandu <[EMAIL PROTECTED]> wrote:
Hi Lawence,
Would you provide sample host tag or server.xml. I have similar issue here.
I have 2 domains have different ip address
Suggestions:
1. Check the log files for possible error messages $CATALINA_HOME/log
2. Write a java application to try the connection, see what you would get
[EMAIL PROTECTED] wrote:
Hi again,
I'm using version 4.1.27 of tomcat, and my login page is taking forever to
load. I'm not actually gett
I will be out of the office starting 10/10/2003 and will not return until
11/04/2003.
I will respond to your message when I return.
"Dit bericht en eventuele aangehechte bestanden zijn vertrouwelijk en
uitsluitend best
I will be out of the office starting 10/10/2003 and will not return until
11/04/2003.
I will respond to your message when I return.
"Dit bericht en eventuele aangehechte bestanden zijn vertrouwelijk en
uitsluitend best
Title: [tomcat 4.1.2x] Bug in Response Header Encoding ???
Hi all
Has anyone found after upgrading to 4.1.24 / 4.1.27, you cannot download file with filename contains non-iso characters, e.g. big5, etc. The problem seems in header encoding where the servlet engine always encode the headers(e
"Bud P. Bruegger" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> hello everyone,
>
> looked for this all over but couldn't find an answer...
>
> So I would like to ask a question about the auth-method CLIENT-CERT. It
> seems that the username resulting from an authentication is the
"Kenneth Westelinck" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi all,
>
> I've been searching the internet for 2 days now and still haven't found a
> solution for my problem. I am trying to set up a Tomcat 4 server running
in
> HTTPS mode, contacted by a client written in Java
Hi,
We have tomcat 4.1.24 installed. Thanks to tomcat documentation and email archives, we
understood that tomcat logs will be rotated every day.
Would like to know if there we can configure the following for tomcat logs :
1) Keep a maximum of log files in tomcat/logs directory for AccessLog
Client cert verification is done against the TrustStore, not the KeyStore.
Tomcat 5 has some improvements for this. Tomcat 4 is still a bit limited.
> I have no idea what is goin wrong. Can someone tell me how to make this
> work?
>
Assuming that you don't want to just import the signing cert into
I am trying to build a web application from an already existing multi-threaded
server. I have a jar file (for example, server.jar) that contains all the
classes for my server. Is there any way for me to run my server through
Tomcat to allow my JSPs and Servlets to be aware of the running proce
101 - 161 of 161 matches
Mail list logo