Mats Nyberg wrote:
Craig R. McClanahan wrote:
On Fri, 10 May 2002, Mats Nyberg wrote:
Date: Fri, 10 May 2002 20:00:51 +0200
From: Mats Nyberg [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re: automatic login
locking
put -Xmx512m on option (512 is max memory before it crash)
- Original Message -
From: Micael Padraig Og mac Grene [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Sunday, May 12, 2002 10:20 PM
Subject: Re: Out Of Memory Error
My guess, though, is that you are trying to
Hi List
How do I restrict directory listings in Tomcat?
Jacob Vennervald
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Dear Friends,
Problem I have expleined below. This is just to update, my tomcat is running
on Windows NT4.0,
I would be deeply thanks full for your Great help. If any one can send me
the solution.
Thanks
--
Hello Friends,
I
Found it.
It's a setting in web.xml.
Sorry.
Jacob
-Original Message-
From: Jacob Vennervald Madsen
Sent: 13. maj 2002 09:49
To: Tomcat Users List
Subject: Restrict dir listings
Hi List
How do I restrict directory listings in Tomcat?
Jacob Vennervald
--
To
Hi,
Maybe your question is not clear enough but:
if you can access http://IP-Adr:8080/myjsp.jsp
and you have a domainname mapped to the IP
then you can access your JSP with:
http://www.mydomain.com:8080/myjsp.jsp
If you want to have access with:
http://www.mydomain.com/myjsp.jsp
you will need
Hi
i get the following exception in my tomcat environment:
javax.servlet.ServletException: class de.gama.adr.manager.AdressManager
: java.lang.SecurityException: Sealing violation loading
javax.transaction.SystemException : Package javax.transaction is sealed.
i don't know what to do with this
Hi!
This would work so long as you don't already have a web-server running on port 80 -
otherwise, you could use Tomcat as a servlet container within the web-server. IIRC the
documentation for Tomcat 3.3 has a how-to about using an isapi_redirect dll with IIS,
or if you use Apache turn on
Hi everybody !
Well
Working on SOLARIS8 with Apache1.3.22/Tomcat 4.0.2-Final and Warp 1.0.2
I find the http://MyServer/webapp-info very usefull for many things.
I customized the manager to manage my Servlets Zone and it works good
with the basic tomcat-users.xml meyhod.
I added
WebAppInfo
Hi everybody !
Well
Working on SOLARIS8 with Apache1.3.22/Tomcat 4.0.2-Final and Warp 1.0.2
I find the http://MyServer/webapp-info very usefull for many things.
I customized the manager to manage my Servlets Zone and it works good
with the basic tomcat-users.xml meyhod.
I added
WebAppInfo
We are having a problem with a jdbc connection object between tomcat
(linux 2.4.18 - tomcat 3.3.1) and an oracle server (HP-UX 11i Oracle
8.1. The 2 machines are separated by a firewall which was
configured to allow access to the oracle server from the tomcat server
only.
We can see that the
sounds like a bug in your connection pooling software..
hope it helps
-reynir
-Original Message-
From: Carlos Javier Ramos [mailto:[EMAIL PROTECTED]]
Sent: 13. maí 2002 09:27
To: Tomcat Users List
Subject: Disconnection from Oracle.
We are having a problem with a jdbc
We are experiencing the same issue. It all worked fine until we put the
firewall in. This appears to be a bug in the firewalls or the way java or
oracle handle them. All you can do is make sure it recreates the connection.
The way we had to test it was to create a statement as checking to see if
Carlos Javier Ramos wrote:
We are having a problem with a jdbc connection object between tomcat
(linux 2.4.18 - tomcat 3.3.1) and an oracle server (HP-UX 11i Oracle
8.1. The 2 machines are separated by a firewall which was
configured to allow access to the oracle server from the tomcat
We use persistant connections. It does it to us even so. It is more likely
that the firewall has an idle time or a max timeout for a connection on the
udp port 1521 or whatever you have set it to run on.
-Original Message-
From: Skondras P. [mailto:[EMAIL PROTECTED]]
Sent: 13 May 2002
Which firewall are you using? It's probably configurable.
-Original Message-
From: Stuart Stephen [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 13, 2002 4:14 AM
To: Tomcat Users List
Subject: RE: Disconnection from Oracle.
We use persistant connections. It does it to us even so. It is
JDBC driver stablish connections to oracle server. Those connections are
opened until you close or the server close.
Some firewalls closes too long connections (for secutiry reasons). Check
firewall config...
-Mensaje original-
De: Carlos Javier Ramos [mailto:[EMAIL PROTECTED]]
Enviado
Vincenzo Marchese wrote:
by the way, vincenzo: your idea worked - will write HOWTO for the list
No doubt Mats ;)
we use it in a production site :)
The only potential flaw is that if you look in your browser's cache
you may find the authentication form filled with username and
I'm having an Applet oppening a URLConnection with a servlet and sending
an object.
Here's the Applet side of the communication:
//This is the method initiating the connection
public void available(SellOrder o) throws Exception
{
URL servlet = new URL(http, localhost, 8080,
We don't configure it ourselves, we have a partner company deal with it.
They are looking into it for us at the moment.
-Original Message-
From: Robert Morse [mailto:[EMAIL PROTECTED]]
Sent: 13 May 2002 12:17
To: Tomcat Users List
Subject: RE: Disconnection from Oracle.
Which firewall
It'll only bring you pain and grief, but here's how I did it on linux:q
http://www.pubbitch.org/jboss
I'll test with the latest CVS when I get a chance and update the
HOWTO. There's been a site with tips for win32 that's been posted to
the list several times. Have a root through the archives
sir,
i am using tomacat stand alone server in win2000. i have installed
it in two systems, but in one ther is an exception report looks
like the following.
catalina.start: LifecycleException: null.open:
java.net.BindException: Address in use: JVM_Bind:8080
But the same jproblem was seen
Sir,
I made a chat(Applet-JSP communication), and uploaded to a LINUX, Tomcat
server(in web). But when more than 3 users are logging, then the entire site
shows 'Page cannot be displayed error'.
But when i uploaded the same code in another FREE server(i think they are
also using Linux tomcat),
try shutdown.bat for starters.
the two systems are installed on separate machines i assume?
~mats
dhyan S Raj wrote:
sir,
i am using tomacat stand alone server in win2000. i have installed it
in two systems, but in one ther is an exception report looks like the
following.
Via build-solaris.sh I'm trying to build the mod_jk.so
but I'm receiving the following error:
..
PIC -DSHARED_MODULE -I/sag/sag/Apache/include -I../common
-I/usr/java/include -I
/usr/java/include/solaris -DSOLARIS -c ../common/jk_msg_buff.c
cc -DSOLARIS2=280 -DUSE_EXPAT
If you are using SQL server there is a line you need to put into the connect
string so that it doesn't hold onto the results. We ran into this as well
for MSSql 7. I will try and dig up the correct option.
Kevin
-Original Message-
From: Micael Padraig Og mac Grene [mailto:[EMAIL
This looks like something to do with your CATALINA_HOME directory. I had
problems installing to Program Files/Apache Tomcat, because of the space in
Program Files. You could try moving/re-installing your tomcat to somewhere
else without spaces in the pathname - like c:\dev\tomcat4.0.3 or
The Tomcat document config/context.html contains the following statement :
You may define as many Context elements as you wish, nested within a Host
element in conf/server.xml. Each such Context MUST have a unique context
path, which is defined by the path attribute. In addition, you MUST define
Hi Abraham,
I am using a script that is very similar to one that I found in earlier
postings of this forum. I created it with the webadmin, named it
tomcat, and it installed n init.d. It seem to start tomcat well in
Linux RedHat v7.x. I did not link it to the user tomcat like the
postings of
Hi,
I'm using Tomcat4.0.3 with IIS5.0.
I can run servlet without trouble on Tomcat. But,
when I run a servlet which use xml-API, Tomcat shutdown itself, And I've
this message :
Unexpected Signal : EXCEPTION_GUARD_PAGE occured at PC=0*6d33dfde
Function=JVM_DisableCompiler
my saga continues...
i have read the following instructions in the mail archives on how i can
build mod_jk:
- ./configure --enable-EAPI --with-java-home=/usr/local/jdk1.2-blackdown \
--with-apxs=/usr/sbin/apxs
(i think it configured okay as there was no error at the end.)
- gmake
the
Did you try using -- request.getsession(false)?
gOOd day.
---
V R Chinni (DPRA).
Contractor for EPA.
214-665-6783
Hi,
I've created a new context for my apps. All works fine but when I add a
web.xml file in my /WEB-INF, Tomcat write an XmMapper Error (appears when I
launch Tomcat).
What the pb???
Thanks
Jc
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL
hi everyone,
when I retrieve mod_webapp from CVS server , everything is OK.
but now, when I run ./support/buildconf.sh from
$BASE/jakarta-tomcat-connectors/webapp
this scripts tells me that my autoconf version is too old:
autoconf version 2.13 found.
autoconf version 2.52 or newer required to
Hi.
Sorry if I have missed it - but I have searched the mail archive and read the Tomcat
pages at Jakarta.
I fail to see the authoritative, working example as to how Tomcat is configured to
allow an application to connect with external EJB resources.
Could someone please provide this? I have
Well, I'm probably not using this the best way, but I
just have my ant prod_dist wrap up the project as
ROOT.war and drop it in webapps/
I have webapps nfs-shared, and I have tomcat running
as a member of group web, so when I run ant with
prod_dist target, that deletes the
/mount/webapps/ROOT,
Hi all,
Apache : 1.3.x
Tomcat : 3.x
I am having a problem in that suddently, for some reason( no changes have
been made to eith my apache or tomcat configuarion for the past 9 months ) ,
Tomcat's session id ( jsessionid ) is getting included in the HTML URLs that
are generated from the JSP code
It sounds like you've got cookies turned off in your browser. Is it possible that
your browser configuration has changed recently?
-Original Message-
From: Mark Williams [mailto:[EMAIL PROTECTED]]
Sent: May 13, 2002 11:02 AM
To: [EMAIL PROTECTED]
Subject: jsessionid suddenly appearing
No, i've checked on multiple browsers with cookies turned on. THe problem
still exists. Sorry I didn't mentio this in my original post, I forgot.
-Original Message-
From: Galbraith, Paul [mailto:[EMAIL PROTECTED]]
Sent: 13 May 2002 16:13
To: Tomcat Users List
Subject: RE:
What does the SessionId / tag look like in your server.xml file?
-Original Message-
From: Mark Williams [mailto:[EMAIL PROTECTED]]
Sent: May 13, 2002 11:22 AM
To: Tomcat Users List
Subject: RE: jsessionid suddenly appearing in the HTML links
No, i've checked on multiple browsers with
Hi,
Thanks for your reply. I looked for the tag and there isn't one, what I did
find was this :
!-- Request processing --
!-- Session interceptor will extract the session id from cookies
and
deal with URL rewriting ( by fixing the URL ). If you wish to
No you should leave noCookies=false, the double negative implying that cookies may
be used, which is what you want.
Are you using Tomcat 3.2? I use 3.3, and it looks like the configuration syntax is a
little different. Anyways, since you haven't touched the server.xml file, I'd be
inclined
Hi,
I'm using Tomcat 3.2.1 the offending JSP file is copied below ( note: I am
using mod_jserv rather then mod_jk as I could not get mod_jk to compile,
should I re-try to compile mod_jk? ) :
%@ page language=java
errorPage=Error.jsp
import=java.util.*
%
jsp:useBean id=SearchUnit scope=session
Greetings.
Someone in the turbine-users list suggested I post this message here:
Could someone please explain to me the correct way to configure Tomcat to
use several Turbine web-app's that are shared between each other.
For example, I have web-app's A, B C.
A - contains velocity stuff and a
This would append jsessionid..
response.encodeURL(UnitSearch.jsp?type=CS)
depending upon what other settings (ie url-rewriting enabled).
From: Mark Williams [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: RE: jsessionid suddenly
Post the web.xml file.
--JG
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 13, 2002 8:21 AM
To: [EMAIL PROTECTED]
Subject: tomcat doesn't find http://java.sun.com/dtd/web-app_2_3.dtd
Hi,
I've created a new context for my apps. All works fine but
Here is my problem
To keep track of the session when I redirect from http to https, I am
setting cookie = false and encoding the redirect URL using
response.encodeRedirectURL(myurl);
Everything works fine.
But when I add mod_webapp to this, there are problems. I figured out a
cookie is set
Hi all
It appears that there is some problem with mod_jk and Apache 2.0. When I
access a Tomcat page using Netscape 4.x, part of the page displays, the
browser hangs,
and eventually displays Document done without showing the entire page.
When I use Netscape 6.0 or IE, however, I don't have this
Tomcat 4.0.3 on Sun Solaris 7.
Most of the time, the manager app successfully reloads
my application. But sometimes when I make changes to a
class that is packaged in a jar file in WEB-INF/lib, the
reload fails with a java.lang.NoClassDefFoundError for
some of the classes in that WEB-INF/lib jar
Tomcat users,
I'm running Tomcat 3.3 with multiple virtual hosts and using the handy
feature where Tomcat reads the $TOMCAT_HOME/conf/apps-user.xml files for
each web app. Things are working well, but I believe all the web
applications are being mapped to the /ROOT webapp, which isn't what I
I don't think there is an error. path= has a special meaning,
i.e. this is the default context. When a request fails
to match any other context, the request is sent to the default
context.
Internally, the default context is assigned the name ROOT.
That name is displayed in the startup messages
Larry,
Thanks for the additional information. Upon further reflection, I
notice that all JSPs are compiled into the following directory:
$TOMCAT_HOME/work/DEFAULT/examples/jsp
The problem is that requests to domain1.com/examples/ and
domain2.com/examples/ are treated the same, and I
Many thanks.
-George
-Original Message-
From: Douglas, Rory [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 13, 2002 3:56 PM
To: 'Tomcat Users List'
Subject: RE: Applet-servlet communication problem with Tomcat 4.0.3
This looks like something to do with your CATALINA_HOME directory. I had
Brian Tol writes:
Not sure if this is a user or developer question, but I thought I'd
start here:
Does anybody know if an Apache/Tomcat combination connected through
ajpv13 meetings VISA's security requirements?
http://usa.visa.com/media/business/cisp8_pd.pdf
In particular,
I am running Tomcat 4.0.3 on HP-UX 11 with HP's 1.3 JDK. I am running with all the
default server.xml settings.
Tomcat seems to start up and run fine. I can access all the JSP and Servlet examples
fine. However, when I run shutdown.sh, tomcat never shuts down. The Catalina.out log
file
are you using connections to a DB? I have a similar problem becuse I use a
pool of connections and the connections died, then when I tried to shutdown
the tomcat had the similar problem I used kill-9, after that I worked on the
connection pool. check that, It could help you.
-Mensaje
I'm trying to tunnel https through a proxy using the CONNECT method.
tomcat 4.1-dev is running with a connector expection an https connection
on port 445. The proxy returns a 200 to the client which then attempts
to create the tunneled connection and do a handshake. The error I get
is
This post is not directly tomcat related but since most people on the list
would be frequent browsers of the java website, I thought I would take a
chance.
Is the java and Sun website broken? I am getting a lot of broken links all
over. Around the same time, Sun upgraded its website, I
The JVM Bind means that a socket that the old class was bound to is still open and the
new version of the class is trying to open a socket on the same port and can't. Is
there a TCP/IP listener in your class?? You might need to put a means of shutdown
into the class so it will cleanly close
When using a validator for a tag library how can I set the encoding for the
xml file passed to the validator.
I am using tomcat 4.0.1.
Tomcat is passing to the validator:
?xml version=1.0 encoding=UTF-8?
jsp:root xmlns:jsp=http://java.sun.com/JSP/Page; version=1.2
xmlns:list=list
We have been using the O'Reilly multipart upload code, but
are having problems uploading image (jpg, gif) files. I have
tried this on Tomcat 3.3, 4.0.3 and 4.0.425 with same results.
Same results going thru IIS front end and talking
directly to tomcat on port 8080.
The uploaded file is
Seems to be working for me. Of course I find the fact that the whole
sun.com site is static html and cgi very disheartening...
--- Milind Nirgun [EMAIL PROTECTED] wrote:
This post is not directly tomcat related but since most people on the
list
would be frequent browsers of the java
Try setting debug=1 on the SimpleMapper1 ... element in your
server.xml. This will cause a group of lines to appear in the
Tomcat log for each request. The first of these lines identifies
the host Tomcat thinks the request is for. Do you see the
different host names here?
Cheers,
Larry
Hello,
My outgoing smtp server is using non-default port number to get emails through. It is
not
25, which is by default set by tomcat. I tried to find the answer but it seems that no
one ever had to use other port number but 25.
Can anyone suggest a solution?
hostname:2525 did not work when
The firstime (after restarting tomcat) I try to run a particular servlet I
receive the following message:
Apache Tomcat/4.0.3 - HTTP Status 404 - /indago.server.web.GetMenuServlet
type Status report
message /indago.server.web.GetMenuServlet
description The requested resource
Larry,
Thanks for the suggestion. I made this change and made a request to
nickmain.spinweb.net to snoop.jsp and got the following output:
2002-05-13 14:58:44 - ContextManager: Host = nickmain.spinweb.net
2002-05-13 14:58:44 - ContextManager: SM: Prefix match
/examples/jsp/snp/snoop.jsp -
Is there a mail.smtp.port as in stand alone JavaMail application?
Jim
- Original Message -
From: Maya Vayner [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, May 13, 2002 4:06 PM
Subject: How can I change outgoing email server port number from default to
something
Mark,
I can't think of anything obvious that would be causing the problem. The code was
written to work both with and without cookies (though maybe only tested with cookies?).
Have you tried connecting directly to tomcat using port 8080 (if you've left it
enabled)? I don't use Apache
Or just set mail.smtp.port=newPort into the properties when you create a
session.
Jim
- Original Message -
From: Xinji Gu [EMAIL PROTECTED]
Is there a mail.smtp.port as in stand alone JavaMail application?
Jim
- Original Message -
From: Maya Vayner [EMAIL PROTECTED]
To:
Yes, this works:
mail.smtp.port
Thank you, Xinji.
Maya
--- Xinji Gu [EMAIL PROTECTED] wrote:
Is there a mail.smtp.port as in stand alone JavaMail application?
Jim
- Original Message -
From: Maya Vayner [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, May
Hi,
I'm trying to get the original URL of the page that caused and exception
from an error page.
http://www.jguru.com/faq/view.jsp?EID=227459
Has a solution and an explanation as to why it does not work. Does anyone
know of a solution?
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
Make sure you have the latest version of mod_webapp installed. There
was a bug in multipart handling in earlier versions.
--- Lawlor, Frank [EMAIL PROTECTED] wrote:
We have been using the O'Reilly multipart upload code, but
are having problems uploading image (jpg, gif) files. I have
Hi
I have a requirement of a single log file instead of having the default log
files created on a daily basis. Since I could not configure Tomcat for this,
I started writing my own MyFileLogger class. I am extending
org.apache.catalina.logger.LoggerBase and my class is in my own package. But
Hi
Does anybody help me finding out right commercial supporting company
for apache +tomcat on windows other than covalent ?
thanks in advance
BM
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Hi Mark,
The reason why the jsessionid param is appearing is because someone may have
have disabled cookies in your web browser. By default if the web-browser you
are using allows cookie handling, the jsessionid param is not attached to
the urls...You may want to ensure that all your url links
try http://www.multitask.com.au/default.html?page=mtSOS
jake
At 05:07 PM 5/13/2002 -0700, you wrote:
Hi
Does anybody help me finding out right commercial supporting company
for apache +tomcat on windows other than covalent ?
thanks in advance
BM
--
To unsubscribe, e-mail: mailto:[EMAIL
Or create a your session in index.jsp...
-Original Message-
From: Rick Fincher [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 07, 2002 2:21 PM
To: Tomcat Users List
Subject: Re: Frameset problem
If your index.jsp is a frameset each frame gets called with a different
session number.
I'm using Tomcat3.2 and SQL server2000. I'm facing two problems mentioned
below..
1.The VM size of Tomcat's java.exe process increases gradually and it
doesn't come down. As a result machine hangs.I've closed database
connections and Resultset's everywhere I accessed database.
2. On running
You are really going to have to look at this more closely before
pointing fingers :)
2 days with that many hits is actually a slow leak unless you have a lot
of RAM. Still, a leak.
The leak could be in the JDBC driver, your code, or any other library
(including Tomcat).
Have you upgraded to
Hi Rajesh,
Let me know about your JDBC.
I suppose you are using JNI for Database connectivity.
Regards,
Watanabe
In the message VM size increases.
[EMAIL PROTECTED]
Rajesh Mishra [EMAIL PROTECTED] wrote:
Rajesh I'm using Tomcat3.2 and SQL server2000. I'm facing two
Rajesh
Hi Toru,
I'm using jdbc-odbc driver to connect to SQL server.
Regards
Rajesh
-Original Message-
From: Toru Watanabe [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 14, 2002 10:45 AM
To: Tomcat Users List
Subject: Re: VM size increases.
Hi Rajesh,
Let me know about your JDBC.
I
81 matches
Mail list logo