ClassNotFound while Deserialization of dynamically loaded class via Groovy class loader

2016-12-01 Thread Santosh Kumar
interface in Session Sharing of Clustering process, so that try to load the class from fetching it from database. Regards, Santosh

Re: Problem using chunked encoding - request thread cleanup

2009-03-08 Thread Santosh Gangadhar
We are sorting to a workaround specific to the implementation for now. Hopefully, the upcoming release of Tomcat will help. Thanks all. Santosh. On Sat, Mar 7, 2009 at 8:54 AM, Martin Gainty wrote: > > > _ > Windows

Re: Problem using chunked encoding - request thread cleanup

2009-03-06 Thread Santosh Gangadhar
On Fri, Mar 6, 2009 at 8:50 PM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > From: Santosh Gangadhar [mailto:sant...@wirkle.com] > > Subject: Re: Problem using chunked encoding - request thread cleanup > > > > But the client keeps running because Tom

Re: Problem using chunked encoding - request thread cleanup

2009-03-06 Thread Santosh Gangadhar
Tried with JBoss 4.0.3 which internally uses Tomcat 5.5. Same behavior there as well. Santosh. On Fri, Mar 6, 2009 at 5:56 PM, Santosh Gangadhar wrote: > Sorry, missed to give the details. > Tomcat: 5.0.28 > Java: 1.6.0_04 > Commons http client: 3.0.1 > > I'll tr

Re: Problem using chunked encoding - request thread cleanup

2009-03-06 Thread Santosh Gangadhar
Sorry, missed to give the details. Tomcat: 5.0.28 Java: 1.6.0_04 Commons http client: 3.0.1 I'll try the latest Tomcat 6.0. Thanks, Santosh. On Fri, Mar 6, 2009 at 5:32 PM, Rainer Jung wrote: > Not answering your question, but which exact Tomcat version are you using? > There

Problem using chunked encoding - request thread cleanup

2009-03-06 Thread Santosh Gangadhar
) java.lang.Thread.run(Thread.java:619) Is this a bug? If not what is the right way to solve it? Is this related to the Expect: 100 continue mechanism? Thanks, Santosh.

Re: Realm authentication - unconventional usage

2006-11-22 Thread Santosh Puranshettiwar
Caldarale, Charles R wrote: Thanks. From: Santosh Puranshettiwar [mailto:[EMAIL PROTECTED] Subject: Re: Realm authentication - unconventional usage So seems like I *will* have to stick to application layer authentication, or is there a way out? Why can't you use one of the sta

Re: Realm authentication - unconventional usage

2006-11-22 Thread Santosh Puranshettiwar
ervlet/download.html With restricted resources define in web.xml Login page (FORM) And a defined realm in context.xml (or server.xml) No more ... PS: I don't think it really smart to GET login & password in (clear) URL ;-) On 11/22/06, Santosh Puranshettiwar <[EMAIL PROTECTED]>

Re: Realm authentication - unconventional usage

2006-11-22 Thread Santosh Puranshettiwar
ll now, my authentication code used to be in the application layer. But now, I wish to offload the task to my container (Tomcat) without any changes to the application protocol; which is to send username and password as _plain key-value pairs_ in the request URL. On 11/22/06, Santosh Puranshettiwa

Realm authentication - unconventional usage

2006-11-22 Thread Santosh Puranshettiwar
Hello, I wish to user a JDBCRealm with the username & password coming in the HTTP request as key-value pairs. Is it possible? Elaborate: - They request uri: - http://localhost/realm-test/RealmTestServetlet?username=foo&password=bar The Realm must authenticate with 'foo' &a

Re: RSS help

2006-11-21 Thread Santosh Puranshettiwar
r lows. $420,000 Mortgage for $1,399/mo - Calculate new house payment Also, I wonder how this question pertains to this mailing list? -- Santosh. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe,

Re: Tomcat Out Of Memory

2006-11-15 Thread Santosh Puranshettiwar
To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Santosh. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: sql connection error

2006-11-15 Thread Santosh Puranshettiwar
] For additional commands, e-mail: [EMAIL PROTECTED] Its difficult to say anything by this stacktrace. Lets wait till you can gather some more stack trace. -- Santosh. - To start a new topic, e-mail: users@tomcat.apache.org

Re: sql connection error

2006-11-15 Thread Santosh Puranshettiwar
PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Santosh. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: sql connection error

2006-11-14 Thread Santosh Puranshettiwar
ECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Santosh - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Java heap space

2006-10-07 Thread Santosh Puranshettiwar
Are you sure there isn't any memory leak? I mean it might happen that you are increasing the heap size just to delay the OutOfMemoryErrors. Santosh. Daniel Blumenthal wrote: I've been running a struts app on a plain vanilla install of Tomcat (5.0.28), and recently I've be

Re: use mod_jk

2006-09-21 Thread Santosh Puranshettiwar
Sorry I didn't get you question well but see if this helps. http://tomcat.apache.org/tomcat-3.2-doc/tomcat-apache-howto.html#adapter_jk_vs_js Santosh. Raffaele Viola wrote: Hi all, I Apache web server with Tomcat and mod_jk. The row JkMount /MyApp/* worker1 in the httpd.conf file

Re: Need Help w. Servlets And The JDBC.

2006-09-20 Thread Santosh Puranshettiwar
Adding to that, you should try using a connection pool rather than direct JDBC connection, once you get familiar with the fundamentals. With connection pools the application performs better than not. Santosh. Frank W. Zammetti wrote: Google is your friend... here's a quick hit:

Re: Logging application messages to a file instead of to the console

2006-09-20 Thread Santosh Puranshettiwar
Sorry Shiby, I've got no idea about the java logger as such. But had it been Log4j, I'd have checked my log4j.properties for the configured appender. Santosh. Shiby Maria John wrote: No, java logger. (java.util.loggi

Re: Logging application messages to a file instead of to the console

2006-09-20 Thread Santosh Puranshettiwar
Hi, What Logger are you using within the application. Is it Log4j? Santosh. Shiby Maria John wrote: Thanks for the immediate reply.. But I tried that .. it is loggin only Tomcat server specific messages and not the application messages. This is what I gave in my server.xml file But only

Re: Precompiled JSPs after Tomcat restart

2006-09-20 Thread Santosh Puranshettiwar
Google for "JSP lifycyle" to know more. Santosh. Michael Zoller wrote: Frank Niedermann wrote: Hello, is it right that Tomcat stores all compiled JSP sites in Tomcat5\work\Catalina\localhost\application\org\apache\jsp? yes. After a restart of Tomcat I still see all the .clas

Re: plz hlp. Servlet Not found when accessing Servlet from internet

2006-09-14 Thread Santosh Puranshettiwar
-3.2-doc/tomcat-apache-howto.html Santosh. Eddie Fahy wrote: Hi Santosh, Thanks for your reply. Yes, your suggestion makes lots of sense. There is apache webserver installed. Along with that there is php, tomcat, etc. Just like anyother Linux Server. Yesterday I discovered that if I access my

Re: plz hlp. Servlet Not found when accessing Servlet from internet

2006-09-12 Thread Santosh Puranshettiwar
u Yahoo!? Everyone is raving about the all-new Yahoo! Mail. In deployment mode, do you use Apache (or any other server in that matter) at the front end? If so, you will have to program mod_jk (or any other connector you u

Re: Executing binary from Servlet

2006-09-12 Thread Santosh Puranshettiwar
some programs successfully without ever touching the security manager. For Mark HB: Could it be a ownership/group problem? Santosh. Martin Gainty wrote: Mark- My experience has been radically different than Davids Specifically its been my experience that if you DONT have Security permissions specifica

Re: Executing binary from Servlet

2006-09-12 Thread Santosh Puranshettiwar
I agree with David. This does not seem to be a SecurityManager problem. Does your code run properly as a normal executable program (with main())? Sameer Acharya wrote: Have you tried adding following to your web app permissions in policy file permission java.lang.RuntimePermission "java.lang.R

Re: How to disable search machines?

2006-09-11 Thread Santosh Puranshettiwar
There is a robot.txt standard followed by web servers and search engines which specifies if a search agent can / cannot index files on a server. Zsolt wrote: Hi, I see that google and msn searches on our pages (tomcat-5.5.17). How can I disable that? Zsolt

Re: Performance monitoring for web applications

2006-09-10 Thread Santosh Puranshettiwar
You could get them profiled though. Leon Rosenberg wrote: I don't think that this is possible, simpy because all your webapps are running in one jvm, which is one process for the cpu. You could try to identify separate threads, but i'm sceptical that this works. regards Leon On 9/8/06, Shimol

Re: stopping a tomcat web application

2006-09-06 Thread Santosh Puranshettiwar
You mean you wish to do it without using the Tomcat Manger? asaf.lahav wrote: I did... It doesn't answer my question... -Original Message- From: Mikolaj Rydzewski [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 05, 2006 1:33 PM To: Tomcat Users List Subject: Re: stopping a tomcat w

Re: Why would this happen?

2006-08-30 Thread Santosh Puranshettiwar
Version: Tomcat 4.1.x OS: Fedora core 2 (also reproduced on Windows XP) Peter Crowther wrote: From: Santosh Puranshettiwar [mailto:[EMAIL PROTECTED] 4. (need more? ... please tell me.) Tomcat version? :-) - Peter

Re: Why would this happen?

2006-08-30 Thread Santosh Puranshettiwar
parsed them myself using a HttpServletRequest wrapper. Santosh. Mikolaj Rydzewski wrote: Santosh Puranshettiwar wrote: 1. a POST request 2. all request parameter (in form of key-value pairs) in the message body 3. application/x-www-form-urlencoded 4. (need more? ... please tell me.) Norma

Re: Why would this happen?

2006-08-30 Thread Santosh Puranshettiwar
I sorted it out moments later of posting this mail. It was a mistake from my side. Thanks any sorry for any inconvenience, if caused. But there is still something I am curious about. How does Tomcat 4.1.x deal with HTTP requests that have *transfer-coding=chunked*? Santosh. Santosh

Why would this happen?

2006-08-30 Thread Santosh Puranshettiwar
between, everything works fine. Why would this happen? Santosh. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Problems configuring the RequestDumperValve

2006-08-29 Thread Santosh Puranshettiwar
That did it. Thank you so much. David Smith wrote: Yes... in 4.1, the context definition is supposed to be in $CATALINA_HOME/conf/server.xml, not on it's own under WEB-INF. Santosh Puranshettiwar wrote: Any ideas? Santosh Puranshettiwar wrote: Here is my config file: -

Re: Problems configuring the RequestDumperValve

2006-08-29 Thread Santosh Puranshettiwar
In windows, I am able to see all output on console. It must be the case in Linux where the output goes in logs/catalina.out. Mark Thomas wrote: Santosh Puranshettiwar wrote: Any ideas? The above lines are in a file named mcs.xml inside webapps/mcs/WEB-INF But still

Re: Problems configuring the RequestDumperValve

2006-08-29 Thread Santosh Puranshettiwar
Any ideas? Santosh Puranshettiwar wrote: Here is my config file: - factory org.apache.commons.dbcp.BasicDataSourceFactory url jdbc:mysql

Problems configuring the RequestDumperValve

2006-08-29 Thread Santosh Puranshettiwar
Here is my config file: - factory org.apache.commons.dbcp.BasicDataSourceFactory url jdbc:mysql://localhost/mirage?useUnicode=true&characte

Re: Can Tomcat expose original HTTP request?

2006-08-28 Thread Santosh Puranshettiwar
request. - Original Message - From: "Santosh Puranshettiwar" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Friday, August 25, 2006 1:04 AM Subject: Re: Can Tomcat expose original HTTP request? Checkout the RequestDumperValve. It should help. bill cao wro

Re: Site statistics for tomcat?

2006-08-25 Thread Santosh Puranshettiwar
Marcelo Chryssovergis wrote: Also, I would like to know how to enable an access logging in tomcat to be utilized with this tool I´m looking. Would the *Access Log Valve* help? Santosh. - To start a new topic, e-mail: users

Re: Can Tomcat expose original HTTP request?

2006-08-24 Thread Santosh Puranshettiwar
Checkout the RequestDumperValve. It should help. bill cao wrote: Hi there, see if anyone knows how to do this. When a http request is sent to Tomcat, Tomcat manufactures a HTTPServletRequest object based on the raw http request. HTTPServletRequest has easy method to retrieve the request inform

Re: Enabling RequestDumperValve

2006-08-24 Thread Santosh Puranshettiwar
/Tomcat 4 "Manager" Helped. Thanks alot. /David Smith wrote: Place your context definition in your server.xml file. See http://tomcat.apache.org/tomcat-4.1-doc/appdev/deployment.html --David Santosh Puranshettiwar wrote: This is how its being done: - reloadable="true&quo

Enabling RequestDumperValve

2006-08-24 Thread Santosh Puranshettiwar
This is how its being done: - reloadable="true" > This snippet is inside a file named server.xml which is placed in $CATALINA_HOME/webapps/magicktest/WEB-INF/ . But nothing gets logged on the console. It was quite urgent, therefore only a minimal digging was performed. Please tell

Re: Parsing keyvalue pairs in POST data

2006-08-22 Thread Santosh Puranshettiwar
application for some reason still unknown does fails to set the Content-Length for requests with content above 2016 characters. Therefore, when the data is below 2016 characters, things work. And when its greater than that, they fail. Thanks alot for all your help. Santosh. Santosh

Re: Parsing keyvalue pairs in POST data

2006-08-22 Thread Santosh Puranshettiwar
gging the source code help? If so what should I specifically look for? Thanks alot. Santosh. Martin Gainty wrote: I know the initial versions of J2ME did not have UNICODE (either UTF-8 or UTF-16) support. I would search the lists located here https://subscriptions.sun.com/subscription_c

Re: Parsing keyvalue pairs in POST data

2006-08-21 Thread Santosh Puranshettiwar
e data extract in such a way seems perfectly fine. Should still give the request dumper valve a try? Thank alot again. Santosh. Mark Thomas wrote: Santosh Puranshettiwar wrote: Nope. No such attribute in the . Would any default value take effect then? If so what is it? Anything nearb

Re: Parsing keyvalue pairs in POST data

2006-08-20 Thread Santosh Puranshettiwar
Nope. No such attribute in the . Would any default value take effect then? If so what is it? Anything nearby 2016? Thanks, Santosh. Mark Thomas wrote: Santosh Puranshettiwar wrote: Well, there's another problem. HttpServletRequest.getParameter() is unable to parse the key-value pai

Re: Parsing keyvalue pairs in POST data

2006-08-20 Thread Santosh Puranshettiwar
Thanks alot for your reply Martin. Its just a simple setup. I am using Tomcat 4.1 listening on port 80 (OS: Windows - if that matters). Its not coupled with Apache. Why would the same data when sent from a browser would parse well while not from a J2ME application? I'm baffled. Sa

Re: Parsing keyvalue pairs in POST data

2006-08-19 Thread Santosh Puranshettiwar
Well, there's another problem. HttpServletRequest.getParameter() is unable to parse the key-value pairs in the http message body if the the total content-length is greater that 2016. Any ideas? Please. Santosh. Santosh Puranshettiwar wrote: Managed to digg it. Had to set Content

Re: Parsing keyvalue pairs in POST data

2006-08-19 Thread Santosh Puranshettiwar
Managed to digg it. Had to set Content-Type=application/x-www-form-urlencoded Santosh Puranshettiwar wrote: Hello, How does tomcat parse the key-value pairs sent in a Http Request as POST data? I am unable to read the parameters using the HttpServletRequest.getParameter() method. Parameters

Parsing keyvalue pairs in POST data

2006-08-19 Thread Santosh Puranshettiwar
Hello, How does tomcat parse the key-value pairs sent in a Http Request as POST data? I am unable to read the parameters using the HttpServletRequest.getParameter() method. Parameters are being sent by a J2ME application. Tell me if more details are required. Thanks alot. Santosh

Problem disabling session serialization duing shutdown.

2006-03-13 Thread Santosh
Greetings everyone, I am using Tomcat 5.0.19 on Fedora Linux, Core 2. My catalina.out shows the ugly exceptions during shutdown. Some Googling revealed that session serialization can be disabled by added the following XML snipett in the context.xml: I was unable to find any c

Re: jsp pages do not run in tomcat

2005-11-18 Thread Santosh Asbe
check whether .java & .class files for the JSP are being created in the work folder. Work folrder is located at /work/Standalone/localhost/. If class files are not being created here for the JSP then check ur JSP for extra semi colons which sometime creates problems for compilation. On 11/18/05,

Re: Can cached EJB HomeHandles be invalidated?

2005-11-14 Thread Santosh Asbe
I will also post this this issue in other mailing list. Will surely update you if a get a solution for the same. regards, Santosh On 11/14/05, Jeremy Crosbie <[EMAIL PROTECTED]> wrote: > > You are experiencing the same problem I am. Yes, Tomcat caches the home > handle. The prob

Re: Can cached EJB HomeHandles be invalidated?

2005-11-11 Thread Santosh Asbe
Hi , I have faces similar problem with tomcat & websphere. Problem i have descirbed in detail. Do inform if any solution is there for this problem. I have tomcat 4.1.30 on Linux. It servers as a web server and contains only JSP & Servlets. We make a remote call to Websphere Application Server ( o

Re: KeepAlive Timeout configuration

2005-11-06 Thread Santosh Asbe
Hi , My application also might require the keep alive timeout parameter. Can you provide more infomration and where exactly to specify the parameter. i am using tomcat 4.1.30 on RHEL 3.0. thanks Santosh On 10/29/05, Bill Barker <[EMAIL PROTECTED]> wrote: > > > - O

tomcat hangs

2005-10-18 Thread Santosh Asbe
application server which makes database calls. My tomcat only servers JSP ,servlets. I have an Apache-tomcat-WAS-DB setup. regards, Santosh

Re: Tomcat upgrade

2005-10-18 Thread Santosh Asbe
Thanks for the info. Santosh On 10/18/05, Tim Funk <[EMAIL PROTECTED]> wrote: > > If its not broke - why upgrade? But if your app is still being actively > developed - it may encounter issues/bugs which may be fixed with the > currect > (or future) version of tomcat. That b

Re: tomcat caching issue

2005-10-18 Thread Santosh Asbe
rver fails... it still tries to connect to bootstrap port (2809) of first app server. ideally it shoulde try to connect to the new app server bootstrap port. Can anyone help me reg this problem Santosh On 9/30/05, Tim Funk <[EMAIL PROTECTED]> wrote: > > Based on everything writte

Re: JSP Compilation, Jasper class loading, and log4j issues

2005-10-18 Thread Santosh Asbe
requiremnt. Santosh On 10/18/05, Mike Sabroff <[EMAIL PROTECTED]> wrote: > > Looks like maybe some directory permissions changed or some system > changed not allowing access to what Jasper needs > > Mike Sabroff > Web Services Developer > [EMAIL PROTECTED] > 920-568-

Re: classloader during tomcat startup

2005-10-18 Thread Santosh Asbe
Hi, further to our discussion, can i specifically load a class during startup? Is i possible in tomcat? Where is the clasloader hierachy and details placed?? Santosh On 10/18/05, David Delbecq <[EMAIL PROTECTED]> wrote: > > I don't know from the details of tomcat impleme

Re: How to PreCompile JSPs

2005-10-17 Thread Santosh Asbe
va :615) at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:786) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run( ThreadPool.java:683) at java.lang.Thread.run (Thread.java:567) Santosh On 10/17/05, Paul Singleton <[EMAIL PROTECTED]> wrote: > > James Black wrote: > > > Murali wrote:

Pre compilation of JSP

2005-10-17 Thread Santosh Asbe
va :615) at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:786) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run ( ThreadPool.java:683) at java.lang.Thread.run (Thread.java:567) Santosh

classloader during tomcat startup

2005-10-17 Thread Santosh Asbe
Santosh

Re: Tomcat upgrade

2005-10-17 Thread Santosh Asbe
if anyone has done it earlier its better to reuse..i am already working on the same. But is it recommended to upgrade to higher version of tomcat? my current tomcat is curretly stable. Just wanted to get ageneral view or opinion of all the experts in this group Santosh On 10/17/05, George

Tomcat upgrade

2005-10-16 Thread Santosh Asbe
Hi all, Currently my Production system is working on tomcat 4.1.30 ( linux). I would like to know the further upgrades of the server and what new has been added . which tomcat would be stable? Need your advice Thank yoou Santosh

Re: Tomcat 4.1.31 hangs after 2 days .. any idea on what going on .. ?... please help

2005-10-14 Thread Santosh Asbe
to your kernel version Santosh On 10/14/05, David Gagnon <[EMAIL PROTECTED]> wrote: > > Thanks for your help guys ! I try to inspect the thread to find where > they are blocked! > > Regards > /David > > > GB Developer wrote: > > >You could try getting a thread