Re: what have i done to get 9 million cookies?

2009-01-06 Thread Kees Jan Koster
Dear Leon, i'm performing a jmap -histo:live on a tomcat which froze because of full (8GB) old space gen, and my top 10 looks like: num #instances #bytes class name -- 1: 19268009 2655683368 [C 2: 17410092 139280736

Re: Tomcat and problems with languages

2009-01-06 Thread vikas vasnik
fairyaya wrote: > > Goodmornig (or afternoon, it's depends) > It's my first post here. > I've a problem with a web application developped with struts and which > uses different languages with properties files (so if the brower's setting > is english the application will display texts in english

RE: Page not able to display Tomcat 6.0.18

2009-01-06 Thread Karthik Nanjangude
Hi We did not see any exceptions in for the same catalina.out. We suspect some Browser bug may be the root cause. With regards karthik -Original Message- From: David Smith [mailto:d...@cornell.edu] Sent: Tuesday, January 06, 2009 6:19 PM To: Tomcat Users List Subject: Re: Page not a

RE: j_security_check with https

2009-01-06 Thread Caldarale, Charles R
> From: Justin Randall [mailto:ran...@hotmail.com] > Subject: RE: j_security_check with https > > There is a point of switching back to HTTP after HTTPS. From > a server load perspective having to perform SSL computations > for every single HTTP request can be a serious performance > bottleneck.

RE: j_security_check with https

2009-01-06 Thread Justin Randall
Howdy, First, to clear an incorrect point made... There is a point of switching back to HTTP after HTTPS. From a server load perspective having to perform SSL computations for every single HTTP request can be a serious performance bottleneck. As for the security aspect, transmission of the

Setting up Apache Tomcat for deployment for SunOS 5.9 Generic_118558-39 sun4u sparc SUNW,Ultra-5_10

2009-01-06 Thread HASSAN Kamrul
I am really new on setting up Web server (on UNIX) for deployment, Please assist me on followings. Please let me know where I can set up the path for my projects (source) in the server It seems like Apache Tomcat is configured, right? /usr/local/apache-tomcat/bin/shutdown.sh Using CATALINA_BASE:

Re: Oracle database calling the web app?

2009-01-06 Thread Ken Bowen
Whoops, hold that. This is ok for outbound. For inbound, it seems Jboss is needed: http://activemq.apache.org/jboss-integration.html On Jan 6, 2009, at 6:51 PM, Ken Bowen wrote: It's possible to integrate Tomcat and ActiveMQ (a JMS superset): http://activemq.apache.org/tomcat.html On Jan

Re: Oracle database calling the web app?

2009-01-06 Thread Ken Bowen
It's possible to integrate Tomcat and ActiveMQ (a JMS superset): http://activemq.apache.org/tomcat.html On Jan 6, 2009, at 6:08 PM, Bill Davidson wrote: Bill Davidson wrote: Oracle Streams Advanced Queuing User's Guide and Reference Looking through that, it looks like it uses JMS to send

Re: Oracle database calling the web app?

2009-01-06 Thread Bill Davidson
Bill Davidson wrote: Oracle Streams Advanced Queuing User's Guide and Reference Looking through that, it looks like it uses JMS to send a message back to Java. Being on Tomcat, that's a problem. Some searching shows I may be able to use OpenJMS or ActiveMQ to get JMS in Tomcat. --

Re: j_security_check with https

2009-01-06 Thread Diego Armando Gusava
My question is how to combine the form based authentication, where we use "jsecuritycheck" , "jusername" etc with https. As far as I know if we use form based authentication username and password will be authenticated by the container managed resource called 'jsecuritycheck". But the data transfer

Re: Oracle database calling the web app?

2009-01-06 Thread Bill Davidson
Edward Dowgiallo wrote: Support for what you want to do is actually a feature in Oracle 11g. For Oracle 10g, you want to look at the publish/subscribe support which is part of advanced queueing. The documentation is available online at http://otn.oracle.com. Is this the book I should be re

Re: Oracle database calling the web app?

2009-01-06 Thread Bill Davidson
Mark Thomas wrote: >1. JMS? I thought Tomcat didn't support JMS. Am I wrong about this? >2. Call an reload servlet from the database? Sounds slightly painful but at least it's event driven. >3. Drop the immediate update requirement and poll a data changed flag in the db >every x seconds? S

Re: Oracle database calling the web app?

2009-01-06 Thread Youssef Mohammed
an asynchronous solution is definitely a better solution but either ways, you have to call some web services at the end to notify the web app , no ? Regards, Youssef On Wed, Jan 7, 2009 at 12:35 AM, Edward Dowgiallo wrote: > This is also highly inefficient. You are taking on all the addition

Re: Oracle database calling the web app?

2009-01-06 Thread Edward Dowgiallo
This is also highly inefficient. You are taking on all the additional overhead of a web service call for no reason. Ed On Tue, Jan 6, 2009 at 5:31 PM, Youssef Mohammed wrote: > you can also have your trigger call a java package where you can simply > call > a web service (SOAP or RESTful). > >

Re: Oracle database calling the web app?

2009-01-06 Thread Edward Dowgiallo
It is not necessary to poll an Oracle database. Advanced queueing in combination with triggers provide an event driven framework. Ed On Tue, Jan 6, 2009 at 5:28 PM, Mark Thomas wrote: > Bill Davidson wrote: > > Is it possible to set up a callback like situation so that a trigger in > an > > Or

Re: j_security_check with https

2009-01-06 Thread Mark Thomas
Gregor Schneider wrote: > On Tue, Jan 6, 2009 at 9:13 PM, Diego Armando Gusava > wrote: >> no man, example, email >> >> when u login, your username and password will be transport https, but >> after that, you are in http! u dont need https because, you are only >> reading messages(emails) >> > >

Re: Oracle database calling the web app?

2009-01-06 Thread Youssef Mohammed
you can also have your trigger call a java package where you can simply call a web service (SOAP or RESTful). Regards, Youssef On Wed, Jan 7, 2009 at 12:26 AM, Edward Dowgiallo wrote: > Support for what you want to do is actually a feature in Oracle 11g. For > Oracle 10g, you want to look at

Re: Oracle database calling the web app?

2009-01-06 Thread Mark Thomas
Bill Davidson wrote: > Is it possible to set up a callback like situation so that a trigger in an > Oracle 10g database can call a method in a currently running webapp > that's running in Tomcat 6? > > My situation is that I want to cache some infrequently changed database > data in memory but whe

Re: Oracle database calling the web app?

2009-01-06 Thread Edward Dowgiallo
Support for what you want to do is actually a feature in Oracle 11g. For Oracle 10g, you want to look at the publish/subscribe support which is part of advanced queueing. The documentation is available online at http://otn.oracle.com. Ed On Tue, Jan 6, 2009 at 5:22 PM, Bill Davidson wrote: >

Re: How to set up Apache Tomcat for deployment

2009-01-06 Thread Mark Thomas
HASSAN Kamrul wrote: > I am really new on setting up Web server (on UNIX) for deployment, > Please assist me on followings. Please do not hi-jack threads. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For a

Oracle database calling the web app?

2009-01-06 Thread Bill Davidson
Is it possible to set up a callback like situation so that a trigger in an Oracle 10g database can call a method in a currently running webapp that's running in Tomcat 6? My situation is that I want to cache some infrequently changed database data in memory but when that data does change in the d

Re: j_security_check with https

2009-01-06 Thread Diego Armando Gusava
this didnt work Usuario /login/* POST GET CONFIDENTIAL

RE: j_security_check with https

2009-01-06 Thread Caldarale, Charles R
> From: Diego Armando Gusava [mailto:diegogus...@gmail.com] > Subject: Re: j_security_check with https > > when u login, your username and password will be transport https, but > after that, you are in http! u dont need https because, you are only > reading messages(emails) And what does that have

Re: j_security_check with https

2009-01-06 Thread Gregor Schneider
On Tue, Jan 6, 2009 at 9:13 PM, Diego Armando Gusava wrote: > no man, example, email > > when u login, your username and password will be transport https, but > after that, you are in http! u dont need https because, you are only > reading messages(emails) > Then just phrase your url-pattern in y

Re: j_security_check with https

2009-01-06 Thread Diego Armando Gusava
no man, example, email when u login, your username and password will be transport https, but after that, you are in http! u dont need https because, you are only reading messages(emails) 2009/1/6 Caldarale, Charles R : >> From: Diego Armando Gusava [mailto:diegogus...@gmail.com] >> Subject: Re: j

RE: Configuring a Realm

2009-01-06 Thread Charl Gerber
Never mind. I uninstalled all my apps, cleaned up the temp/work dirs and re-installed and now it goes well. Must have been an incorrect context.xml in one of those dirs that I've missed. Charl --- On Tue, 6/1/09, Caldarale, Charles R wrote: > From: Caldarale, Charles R > Subject: RE: Config

Re: Linux 4 Update 7 and Tomcat

2009-01-06 Thread Gregor Schneider
Not knowing about Red hat. What JDK is being used? As long as it's the original JDK from SUN >= 1.5.x, there should not be any problems since Tomcat is pure Java. However, if you're using the APR, you might have to recompile the APR. HTH Gregor -- just because your paranoid, doesn't mean they'r

How to set up Apache Tomcat for deployment

2009-01-06 Thread HASSAN Kamrul
I am really new on setting up Web server (on UNIX) for deployment, Please assist me on followings. Please let me know where I can set up the path for my projects (source) in the server It seems like Apache Tomcat is configured, right? /usr/local/apache-tomcat/bin/shutdown.sh Using CATALINA_BASE:

RE: Configuring a Realm

2009-01-06 Thread Charl Gerber
> No, you don't, other than to indicate the > authentication mechanism. The presence of the > element inside your webapp's should be > sufficient to cause Tomcat to use it. That's what I thought, but my Realm is just ignored and the one that is present by default when installing Tomcat is used

RE: j_security_check with https

2009-01-06 Thread Caldarale, Charles R
> From: Diego Armando Gusava [mailto:diegogus...@gmail.com] > Subject: Re: j_security_check with https > > when i try to access mySecurePath for example, tomcat show me a login > page with https but after that i dont need for example be with https, > because i only need to send protected username a

RE: replacement for useBean directive

2009-01-06 Thread Caldarale, Charles R
> From: Jonathan Mast [mailto:jhmast.develo...@gmail.com] > Subject: Re: replacement for useBean directive > > do I really need synchronization at all? Short answer: yes. > Is synchronization really called for here, either > around the getITEM() methods inside the beans or > around the methods in

Linux 4 Update 7 and Tomcat

2009-01-06 Thread Gonzales, Jr., Robert
Hey Guys, Happy New Year! Being a novice in the world of Apache, I have a quick question regarding Tomcat and Linux 4 Update 7. We are currently running Tomcat version 5.5.23 on Red Hat Linux OS Linux 4 Update 5. Our server team is planning to upgrade Red Hat Linux 4 to version 2.6.9-78.0.8.

Re: j_security_check with https

2009-01-06 Thread Diego Armando Gusava
"orm Based Authentication has the same lack of security as Basic Authentication since the user password is transmitted as plain text and the target server is not authenticated. Again additional protection can alleviate some of these concerns: a secure transport mechanism (HTTPS)." i want " secure

Re: j_security_check with https

2009-01-06 Thread Diego Armando Gusava
let me explain when i try to access mySecurePath for example, tomcat show me a login page with https but after that i dont need for example be with https, because i only need to send protected username and password. i want to only need login.jsp with https!! 2009/1/6 Pid : > Diego Armando Gusa

Re: j_security_check with https

2009-01-06 Thread Pid
Diego Armando Gusava wrote: > i dont know how to request j_security_check on https! > > i attemped http://wiki.apache.org/tomcat/SSLWithFORMFallback but didnt work I think the above attempts to find an SSL cert, but falls back to FORM auth. Which isn't perhaps what you want? > >

Re: replacement for useBean directive

2009-01-06 Thread Jonathan Mast
Thanks Chuck, just one more question: do I really need synchronization at all? These Beans basically work like this: getApple(int appleID) { purgeIfTimeout(); //calls appleMap.clear() if we've timed out if (appleMap.containsKey(String.valueOf(appleID)) { return (Apple)appleMap.get

Re: Tomact behind ISA server - session problem

2009-01-06 Thread David Smith
My first thought is some kind of caching proxy server. If you aren't the local IT admin, you might want to check with them what might exist on the border between the LAN and WAN. Tomcat itself doesn't treat the local LAN any different than the outside world. From it's perspective, a client is a

Tomact behind ISA server - session problem

2009-01-06 Thread Boban Jankovic
Hi, I have a Tomcat installed behind ISA server. It is properly(?) published, so I can reach it from outside world, as from LAN also. But, when I access my Tomcat application from LAN, all session attributes are fine, the app works as I want it to. When I access it from outside world, somethin

Re: by passing virtualhost when accessing an app?

2009-01-06 Thread Hassan Schroeder
On Tue, Jan 6, 2009 at 5:04 AM, Angelo Chen wrote: > > that's what i'm doing now, i was just hoping maybe there are ways without > updating the hosts files, reason is, when you ask somebody to try out your > app from a certain website and told them to update the hosts file, 9 out of > 10 will not

Re: UTF-8

2009-01-06 Thread Edoardo Panfili
Il 6-01-2009 17:14, l...@informatik.uni-hamburg.de ha scritto: could you please give me a hint how my jsp pages can be viewed in UTF-8. I use <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> at the top of the page Edoardo --

Re: j_security_check with https

2009-01-06 Thread Diego Armando Gusava
i dont know how to request j_security_check on https! i attemped http://wiki.apache.org/tomcat/SSLWithFORMFallback but didnt work /login.do /login/loginError.jsp tomcat redirect to Http! c

RE: replacement for useBean directive

2009-01-06 Thread Caldarale, Charles R
> From: Jonathan Mast [mailto:jhmast.develo...@gmail.com] > Subject: replacement for useBean directive > wouldn't making the methods in BeanBag synchronized be > a better approach? Definitely. Centralize the required synchronization rather than burdening each caller with it. - Chuck THIS CO

UTF-8

2009-01-06 Thread le
Hello everyone, could you please give me a hint how my jsp pages can be viewed in UTF-8. Do I have to configure some thing in apache server? Thanks -- Thinh - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org F

replacement for useBean directive

2009-01-06 Thread Jonathan Mast
OK I know this isn't Tomcat-specific, but my post on Sun Forums didn't get much of a reply, so I thought I'd try it here. I'm in the process of translating a series of JSPs into straightout servlets and I have a question about how I should replicate the functionality of the useBean directive in m

RE: Redeploy leaks

2009-01-06 Thread Caldarale, Charles R
> From: Martin Gainty [mailto:mgai...@hotmail.com] > Subject: RE: Redeploy leaks > > > http://community.eapps.com/showthread.php?t=153 > MG>good link to illustrate PermGen settings but including > class objects in sweep for recovering PermGen should be a > last MG>resort Note that the above articl

RE: Redeploy leaks

2009-01-06 Thread Martin Gainty
MG>Mark/Raul/Frank > Yes, you should be cooked, sauted and broiled on an open flame . MG>this comment does not help > http://community.eapps.com/showthread.php?t=153 MG>good link to illustrate PermGen settings but including class objects in sweep for recovering PermGen should be a last MG>reso

RE: Configuring a Realm

2009-01-06 Thread Caldarale, Charles R
> From: Charl Gerber [mailto:charlger...@yahoo.com] > Subject: Configuring a Realm > I know I somehow have to configure the > to use my new Realm, but how? No, you don't, other than to indicate the authentication mechanism. The presence of the element inside your webapp's should be sufficie

Re: Redeploy leaks

2009-01-06 Thread Frank Castellucci
Yes, you should be cooked, sauted and broiled on an open flame . http://community.eapps.com/showthread.php?t=153 Take a look, maybe useful On Tue, Jan 6, 2009 at 9:34 AM, Mark Hagger wrote: > On Sat, 2009-01-03 at 14:30 -0500, Cosio, Raul wrote: > > Memory leak is an advanced task. But once und

RE: Redeploy leaks

2009-01-06 Thread Mark Hagger
On Sat, 2009-01-03 at 14:30 -0500, Cosio, Raul wrote: > Memory leak is an advanced task. But once understood is very easy to fix > them, just follow some simple rules, most common situations are: 1) Not Usually a matter of torturing yourself for some time following classloader trees, together with

Re: WARNING: processCallbacks status 2

2009-01-06 Thread Jim Goodspeed
Thanks for the quick response - I'm glad it's nothing to worry about. On Mon, Jan 5, 2009 at 9:41 PM, Bill Barker wrote: > > "Jim Goodspeed" wrote in message > news:84347690901051317o3824afa1t7de752b2026a1...@mail.gmail.com... > >I am seeing the following Warning in my catalina.out log file - i

Re: Tutorial for implementing a valve

2009-01-06 Thread Pid
Gregor Schneider wrote: > Dear all, > > I'd like to try something in Tomcat 6, and therefore I have to > implement it as a valve. > > I know that I have to implement org.apache.catalina.valve, however, I > got no clue where to start. > > - In which jar among all the jars delivered with Tomcat do

Re: by passing virtualhost when accessing an app?

2009-01-06 Thread Serge Fonville
Perhaps you can make the app available as a subdirectory of a domain, (similar as how google does it) that way you can point them to http://example.com/example.org to access the app you would normally access as example.org Hope this helps, Regards, Serge Fonville On Tue, Jan 6, 2009 at 2:04 PM,

Re: by passing virtualhost when accessing an app?

2009-01-06 Thread Angelo Chen
that's what i'm doing now, i was just hoping maybe there are ways without updating the hosts files, reason is, when you ask somebody to try out your app from a certain website and told them to update the hosts file, 9 out of 10 will not do it, of course this happens only during development when th

Re: Page not able to display Tomcat 6.0.18

2009-01-06 Thread David Smith
Have you looked at the log files for any exceptions/errors? Can you provide more details regarding you app? --David Karthik Nanjangude wrote: > Hi > > Tryes this Question on Google /Yahoo but non of the answers are satisfactory. > > > SPEC > Tomcat 6.0.18 > Jdk 1.6 > O/s Win / Unix / Linux > >

Tutorial for implementing a valve

2009-01-06 Thread Gregor Schneider
Dear all, I'd like to try something in Tomcat 6, and therefore I have to implement it as a valve. I know that I have to implement org.apache.catalina.valve, however, I got no clue where to start. - In which jar among all the jars delivered with Tomcat do I find the interface? - Once having the v

Re: by passing virtualhost when accessing an app?

2009-01-06 Thread Gregor Schneider
Why don't you simple add the entry 127.0.0.1 www.myapp.com myapp.com into your /etc/hosts or *sic* in WIndows into C:\WINDOWS\system32\drivers\etc\hosts? Works for me Cheers Gregor -- just because your paranoid, doesn't mean they're not after you... gpgp-fp: 79A84FA526807026795E4209D3B3FE028B

by passing virtualhost when accessing an app?

2009-01-06 Thread Angelo Chen
Hi, Say I have app deployed as www.myapp.com, for sake of debugging I'd like to access it without the virtual host approach, maybe just http://127.0.0.1:8080~www.myapp.com, possible? Thanks. -- View this message in context: http://www.nabble.com/by-passing-virtualhost-when-accessing-an-app--t

Page not able to display Tomcat 6.0.18

2009-01-06 Thread Karthik Nanjangude
Hi Tryes this Question on Google /Yahoo but non of the answers are satisfactory. SPEC Tomcat 6.0.18 Jdk 1.6 O/s Win / Unix / Linux For Upload File feature in a custom built web application, We observed the following on load with various time stamp across the O/s. Same File uploaded with same