Re: TOMCAT ISSUE: System.Exit

2007-05-24 Thread Johnny Kewl
that with a security manager?? - Original Message - From: Pid [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, May 24, 2007 2:54 PM Subject: Re: TOMCAT ISSUE: System.Exit Look up 'SecurityManager'. p Johnny Kewl wrote: I'm busy having a good look at Tomcats code

Re: TOMCAT ISSUE: System.Exit

2007-05-24 Thread Johnny Kewl
is wrong... but hey, I'll try it. - Original Message - From: Peter Crowther [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, May 24, 2007 6:21 PM Subject: RE: TOMCAT ISSUE: System.Exit From: Johnny Kewl [mailto:[EMAIL PROTECTED] Imagine I make a library

Re: Running Embedded Tomcat from Java Web Start

2007-05-24 Thread Johnny Kewl
- Original Message - From: Johnny Kewl [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, May 24, 2007 7:21 PM Subject: Re: Running Embedded Tomcat from Java Web Start Hi Andrew, The problem is not Tomcat, its WebStart, I hate that thing... know I'm

Re: TOMCAT ISSUE: System.Exit

2007-05-24 Thread Johnny Kewl
- Original Message - From: Pid [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, May 24, 2007 8:04 PM Subject: Re: TOMCAT ISSUE: System.Exit Johnny Kewl wrote: Ha ha... I think this is a kludge, Using a SecurityManager is a kludge? but ok, I have

BootStrap - Is in redundant?

2007-05-22 Thread Johnny Kewl
be able to contribute. 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/

Re: BootStrap - Is in redundant?

2007-05-22 Thread Johnny Kewl
a listening socket on the loopback address. The second process connects to this socket and sends a message telling tomcat to shut down. Mark On 5/22/07, Johnny Kewl [EMAIL PROTECTED] wrote: =Start Stop Mechanism= I see that START goes into a wait loop... and it will pop out of this when STOP

Re: Tomcat and Static file Caching ( 304 headers )

2007-05-22 Thread Johnny Kewl
Hi... I dont know much about this, never had a chance to play with it... dont even know how much Tomcat does for you and how much is manual header manipulation. But just from below... there seems to be nothing in the browser response telling the server that it understands feed caching... ie

Re: Tomcat and Static file Caching ( 304 headers )

2007-05-22 Thread Johnny Kewl
, max-age=3600 I think that will cache the js page for one hour alot easier than hashing pages and all the other fancy stuff in feeds maybe. - Original Message - From: Johnny Kewl [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Tuesday, May 22, 2007 3:55 PM

Re: Tomcat and Static file Caching ( 304 headers )

2007-05-22 Thread Johnny Kewl
if i look at the code of DefaultServlet that handles the static files in tomcat ).. But strangely enough it does not work for me.. Johnny Kewl schreef: I just had an after thought... happens often ; ) I think because you using feed type technology the assumption is that is wot you really want

Re: How to programatically undeploy an application (war)?

2007-05-22 Thread Johnny Kewl
Interesting question Dont think you can tell Tomcat to throw it out... but here are some idea's... + Have a look at this embedding article... maybe that deployer will show all exceptions and you can filter them (I dont know) then before tomcat is started you could let them run an

Re: Connection:close request returns a response without any content-length or Transfer-Encoding: chunked

2007-05-21 Thread Johnny Kewl
Hi Eric... again...I dont think its a bug... Have you checked that the Servlet is setting the content length. ie response.setContentLength(theByteLength); This is the Javadoc comments from the actual Tomcat src code... * pThe servlet container must write the headers before *

Running Tomcat Source In Netbeans... webapps and conf everywhere?

2007-05-20 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/

Re: Overriding Default Servlet?

2007-05-19 Thread Johnny Kewl
Thanks everyone for the info magic mailing list this! My interest in the default servlet is 2 fold A Resin user asked whether tomcat could do this path-mapping url-pattern=/activeadv/* real-path=/doc_root/activeadv// path-mapping url-pattern=/includes/*

Re: UserDatabase security

2007-05-19 Thread Johnny Kewl
Ha ha... if you get it working, I'll buy it from you ;) - Original Message - From: Pid [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Saturday, May 19, 2007 11:00 AM Subject: Re: UserDatabase security I'm trying to write a regex that will turn Mr Kewl's posts

Re: How to get Tomcat to give a new session for a new window

2007-05-18 Thread Johnny Kewl
Hi M.Hockings, If you tell us exactly wot it is u trying to do maybe we can find a solution... but here is an idea. A session is just a cookie stored under the domain name... so JSessionID is given a unique number like AABB445566778899 and that number is tracked. When you store stuff in a

Re: UserDatabase security

2007-05-18 Thread Johnny Kewl
Hi Jerome... Dont think its possible with tomcat doesnt have an encrypted password store. But I think you right... its part of a more general issue... namely that the server as a user, is a power user, and has to be able to get at resources on the machine... so you got this power user

Re: path mapping on tomcat

2007-05-18 Thread Johnny Kewl
Nice didnt know Resin did that... I think the answer is you cant do it from XML configs... but maybe a guru will correct me... hopefully ;) Its probably about 20 lines of code though I do that sort of stuff in a servlet. ie in Tomcat you can map urls to a servlet... and then let the

Re: Connection:close request returns a response without any content-length or Transfer-Encoding: chunked

2007-05-18 Thread Johnny Kewl
I havnt kept up http standards so this is a guess as usual ;) In http 1.0 thats how the server told the browser that the transmission was over it closed the connection. So if its defaulting to the old way slamming down the telephone... context length doesnt mean anything...

Re: Connection:close request returns a response without any content-length or Transfer-Encoding: chunked

2007-05-18 Thread Johnny Kewl
problem. In a good browser you will sometime see it downloading by the the length is ? The programmer forgot to set the length ;) or youre in a http 1.0 server (IIS... no just kidding ;) - Original Message - From: Johnny Kewl [EMAIL PROTECTED] To: Tomcat Users List users

Re: Dynamic URIs Using one Context

2007-05-16 Thread Johnny Kewl
Interesting question this is wot I would do try! The basic thing I would use Apache Httpd for it to direct via Virtual hosting and the worker file... domain names to various tomcat instances. eg you can have 2 tomcat instances on a machine and tomcat spread across many machines.

Re: JK Connector errors under heavy load

2007-05-15 Thread Johnny Kewl
Hi Brantley, I've never really had a reason to examine this kind of data... so I'm no expert on this... just guessing... as usual ;) I think that error count is an indication of socket errors... which one expects to have a few of. There isnt really much we can do about socket errors other

Re: How to read file content from servlet?

2007-05-14 Thread Johnny Kewl
Teh... you kinda got the right idea... but I think the question is wrong thats why u getting no responses. You cant get a servlet to call an applet but I have a feeling what you really asking is how to get a response from the servlet. This stuff you should find in a google so I'm going to

Re: JCaptcha with Tomcat

2007-05-14 Thread Johnny Kewl
I cant remember offhand wot it was that made me unhappy with Jcaptcha's real time operation, but there was definitely something that I found very buggy and yes... you got a problem with headless java as well although I did see some articles on how to try and get around this, its too much

Tomcat Inner Gold Mine

2007-05-13 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/

Re: Tomcat Inner Gold Mine

2007-05-13 Thread Johnny Kewl
Thanks but no... just a reoccuring urge I get to expose more of tomcats inherent functionality... but then it could be as Christopher Schultz mentioned because I'm still on 5.5.23... and Tomcat 6 now exposes the inner libs. Its just stuff like, you need to hash something and MD5 is in tomcat

Re: WAR deployment incomplete (sometimes)

2007-05-11 Thread Johnny Kewl
Hi Michael... shame still struggling with this. One thing you not telling us is wot is packaging the WAR. A WAR is basically a zip... but I do know that if you zip using external programs like AlZip or WinZip... the Java zip api can struggle with that. Also if you using netbeans right click on

Re: WAR deployment incomplete (sometimes)

2007-05-11 Thread Johnny Kewl
is bad, I would expect the deployment to fail every time, or when it does fail, always fail at the same point in the WAR expansion. -Original Message- From: Johnny Kewl [mailto:[EMAIL PROTECTED] Sent: Friday, May 11, 2007 4:46 AM To: Tomcat Users List Subject: Re: WAR deployment incomplete

Re: WAR deployment incomplete (sometimes)

2007-05-11 Thread Johnny Kewl
. -Original Message- From: Johnny Kewl [mailto:[EMAIL PROTECTED] Sent: Friday, May 11, 2007 4:46 AM To: Tomcat Users List Subject: Re: WAR deployment incomplete (sometimes) Hi Michael... shame still struggling with this. One thing you not telling us is wot is packaging the WAR. A WAR

Re: WAR deployment incomplete (sometimes)

2007-05-11 Thread Johnny Kewl
If this app is not top secret I would send it to a guru, someone like Caldarale, Charles and let him play with it. I think if the Tomcat guru's could see it first hand... you would find your solution. I've just made a 32mb ROOT.WAR. it unpacks, so their goes my theory ;) - Original

Re: strange session behavior!

2007-05-11 Thread Johnny Kewl
Hi Barry I think you session may not have been created... See my MOD below - Original Message - From: Propes, Barry L [EMAIL PROTECTED] I'm using this code for part of my app: String juser = request.getRemoteUser(); request.getSession(true).setAttribute(juser,juser); //

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/

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

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

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

<    2   3   4   5   6   7   8   >