Re: persistence with sessions & distributable attribute

2005-08-17 Thread Lintang JP
bably to expensive under heavy load. > > > @Lintang: > > That wouldn't help any. If you put your attributes (which are not > serializable) into a HashMap (which CAN (!) be serializable) the > resulting object (map + attribute) still wouldn't be serializable. >

Re: persistence with sessions & distributable attribute

2005-08-16 Thread Lintang JP
hi Nishant, You might want to put all your session variable inside HashMap or other datatypes that implements Serializable, rather than put it just in a single variable. Refer to the javadocs, what are those Serializable data types are. Or maybe you can build your own class with something like t

Re: Diagnosing Tomcat Hang

2005-08-12 Thread Lintang JP
have U check your Connector settings, maxAcceptConnection part ? this settings describe maximum connection will be accepted by tomcat, if it's reached, then tomcat will put the rest connection request in hold, waiting for other connection untill they finished. By that time, the tomcat looks "ha

Re: Monitor Tomcat with SNMP (MRTG etc)?

2005-08-10 Thread Lintang JP
how can I do monitoring with JMeter ? plis advice... On 8/11/05, Peter Lin <[EMAIL PROTECTED]> wrote: > > if you use tomcat 5.0.19 or new, you can use JMeter to monitor tomcat. > > peter > > > On 8/10/05, Seth Ladd <[EMAIL PROTECTED]> wrote: > > Dave Morrow wrote: > > > Does anyone know how to

Re: Tomcat clustering & load balancing

2005-08-03 Thread Lintang JP
Hi Jeevan, > 1. Am I missing something? Load balancing? Lot of ways to do load balancing : a. U can use balancer apps, it's bundled on tomcat sample b. U can use apache with mod_jk So, yes, you browse to some other URL. For example, if U run the balancer apps from tomcat, U should be redirected

Re: Setting multiple docbases in Tomcat

2005-08-01 Thread Lintang JP
Hi Ben U can put your settings in TOMCAT_HOME/conf/Catalina/localhost, there are some xml files there, just create one xml file there, and fill it just like the other existing one. On 8/2/05, Ben Ricker <[EMAIL PROTECTED]> wrote: > > I am using Tomcat 5.0.28 on AIX. I have a third-party app tha

Re: need help for deployment of unpack apps at Linux Tomcat 5.0

2005-08-01 Thread Lintang JP
t; wrote: > > I don't think its a good idea to post it here. The files got thousands > of lines.. perhaps there are specific parts that I should be look in > to? > > On 8/1/05, Lintang JP <[EMAIL PROTECTED]> wrote: > > you app.specific web.xml, at WEB-INF > >

Re: need help for deployment of unpack apps at Linux Tomcat 5.0

2005-08-01 Thread Lintang JP
you app.specific web.xml, at WEB-INF On 8/1/05, Mohd. Jeffry <[EMAIL PROTECTED]> wrote: > > which one? tomcat or my application web.xml ? > > On 8/1/05, Lintang JP <[EMAIL PROTECTED]> wrote: > > Servlet mapping specifies an > > unknown servlet name invoker &g

Re: need help for deployment of unpack apps at Linux Tomcat 5.0

2005-08-01 Thread Lintang JP
Impl.scanEndElement > (Unknown > Source) > at > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch > (Unknown > Source) > at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument > (Unknown > Source) > . > . > . > . &

Re: need help for deployment of unpack apps at Linux Tomcat 5.0

2005-07-31 Thread Lintang JP
any log file ? On 8/1/05, Mohd. Jeffry <[EMAIL PROTECTED]> wrote: > > I'm not using the war. This is an Unpacked deployment. > > On 8/1/05, Lintang JP <[EMAIL PROTECTED]> wrote: > > Hi Jeffry, are you trying to deploy a .war file ? maybe U should use the >

Re: Problem with tomcat559 in XP machine

2005-07-31 Thread Lintang JP
maybe U should increase the AcceptCount parameter in Connector..it's inside server.xml Tomcat will wait until there's a resource finish their task if the AcceptCount parameter reached, so it's hanged. By increasing it, U should get more AcceptCount. Regards On 8/1/05, dummy <[EMAIL PROTECTED]

Re: need help for deployment of unpack apps at Linux Tomcat 5.0

2005-07-31 Thread Lintang JP
Hi Jeffry, are you trying to deploy a .war file ? maybe U should use the tomcat manager, usually it's located at http://localhost:8080/manager/html, U can deploy your .war files from that tools. On 8/1/05, Mohd. Jeffry <[EMAIL PROTECTED]> wrote: > > I'm migrating form Tomcat 4.1.2 to Tomcat 5

Re: Security Manager

2005-07-31 Thread Lintang JP
maybe you must include web-app_2_3_2.dtd in your WEB-INF directory, and then reload it ? On 7/31/05, Ralf Schneider <[EMAIL PROTECTED]> wrote: > > Am Dienstag, 19. Juli 2005 23:55 schrieb Ralf Schneider: > > Hi, > > > > I have some problems when turning the security manager of Tomcat 5.5.9on. >