different context on different ports, but one tomcat

2008-02-20 Thread Szabolcs Márton
Hi! anybody has idea what should i do, when i would like the following to happen: I have ONE instance of Tomcat with 3 different webapps (context) instance#1: accept connection only on port 80 from anywhere instance#2: accept connections only on https port from anywhere instance#3 accept conn

Re: How to get tomcat to decode %26

2008-01-10 Thread Szabolcs Márton
Hi try apache commons package, Stringutils somewhere. It has a lot of encode decode function already. 2008/1/10, Mark Thomas <[EMAIL PROTECTED]>: > > Vackar wrote: > > Hi, > > > > Does anyone know how to get tomcat to interpret %26 as an ampersand > > character (&) > > It does. > > Mark > > > -

Re: jsp modifications not visible after tomcat restart?

2007-10-02 Thread Szabolcs Márton
hi sometimes, delete /work dir at catalina_home helps, but i have the same problems sometimes. Something like the server doesnot recognize, that tha file changed and need recompile. regards Szabi 2007/10/2, loredana loredana <[EMAIL PROTECTED]>: > > I remember something like this happened to me

Re: How to specify a default context?

2007-10-02 Thread Szabolcs Márton
Hi maybe try this, in server.xml, in tomcat6 after this, every request at http://host will served by the context you specified here. No any changes neccessary, as i remember. regards Szabi 2007/9/30, Caldarale, Charles R <[EMAIL PROTECTED]>: > > > From: Ken Bowen [mailto:[EMAIL PROTECTED] >

Re: Tomcat clustering

2007-10-02 Thread Szabolcs Márton
HI! Have you tryed Terracotta for clustering? I find some days ago, and its very easy and simple to cluster tomcats. as i remember its free. regards, sZabi 2007/10/1, Daniel M Garland <[EMAIL PROTECTED]>: > > Hey > > The mcastDropTime attribute controls how long a node waits without a > respons

Re: Making the Tomcat 6 Comet Example (ChatServlet) Work

2007-07-05 Thread Szabolcs Márton
HI! i cannot get use this example too. but my big mistake was that i put the webapp library the catalina.jar! the project need catalina.jar for comet stuff, but you cannot deploy it in your webapp. maybe check that.. If i removed i could use comet stuff. (but not the demo:) ) I connected to com

anybody has javascript code example for using tomcat comet ?

2007-07-05 Thread Szabolcs Márton
Hi! Has anybody got any workable code sample i javascript for use tomcat comet? - I tryed with pure xmlhttprequest, watching for state ready, but i got data after it has timeouted on server... - dojo.cometd is not usable, its need bayeux protocol - dojo.io.bind, i cannot make it could someone p

Re: Is it possible to introduce new authentication method without modifying tomcat?

2007-06-07 Thread Szabolcs Márton
Hi! its an options, i use sometime. Create a filter. a class likes this. public class AuthenticationFilter implements Filter { private static Logger log = Logger.getLogger(AuthenticationFilter.class); public void doFilter(ServletRequest request, ServletResponse response, Filte

Re: tomcat comet, not working...

2007-05-30 Thread Szabolcs Márton
>System.out.println("Read " + n + " bytes: " + new >> String(buf, 0, n) + " for session: " + >> event.getHttpServletRequest().getSession(true).getId()); >>} else if (n < 0) { >>event.close(

Re: tomcat comet, not working...

2007-05-29 Thread Szabolcs Márton
equest().getSession(true).getId()); > } else if (n < 0) { >event.close(); >return; >} >} while (is.available() > 0); > >} >} > } > > > > Szabolcs Márt

Re: tomcat comet, not working...

2007-05-29 Thread Szabolcs Márton
i will send later, i cant ftp from here. any other ideas? i would like if somebody, who made this cometprocessor worked describe the things what have to do. I already done what is in tomcat docs (advanced NIO) regards, Saby 2007/5/29, Filip Hanik - Dev Lists <[EMAIL PROTECTED]>: send us a link

Re: Tomcat Connection pool

2007-05-29 Thread Szabolcs Márton
maybe you need some settings at the web.xml as weel? (just guess) regards, Szabi 2007/5/29, Ligade, Shailesh (Contr) (Mission Systems) <[EMAIL PROTECTED]>: Greetings, I am running Tomcat 5.x, and I have many webapps deployed and working under tomcat. I want my connection pool to be used from