Hi, I'm planing to do load balancing on my 3 apache tomcat server.
Actually they are windows 2003, 5.5.23, ibm jdk 1.5.
I'm planing to put a linux in the front who balances the load for the 3
servers. I read about the issue and there are several solutions. This is
a small farm, maybe up to 10 serve
Are those 2 different webapps ?
If yes, you have to be aware of session data, diff webapps do not share
by default the session data.
But basically to do a client redirect you do this
Response.sendRedirect("otherURl") >> this will change the url in the
client browser
To do a server redirect you
Buddy, you should not have such servlet-.jar inside the WEB INF/lib,
print me a list of fiels inside yoru web-inf
Pls, write to the list.
tks
-Original Message-
From: Lenny Wintfeld [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 31, 2007 2:55 PM
To: Asensio, Rodrigo
Subject: Question on
-Original Message-
From: Lenny Wintfeld [mailto:[EMAIL PROTECTED]
Sent: Monday, July 30, 2007 5:16 PM
To: Asensio, Rodrigo
Subject: RE: Quesion on starting tomcat (as a windows service) from Ant
Rodrigo
Thanks for the feedback. As it works out, when I drop the war into
\webapps
Are you running a plain installation without any webapp running
(excluding the defaults) ?
Did you tried that ?
-Original Message-
From: Welkey Costa [mailto:[EMAIL PROTECTED]
Sent: Monday, July 30, 2007 2:47 PM
To: users@tomcat.apache.org
Subject: Run service finished
Hi, Everyone
I ca
Yo don't have to restart anything to redeploy your WAR
What I see is that your autoDeploy is ON. Just drop the new WAR , tomcat
will do all the work for you.
-Original Message-
From: Lenny Wintfeld [mailto:[EMAIL PROTECTED]
Sent: Monday, July 30, 2007 2:07 PM
To: users@tomcat.apache.or
Do you have turned off the advanced option in IE
{x} Show friendly error pages
??
-Original Message-
From: Søren Blidorf [mailto:[EMAIL PROTECTED]
Sent: Monday, July 23, 2007 5:32 AM
To: [EMAIL PROTECTED]
Subject: My error-pages does not show in IE7 everything worked in IE 4 - IE6
Hi.
Also remember that for each thread created on the JVM it will create a thread
on the OS.
We had that problem and now our servers are running with 1408 MB of memory but
with the IBM JDK 1.5.
Here are some settings
-Xrs
-server
-XX:SurvivorRatio=8
-XX:PermSize=128
-Xmn128m
Initial memory 1408mb
;>
>> description The requested resource (/LoginApp) is not available.
>> Apache Tomcat/5.5.23
>>
>>
>>
>> Asensio, Rodrigo wrote:
>>
>>> Pinki, please post the entire tomcat log here.
>>>
>>> -Original Message-
>
Pinki, please post the entire tomcat log here.
-Original Message-
From: pinky88 [mailto:[EMAIL PROTECTED]
Sent: Monday, July 16, 2007 3:39 PM
To: users@tomcat.apache.org
Subject: How to deploy a web app on tomcat.. help needed plz.. :)
Hi,
I'm trying to deploy a web application on tom
Too lazy to copy/paste your email
I use dailyrazor with private jvm for 22 bucks, 96mb heap, 15 mysqldb,
ssh, and a lot of features, is fast and reliable.
Support is good.
Best regards, Rodrigo
www.rodrigoasensio.com
-Original Message-
From: Zembower, Kevin [mailto:[EMAIL PROTECTED]
S
Here is a performance review
http://www.javalobby.org/java/forums/t92965.html
-Original Message-
From: bajistaman [mailto:[EMAIL PROTECTED]
Sent: Friday, July 06, 2007 9:08 AM
To: users@tomcat.apache.org
Subject: Apache Http Server + Tomcat or just Tomcat?
I have an Apache Http Server
What version are you planning to install ? Tomcat 6 has great
performance test (up to 16k concurrent connections in a conventional pc)
Right now I'm doing the same thing and finally I decided use just tomcat
with a load balancer in the front. But tomcat 6 seems to be enough
mature to work for itse
A very simple solution to implement a 'push' concept with your UI 100%
html/ajax is having a hidden applet to use as client and send messages to the
current page or another hidden iframe who refresh the main chat program. Is
what Charles is saying but with the UI done in html
Regards
Rodrigo As
your Tomcat 6 install
Asensio, Rodrigo wrote:
> I'm trying to implement a load balancing solution with tomcat55 with
> an
> ubuntu704 as load balancer with 3 legacy win2003 tomcat55 behind.
> I found a great article published in onjava.com
> (http://onjava/com/lpt/a/4702) that
I'm trying to implement a load balancing solution with tomcat55 with an
ubuntu704 as load balancer with 3 legacy win2003 tomcat55 behind.
I found a great article published in onjava.com
(http://onjava/com/lpt/a/4702) that guides you thru the process.
I also thinked about use tomcat6 in the ubunt
Sysdeo sucks, if you get WST of eclipse (http://www.eclipse.org/webtools/) you
have a great eclipse integration, its free and it allows you have several
servers in you ide (jboss, bea, tomcat, etc.)
regards
From: Suchitha Koneru (sukoneru) [mailto:[EMAIL PROTE
reloading the webapp will be the solution.
but if you dont have sessions persisting into DB your users will loose the
session.
am I right ?
From: Gregor Schneider [mailto:[EMAIL PROTECTED]
Sent: Thu 12/28/2006 1:46 AM
To: Tomcat Users List
Subject: Re: Not havi
() &&
lRequest.getRequestedSessionId() != null) {
log.debug("session expired");
} else {
log.debug("the normal way");
}
regards,
Veit
Asensio, Rodrigo schrieb:
> Hi guys, Im trying to reject users whose sessions was invalidated (in
> purpose because a logout
Is really a pain in the ass have a brand new session when the session is
dead.
Would be great have a session.isNewBecauseTheOldIsDead()
-Original Message-
From: Asensio, Rodrigo [mailto:[EMAIL PROTECTED]
Sent: Monday, December 18, 2006 12:52 PM
To: Tomcat Users List
Subject: invalid
Hi guys, Im trying to reject users whose sessions was invalidated (in
purpose because a logout or timeout)
But I found that there is not logic combination in the session valid or
invalid methods.
Case 1
First request
Session.isNew() TRUE
Request.isRequestedSessionIdValid() FALSE
We can say that
Hi guys, is there any way in tomcat to capture or be notified that a
user whose session is expired is doing a request ?
like redirecting the "invalid request" to a new url ??
regards
---
To err is human, but to really screw up re
We had thousands of problems with Sun JDK that is why we switched to IBM
JDK who manage GC in a great manner.
You see the progress of the memory going down but it recover every
single bit. Sun jdk always recover but there is some remaining memory
that he do not release.
-Original Message--
Please, post your stacktrace to give you a better idea
-Original Message-
From: Philippe Couas [mailto:[EMAIL PROTECTED]
Sent: Monday, October 30, 2006 1:30 PM
To: tomcat-user@jakarta.apache.org
Subject: servlet not found since i replace tomcat 4.1.30 by tomcat
4.1.34
Hi
I want rep
Yes sir! This simple solution worked in the first try!!!
Thanks man!
iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-ports 8080
iptables -A INPUT -p tcp --dport 8080 -j ACCEPT
-Original Message-
From: Gaël Lams [mailto:[EMAIL PROTECTED]
Sent: Friday, October 20, 2006
t the
last line of the named list is a reject all and your added lines were
never reached.
Doug
- Original Message -
From: "Asensio, Rodrigo" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Wednesday, October 18, 2006 4:27 PM
Subject: IPTABLES
my conf
my config
Fedora 5
Tomcat 5517
Java Sun 1508
Im running a tomcat in port 80 without httpd
I want redirect packages from 80 to 8080 because tomcat is running as
tomcat user (cant run as other non root under port 1025) and I tried the
IPTABLES redirection aproach but doesnt work
I tried this but
Found the problem, there was creating a file path with some windows
slashes /
Translated to System.getProperty(file.separator)
Thankyou
-Original Message-
From: Asensio, Rodrigo [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 18, 2006 1:43 PM
To: Tomcat Users List
Subject: RE
The strange thing is that tomcat writes in tomcat/logs his own files as
tomcat, and is not allowing me to do the same thru tomcat.
-Original Message-
From: Asensio, Rodrigo [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 18, 2006 1:43 PM
To: Tomcat Users List
Subject: RE: cannot
ogs directory also tomcat:tomcat? You might
want to try to su to tomcat and touch(1) a file in the logs directory.
You might also want to chmod 751 on the whole tomcat tree, it could save
you from more troubleshooting later.
---
Tracy Nelson / Nelnet Business Solutions
402 / 617-9449
| -Or
hi guys
I have a
Fedora 5
Tomcat 5517
JDK Sun 1508
my tomcat is running as daemon as tomcat user
the owner of my tomcat installation folders is tomcat:tomcat
but when my servlet starts he want to write to tomcat/logs (my own logs)
and seems that I do not have permission.
any clue ?
-
Are you doing a POST, right ?
-Original Message-
From: Inma Marín López [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 17, 2006 9:12 AM
To: tomcat-user@jakarta.apache.org
Subject: RV: Memory problem in Tomcat
Hello,
I have a web service running in Tomcat (v 5.5.4) + axis (v 1.2)
Fedora 5
Tomcat 5517
Sun JDK 1508
Finally I got my linux running with tomcat, but there is a little
detail, if I run the server as tomcat user, tomcat goes up, but not
listening in port 80 (su -l tomcat -c /usr/tomcat/bin/startup.sh), now
if I run as root (./startup.sh) everything works ok.
an
CentOS & Debian with tomcat, how many users are you handling ?
Here with 350 logged users our Win2003-Serv is suffering a lot all the
time.
I really want to know the capacity of tomcat handling lot of sessions
concurrently.
Thanks.
R
-Original Message-
From: Leonel [mailto:[EMAIL PROTECT
ink it's a
workstation distribution. For servers I prefer debian.
regards
Leon
On 9/11/06, Asensio, Rodrigo <[EMAIL PROTECTED]> wrote:
> Hello, since Tomcat on Windows Server 2003 is not satisfying the
> expected performance whe are thinking about to move to Linux. Fedora
> Core
Hello, since Tomcat on Windows Server 2003 is not satisfying the
expected performance whe are thinking about to move to Linux. Fedora
Core 5 more precicesly.
I would like to know what is the better combination, Tomcat as webserver
or Apache with Tomcat as mod to execute java.
Also, there is the
Don't ask me why, but I tried in diferent servers putting 1440 MB, 1048
MB, 1076 MB and it works in one server and not in the other (all with
the same hard and soft).
The msg is . Cannot allocate that space in heap.
-Original Message-
From: Asensio, Rodrigo [mailto:[EMAIL PROT
returns 2Gb?
On 9/6/06, Asensio, Rodrigo <[EMAIL PROTECTED]> wrote:
> I don't agree
> Our tomcat was working with 1440 mb as initial and max memory without
> problem.
>
> -Original Message-
> From: Leon Rosenberg [mailto:[EMAIL PROTECTED]
> Sent: Wednesday,
ve no chance to get more than 1.2Gb.
At least its what we have tested.
leon
On 9/6/06, Asensio, Rodrigo <[EMAIL PROTECTED]> wrote:
> Im here again.
> It's a 32 bits OS
>
> Definely GC gonna take longer if has more to collect.
>
>
>
> -Original Message-
>
erver use virtual memory ? I have seen better memory when no
virtual memory is used.
BR,
~A
On 9/5/06, Asensio, Rodrigo <[EMAIL PROTECTED]> wrote:
>
> Hello guys
>
> tomcat 5517
> java 1508
> win 2003 server
>
> I have available 4 gb of ram memory into the server. M
Hello guys
tomcat 5517
java 1508
win 2003 server
I have available 4 gb of ram memory into the server. My tomcat is
running with 1024 mb right now.
Before start to optimize my functions :D , can I move to 2048mb without
any problem ?
memory settings has always to be pow of 2 ?
thanks
Rodrigo
.com/group/microsoft.public.windows.server.clusterin
g/browse_thread/thread/62a9549694482cb4/8679601e867414bf%238679601e86741
4bf
-Original Message-----
From: Asensio, Rodrigo [mailto:[EMAIL PROTECTED]
Sent: Monday, July 24, 2006 2:16 PM
To: Tomcat Users List
Subject: tomcat strike
Hi guys, My boss want to kill
Hi guys, My boss want to kill me and my tomcat server, all that because
he die unexpectedly.
Windows 2003 server
JDK 1.5.0_2 with the server dll
My Little Tomcat. 5.5.17
Running as service with a specific admin user
The error in the event viewer of windows?
The Apache Tomcat service terminated une
t; wrote:
>>
>> My guess is that your session attributes do not implement
>> java.io.Serializable
>>
>> if they don't tomcat can not store them for a restart or reload Filip
>>
>>
>>
>> Asensio, Rodrigo wrote:
>> > Hello,
>>
Hello,
We have a call center webapp with 100 simultaneous sessions all
time ( 24/7 ). This webapp has several sections that are updated with
new JSPs or Java Classes like 3 times a week.
Each time that we need update the webapp all users loose their sessions.
This is a big problem all time.
Should be very simple
Old way..
Page1 = who do the main request ---> Page2 just with the loading
message
Page2 will have in the body onload a function who do the request to
generate the pdf
"New" way
Before call the pdf generation, show a loading message with dhtml, after
that, call the pdf
"N
Hi all, FYI,
There was a callback function that was trying to execute after the
window was closed. For that reason, the screen stays blank.
Regards.
Rodrigo Asensio
-Original Message-
From: Asensio, Rodrigo [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 23, 2006 12:04 PM
To: Tomcat
It is getting better! It works with tomcat 5.5.12 up to 15, but not with
17
-Original Message-
From: Asensio, Rodrigo [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 23, 2006 10:28 AM
To: Tomcat Users List
Subject: RE: very strange
Nop, Im using DBCP with a huge Oracle, there is a lot of
: Tomcat Users List
Subject: Re: very strange
Asensio, Rodrigo ha scritto:
> I have a webapp in server A and when I hit a button, It opens a new
> window ( window.open() ) calling my servlet or any jsp in server B. It
> works few times..but there is a moment that stop working, my tomcat
> d
Hi guys, I have a nice problem!
windows 2003 server
tomcat 5.5
jdk 1.5
Scenario:
I have a webapp in server A and when I hit a button, It opens a new
window ( window.open() ) calling my servlet or any jsp in server B. It
works few times..but there is a moment that stop working, my tomcat
didnt rec
Your right, thanks.
-Original Message-
From: Mark Thomas [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 18, 2006 9:06 PM
To: Tomcat Users List
Subject: Re: [javajni.c] [error] CreateJavaVM Failed
Asensio, Rodrigo wrote:
> Hello, I have a production server tomcat 5.5 java 1.5_06 I h
Hello, I have a production server tomcat 5.5 java 1.5_06
I have set memory min and max as 2048m and thorows this error
[javajni.c] [error] CreateJavaVM Failed
=) obviosly my server has 4 GB of memory
It work with 1600m , 1024m, etc, but no more than 2000m
Any clue ??
Thanks guys
This messag
structs of directories?
Now, i only use tomcat. I delete context from the server.xml and i work only
whith CoffeeNet.xml.
Is necessary have the same structure of directories that required but the
specifications?
Thank you
-Mensaje original-
De: Asensio, Rodrigo [mailto:[EMAIL PROTECTED]
ries don't have the same path. Por example, classes and
lib is out of WEB-INF.
Thank you.
-Mensaje original-----
De: Asensio, Rodrigo [mailto:[EMAIL PROTECTED]
Enviado el: miércoles, 05 de abril de 2006 17:21
Para: Tomcat Users List
Asunto: RE: Problem whith constructs of directories
ory?
There is no more info on sysout and syserror logs.
Which is the path of docBase so tomcat can understand the directory structure?
Thanks in advance
-Mensaje original-
De: Asensio, Rodrigo [mailto:[EMAIL PROTECTED]
Enviado el: miércoles, 05 de abril de 2006 16:38
Para: Tomcat Users L
r-2006 16:29:58 org.apache.catalina.startup.ContextConfig
applicationConfig
INFO: Falta el archivo web.xml de la aplicaci¾nb. Utilizando los
parßmetros por
defecto
StandardEngine[Catalina].StandardHost[localhost].StandardContext[/CoffeeNet]
Muchas gracias.
-Mensaje original-----
De: A
Intenta unificando los slashs \ / y sin poner backslash al final en docBase
-Original Message-
From: José María Tristán [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 05, 2006 10:17 AM
To: users@tomcat.apache.org
Subj
3:46 PM
To: Tomcat Users List
Subject: Re: How to run a thread on app startup
Hello Rodrigo.
Thanks very much for the information.
Bruce.
Asensio, Rodrigo wrote:
>I figured out that the best way to do that is with a variable of type
>InheritableThreadLocal that keeps a copy per thre
[EMAIL PROTECTED]
Sent: Monday, April 03, 2006 3:46 PM
To: Tomcat Users List
Subject: Re: How to run a thread on app startup
Hello Rodrigo.
Thanks very much for the information.
Bruce.
Asensio, Rodrigo wrote:
>I figured out that the best way to do that is with a variable of type
>Inheritabl
I figured out that the best way to do that is with a variable of type
InheritableThreadLocal that keeps a copy per thread.
We have 4 webapps over the same framework and all works in the same way.
The servlet creates a new instance of MyApplication and sets this
"singleton by thread" in the MyAppli
We are trying to send from the client browser a huge xml (105kb) as a
parameter in the request, obviously GET will not work , instead we are
using POST.
But we are using AJAX and we are getting the error Permission Denied in
the Internet Explorer 6, any clue ?
--
We are writing webapps for a call center based on a propietary framework
that works very good.
We have the case where we need to install in the same tomcat server 2
webapps, WEBAPP1 and WEBAPP2, the core framework is exactly the same,
but some implementation classes ans JSP are different.
After a
Dola, this a production enviroment ? Or a IDE enviroment ?
Why you said that is running twice ? Its calling twice to the init ???
regards
-Original Message-
From: Dola Woolfe [mailto:[EMAIL PROTECTED]
Sent: Monday, March 27, 2006 3:42 PM
To: Tom Cat
Subject: Context starts twice
Hi,
Hello,
Your Eclipse settings (projects, fonts, runtimes) are stored into
c:/documents and settings/%you%/workspace by default
If you replace your c:/eclipse by a brand new installation, all your
plugins will be deleted (as sysdeo) but not your workspace. It is the
same concept tha IBM Visual Age s
tomcat projects. That's my experience
anyway.
Dave.
-Original Message-
From: Asensio, Rodrigo [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 21 March 2006 12:35 AM
To: Tomcat Users List
Subject: RE: Best eclipse plugin for tomcat development
I use to work with sysdeo too, but it is so l
I use to work with sysdeo too, but it is so limited that I had to change
to other tool. Nobody here will pay myeclipseIde, then, I found WST,
that is the natural implementation of eclipse for Enterprise
applications (JSP, XML, Webservices, ejb, etc).
Sysdeo is good, but WST is much better.
Netbea
Use the natural eclipse webtools, works really good.
http://www.eclipse.org/webtools/
What tomcat and what eclipse are you using ??
B Regards
Rodrigo Asensio
-Original Message-
From: Dola Woolfe [mailto:[EMAIL PROTECTED]
Sent: Friday, March 17, 2006 11:45 AM
To: Tom Cat
Subject: Best
Reinhard, thanks for the tip, is that option (serialize sessions) in the
manager or in the admin ?
Or it is a value that need to be changed manually in server.xml or any props
file ?
Thanks
Rodrigo Asensio
-Original Message-
From: Reinhard Moosauer [mailto:[EMAIL PROTECTED]
Sent: Tue
Sorry, other question over yours
How works that smooth behavior ? I'm tomcat 5.0.x and each time that we
need update the call center version, everybody has to stop working for a
few minutes.
Any clue ?
thanks
-Original Message-
From: Reinhard Moosauer [mailto:[EMAIL PROTECTED]
Sent: Tu
And remember, if you want use 5.5 you have to have installed JDK 1.5 or
install the compatibility patch from apache to work with JDK 1.4
regards
-Original Message-
From: Wick, Daniel [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 08, 2006 2:26 PM
To: Tomcat Users List
Subject: RE: Two
I changed the windows user of the service and it works ok.
Thanks a lot.
Rodrigo
-Original Message-
From: Peter Crowther [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 08, 2006 12:40 PM
To: Tomcat Users List
Subject: RE: LookupPrinterService problem
> From: Asensio, Rodrigo [mai
Hello guys
I'm running Java1.5 and Tomcat5.5
Starting the Tomcat as Windows Service it cannot find printers with this
code.
PrintService[] services = PrintServiceLookup.lookupPrintServices(null,
null);
But in my IDE, as Java stand alone, or running Tomcat from command line
it works perfectly.
72 matches
Mail list logo