Lionel Farbos wrote:
Notes :
- Perhaps your Listener will have to delete other objets like SQL drivers,
commons logger, ...
- see also :
http://opensource2.atlassian.com/confluence/spring/pages/viewpage.action?pageId=2669
Does log4j have some nice method to free all Logger objects? It
On Tuesday, 29 בNovember 2005 03:21, Mieke Banderas wrote:
Oded Arbel said:
b) Even assuming they are right, you still want to choose MySQL over
JVM space databases, because Java and Java databases are very much
thread enabled and create and destroy many threads.
But do they do it mainly
On Tuesday, 29 בNovember 2005 05:12, Mieke Banderas wrote:
I wonder how much faster Linux could run on my G3 server hardware. I
would have lots of work replacing all the built in services in Mac OS
X Server to give me all that control also in Linux, buy maybe I have
to. I'm a bit cashstrapped
--- David W. Brown [EMAIL PROTECTED] wrote:
Hello TC dev and Gurus, I have a webapp comprised of
several Servlets and JSP pages. The webapp is
functioning very well but after a few hours of no
connections or interaction the TC webapp loses its
connection with the MySQL DB. We are using the
Hi,
To the best of my knowledge I must restart Tomcat to be able to read
changes made to the users.xml file. Is there an API (or another way)
that forces Tomcat to read the users.xml file without restarting
Tomcat?
Regards
Roland Rabben
Scala Nordic AS
[EMAIL PROTECTED]
From: Roland Rabben [mailto:[EMAIL PROTECTED]
Hi,
To the best of my knowledge I must restart Tomcat to be able to read
changes made to the users.xml file. Is there an API (or another way)
that forces Tomcat to read the users.xml file without restarting
Tomcat?
Try the admin servlet, that
This is an interesting problem. But first try setting
autoReconnect=true in your connections string.
If you continue to experience a timeout.. Check the logs, and see
what specifically is happening. You may be experiencing an
exhaustion of connections not being released properly.
If
Not a tomcat issue. Its a mysql driver issue. IIRC - there is an
autoreconnect option for the mysql driver.
-Tim
Rajiv Singla wrote:
Hi,
I am working on a web application which uses Tomcat-5.0.27 as Application server and MySql 4.1 as DB server.
The application uses Struts 1.1 and
Also be aware that autoReconnect=true only works (according to the mysql
docs) for Connections with autocommit set to true.
If you are using a connection pool make sure it checks the validity of
Connections every so often. This is configurable for DBCP:
Hello
Can anyone tell me which isapi_redirect dll I need for the environment
specified below. I was going to try JK2 (isapi_redirector2.dll) but from
what I have read this has been deprecated
Environment = Tomcat 4.1, Windows 2003 Server, IIS 6
Hi,
I was already using 'autoReconnect=true' option.
But after going through MySql website, I found that it has been deprecated and
in order to use 'autoReconnect' option you now need to use
'enableDeprecatedAutoreconnect=true'.
I am trying this option for now, if it doesn't work then maybe
Can you please give me an example of how this xml file would look?
Roland
Create a new Context declaration (in a new xml file under the webapps
folder
of your tomcat installation) that points you there.
-Tim
Roland Rabben wrote:
Hi,
I want to map a virtual folder to my Web
Hi!
I am trying to unsubscribe from this newsgroup ( i have sent emails to
unscribing email address listed in each email) but i still keep getting
messages. Can someone tell me how can i unsubscribe successfully.
Thanks for your time,
Regards,
Usman.
Mikolaj Rydzewski wrote:
Aladin Alaily wrote:
Every time I deploy an application using Tomcat 5.5.12, the usual
tomcat icon is being displayed in the url.
I would like to know how I can replace that icon with my own... or
better yet, no put any icon at all.
Google for 'shortcut icon'.
Good Morning Roland
in your server.xml
Context path=/RolandApp docBase=webapps/RolandApp debug=0
reloadable=true
/Context
would map RolandApp to your virtual folder accessed by
http://localhost:8080/RolandApp
HTH
Martin-
- Original Message -
From: Roland Rabben [EMAIL PROTECTED]
Hi friends,
How can I run JSPs on apache server? My apache server is running
on Linux. In fact I have developed some web services in Java (and JSP) and
want to deploy on the same server. Is it possible to deploy them directly or
is there some other way around?
Please advice.
Classification: UNCLASSIFIED
Caveats: NONE
Well, I am assuming you're talking about TOMCAT. It is a JSP/Servlets
container. You should be able to deploy your application without problems.
Have you done that yet ?
Fadi
-Original Message-
From: mukesh [mailto:[EMAIL PROTECTED]
Sent:
Hello,
I've encountered a bug with the 4.1.31 version of Tomcat. Apparently, when
I use an anchor tag for a file, and I click on the link, it does not show the
file download message Do you want to open or save this file? with the open
and save options. Instead, it displays the file in the
Are you doing this?
http://tomcat.apache.org/faq/misc.html#saveas
-Tim
Mike wrote:
Hello,
I've encountered a bug with the 4.1.31 version of Tomcat. Apparently, when
I use an anchor tag for a file, and I click on the link, it does not
show the
file download message Do you want to open or
I'm not doing that, but I'll try it.
Thanks,
Mike
At 08:07 AM 11/29/2005, you wrote:
Are you doing this?
http://tomcat.apache.org/faq/misc.html#saveas
-Tim
Mike wrote:
Hello,
I've encountered a bug with the 4.1.31 version of Tomcat. Apparently, when
I use an anchor tag for a file,
Hello all. I hope your day is going well.
I need your help.
I cannot get a forms based login page to use SSL when I think I've setup
the web.xml correctly.
Why doesn't my login.jsp use HTTPS when tomcat is invoking it for
authorization? (more details at the bottom)
Here are the relevant
From: Oded Arbel [mailto:[EMAIL PROTECTED]
Subject: Re: Java databases as alternative to MySQL on OS X
Server? (OT)
inter-thread communication in java is done through shared
memory - shared variables, but the Java memory sharing model
doesn't really share memory, Instead it uses thread
Security constraints are only imposed on the incoming URL.
Long story short - you'll need to place the entire webapp in SSL. There is no
clean way to use declarative statements to force the login to be SSL and the
rest of the webapp be nonssl.
-Tim
Klotz Jr, Dennis wrote:
Hello all. I
On Tue, 29 Nov 2005 00:39:51 -0600
[EMAIL PROTECTED] wrote:
On Mon, Nov 28, 2005 at 06:24:52PM +0100, Lionel Farbos wrote:
Hi Juan,
I think your problem can't be solved (only) by Tomcat.
The problem is that objets stay in memory because of pointers on static
references...
I am on tomcat 4.1
I am using JDBC connection pooling for MSSQL and
singleton class for JNDI lookup (only once) and get
connection.
Everything is working file. But how to test that
connection pool for 10 (where initial size specified
is 10) has been created ?
I know for mysql it is 'show
Thanks for your reply.
I really hope that isn't the case. I really do not want the
computational overhead of SSL for the rest of my web application. We are
sending back thousands of rows of data.
Paulo, my co-worker, figured out that he could use a redirect inside of
the login.jsp to force the
Hi list,
First of all, sorry for my English, it's not my own language.
I've installed a tomcat (5.5.12) on debian/testing. Tomcat run
perfectly fine with all servlets I got. But one of my webapps
doesn't work. It connetcs to an MySQL-Database. It doesn't found the
drivers. But that's not
On Tue, 29 Nov 2005 09:31:28 +0100
Mikolaj Rydzewski [EMAIL PROTECTED] wrote:
Lionel Farbos wrote:
Notes :
- Perhaps your Listener will have to delete other objets like SQL drivers,
commons logger, ...
- see also :
Manisha,
I do not know how you check in MSSQL.
But, just an FYI
If you setup your connection to ten, ten do not automatically get
created, only one, and as your app requires more connections, more
connections will be created up to a max of ten.
Took me a couple days to figure out that one
I disagree, only the most trivial webapp needs one logger. A web
application consisting of a large number of subsystems, potentially
managed/analysed by different teams should be logged to different
locations. Effective debugging will come down to a well organised
logging structure.
-Original
From: Cristian S [mailto:[EMAIL PROTECTED]
Frankly I have no ideea what's the point of loading almost
400M of data in memory in a HashMap.
Maybe this very approach has a design flaw when it comes to JAVA.
If it's expensive to generate / load that data and the app has tight
response time
I tried that setContentType and fileInputStream solution, but ran into
two problems. First, when I download an Excel file and load the downloaded
file in Excel, it doesn't load in properly. I'm guessing there's some data
transfer problem. Second, the first time I try to download, IE
Hello,
I'm trying to find out the number of requests currently being processed by
my Tomcat server using JMX. I am using Tomcat 5.5.12, where it is no longer
possible to find this out by counting the RequestProcessor beans returned by
a JMX query - I'm told this is because of a new feature (
I said this to simplify
I agree that, in a large webapp, you need several loggers; each logger for a
coherent system.
But you have to control your loggers...
In the initial question, it was like he had one logger for one class...
So, the right answer should be :
in log4j, there is no need
HI,
On Nov 29, 2005, at 5:07 PM, Caldarale, Charles R wrote:
From: Sebastian [mailto:[EMAIL PROTECTED]
Subject: HttpServlet not found?
I compiled it with
javac -cp /home/tomcat/j2ee/lib/j2ee.jar:/home/tomcat/mysql
MyServlet.java.
Using j2ee.jar with Tomcat usually results in much
I am having a tough time finding information on implementing client
authentication. When trying to access my site, I need the user to be
presented with a dialog box asking for a digital certificate. The
certificate needs to be validated then bounced against a list of revoked
certificates, If it
Tomcat currently doesn't support cert validation against CRL. You may
want to use Apache's mod_ssl to do the CRL checking. You will have to
use mod_jk to connect Apache web server with tomcat.
SSL is very computational intensive. Use Apache's httpd to do the SSL
work is more efficient than to
Hello all,
without java nor tomcat experience, I'm now in charge of our web sites.
The first (tomcatweb) has been developped earlier by some one under
tomcat, and works properly with the tomcat server on port 80 (instead of
8080, question of authorisations).
The second (phpweb) has been
Hi,
I'm sure this has been solved and documented already but I can't find
any information, if anyone can help me or point me in the right
direction, I'd be very grateful.
I have an Apache-mod_jk-Tomcat installation. I'm running two sites
on Apache for the same domain but one is HTTP and
Show Processlist will show the number of initial connections at start but does
it show what subsystem a connection is bound to? what if there are multiple
tomcat's connected to one database. How do you differentiate?
Lucuk, Pete [EMAIL PROTECTED] wrote: Manisha,
I do not know how you check
While in https - you'd need to reset the cookie (JSESSIONID) and not have the
secure flag set.
-Tim
Chris Birch wrote:
Hi,
I'm sure this has been solved and documented already but I can't find
any information, if anyone can help me or point me in the right
direction, I'd be very grateful.
Hello,
I am moving a couple of small Java websites for a customer from one hosting
provider to another. Both are RedHat Linux machines with Tomcat 4.1.31 and
Java 1.4.2. On the new server I get the following error the first time I hit
a JSP page on the site.
...
- Root Cause -
You can't do this if both sites are on different machines since tomcat
user ID (defined as a cookie by default), is tied to an url. If both
sites are on different machines, you may have to use url-rewritting for
session tracking instead of using the default cookies.
ND
-Original
Tim,
I'm not an expert with tomcat but how does a site like samsclub.com do
it then? I use their site a lot and it runs jsp's and most of the stuff
is unsecure (http) but when I get ready to do the actual purchase and
log in it is a secure site (https). Is there something that they are
doing,
Thanks for pointing out the gotcha Nick. The sites are both running on
the same server, so I'll follow Tim's suggestion.
Many Thanks for your responses,
Chris.
On 29 Nov 2005, at 17:24, Duan, Nick wrote:
You can't do this if both sites are on different machines since tomcat
user ID (defined
I would bet they are not using security constraints as defined in web.xml. I
would bet they are using a 3rd party solution implemented as a Servlet Filter
or something application server specific to handle this login issue. Notice
they do not use JSESSIONID but something called BV_SessionID as
This regards Tomcat 5.x installation on a Windows system, using the Windows
installer option. I need to integrate Tomcat installation into my installation
program, and Id like to do so silently, but I also need to be able to specify
the location of installation.I can silently install
Hi all. I have a server with multiple applications running under Tomcat 5.5
In TOMCAT_HOME/conf/web.xml session-timeout is set to 30
In TOMCAT_HOME/webapps/myapp/WEB-INF/web.xml session-timeout is set to -1
(infinite)
Users are being timed out of their sessions after 30 minutes as opposed to
Hello, I noticed some strange behavior the other day while load testing my simple web service. First, my environment: I am running Apache Tomcat 5.5.12 with Axis 1.3 on an XP box. I've used Java2WSDL and WSDL2Java to generate the necessary bindings. I used the generated .wsdd file to deploy
Mukesh,
I would use tomcat with Apache to accomplish this...
Or jetty.
the links are below:
To integrate the Tomcat server processes with the Apache HTTP server
we need the mod_jk module, which implements the interface between
Tomcat and Apache, combined with some small steps to
I was planning on doing this by having Apache handle the SSL and using
its configuration file to differentiate between SSL'd areas of the site
and non-SSL'd areas. Is this an option or should i rethink this?
Tim Funk wrote:
I would bet they are not using security constraints as defined in
yes if you're going to implement a simple servlet and you will not be
implementing any (entity) beans
(otherwise take servlet-api.jar off CLASSPATH and put back j2ee.jar to
$J2EE_HOME\lib\j2ee.jar and place on CLASSPATH)
Martin-
- Original Message -
From: Caldarale, Charles R [EMAIL
Thanks for quick reply,
So you mean to say you did not get error for second
request and it created a new connection ? (But this is
for Oracle8i). Whether it means there is a problem for
MSSQL ?
regards
Manisha
--- Lucuk, Pete [EMAIL PROTECTED] wrote:
I used Tomcat 4.1 and got the.
Are there any other services involved (JDBC, etc.) that are referenced by or
in the session, or where the sessions are dependent? Just wondering why TC
threads are invalidating the session...
Another option to test is add a line of code in your login process (whatever
establishes the HttpSession
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Subject: Re: HttpServlet not found?
(otherwise take servlet-api.jar off CLASSPATH and put back
j2ee.jar to $J2EE_HOME\lib\j2ee.jar and place on CLASSPATH)
I think you'll need to do more than that. Tomcat has a variety of class
loaders,
Hi,
You're right, it's probably something screwy with my client. Not sure what
it could be though.
In looking at my Tomcat terminal, i see:
INFO: Starting Coyote HTTP/1.1 on http-8080
Shouldn't I be getting persistent, reusable connections as the default with
HTTP/1.1?
From: Magyar, Bence [mailto:[EMAIL PROTECTED]
Subject: RE: web client running out of ports! (timeout exception)
Shouldn't I be getting persistent, reusable connections as
the default with HTTP/1.1?
I'm sure you are - but it's the client's responsibility to reuse them;
all the server has
Hi!
I am trying to unsubscribe from this newsgroup ( i have sent
emails to unscribing email address listed in each email) but i still
keep getting messages. Can someone tell me how can i unsubscribe
successfully.
Thanks for your time,
Regards,
Usman.
Hello,
I have tomcat
everything was working fine and suddenly nothing is!!
I was doing a shutdown.sh and now I can't even start it up.
I get the following error:
This release of Apache Tomcat was packaged to run on J2SE 5.0
or later. It can be run on earlier JVMs by downloading and
installing
Let me add more info:
Tomcat version: 5.5.9
JVM Version 1.5.0-04-b05
OS Name = SunOS
OS Version = 5.9
I must have done something but I have no idea what!!
Please help me!
-Original Message-
From: Bachler, Elisabeth (Elisabeth) [mailto:[EMAIL PROTECTED]
Sent: martes, 29 de noviembre de
Sorry,
I'm quite new with all of this. I've created a java client to my tomcat web
service using the Java2WSDL2 utility and WSDL2Java utility. Correct me if I'm
wrong, I believe this is called the stub client model. At any rate, my
main() function in my client looks like:
// get the
That's indeed good news. I'd really like to know the result and
appreciate any details.
Tomcat 5.5 supposed to run on JDK 1.5. Why was it compiled with JDK
1.4?
ND
-Original Message-
From: Kennedy Roberts [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 29, 2005 3:24 PM
To: Tomcat
On 11/29/05, Bachler, Elisabeth (Elisabeth) [EMAIL PROTECTED] wrote:
Let me add more info:
Tomcat version: 5.5.9
JVM Version 1.5.0-04-b05
OS Name = SunOS
OS Version = 5.9
I must have done something but I have no idea what!!
Please help me!
You may think you're using JDK 1.5, but Tomcat
On Tuesday, 29 בNovember 2005 17:28, Caldarale, Charles R wrote:
From: Oded Arbel [mailto:[EMAIL PROTECTED]
Subject: Re: Java databases as alternative to MySQL on OS X
Server? (OT)
inter-thread communication in java is done through shared
memory - shared variables, but the Java memory
Have you cleared the tomcat work directory?
LArry
On 11/29/05, Bachler, Elisabeth (Elisabeth) [EMAIL PROTECTED] wrote:
I just had a look in the catalina.out and I have an error with log4j:
log4j:WARN Failed to set property [maxBackupIndex] to value 10 // Keep 10
backup file maximum.
and
Hi all,
I installed apache 2.0.55, tomcat 5.0.28, and mod_jk 1.2.15 on a
solaris 5.9unix machine.
Before I connected apache and tomcat, both of them work fine if I start them
up as seperate servers.
Mod_jk is complied from source code and mod_jk.so is copied to
apache/modules/
The connected
The official tomcat 5.5.12 was compiled and packaged with J2SE5.0, not
JDK 1.4. You'll get an error message if you run tomcat on 1.4.
ND
-Original Message-
From: Mark Thomas [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 29, 2005 4:46 PM
To: Tomcat Users List
Subject: Re:
Duan, Nick wrote:
The official tomcat 5.5.12 was compiled and packaged with J2SE5.0, not
JDK 1.4. You'll get an error message if you run tomcat on 1.4.
ND
Um, no it wasn't. It was built using 1.4. That is why the 5.0 specific
stuff is missing.
Mark
The JAVA_HOME variable points to /usr/java that seems to be the correct
thing.
How can I be sure?
-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: martes, 29 de noviembre de 2005 22:22
To: Tomcat Users List
Subject: Re: Tomcat suddenly not working
On 11/29/05,
Thank you to everyone for your great help. Someone from my team, without
telling me, updated the jdk. Now, JAVA_HOME is pointing to the correct
directory and everything is working.
Once again, thank you
-Original Message-
From: Bachler, Elisabeth (Elisabeth) [mailto:[EMAIL PROTECTED]
(sorry if I send this message twice, I didn't get the first one)
Hi all,
I installed apache 2.0.55, tomcat 5.0.28, and mod_jk 1.2.15 on a
solaris 5.9unix machine.
Before I connected apache and tomcat, both of them work fine if I start them
up as seperate servers.
Mod_jk is complied from source
From: Oded Arbel [mailto:[EMAIL PROTECTED]
Subject: Re: Java databases as alternative to MySQL on OS X
Server? (OT)
Please read up on your Java memory model. What you describe
is a nice abstraction that many Java developers have in their
mind, but is technically not correct and can't be
Hello guys,
I am trying to figure this one out for weeks. Nothing seems to work and I am
running out of ideas. The problem seems to be with Mod JK, as Apache and Tomcat
work without problems on their own.
Below are all the main configuration files, as well as the error log (at the
bottom) :
Since I am a new user of mod_jk, please correct me if I am wrong.
In your apache httpd.conf, you set:
JkWorkersFile /var/tomcat/conf/workers.properties
I remember workers.properties is located in apache/conf/, the same
directory with httpd.conf..
And, do you indicate the location of tomcat
What OS are you wanting to install Tomcat on?
And did you want to just run Tomcat Standalone, or put it inside Apache?
- Original Message -
From: blueberry lake [EMAIL PROTECTED]
To: users@tomcat.apache.org
Sent: Tuesday, November 29, 2005 7:47 PM
Subject: confusion of tomcat
Hello,
I am running Tomcat Standalone on a XP system. Anyway, I have finished up with
Verisign, and I my certificate installed and ready to go but now the real
quesiton.
How do I configure some of my pages to use https? I do not know where to begin
on this? Anyone able to assist?
Thanks
Scott Purcell wrote:
How do I configure some of my pages to use https? I do not know
where to begin on this?
Begin with the Servlet Spec. -- SRV.12 (Security) would be apropos :-)
HTH!
--
Hassan Schroeder - [EMAIL PROTECTED]
Webtuitive Design === (+1)
Real helpful ... I searched on SRV.12 and it brought up a bunch of links
that have nothing to do with Tomcat config of SSL.
I probably posted a lame request. Let me try again.
I have purchased a certificate via Verisign, and I have installed the
certificate into a keystore. I am running Windows
I posted earlier about having some issues trying to get SSL configured on my
Tomcat 5.5.12. Anyway, I changed some settings in my server.xml for my
keystore, and see no errors being thrown under the logs/ directory. I checked
stdout, stderr, but see no errors.
I know that if I am using the
-- Define a SSL Coyote HTTP/1.1 Connector on port 8443 --
!--
Connector
port=8443 minProcessors=5 maxProcessors=75
enableLookups=true disableUploadTimeout=true
acceptCount=100 debug=0 scheme=https secure=true;
clientAuth=false sslProtocol=TLS/
--
Yes Thanks David,
I did add the keystoreFile=XXX and keystorePass=xxx. But it still
hangs. Since I was on Windows I used a full path to the file. I forgot
about the security constraint element. Thanks I will give that a try and
post back.
Do I need the security element if I just try
Thanks for the link ...
I think first I need to be able to hit the https://localhost:8443 before
going any further? Once that is working ... then hopefully I can figure out
how to restrict certain pages.
- Original Message -
From: Hassan Schroeder [EMAIL PROTECTED]
To: Tomcat Users
From: Magyar, Bence [mailto:[EMAIL PROTECTED]
Subject: Java client does not re-use TCP/IP connections.
For each one of these invocations, my client creates a new
TCP/IP connection to the service instead of reusing the
existing one. Am I missing some critical parameter
in my Stub
I just want to use 'Server Push' to write a chating root.
2005/11/25, Hassan Schroeder [EMAIL PROTECTED]:
Andrew.du wrote:
Can somebody tell me server push?
C'mon, the *first* hit from googling server push is this classic
(and definitive) page:
Yes,the http://www.pushlets.com/; is good!
Thanks!
2005/11/25, Dhaval Patel [EMAIL PROTECTED]:
Hi,
I dont know about your environment. But I know few things about push that
I
would like to share.
I researched push a while ago. Basically I was looking for server push.
HTTP
is not push
Scott Purcell [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Real helpful ... I searched on SRV.12 and it brought up a bunch of links
that have nothing to do with Tomcat config of SSL.
I probably posted a lame request. Let me try again.
I have purchased a certificate via
Maybe the user hit the stop button on the browser while downloading a page
or binary.
IIRC this will give you IOExceptions in your servlet when trying to push
more data in the dead connection.
It could also be your firewall, that times out connections which have not
been used for some time.
If
87 matches
Mail list logo