Re: Access Local File System

2008-07-06 Thread Johnny Kewl
- Original Message - From: bperquku [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Sunday, July 06, 2008 7:32 PM Subject: Re: Access Local File System Thank you all of you, I currently using JBuilder 2007, i cannot find conf/Catalina/. I don't know how to configure that

Re: tomcat with jcaptcha

2008-07-07 Thread Johnny Kewl
- Original Message - From: WILLIAMer [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Monday, July 07, 2008 5:51 AM Subject: tomcat with jcaptcha Hi! all, I have an application named eCom unnder the tomcat/webapps and using jcatpcha with the login page. I set the eCom becomes

Re: tomcat with jcaptcha

2008-07-07 Thread Johnny Kewl
- Original Message - From: Johnny Kewl [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Monday, July 07, 2008 2:53 PM Subject: Re: tomcat with jcaptcha - Original Message - From: WILLIAMer [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Monday

Re: Access Local File System

2008-07-07 Thread Johnny Kewl
- Original Message - From: bperquku [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Monday, July 07, 2008 8:25 PM Subject: Re: Access Local File System Hi, I managed to create the second webapp that points on c:/. BUT, now i face another problem. Now i have to webapps, first

Re: tomcat with jcaptcha

2008-07-08 Thread Johnny Kewl
- Original Message - From: WILLIAMer [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Tuesday, July 08, 2008 9:23 AM Subject: RE: tomcat with jcaptcha Thanks for reply ,Sameer :) for me, webapps | - eCom - Admin - Login.jsp - Account - *.jsp eCom is a webapps

Re: Blocking port 8005 in TomCat in Deamon Mode

2008-07-10 Thread Johnny Kewl
- Original Message - From: Suma Rakesh [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Thursday, July 10, 2008 2:03 AM Subject: Blocking port 8005 in TomCat in Deamon Mode Hi, I am starting Tomcat through one of my C++ programs on windows 2003 server. I am using Bootsrap

Re: How to do CGI programming in Tomcat5.5

2008-07-22 Thread Johnny Kewl
- Original Message - From: suman [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Tuesday, July 22, 2008 12:32 PM Subject: How to do CGI programming in Tomcat5.5 Gi, Can you please point me to a link where it clearly says in step by step way how to do cgi programming with

Re: Trying to mix db connection pooling on web and desktop applications

2008-07-23 Thread Johnny Kewl
Out of luck ;) Dont think it can be done... I think JNDI has a problem serving dB connection pools outside of a container... it needs the classloaders, common JVM etc etc. I imagine one could make a RMI type provider... but a direct connection to the dB via JDBC is probably always going to be

Re: retrieving tomcat info from within a war

2008-07-24 Thread Johnny Kewl
- Original Message - From: Jerry Atrick [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Wednesday, July 23, 2008 10:51 PM Subject: retrieving tomcat info from within a war Is there a way to retrieve tomcat version/info from within a War file? I actually would prefer this to be

Re: Stop tomcat on Startup

2008-07-25 Thread Johnny Kewl
- Original Message - From: afolli [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Friday, July 25, 2008 10:29 AM Subject: RE: Stop tomcat on Startup Thanks Peter. That is a lot easier than I thought :) Alessandro Peter Crowther wrote: How hard a stop do you want? The

Re: Retrieving tomcat log files within war

2008-07-25 Thread Johnny Kewl
- Original Message - From: Jerry Atrick [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Friday, July 25, 2008 12:19 AM Subject: Retrieving tomcat log files within war Is there a way to programmically retrieve the tomcat log files? I can reconstruct the log location by doing a

Re: Programmatically detecting login or logout events

2008-07-28 Thread Johnny Kewl
- Original Message - From: MartinOShea [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Monday, July 28, 2008 10:15 AM Subject: Programmatically detecting login or logout events Hello I'm trying to find a way to detect the events caused when a user logs into or logs out of an

Re: Embedding custom metadata in a jsp page; access generated Class via reflection?

2008-07-29 Thread Johnny Kewl
- Original Message - From: Simon Kitching [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Tuesday, July 29, 2008 12:07 PM Subject: Re: Embedding custom metadata in a jsp page; access generated Class via reflection? Mikolaj Rydzewski schrieb: Simon Kitching

Re: Embedding custom metadata in a jsp page; access generated Class via reflection?

2008-07-29 Thread Johnny Kewl
- Original Message - From: Mikolaj Rydzewski [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Tuesday, July 29, 2008 2:50 PM Subject: Re: Embedding custom metadata in a jsp page; access generated Class via reflection? Johnny Kewl wrote: The JSP is well formed

Re: jsp compile question

2008-07-30 Thread Johnny Kewl
- Original Message - From: Jq [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Tuesday, July 29, 2008 11:05 PM Subject: jsp compile question How can I simulate the way tomcat builds a jsp file? I need to debug a .jsp that fails to build when requested. Thanks. Jq... what IDE

Re: java_home in tomcat6

2008-07-30 Thread Johnny Kewl
- Original Message - From: zorglub76 [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Wednesday, July 30, 2008 10:58 AM Subject: java_home in tomcat6 Hi all, I have a problem with setting JAVA_HOME variable in Tomcat 6.0.16. When I set it in catalina.bat as: set

Re: java_home in tomcat6

2008-07-30 Thread Johnny Kewl
eg on NB if I want the webapp to use Java 5 and I want it to use TC 5.5... On the project... right click properties-run --- pick the TC you want... On the project... right click properties-lib... and pick the JRE you want. On the server... the JRE used is in the Java Tab... You never have to

Re: Hot deployment Using Tomcat

2008-07-31 Thread Johnny Kewl
- Original Message - From: hisameer [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Thursday, July 31, 2008 4:29 PM Subject: Re: Hot deployment Using Tomcat Thanks for your reply Alessandro The autodeploy is set to true but but whenever my build process tries to delete the

Re: How to make tomcat to use javaw.exe instead of java.exe?

2008-08-01 Thread Johnny Kewl
- Original Message - From: Bharat Dighe [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Friday, August 01, 2008 12:49 AM Subject: How to make tomcat to use javaw.exe instead of java.exe? I am using Apache Tomcat 5.5.26. Is there a way we can force catalina.bat to use javaw.exe

Re: Status of threads in Tomcat( window service)

2008-08-01 Thread Johnny Kewl
- Original Message - From: Thangavel Sankaranarayanan [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Friday, August 01, 2008 4:05 PM Subject: Status of threads in Tomcat( window service) Hi, Please help me in find no of threads and thier status spawned by tomcat

Re: Installation Problems

2008-08-01 Thread Johnny Kewl
- Original Message - From: CrashOverride [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Friday, August 01, 2008 4:36 PM Subject: Re: Installation Problems Well, when I had it running before (and at the moment, I have it running on a different system), going to

Re: Creating a new Service

2008-08-03 Thread Johnny Kewl
- Original Message - From: Robert Drescher [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Sunday, August 03, 2008 12:27 PM Subject: Creating a new Service Hello everyone in this list! This is my first post in the users-help, after successfully installing Tomcat5.5 The default

Re: Tomcat Service is stopped automatically???

2008-08-04 Thread Johnny Kewl
- Original Message - From: Thangavel Sankaranarayanan [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Monday, August 04, 2008 9:08 AM Subject: Tomcat Service is stopped automatically??? Hi, I have a problem with tomcat 4.1.27. Operating system is Windows2000. I am running

Re: Tomcat Service is stopped automatically???

2008-08-04 Thread Johnny Kewl
- Original Message - From: Thangavel Sankaranarayanan [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Monday, August 04, 2008 3:53 PM Subject: Re: Tomcat Service is stopped automatically??? Hi, I dont find any Hkey..instead i find a Hkey_Current_user.. I have

Re: Can two Tomcat's safely share the same webapps directory?

2008-08-05 Thread Johnny Kewl
- Original Message - From: Richard M [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Tuesday, August 05, 2008 5:21 AM Subject: Can two Tomcat's safely share the same webapps directory? I looked through the documentation and searched the user list and web for the answer to

Re: Avast Antivirus and apache-tomcat-6.0.18.exe

2008-08-05 Thread Johnny Kewl
- Original Message - From: Mark Thomas [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Tuesday, August 05, 2008 11:09 PM Subject: Re: Avast Antivirus and apache-tomcat-6.0.18.exe Mark Thomas wrote: Ангелин Лалев wrote: Apparently the address is from Bulgarian

Re: Avast Antivirus and apache-tomcat-6.0.18.exe

2008-08-06 Thread Johnny Kewl
- Original Message - From: Len Popp [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Wednesday, August 06, 2008 2:09 AM Subject: Re: Avast Antivirus and apache-tomcat-6.0.18.exe 2008/8/5 Johnny Kewl [EMAIL PROTECTED]: - Original Message - From: Mark

Re: Re: Avast Antivirus and apache-tomcat-6.0.18.exe

2008-08-06 Thread Johnny Kewl
- Original Message - From: Ангелин Лалев [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Wednesday, August 06, 2008 7:01 AM Subject: Re: Re: Avast Antivirus and apache-tomcat-6.0.18.exe Thanks for the fast replies! I'm going to proceed with installation. Maybe

Re: Session Cookie and IE7

2007-04-04 Thread Johnny Kewl
I really not sure, still on IE6... but no one is talking so I'm going to guess. I think so, but I dont use IE7 so who knows but have a look at this article its ASP, but its easy reading and explains the concept http://www.15seconds.com/issue/971108.htm and then look up setDomain in

Re: problem in handlins request for JK2

2007-04-05 Thread Johnny Kewl
Hello Sunil, I'm not sure if I understand what you trying to do... If you want Apache to authenticate there should be something like this in httpd.conf Location /secure AuthType basic AuthName japan area AuthBasicProvider dbm AuthDBMType SDBM AuthDBMUserFile /www/etc/dbmpasswd Require

Re: problem in handlins request for JK2

2007-04-05 Thread Johnny Kewl
Message - From: sunil chandran [EMAIL PROTECTED] To: Johnny Kewl [EMAIL PROTECTED] Cc: users@tomcat.apache.org Sent: Thursday, April 05, 2007 9:13 AM Subject: Re: problem in handlins request for JK2 hello Johnny, I am sorry to confuse you... see my problem is that i used mod_auth_kerb

Re: Tomcat 6 User Connected

2007-04-05 Thread Johnny Kewl
By definition HTTP is connectionless, so there isnt really a true user count. A user reading, is busy but not in the server. If you want to monitor all users you need to use cookies. If you want to monitor concurrent users, then you could have a little thread safe routine at the start and end

Re: IDE

2007-04-06 Thread Johnny Kewl
Ah... get a chance to tell you how cool Netbeans is, love love love it. Does most any Java programming, and it excels with Tomcat. Use a wizard to make your JSP or Servlet, then debug it in the editor, and then deploy, all very easy. Apache is all text configuration... it actually could do

Re: sending smtp mail failure

2007-04-07 Thread Johnny Kewl
Easiest way is to setup a normal email program and see what the error messages are. If the machine doesnt have core mailing engines installed, it will probably tell you. If you on windows, try Outlook express, detailed messages will probably point you in right direction. Code should look

Re: what is java_opt parameter?

2007-04-07 Thread Johnny Kewl
Hi... I'm often wrong... The one is a command line option the other is an environment variable. ie tomcat5 ++JvmOptions=blah blah On windows those params will get stuck in the registry which immediately asks the question what happens on linux I dont know, but it makes me think that

Re: Apache2 Tomcat5.5 auto mod_jk 1.2.18 only works localhost

2007-04-07 Thread Johnny Kewl
Try this Add this to your server.xml Host name=Your Host Name appBase=webapps unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false !-- USE THIS FOR AUTO GEN OF JK MOD for Apache Forwarding to tomcat -- Listener className=org.apache.jk.config.ApacheConfig append=true

Re: Cannot open apache

2007-04-08 Thread Johnny Kewl
Probably because tomcat is still running Do a cntrl alt delete look for tomcat5 in the PROCESSs and kill it... start again. Just wondering why you can just start and stop from the task bar (near the clock)... its works well. If its not there... install again and make sure service is

Re: sharing same session across multiple webapp

2007-04-09 Thread Johnny Kewl
Always a big question... search the web and you find many different approaches Here is an article how to do it using servlet contexts... http://www.fwd.at/tomcat/sharing-session-data-howto.html But maybe clustering is what you looking for Have a look at tomcat clustering and session

Re: sharing same session across multiple webapp

2007-04-09 Thread Johnny Kewl
sharing session 2) merging webapps? I'll give a look to Spring facilities if it covers this kind of thing. see you - Dominique. Johnny Kewl a écrit : Always a big question... search the web and you find many different approaches Here is an article how to do it using servlet contexts... http

Re: Multilevel context path problem

2007-04-11 Thread Johnny Kewl
Ok... I'm not sure, it isnt intuitive, almost like context paths are a useless extra, I cant say I understand it either. If I want a servlet to say work on /test/secondlevel/ I change the name of the webapp to test and I also change the context path in conf /engine/location/ to test

Re: virtual directory

2007-04-11 Thread Johnny Kewl
Hi sylvian When developing I do this request.getContextPath() + uri; but I wrap the request.getContextPath() in a little routine like say imageMap(String uri) and use that in my JSP's Thats cool because if I change the context path the app doesnt break... BUT... I do it for a much

Re: virtual directory

2007-04-11 Thread Johnny Kewl
oc4j for tomcat. In fact if we can't manage to do that, it may be a reason to discard tomcat from our choice list, because some part of our application relies on virtual directories. Best regards Sylvain At 10:14 11/04/2007, Johnny Kewl wrote: Hi sylvian When developing I do

Re: virtual directory

2007-04-12 Thread Johnny Kewl
, the changes on windows will just happen there as well Samba... its better... no daring technology on MS thats always going to be a headache to maintain. - Original Message - From: Johnny Kewl [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, April 11

Re: Regarding: Tomcat default JSP edit

2007-04-12 Thread Johnny Kewl
Strange Here is the whole file for you... - Original Message - From: GHOSTRIDER [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, April 12, 2007 12:23 PM Subject: Regarding: Tomcat default JSP edit . Hello, I have a question, I'm new to Tomcat but not new to server

Re: Tomcat 5.5.17 and IPv6 configuration

2007-04-12 Thread Johnny Kewl
is addressed. If you have received this email message in error, please notify the sender immediately by telephone or email and destroy the original message without making a copy. Thank you. - Original Message - From: Johnny Kewl [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED

Re: getResourceAsStream returning blank (NOT NULL)

2007-04-13 Thread Johnny Kewl
InputStream in = getClass().getResourceAsStream(sPackageNameWithSlashes); If the class name is com.myCo.data You put it in like this /com/myCo/data Also because this stuff looks for a class loader I dont think it will work in a STATIC class. Use a normal class NO DOTS have fun

Re: Ajax xmlhttprequest

2007-04-13 Thread Johnny Kewl
OK... more than a little confused I think you saying when you run it against Apache Server... it works But when you run the script again tomcat it doesnt... Show us the Script in the web page and show us the Servlet or JSP in tomcat You can also show us the php if u want... Then we can

Re: sending smtp mail failure

2007-04-14 Thread Johnny Kewl
(Exception ex) { ex.printStackTrace(); } } } On 4/7/07, Johnny Kewl [EMAIL PROTECTED] wrote: Easiest way is to setup a normal email program and see what the error messages are. If the machine doesnt have core mailing engines installed, it will probably tell you. If you

Re: manager and host manager not available problem

2007-04-14 Thread Johnny Kewl
try http://localhost:8080/manager/html Should be able to see the links used if you http://localhost:8080/ and look at what they have use on default helper page have fun - Original Message - From: Zhenja [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, April 14, 2007 6:17 PM

Re: manager and host manager not available problem

2007-04-15 Thread Johnny Kewl
Damn you right its a bug, actually its nasty Have a look at http://mail-archives.apache.org/mod_mbox/tomcat-dev/200704.mbox/[EMAIL PROTECTED]/bugzilla/%3e Dont know what to suggest coz I dont know how to fix it All I can say is I'm running 5.5.17 as windows service and havnt had

Re: IDE

2007-04-17 Thread Johnny Kewl
Dont pull it out... Just stick a new one in... Just download the Tomcat you want... if its windows, the server version is cool. Stick it somewhere on one of your hard-drives. Go to TOOLS - SERVER MANAGER Click NEW SERVER Netbeans will now use the new Tomcat... and you can switch between them

Re: Unable to Stop Tomcat

2007-04-17 Thread Johnny Kewl
Ha ha... and all kidding aside, its a wonderful product, (technology). Mailing list is always full of issues, but if there was a way to measure red hot products, tomcat would be (is) right up there. Guys are doing an A1 job on tomcat. I wanted to say its unstoppable... and your problem

Re: tomcat context

2007-04-17 Thread Johnny Kewl
I think the answer is you dont Have a look at this thread http://mail-archives.apache.org/mod_mbox/tomcat-users/200704.mbox/thread?2 == Multilevel context path problem == Date Tue, 10 Apr 2007 - Original Message - From: José Perdigão [EMAIL PROTECTED] To:

Re: IDE

2007-04-17 Thread Johnny Kewl
@tomcat.apache.org Sent: Tuesday, April 17, 2007 6:34 PM Subject: RE: IDE NetBeans uses the embedded Tomcat 5.5.17 by default. How can a newly installed Tomcat 5.5.20 be configured to be used as the default? -Original Message- From: Johnny Kewl [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 17, 2007

Re: Unable to compile class for JSP

2007-04-17 Thread Johnny Kewl
Just include the libraries in the main JSP not in every included file If u use Netbeans Right click on the main JSP and compile it... it will show you the errors have fun - Original Message - From: Gaurav Kushwaha [EMAIL PROTECTED] To: Tomcat Users List

Re: IDE

2007-04-17 Thread Johnny Kewl
] To: 'Tomcat Users List' users@tomcat.apache.org Sent: Tuesday, April 17, 2007 6:34 PM Subject: RE: IDE NetBeans uses the embedded Tomcat 5.5.17 by default. How can a newly installed Tomcat 5.5.20 be configured to be used as the default? -Original Message- From: Johnny Kewl [mailto:[EMAIL

Re: Cascading style sheets and tomcat

2007-04-17 Thread Johnny Kewl
Yes... What you can also do is include your styles, before it goes to the browser, if say you have styles for each page... ie not caching eg: style %@ include file=/style.just_styles % /style now the browser will only do 1 trip to the server .. u c tomcat is very good ;)

Re: Cascading style sheets and tomcat

2007-04-17 Thread Johnny Kewl
-cached one if it hasn't changed on the server. Efficency comes when the resource is re-used for all the pages using a single skin. --David Johnny Kewl wrote: Yes... What you can also do is include your styles, before it goes to the browser, if say you have styles for each page... ie

Re: IDE

2007-04-17 Thread Johnny Kewl
nice to know they cant take it back haha - Original Message - From: Caldarale, Charles R [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Wednesday, April 18, 2007 12:34 AM Subject: RE: IDE From: Johnny Kewl [mailto:[EMAIL PROTECTED] Subject: Re: IDE

Re: Cascading style sheets and tomcat

2007-04-18 Thread Johnny Kewl
just fine. Thanks! Johnny Kewl wrote: Hey... u going to confuse David... ;) Yes David Tomcat is one fancy machine and it also supports tag libs. These things are like html tags... just well formed xml. Struts, Spring and Sun (tomcat frameworks) all have tag libs for just about

Re: How to create a kind of alias in tomcat

2007-04-18 Thread Johnny Kewl
Thing about these questions is always depends on what you really after... One way would be browser redirection ie stick this in the header of the index file under organigramme meta http-equiv=refresh content=N; URL=other-web-address and the way I like but I always get too much hassel

Re: Tomcat 5.5.17 and IPv6 configuration

2007-04-19 Thread Johnny Kewl
Hi SAVERIO, I just had IPv6 installed on a dev machine so I can make sure my code works with IPv6... like for example when you install IPv6 on XP and then http://localhost:8080 it comes into tomcat as a [::1] address, bet thats going to catch a few guys... I also figured out a way that you

Re: How to create a kind of alias in tomcat

2007-04-19 Thread Johnny Kewl
a solution to point the name of the application to an alias. Rgds, Malek -Message d'origine- De : Johnny Kewl [mailto:[EMAIL PROTECTED] Envoyé : mercredi 18 avril 2007 17:17 À : Tomcat Users List Objet : Re: How to create a kind of alias in tomcat Thing about these questions is always

Re: Tomcat 5.5.17 and IPv6 configuration

2007-04-19 Thread Johnny Kewl
that it isn't a correct address thanks saverio From: Johnny Kewl [EMAIL PROTECTED] Reply-To: Tomcat Users List users@tomcat.apache.org To: Tomcat Users List users@tomcat.apache.org Subject: Re: Tomcat 5.5.17 and IPv6 configuration Date: Thu, 19 Apr 2007 09:32:03 +0200 Hi SAVERIO, I just had IPv6

Re: Tomcat 5.5.17 and IPv6 configuration

2007-04-19 Thread Johnny Kewl
because i have only a hub between the machine. They work!!! NOW,in Internet Explorer url, the %25ID or %ID doesn't need. Saverio From: Johnny Kewl [EMAIL PROTECTED] Reply-To: Tomcat Users List users@tomcat.apache.org To: Tomcat Users List users@tomcat.apache.org Subject: Re: Tomcat 5.5.17 and IPv6

SOLUTION: Tomcat 5.5.17 and IPv6 configuration

2007-04-19 Thread Johnny Kewl
OK... just want to get this documented because SAVERIO and I went around in circles on this thing... Problem started as TOMCAT doesnt work with IPv6 on XP SP2 You install IPv6... as you would any other protocol... ie right click on Local Area Connection and Install and select the IPv6 stack.

Re: Tomcat 5.5.17 and IPv6 configuration

2007-04-19 Thread Johnny Kewl
is begun my gateway!!! Eureka in windows Vista there isn't this problem!!! From: Johnny Kewl [EMAIL PROTECTED] Reply-To: Tomcat Users List users@tomcat.apache.org To: Tomcat Users List users@tomcat.apache.org Subject: Re: Tomcat 5.5.17 and IPv6 configuration Date: Thu, 19 Apr 2007 15:43

Re: SOLUTION: Tomcat 5.5.17 and IPv6 configuration

2007-04-19 Thread Johnny Kewl
Small correction ipconfig if ... is wrong ipv6 if ... will give u the interfaces And its a Win32 APACHE ipv6 enabled WEB server I'm looking for... one on apache.org is not ipv6 enabled. Dont confise this with TOMCAT... Tomcat 5.5.17 and above are DEFINITELY ipv6 enabled.

Re: Force Apache to drop port 8080 when forwarding to Tomcat 6.0.10 using mod_jk-1.2.22

2007-04-20 Thread Johnny Kewl
Hi Khalil, I cant see anything wrong off hand, and I cant think of how this configuration can cause this behaviour... The only way I can see this happening is that there is an HTML page in apache that is redirecting to 8080 Or if the programmer who made the webApp did a redirect to another

Re: Force Apache to drop port 8080 when forwarding to Tomcat 6.0.10 using mod_jk-1.2.22

2007-04-20 Thread Johnny Kewl
Actually... on a second look, the configuration doesnt look right either... I mean you clearly NOT load balancing you just trying to use a JK connector... the worker should just look something like this # BEGIN workers.properties # Definition for Ajp13 worker worker.list=ajp13

Re: Session across multiple hosts?

2007-04-21 Thread Johnny Kewl
Greetings! Earthling Jeremy, Never tried this before, but I'm going to have a guess because I've seen this question before, and that didn't seem to have much luck... The underlying technology at work is the cookie... so what happens is the browser gets a JsessionId cookie from the server and

Re: Session across multiple hosts?

2007-04-21 Thread Johnny Kewl
as localhost, not .localhost. Jeremy On Apr 21, 2007, at 11:30 AM, Johnny Kewl wrote: So if you want to get the browser to treat the 2 domain names the same you have to SOMEHOW set the domain in that JSession cookie. Tomcat will automatically set it to abc.domain.com and def.domain.com

Re: Session across multiple hosts?

2007-04-22 Thread Johnny Kewl
is working great and responding to those correctly, but the cookie is being set as localhost, not .localhost. Jeremy On Apr 21, 2007, at 11:30 AM, Johnny Kewl wrote: So if you want to get the browser to treat the 2 domain names the same you have to SOMEHOW set the domain

Off scope question - What this Mailing List running on?

2007-04-22 Thread Johnny Kewl
This mailing list is a magic technology, just wondering if anyone knows what its running on. Is it Tomcat and James? thx

Re: Image problem

2007-04-23 Thread Johnny Kewl
Mm I had something similar once... maybe same problem. Are you reading parameters, that then say describe the path to the image? If so, then what could be happening is you are going straight to the JSP page and the servlet has not initialised yet, it hasnt read the params yet! ie Direct

Re: anyone ever altered the Tomcat API to create a Login Attempt limit in the security constraint?

2007-04-24 Thread Johnny Kewl
I think you would be better off writing a little authentication code inside your servlets... However if you want to modify tomcat, you'll find that stuff in package org.apache.catalina.authenticator; public class BasicAuthenticator all I wanted to to say is that some browsers like IE do

Re: linux + tomcat, some path/link problem

2007-04-24 Thread Johnny Kewl
Ha ha boy of boy are you in for some pain... sorry cant help myself. Well yes, you need to convert... because MS just didnt have the decency to ask the linux guys how to do it ;) Heres a little code for you if(rawFileName == null) return ;

Re: anyone ever altered the Tomcat API to create a Login Attempt limit in the security constraint?

2007-04-25 Thread Johnny Kewl
a Login Attempt limit in the security constraint? I'd be glad to write it inside my own, but I figured using the security constraint, you were bound to their classes. -Original Message- From: Johnny Kewl [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 24, 2007 12:45 PM To: Tomcat Users

Re: linux + tomcat, some path/link problem

2007-04-25 Thread Johnny Kewl
happened in opera, so I guess it maybe still have something to with tomcat. I'm gonna work on this after work Johnny Kewl [EMAIL PROTECTED] Caldarale, Charlie R [EMAIL PROTECTED] Fargusson.Alon [EMAIL PROTECTED] - To start a new

Re: problem switching to port 80

2007-04-25 Thread Johnny Kewl
Type netstat -noa It will give you the PID... Then Ctrl Alt Delete - Process's and View - Select Tab PID Then you can match up the application on port 80 exactly Bet its SKYPE... ;) - Original Message - From: John Pedersen [EMAIL PROTECTED] To: users@tomcat.apache.org Sent:

Re: IPv6 address in hostname

2007-04-27 Thread Johnny Kewl
YES! I have found this to... To elaborate a little more, as soon as I install IPV6 on XP SP2 running Tomcat 5.5.17 ALL address's seem to map to LOCALHOST and they ALL work. ie Host name=localhost . will display ANY IP coming in a request... BUT if you actually put in Host

Re: IPv6 address in hostname

2007-04-27 Thread Johnny Kewl
And you know wot that tells me I better go get some sleep... ha ha YES... you right, for some reason I thought something, and then tested wrong and screwed up ;) Nothing wrong... it works if you test it right... oops Sorry Salvero... leading you up the garden path... Leave Host

Re: Log files always locked

2007-05-02 Thread Johnny Kewl
: Log files always locked Johnny: I use Textpad to open the log file; if the log file is updated, it will automatically update the screen. Try that. -Original Message- From: Johnny Kewl [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 02, 2007 2:34 PM To: Tomcat Users List Subject: Log

Re: User-password from the HttpServletRequest

2007-05-02 Thread Johnny Kewl
JDBC I guess... Maybe the difficulty is an indication that its not the right way to go... For example if a user ever has to change their password... data is lost, or a huge procedure. Think about this... maybe its a good idea. Remember that if you see the user name in a page it means

Re: Log files always locked

2007-05-02 Thread Johnny Kewl
Wots Up Doc!... Rashmi I am using the Windows Installer... and when I saw what you said I killed every thing and then just started and stopped Tomcat... and guess wot!... the files are not locking... ie they letting other programs open them. So now I dont know whats causing the solid lock...

Re: Log files always locked

2007-05-02 Thread Johnny Kewl
02, 2007 10:54 PM Subject: RE: Log files always locked From: Johnny Kewl [mailto:[EMAIL PROTECTED] Subject: Re: Log files always locked but if you look at Propes, Barry L post... thats exactly wot I had to do ie copy all the files... and then open them... That doesn't really make sense

Re: Log files always locked

2007-05-02 Thread Johnny Kewl
From: Johnny Kewl [mailto:[EMAIL PROTECTED] Subject: Re: Log files always locked I think its just because a copy on a drag and drop is opening the file as read only... Thing is utilities like notepad and wordpad will try open rw. Makes sense. What about a real editor like ConTEXT or jEdit

Re: User-password from the HttpServletRequest

2007-05-03 Thread Johnny Kewl
Sebbo the word you looking for is SYMMETRICAL encryption I think Sun has an Class... cant remember. Anyway have a look at things like DES... and the one I like IDEA. You can read up on all that stuff and I'm pretty sure you will find java implementations. I did have this all coded a

Single Sign On (SSO) across machines and domains

2007-05-04 Thread Johnny Kewl
== Copy to Tomcat User Group == Sorry it took so long in coming ... my 1 week turned into 2. You can get the SSO filter at http://coolese.100free.com/ It can SSO on say one machine at HQ.Myco.com and the user can move to another machine say at branchoffice.africa.co.nz and not have to sign on

Re: Tomcat randomly cannot connect to SMTP host

2007-05-05 Thread Johnny Kewl
Raymond did you resolve it? If not, did you use tomcats JNDI... or did you use JavaMail directly. Did you write the code? or can you get at the relevant code? If so, can you show me the code You see if for example the mail routine is in a thread, and thats started when the servlet

Re: static fields suddenly started sharing]

2007-05-07 Thread Johnny Kewl
I've never played with tomcats class loaders but I was wondering why you want to place a distinct class so high in the Tomcat classloader tree. See the http://tomcat.apache.org/tomcat-4.1-doc/class-loader-howto.html I think the only reason it could have behaved at all as distinct classes in

Re: WAR deployment incomplete (sometimes)

2007-05-09 Thread Johnny Kewl
Try rename it to a zip... and the unzip it or see wot windows does? - Original Message - From: Michael Heinrichs [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Wednesday, May 09, 2007 4:43 PM Subject: WAR deployment incomplete (sometimes) Hello everyone, I am having a problem

Re: Application auto-redeploy

2007-05-09 Thread Johnny Kewl
Is it not possible to find a more elegant solution... like late binding with something like Class.forname()? ie make a plugin a full restart is very expensive. under host... if autoDeploy=true then if web.xml is changed in any way... tomcat will restart. So if you make a little function

Re: WAR deployment incomplete (sometimes)

2007-05-09 Thread Johnny Kewl
Are you developing in netbeans and then droping the dist into Tomcat is that when you see the problem?... if so its not a bad WAR... its because netbeans for some reason hangs onto tomcat ie Tomcat is ignoring the war because its still running the *build* version in netbeans. In this

Re: WAR deployment incomplete (sometimes)

2007-05-09 Thread Johnny Kewl
Ok another guess and another war story ;) I found that if I did a URLConnection in a filter init I managed to completely lock up Tomcat on a start stone dead... I then deleted the War and the folder and after figuring out wot the problem was, it would still not deploy the new one

Re: WAR deployment incomplete (sometimes)

2007-05-09 Thread Johnny Kewl
Damn this is strange I would expect Tomcat to protest... missing class's... or something? I'm now fascinated Michael if you like, you can send me the WAR... and I'll see if I can get it to break on my system. - Original Message - From: Michael Heinrichs [EMAIL PROTECTED] To:

Re: WAR deployment incomplete (sometimes)

2007-05-09 Thread Johnny Kewl
Found this article. http://archives.devshed.com/forums/java-118/missing-application-web-xml-1620719.html Other stuff I found seems to suggest that it is unpacking... but then Tomcat is deleting it. Some say reason is because windows locking open files... but we ruled that out. This

Re: WAR deployment incomplete (sometimes)

2007-05-10 Thread Johnny Kewl
deployment incomplete (sometimes) From: Johnny Kewl [mailto:[EMAIL PROTECTED] Subject: Re: WAR deployment incomplete (sometimes) Found this article. http://archives.devshed.com/forums/java-118/missing-application-web-xml- 1620719.html Which, unfortunately, came to what I think was the wrong

Re: Need help getting application to work on Tomcat 5.x

2007-05-10 Thread Johnny Kewl
You winning? Huge error hey... enuf to scare the hell out of an accountant... ha ha but its probably just a little thing wrong. Its just telling you the XML is screwed in web.xml. Typically will be something in your web.xml file that looks like this servlet-mapping

Mailing List on Tomcat?

2007-05-10 Thread Johnny Kewl
... Johnny Kewl eMail: JohnNo Spamkewlstuff.co.za -- replace No Spam with @ -- Cell: +027-72- 473-9331 Java Developer (Tomcat Aficionado) Free Tomcat software at http://coolese.100free.com/

<    1   2   3   4   5   6   7   8   >