You could write a filter to do this. So if the filter see's the shorter
url it can redirect/forward to the longer url.
Subir
-Original Message-
From: David Wall [mailto:[EMAIL PROTECTED]
Sent: Monday, March 07, 2005 11:26 AM
To: Tomcat Users List
Subject: Tomcat 4.1 and
a problem.Thanks for the answers.RR.-
[EMAIL PROTECTED]Re: Tomcat 4.1/java 1.4.1.02/winxp/Download a xml file from a server("Content-Disposition",
"attachment;filename=\"" + nombreBorrador+"\"");
I think the end result is supposed to be:
"attachment
(Content-Disposition,
attachment;filename=\ + nombreBorrador+\);
I think the end result is supposed to be:
attachment;filename=filename.ext
without the quotes around the filename.
-
To unsubscribe, e-mail: [EMAIL
If virtual hosts are your only need, then forget apache and jk. If there is
another reason for apache, then ok.
Also, you may want to move up to 5.x to get better support on the list and
performance that can match Apache.
I, for one, have never touched 4.x Tomcat.
If you need Apache
hi everyone.
The problem did show up again in the web application.
So the solution of upgrading the dbcp.jar helped performance but did not
solve the situation.
I found this site:
http://java.sun.com/j2se/1.3/docs/guide/jdbc/getstart/bridge.doc.html/
...
The JDBC-ODBC Bridge driver is
I think i should add something to my own thread.
I check the site of dbcp
http://jakarta.apache.org/commons/dbcp/downloads.html
and found that i had the old version of commons-dbcp (1.1) and
commons-pool (1.2)
the release notes say something about Performance optimizations in the
Return Receipt
Your Re: Tomcat 4.1 DBCP DB2 Problem
document
Hi,
as i conclude from the tomcat documentation, a default session manager
is used when you do not specify one in your Context.
What i wanna do is changing the default session manager (with jdbc
based store). Is there a way to do this (Tomcat 4.1)?
Yup. Just declare the session manager you
Hi,
sorry, that was not what i meant, my fault. What i mean is: can i
change the default session manager in a general way. I don't want to
create a .xml file for each webapp and include a Manager
element(just read: i can't, because the application using the tomcat
doesn't allow me to do
PROTECTED]
Sent: Friday, December 03, 2004 8:27 AM
To: Tomcat Users List; Shapira, Yoav
Subject: RE: tomcat 4.1 + default session manager
Hi,
sorry, that was not what i meant, my fault. What i mean is: can i
change the default session manager in a general way. I don't want to
create a .xml file
I missed the following important information that was in the Tomcat
documentation, that wasn't in the book I was reading. I am currently
getting the following exception in my log file when executing a servlet
that obtains a DataSource using the JNDI InitialContext. I previously
thought it might be
Dave-
Please post the non-ssl and ssl connector fields from your server.xml file
Azam Khan
-Original Message-
From: David Austin [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 10, 2004 9:53 AM
To: [EMAIL PROTECTED]
Subject: Tomcat - 4.1 - SSL redirect only works on ports 80 and 443
Ok, here are my connector tags:
!-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8080 --
Connector className=org.apache.coyote.tomcat4.CoyoteConnector
port=8080 minProcessors=5 maxProcessors=75
enableLookups=true redirectPort=8443
Hi,
1. How do I stop the window started my Catalina from disappearing so I
can see what the problem is.
Use catalina.bat run instead of startup.bat (which calls catalina.bat
start).
2. In Tomcat 4.0 can I have a config file for my application rather
than
adding it to server.xml
No.
3. I am
Thanks very much all working, the problem was I had removed docbase
paramter not hinking it was needed because the code was hosted directly
under webapps.
BTW username is correct in TC4.
My context is privileged just because I copied it from somehwere else
without knowing what it meant, no
The tomcat logs are in the logs directory under your tomcat home. I can't provide any
assisstance without the details from them. At a guess you're suffering an out of
memory exception from an application memory leak but I can't be certain.
-Original Message-
From: Richard [mailto:[EMAIL
Hello Tomcat Users List [EMAIL PROTECTED],
This refers to your mail with subject as RE: Tomcat 4.1 random crashes.
Thank you for sending your CV and registering with A.S. Consultancy Services.
Our team will review your CV and match it against current requirements. If your
profile matches
OK here's my $CATALINA_HOME/logs/catalina.out file from about 09:30
this morning (BST). At this point the server wasn't working and I did
a restart:
11 Oct 2004 09:26:04,292 [Thread-14] DEBUG (BrokerPool.java [sync]:334)
- syncing buffers to disk
11 Oct 2004 09:26:04,293 [Thread-14] INFO
Hello Tomcat Users List [EMAIL PROTECTED],
This refers to your mail with subject as Re: Tomcat 4.1 random crashes.
Thank you for sending your CV and registering with A.S. Consultancy Services.
Our team will review your CV and match it against current requirements. If your
profile matches
lead you to the root cause of the crashes.
Ta
Matt
-Original Message-
From: Richard Lewis [mailto:[EMAIL PROTECTED]
Sent: 11 October 2004 10:54
To: Tomcat Users List
Subject: Re: Tomcat 4.1 random crashes
OK here's my $CATALINA_HOME/logs/catalina.out file from about 09:30
this morning
Hello Tomcat Users List [EMAIL PROTECTED],
This refers to your mail with subject as RE: Tomcat 4.1 random crashes.
Thank you for sending your CV and registering with A.S. Consultancy Services.
Our team will review your CV and match it against current requirements. If your
profile matches
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 28, 2004 3:37 PM
To: Tomcat Users List
Subject: Re: Tomcat 4.1 Connection Pooling...
Just a thought (and I apologize if this was already mentioned.I
missed the very beginning of the thread), but I would also make sure you
have the latest
: Shilpa Nalgonda [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 22, 2004 11:05 AM
To: Tomcat Users List
Subject: RE: Tomcat 4.1 Connection Pooling...
Thanks.
Maybe its the parameter configuration can you send me your configuration for
connection pooling...
I am using these parameters
Subject: RE: Tomcat 4.1 Connection Pooling...
Is it necessary to add this in web.xml, i have configured datasource
for
connectonpool only in server.xml...
web.xml
---
resource-ref
res-ref-namejdbc/myoracle/res-ref-name
res-typejavax.sql.DataSource/res-type
res-authContainer/res-auth
/resource
)
at
com.mypublisher.oemapi.DAO.DBAccess.getConnection(DBAccess.java:43)
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 28, 2004 12:53 PM
To: Tomcat Users List
Subject: RE: Tomcat 4.1 Connection Pooling...
Hi,
Yes, it's needed if you're using server-provided connection pooling
PROTECTED]
Sent: Tuesday, September 28, 2004 12:55 PM
To: Tomcat Users List
Subject: RE: Tomcat 4.1 Connection Pooling...
But my application runs fine even with out that entry in web.xml, i am
using
Tomcats ConnectionPooling to connect to database..I only have
scalability
issue, when i test my
O.k thanks i'll do that, but what exactly you mean by
Tomcat tries to accommodate clueless users., i did not quite understand..
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 28, 2004 1:01 PM
To: Tomcat Users List
Subject: RE: Tomcat 4.1
:55 PM
To: Tomcat Users List
Subject: RE: Tomcat 4.1 Connection Pooling...
But my application runs fine even with out that entry in web.xml, i am using
Tomcats ConnectionPooling to connect to database..I only have scalability
issue, when i test my application with multiple users i get the ORAcle
PROTECTED]
Sent: Tuesday, September 28, 2004 1:06 PM
To: 'Tomcat Users List'
Subject: RE: Tomcat 4.1 Connection Pooling...
This error happens when there are too many connections opened. There are too
many connections opened because before you shut down your application, you
don't explicitly close
.
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 28, 2004 1:01 PM
To: Tomcat Users List
Subject: RE: Tomcat 4.1 Connection Pooling...
O.k thanks i'll do that, but what exactly you mean by
Tomcat tries
your data source.
-Original Message-
From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED]
Sent: September 28, 2004 1:06 PM
To: Tomcat Users List
Subject: RE: Tomcat 4.1 Connection Pooling...
I was not aware that i should explicitly close the datasource, but i am
making sure that i close all
lifecycle management of a
server-provided JNDI resource, you'll be in a murky space at best.
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Phillip Qin [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 28, 2004 1:27 PM
To: 'Tomcat Users List'
Subject: RE: Tomcat 4.1
of a
server-provided JNDI resource, you'll be in a murky space at best.
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Phillip Qin [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 28, 2004 1:27 PM
To: 'Tomcat Users List'
Subject: RE: Tomcat 4.1 Connection
To: Tomcat Users List
Subject: Re: Tomcat 4.1 Connection Pooling...
I thought Oracle fixed that bug in their connectionPooling driver back
in 2001. Am I missing something? Are you using some other driver to
create a pool of jdbc connections to Oracle? sorry for the question if
it's already been answered
28, 2004 2:09 PM
To: Tomcat Users List; Peter Lin
Subject: RE: Tomcat 4.1 Connection Pooling...
I am using Oracle 8i, and Oracle drivers i use is Oracle111.jar, and
use
DBCp for connection Pooling with Tomcat4.1,
i thought classes112 is for 9i...correct me if i am wrong...
-Original Message
thanks..
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 28, 2004 2:17 PM
To: Tomcat Users List
Subject: RE: Tomcat 4.1 Connection Pooling...
Hi,
You're wrong. You can and should use classes12.zip (renamed to
classes12.jar) with Oracle 8i
-Original Message-
From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 28, 2004 2:09 PM
To: Tomcat Users List; Peter Lin
Subject: RE: Tomcat 4.1 Connection Pooling...
I am using Oracle 8i, and Oracle drivers i use is Oracle111.jar, and
use
DBCp for connection
, September 28, 2004 2:23 PM
To: Tomcat Users List
Subject: Re: Tomcat 4.1 Connection Pooling...
Yoav is correct, you should be using the newer driver and not the
older one. good thing I asked which version the driver is.
that's a really old bug in the old driver. I remember reporting the
bug
Perhaps your application is hanging on to the database connections and not returning
them to the pool?
-Original Message-
From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED]
Sent: 28 September 2004 19:43
To: Tomcat Users List; Peter Lin
Subject: RE: Tomcat 4.1 Connection Pooling...
I have
how can i check that and how to resolve it...
-Original Message-
From: Dale, Matt [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 28, 2004 3:06 PM
To: Tomcat Users List
Subject: RE: Tomcat 4.1 Connection Pooling...
Perhaps your application is hanging on to the database connections
Research Informatics
-Original Message-
From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 28, 2004 3:04 PM
To: Tomcat Users List
Subject: RE: Tomcat 4.1 Connection Pooling...
how can i check that and how to resolve it...
-Original Message-
From: Dale, Matt
just in case, here's a link to Oracle's developer jdbc section
http://www.oracle.com/technology/sample_code/tech/java/sqlj_jdbc/files/jdbc30/index.html
just make sure the apps are calling java.sql.Connection.close() when
they are done. the PooledConnection underneath will pass the
connection
in that section so the connection never got closed.
Once I put a finally block in with a con.close() then it solved my problem.
Ta
Matt
-Original Message-
From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED]
Sent: 28 September 2004 20:04
To: Tomcat Users List
Subject: RE: Tomcat 4.1 Connection Pooling
processes are coming from.
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 28, 2004 3:04 PM
To: Tomcat Users List
Subject: RE: Tomcat 4.1 Connection Pooling...
how can i check
Even though this resource is not in Global scope?
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: September 28, 2004 1:55 PM
To: Tomcat Users List
Subject: RE: Tomcat 4.1 Connection Pooling...
Hi,
Hmm ;) There's a good reason there's no close method
Hi,
Even though this resource is not in Global scope?
Yeah. What I said applies to any and all container-managed resources.
Yoav
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: September 28, 2004 1:55 PM
To: Tomcat Users List
Subject: RE: Tomcat 4.1
PM
To: Tomcat Users List
Subject: RE: Tomcat 4.1 Connection Pooling...
Hi,
Hmm ;) There's a good reason there's no close method on
javax.sql.DataSource. There's also a good reason the J2EE spec calls for
the container, not the user, to manage the lifecycle of JNDI resources
Nalgonda [mailto:[EMAIL PROTECTED]
Sent: 28 September 2004 20:04
To: Tomcat Users List
Subject: RE: Tomcat 4.1 Connection Pooling...
how can i check that and how to resolve it...
-Original Message-
From: Dale, Matt [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 28, 2004 3:06 PM
Conover [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 21, 2004 10:09 PM
To: Tomcat Users List
Subject: RE: Tomcat 4.1 Connection Pooling...
Shilpa,
What OS are you running this configuration on? If it is AIX I would
investigate to see how the system is configured for the number of processes
Can anyone give me advice on the set up of Tomcat4.1 connection pooling
parameters...
-Original Message-
From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 22, 2004 9:31 AM
To: Tomcat Users List
Subject: RE: Tomcat 4.1 Connection Pooling...
Hi Cary,
I am running
Hi Yoav Shapira,
Can you put some light on this pooling stuff...
Thanks.
Shilpa.
-Original Message-
From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 22, 2004 9:31 AM
To: Tomcat Users List
Subject: RE: Tomcat 4.1 Connection Pooling...
Hi Cary,
I am running my
the error you describe.
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 22, 2004 10:44 AM
To: Tomcat Users List
Subject: RE: Tomcat 4.1 Connection Pooling...
Hi Yoav Shapira,
Can you put some light
Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 22, 2004 10:55 AM
To: Tomcat Users List
Subject: RE: Tomcat 4.1 Connection Pooling...
Hi,
Nope, I can't help unfortunately. I used Tomcat 4.1 for years
connecting to Oracle 8i and 9i, and I continue to do so now
Users List
Subject: RE: Tomcat 4.1 Connection Pooling...
Thanks.
Maybe its the parameter configuration can you send me your
configuration
for
connection pooling...
I am using these parameters...
maxActive :20
maxIdle :10
maxWait :1
removeAbandoned :true -- what exactly is MaxIdle parameter
Can someone please suggest how to achieve connection Pooling in tomcat 4.1.
As per the docs i have
1) configured server.xml to include the resource parameters ( datasource,
connection pool size etc)
2) In application code , retrieve connection using datasource
3) Every Method call to database
Shilpa,
What OS are you running this configuration on? If it is AIX I would investigate to
see how the system is configured for the number of processes per user on the system.
If it is configured as a Workstation it is defaulted to 128 processes / login. If it
is configured as a server it
Does this warning/suggestion apply just to jsp-api.jar or to all the jsp
jars (e.g.jstl.jar, standard.jar,...) as well?
Shapira, Yoav wrote:
Hi,
You have mismatched versions of the Servlet API jars around. There
should be only one, in tomcat's common repository. Don't ship the
servlet or JSP
Shapira
Millennium Research Informatics
-Original Message-
From: Jeffrey Barnett [mailto:[EMAIL PROTECTED]
Sent: Friday, September 03, 2004 2:16 PM
To: Tomcat Users List
Subject: Re: Tomcat 4.1: JSP pages don't always compile the first time?
Does this warning/suggestion apply just to jsp
PROTECTED]
Sent: Friday, September 03, 2004 2:16 PM
To: Tomcat Users List
Subject: Re: Tomcat 4.1: JSP pages don't always compile the first time?
Does this warning/suggestion apply just to jsp-api.jar or to all the
jsp
jars (e.g.jstl.jar, standard.jar,...) as well?
Shapira, Yoav wrote:
Hi,
You
Hi,
As I said, JDBC drivers are fine, they're not part of the J2SDK or J2EE
SDK.
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Jeffrey Barnett [mailto:[EMAIL PROTECTED]
Sent: Friday, September 03, 2004 2:51 PM
To: Tomcat Users List
Subject: Re: Tomcat 4.1: JSP
Hi,
You have mismatched versions of the Servlet API jars around. There
should be only one, in tomcat's common repository. Don't ship the
servlet or JSP API jars with your webapps. And if you stored references
to objects from old versions of these APIs in your Sessions, junk the
session
I believe they go into $catalina_home/conf/Catalina/localhost/somewebapp.xml
Randall
-Original Message-
From: e-Denton Subscriber [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 23, 2004 1:21 PM
To: [EMAIL PROTECTED]
Subject: Tomcat 4.1 - 5.0
I am converting a Struts app from Tomcat
Thanks--it works!
- Original Message -
From: Randall Svancara [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]; e-Denton
Subscriber [EMAIL PROTECTED]
Sent: Wednesday, June 23, 2004 2:23 PM
Subject: RE: Tomcat 4.1 - 5.0
I believe they go into $catalina_home/conf/Catalina
:23 PM
Subject: RE: Tomcat 4.1 - 5.0
I believe they go into $catalina_home/conf/Catalina/localhost/somewebapp.xml
Randall
-Original Message-
From: e-Denton Subscriber [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 23, 2004 1:21 PM
To: [EMAIL PROTECTED]
Subject: Tomcat 4.1 - 5.0
I am
PROTECTED]
Sent: Wednesday, June 23, 2004 2:23 PM
Subject: RE: Tomcat 4.1 - 5.0
I believe they go into $catalina_home/conf/Catalina/localhost/somewebapp.xml
Randall
-Original Message-
From: e-Denton Subscriber [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 23, 2004 1:21 PM
To: [EMAIL PROTECTED
Sorry,
there was an error in my server.xml
Arnaud
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hello.
Is this the same problem I also asked yesterday about in thread
All threads are busy ... servlet status 75
Somewhere I read about setting the LD_ASSUME_KERNEL to 2.2.5
But I also read somewhere that this didn't help
(www.junlu.com/msg/14450.html)
QM wrote:
On Thu, Jun 17, 2004 at
On Thu, Jun 17, 2004 at 03:54:08PM -0400, Bradley Glonka wrote:
: Tomcat installaion on Red Hat Version 9 intermitnently stops
: Responding.
:Kernel 2.4.20-9
RedHat's custom kernels have backported the NPTL (Native Posix Thread
Library) routines from 2.5/2.6. Set the env var
On Wed, Jun 16, 2004 at 04:43:18PM +0300, Eyup TEKIN wrote:
: is there any bug solution with tomcat 4.1.x and rhel3.0
: it gives jdk error
Maybe.
Share the error, and someone may share a more thorough answer.
-QM
--
software -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com
]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, June 16, 2004 4:43 PM
Subject: Re: tomcat 4.1.x and RHEL3.0 problem
On Wed, Jun 16, 2004 at 04:43:18PM +0300, Eyup TEKIN wrote:
: is there any bug solution with tomcat 4.1.x and rhel3.0
: it gives jdk error
Maybe.
Share the error
-
From: QM [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, June 16, 2004 4:43 PM
Subject: Re: tomcat 4.1.x and RHEL3.0 problem
On Wed, Jun 16, 2004 at 04:43:18PM +0300, Eyup TEKIN wrote:
: is there any bug solution with tomcat 4.1.x and rhel3.0
: it gives jdk error
Maybe
Hi Woodchuck,
I just fought the exact same thing for two weeks and
this is what I discovered:
If you want to precompile all the JSPs with a package
name other than org.apache.jsp you have to use the -p
option and give it a new package name. This doesn't
really work, as you may have already
hi Jason,
thx a lot for your reply. i am, unfortunately, stuck
with Tomcat 4.1.x.
i don't have any problems getting jspc to generate
.java files for jsps that exist in a hierarchical
(sp?) tree. for instance, my jsps are scattered under
my web root folder, in sub folders, etc..
my problem is
Eric Jacobson [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Bill,
I have been trying to trace down a problem with an application I am
building
on top of Tomcat 4.1. The problem I was encountering was that my HTTP
response headers were being returned to the client using UTF-8
if you do not need to handle that much load.
-joe
- Original Message -
From: Shapira, Yoav [EMAIL PROTECTED]
Date: Wed, 12 May 2004 15:31:37 -0400
To: Tomcat Users List [EMAIL PROTECTED]
Subject: RE: Tomcat 4.1.x Vs 5.0.x
Hi,
Sun 1.4.2
IBM 1.4.1
Bea 1.4.2 (JRockit)
Which one would
Ryan Lissack [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
In our setup we have a hardware load-balancer which forwards normal
requests
to our cluster of Tomcat servers. For SSL requests, the load balancer
first
forwards to an hardware SSL accelerator and then on to one of
Hi Bill,
Thanks for the clarification.
Best regards,
Ryan.
-Original Message-
From: news [mailto:[EMAIL PROTECTED] Behalf Of Bill Barker
Sent: 12 May 2004 07:22
To: [EMAIL PROTECTED]
Subject: Re: Tomcat 4.1 HttpServletRequest.getServerPort() returns
incorrect port ?
Ryan Lissack
Hi,
Is it better to use Tomcat 4.1.x or 5.0.x for such scenario?
Which version is faster and stabler?
The tomcat 5.0.x versions are faster and at least as stable.
Will applications designed for Tomcat 4 work fine with version 5?
Applications designed for the Servlet Specification will work
On 12-05-2004 20:14, Shapira, Yoav wrote:
The tomcat 5.0.x versions are faster and at least as stable.
Ok, I am going to install Tomcat 5.0.24.
Again, the latest stable version is what you want. We have people using
Sun, IBM, Blackdown, and JRockit on this list.
I can choose between the
Hi,
Sun 1.4.2
IBM 1.4.1
Bea 1.4.2 (JRockit)
Which one would be better?
I am running RH Enterprise Linux 3 on a Dell PowerEdge 1655MC: dual
1.4Ghz PIII and 2GB of RAM.
The reason people cite for shifting away from the Sun JVM are
performance-oriented. The problems cited with others often
Shapira, Yoav wrote:
Hi,
Sun 1.4.2
IBM 1.4.1
Bea 1.4.2 (JRockit)
Which one would be better?
I am running RH Enterprise Linux 3 on a Dell PowerEdge 1655MC: dual
1.4Ghz PIII and 2GB of RAM.
The reason people cite for shifting away from the Sun JVM are
performance-oriented. The problems cited
On 4/17/04 4:36 PM, wsedio wrote:
Hi,
I've a web hosting server running Red Hat Enterprise Linux 3 ES and I am
planning to install Tomcat on it.
I would like to give dedicated Tomcat instances to some clients and to
keep a shared instance for smaller web sites.
Is it better to use Tomcat
Parsons Technical Services wrote:
Gianni,
Try using the IP. If you can get to it with an IP then your issue is with
the DNS otherwise you have an issue with your network.
I've tryed also with http://myip:8080 without results.
What OS are you running?
Linux RH9. Maybe the problem is in my router
-Original Message-
From: Gianni Pucciani [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 08, 2004 4:21 AM
To: Tomcat Users List
Subject: Re: Tomcat (4.1) doesn't answer
Parsons Technical Services wrote:
Gianni,
Try using the IP. If you can get to it with an IP then your issue
Gianni,
Try using the IP. If you can get to it with an IP then your issue is with
the DNS otherwise you have an issue with your network.
What OS are you running?
What error number are you getting?
Doug
www.paarsonstechnical.com
- Original Message -
From: Gianni Pucciani [EMAIL
Adam,
Sound very similar to a problem I had a couple of days ago. Are you using
any loops in your code? Specifically while or do-while or endless for loops.
If so try changing them to a for loop with a high count say 10k-100k and see
what happens. I had a sort method that under the right
Subject: Re: Tomcat 4.1 hangs on File Reading
Adam,
Sound very similar to a problem I had a couple of days ago. Are you using
any loops in your code? Specifically while or do-while or endless for loops.
If so try changing them to a for loop with a high count say 10k-100k and see
what happens. I had
Yes, I use a few while loops a bit like...
while (there's stuff in the file)
while (there isn't a separator)
while (to skip whitespace)
...etc.
Thanks, I'll try and substitute with
equivalent for loops and let you know
how I get on.
Adam.
On Wed, 2004-03-10 at 13:05, Parsons Technical
PROTECTED]
Sent: 10 March 2004 13:06
To: Tomcat Users List
Subject: Re: Tomcat 4.1 hangs on File Reading
Adam,
Sound very similar to a problem I had a couple of days ago. Are you using
any loops in your code? Specifically while or do-while or endless for loops.
If so try changing them
:[EMAIL PROTECTED]
Sent: Wednesday, March 10, 2004 2:23 PM
To: Tomcat Users List
Subject: RE: Tomcat 4.1 hangs on File Reading
FileReader inFile = new FileReader( /var/log/GFWlogin.log );
BufferedReader bfFile = new BufferedReader( inFile );
while ( bfFile.ready
snip
public static LoginLog[] readLog()throws FileNotFoundException
{
Vector log = new Vector();
try {
FileReader inFile = new FileReader( /var/log/GFWlogin.log );
BufferedReader bfFile = new BufferedReader( inFile );
while ( bfFile.ready() ) {
LoginLog
Hi,
Why not simply use:
String line = null;
while ((line = bfFile.readLine()) != null) {
LoginLog logEntry = getLogEntry(line); // Create log entry from
the
line just read.
log.add(logEntry);
}
There is no need to use 'bfFile.ready()'. This method only checks
whether the
() returns false at
the end of the file.
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 10, 2004 3:15 PM
To: Tomcat Users List
Subject: RE: Tomcat 4.1 hangs on File Reading
Hi,
Why not simply use:
String line = null;
while
I'm still checking through so I can't say for sure,
but it looks certain enough that Ronald was correct,
although Peter's comment about using too many while
loops also improved performance.
I'm afraid I largely taught myself Java, coming from
a C / C++ background and misunderstood the method
: RE: Tomcat 4.1 hangs on File Reading
Hi,
Why not simply use:
String line = null;
while ((line = bfFile.readLine()) != null) {
LoginLog logEntry = getLogEntry(line); // Create log entry from
the
line just read.
log.add(logEntry
that is expected behavior.
%@ include file=main.jsp%
is a static include, meaning, just copy and paste the file before
compilation.
if you had jsp:include then it should recognize the changes
Filip
-Original Message-
From: Nathan Christiansen [mailto:[EMAIL PROTECTED]
Sent: Thursday,
, 2004 9:19 AM
To: Tomcat Users List
Subject: RE: Tomcat 4.1 JSPC not recongnizing change in compile time
included file
that is expected behavior.
%@ include file=main.jsp%
is a static include, meaning, just copy and paste the file before
compilation.
if you had jsp:include then it should
Howdy,
Can we use tomcat 4.1 with java version 1.4.2 on production , is there
any
problem in that.
Go for it, we've been doing it for months and months without a problem.
Yoav Shapira
This e-mail, including any attachments, is a confidential business communication, and
may contain
Thanks for the reply, I will give that a try.
Kal
-Original Message-
From: Howard Jim [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 18, 2003 3:44 PM
To: Tomcat Users List
Subject: RE: tomcat 4.1 on JDK1.4
I had a similar problem, and although I don't feel that I figured it out
Howdy,
What version of tomcat 4.1? Not an -LE edition?
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Kal Govindu [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 18, 2003 3:36 PM
To: Tomcat Users List (E-mail)
Subject: tomcat 4.1 on JDK1.4
Hi all,
I am moving
1 - 100 of 244 matches
Mail list logo