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

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:

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:

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

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 For Upload

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

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: 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 I find

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 wbar...@wilshire.com wrote: Jim Goodspeed goodspeeds...@gmail.com wrote in message news:84347690901051317o3824afa1t7de752b2026a1...@mail.gmail.com... I am seeing the following

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: Redeploy leaks

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

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 login-config to use my new Realm, but how? No, you don't, other than to indicate the authentication mechanism. The presence of the Realm element inside your webapp's

RE: Redeploy leaks

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

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 MGgood link to illustrate PermGen settings but including class objects in sweep for recovering PermGen should be a last MGresort Note that the above article applies

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

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

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

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-config !--auth-methodFORM/auth-method-- form-login-config form-login-page/login.do/form-login-page

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: by passing virtualhost when accessing an app?

2009-01-06 Thread Hassan Schroeder
On Tue, Jan 6, 2009 at 5:04 AM, Angelo Chen angelochen...@yahoo.com.hk 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,

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,

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

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

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? login-config

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 p...@pidster.com:

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

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

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

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 and

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 Realm element inside your webapp's Context 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

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

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

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 chuck.caldar...@unisys.com wrote: From: Caldarale,

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 chuck.caldar...@unisys.com: From: Diego Armando Gusava

Re: j_security_check with https

2009-01-06 Thread Gregor Schneider
On Tue, Jan 6, 2009 at 9:13 PM, Diego Armando Gusava diegogus...@gmail.com 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

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 to

Re: j_security_check with https

2009-01-06 Thread Diego Armando Gusava
this didnt work security-constraint web-resource-collection web-resource-nameUsuario/web-resource-name url-pattern/login/*/url-pattern http-methodPOST/http-method

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

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

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

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 when

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 eddowgia...@gmail.comwrote: Support for what you want to do is actually a feature in Oracle 11g. For Oracle 10g,

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 diegogus...@gmail.com 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

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 ma...@apache.org wrote: Bill Davidson wrote: Is it possible to set up a callback like situation so that a trigger

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 youssef.moham...@gmail.com wrote: you can also have your trigger call a java package where you can simply call a web

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 eddowgia...@gmail.comwrote: This is also highly inefficient. You are

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?

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: 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 from

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: 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

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

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

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

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. Of

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

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, if

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