RE: Intermediate write in JSP

2006-07-18 Thread Phil \(waex\)
Hi, I had a similar issue in the past that I overcome by having the servlet start a separate thread that was producing the report, And a jsp page refreshing every 10 seconds or so checking for completion. Philippe -Original Message- From: Abh N [mailto:[EMAIL PROTECTED] Sent: 19 July 2

Re: Increase Heapsize

2006-07-18 Thread Suresh babu
Hi It's an option to the JVM, just append this line over there -verbosegc -XX:+PrintGCDetails. To avoid out of memmory errors just make sure minimum and maximum heap space should be same. You can find out still more information with GC details logged on enabling above option in JVM. Check it out

Re: Intermediate write in JSP

2006-07-18 Thread Abh N
Thanks Michael ...i will try this option. I have one more issue while looping throught the result set we see the memory usage increases contineously and then drops (after looping through ~5k) and then increases again. Is there any memory managemnt we can do from our side to that it d

Re: Intermediate write in JSP

2006-07-18 Thread Michael Jouravlev
Try setting buffer size to (8x10^6/3x10^4)x500 == 135K. On 7/18/06, Abh N <[EMAIL PROTECTED]> wrote: Hi, I have requirement where in I have to fetch around 30k (size around 8MB) records from DB and render in xls. I am looping through the result set and then using response.getOutputStream

Re: automatic rederict to website

2006-07-18 Thread Hassan Schroeder
On 7/18/06, d17may <[EMAIL PROTECTED]> wrote: currently I have to type like http://mywebsite:9090/mycontext/ what shud i do so that when i user type http://mywebsite:9090 it rederict to my context Why do you want this to redirect? Make your context the default (ROOT) context. Very simple. Rea

RE: automatic rederict to website

2006-07-18 Thread d17may
Propes, Barry L wrote: > > do you already have a service running at port 9090? > > -Original Message- > From: d17may [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 18, 2006 9:30 AM > To: users@tomcat.apache.org > Subject: automatic rederict to website > > > > I use tomcat 5 .i have

Intermediate write in JSP

2006-07-18 Thread Abh N
Hi, I have requirement where in I have to fetch around 30k (size around 8MB) records from DB and render in xls. I am looping through the result set and then using response.getOutputStream for writing the data The server has a time out of 5min so by the time data gets completely

Re: Question for Tomcat API experts - How to get period export of key throughput parameters

2006-07-18 Thread Bill Barker
"Edmon Begoli" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > > This question is directed towards Tomcat developers or Tomcat API experts. > > We are trying to establish an inspection mechanism that will track key > parameters > of Tomcat's over the period of time including s

Re: Solaris 10, Tomcat 5.5.9 and JDK 1.5.0_01 - Exception at start up

2006-07-18 Thread Bill Barker
"Jajati Samal" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi I have Solaris 10, JDK 1.5.0_01 and Tomcat 5.5.9, it crashes and I get > the following exception in catalina.out. I will appreciate if you can let > me > know any solution to this. Upgrade your Tomcat version. TC 5

Re: Default install of Tomcat not working properly

2006-07-18 Thread Mark Thomas
When starting a new thread (ie sending a message to the list about a new topic) please do not reply to an existing message and change the subject line. To many of the list archiving services and mail clients used by list subscribers this makes your new message appear as part of the old thread. Thi

Re: The requested resource is not available

2006-07-18 Thread Hassan Schroeder
On 7/18/06, Darren Hall <[EMAIL PROTECTED]> wrote: controller com.abc.framework.controller.ControlServlet controller /abc Also I've tried hitting the servlet directly by pointing my browser to http://localhost:8080/abc and I get the same "The requested resource (/abc) is not available"

Re: What does this log message mean?

2006-07-18 Thread Mark Thomas
Zsolt wrote: > When I shutdown tomcat-5.5.17 I see this message. > > Why are 24 instances? > > Jul 18, 2006 5:23:14 AM org.apache.catalina.core.StandardWrapper unload > INFO: Waiting for 24 instance(s) to be deallocated http://svn.apache.org/repos/asf/tomcat/container/tc5.5.x/catalina/src/share

Re: downloading tomcat

2006-07-18 Thread Mark Thomas
Pratap Parne wrote: > I just wanted to download a tomcat 5.5 but i found > there are different downloads like core,deployer.how > should i select the one suitable for me and are there > any different installation steps to install tomcat on > windows server platforms. >From the download page: Ple

RE: Tomcat 5.5/Axis 1.4 java.lang.reflect.InvocationTargetException

2006-07-18 Thread Propes, Barry L
none of the logs mention it? I realize Tomcat does seem a bit bereft of info in the logs sometime. Would it have been a case where it printed to the system console instead? Mine does that sometimes, instead of (or in addition to) the log(s) and I troubleshoot it that way. -Original Message-

Re: Tomcat 5.5/Axis 1.4 java.lang.reflect.InvocationTargetException

2006-07-18 Thread Luis Rivera
Hi Shankar, Thanks a lot. I found my problem. It turned out not to be a Classloader problem, but a NullPointer (THANKS TO TIM FOR THE HINT :) ) problem in the server, which I had not found because I don't know how to debug my application in Tomcat and there is no single log in the Tomcat direc

Re: tomcat installation

2006-07-18 Thread Boris Unckel
Hello, Pratap Parne wrote: can anyone help me in downloading the correct version of tomcat 5.0 like core,deployer?i want to know the differences. Did you read the download page ( http://tomcat.apache.org/download-55.cgi ) ? ---> Please see the README file for packaging information. It e

Random HTTP 502 errors

2006-07-18 Thread Mark Claassen
I was wondering if anyone could shed some light on some strange 502 errors I am having when going through a proxy. We are using a relatively new proxy server Sun-Java-System-Web-Proxy-Server/4.0 The error seems to be originating between Tomcat and the proxy. When the error occurs, the proxy logs

The requested resource is not available

2006-07-18 Thread Darren Hall
Simple problem (hopefully) and I've been here before, but for some reason I can't find my way through this error. Here's the scenario: I've written a servlet which I'm deploying in Tomcat 5.5 using Apache 2.2 as the web server. The servlet is a controller for one domain I have on my server (lets

Re: Tomcat 5.5/Axis 1.4 java.lang.reflect.InvocationTargetException

2006-07-18 Thread Shankar Unni
Luis Rivera wrote: I have a web service which will JNI to access the application, which according to the documentation should be placed in the shared/classes directory. I did so and I got a dreaded java.lang.reflect.InvocationTargetException, which I believe is a class loader problem. You nee

Re: Webapp Deploy Problem

2006-07-18 Thread Ravi Tharakan
holy crap, it worked. thanks so much. On 7/18/06, Marc Farrow <[EMAIL PROTECTED]> wrote: Just a thought, but try using HTTP protocol such as: file://c:/directory/filename.xml On 7/18/06, Ravi Tharakan <[EMAIL PROTECTED]> wrote: > > Hi. I'm having some trouble deploying a webapp I have instal

Re: Solaris 10, Tomcat 5.5.9 and JDK 1.5.0_01 - Exception at start up

2006-07-18 Thread Nikola Milutinovic
Jul 18, 2006 10:19:11 AM org.apache.jk.common.ChannelSocketacceptConnections WARNING: Exception executing accept java.net.SocketException: Invalid argument OK, so is there anything in jk.config, since this is caused by JK? Nix. -

Re: Webapp Deploy Problem

2006-07-18 Thread Marc Farrow
Just a thought, but try using HTTP protocol such as: file://c:/directory/filename.xml On 7/18/06, Ravi Tharakan <[EMAIL PROTECTED]> wrote: Hi. I'm having some trouble deploying a webapp I have installed on my local hard drive to my Tomcat server. I have an XML configuration file which I am us

Webapp Deploy Problem

2006-07-18 Thread Ravi Tharakan
Hi. I'm having some trouble deploying a webapp I have installed on my local hard drive to my Tomcat server. I have an XML configuration file which I am using to make the deploy. I put the URL in as the full path to the file on my hard drive, but when I try to deploy I get the error Encountered exc

Question for Tomcat API experts - How to get period export of key throughput parameters

2006-07-18 Thread Edmon Begoli
Hi, This question is directed towards Tomcat developers or Tomcat API experts. We are trying to establish an inspection mechanism that will track key parameters of Tomcat's over the period of time including severe peaks and low usage times. The key parameters that we interested in are: - Cu

Solaris 10, Tomcat 5.5.9 and JDK 1.5.0_01 - Exception at start up

2006-07-18 Thread Jajati Samal
Hi I have Solaris 10, JDK 1.5.0_01 and Tomcat 5.5.9, it crashes and I get the following exception in catalina.out. I will appreciate if you can let me know any solution to this. Thanks Jul 18, 2006 10:19:11 AM org.apache.coyote.http11.Http11Protocol pause INFO: Pausing Coyote HTTP/1.1 on http-8080

RE: Tomcat Not An App Server

2006-07-18 Thread Mike Wannamaker
We do use JNDI, however every web app still needs to have the classes available and I need some way to get the services into JNDI at startup. I don't want to have each web app do it. I haven't looked at JavaEE or 2.5 spec however resource injection sounds nice. I think I'll look at Dave's sugges

Re: FW: Deploying web application thats not located in the webapps di rectory

2006-07-18 Thread manivannan_palanichamy
Are you getting any exception during tomcat start up? Whats displayed when you request the web application? -- Manivannan Palanichamy -- View this message in context: http://www.nabble.com/FW%3A-Deploying-web-application-thats-not-located-in-the-webapps-di-rectory-tf1960844.html#a5382910 Sent

Re: Increase Heapsize

2006-07-18 Thread Ibrahim . Siddiqui
Chris,   This gives how much heapsize is currently allocated.    How can I know whether it is enough or what size it should be increased to?    Also: real time wise, how if tomcat behaving with each event/interaction/page delivery? Thanks, Ibrahim Christopher Schultz <[EMAIL PROTECTED]> 07

RE: problems getting jkstatus to work in mod_jk

2006-07-18 Thread Bob Jaques
> > Right and he tries http://mywebsite.com/status/ while he has > JkMount /jkstatus jkstatus, so I presume he might simply need > to check the http://mywebsite.com/jkstatus. > Perhaps something is there :) > I wish it were as simple as a mistyping I enable the line "worker.jkstatus.

Re: Tomcat 5.5/Axis 1.4 java.lang.reflect.InvocationTargetException

2006-07-18 Thread Luis Rivera
Hi Tim, I have not solved the problem, but managed to understand that the problem is not where I drop the classes that will make the JNI calls. Dropping them inthe share directory results in the java.lang.reflect.InvocationTargetException at the Client side. 1) To be clear, the call to th e JNI

Re: NEW : Tomcat Performance Monitoring

2006-07-18 Thread Christopher Schultz
Ibrahim, > What I would like is to visually see the performance of Tomcat in real > time. Please see the other thread in this mailing list that has been in discussion for the last few days. At least 2 tools have been mentioned already. -chris signature.asc Description: OpenPGP digital signa

Re: Increase Heapsize

2006-07-18 Thread Christopher Schultz
Ibrahim, >> -verbosegc -XX:+PrintGCDetails > > I'm getting a 'not found'. > does this command need to be installed? > I'm using ksh This is not a command to be run on the command line. It's an option to the JVM (see previous posts about where to put these). -chris signature.asc Descrip

Re: Increase Heapsize

2006-07-18 Thread Christopher Schultz
Ibrahim, >> You can always call Runtime.getRuntime().totalMemory() to find out the >> amount of heap space that has been allocated to the JVM. > > Where would this code be written? > And how would I execute it? Just toss a JSP file somewhere with that code in it to allow you to check up on the

RE: automatic rederict to website

2006-07-18 Thread Propes, Barry L
do you already have a service running at port 9090? -Original Message- From: d17may [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 18, 2006 9:30 AM To: users@tomcat.apache.org Subject: automatic rederict to website I use tomcat 5 .i have about 5 website in webapps folder .this all websit

RE: NEW : Tomcat Performance Monitoring

2006-07-18 Thread Ibrahim . Siddiqui
Peter, W e have a content management application using Vignette software for development. We use Tomcat 4.0.6 as our 'appserver', IHS for webserver. And oracle as our database. We're running on solaris machines. Last week we applied a efix supplied by the vendor (Vignette) for a problem that ha

Re: Increase Heapsize

2006-07-18 Thread Christopher Schultz
Ibrahim, > Thanks for your input. The application in question is a content > management one which is developed using Vignette. The Vignette support > team suggested the increase in heapsize as a first measure. We are > analyzing the code itself for leaks. It may be that on jsp pages we are > not

RE: How to redirect URLs

2006-07-18 Thread Propes, Barry L
usually within a request dispatcher object within the servlet. -Original Message- From: Nilesh Shastrakar [mailto:[EMAIL PROTECTED] Sent: Monday, July 17, 2006 11:21 PM To: 'Tomcat Users List'; 'Martin Gainty' Subject: RE: How to redirect URLs Thnaks for help, But where do I specify for

Re: Increase Heapsize

2006-07-18 Thread Ibrahim . Siddiqui
Suresh, I'm getting a 'not found'. does this command need to be installed? I'm using ksh Thanks, Ibrahim "Suresh babu" <[EMAIL PROTECTED]> 07/17/2006 11:44 PM Please respond to "Tomcat Users List" To: "Tomcat Users List" cc: Subject:Re: Increase

RE: symbolic links usage

2006-07-18 Thread Propes, Barry L
is this not something you configure within the servlet mapping? -Original Message- From: Phill O'Flynn [mailto:[EMAIL PROTECTED] Sent: Monday, July 17, 2006 6:58 PM To: users@tomcat.apache.org Subject: symbolic links usage I have a web app that needs to access directories outside of

Re: Increase Heapsize

2006-07-18 Thread Ibrahim . Siddiqui
Suresh, Where would I run this command? And is there something else besides -verbose:gc thanks, Ibrahim "Suresh babu" <[EMAIL PROTECTED]> 07/17/2006 11:39 PM Please respond to "Tomcat Users List" To: "Tomcat Users List" cc: Subject:Re: Increase H

Re: Increase Heapsize

2006-07-18 Thread Ibrahim . Siddiqui
Chris,  Where would this code be written?  And how would I execute it? Thanks, Ibrahim Christopher Schultz <[EMAIL PROTECTED]> 07/17/2006 09:07 PM Please respond to "Tomcat Users List"                 To:        Tomcat Users List         cc:                 Subject:        Re: Increase

tomcat installation

2006-07-18 Thread Pratap Parne
can anyone help me in downloading the correct version of tomcat 5.0 like core,deployer?i want to know the differences. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

Re: Increase Heapsize

2006-07-18 Thread Ibrahim . Siddiqui
Chris,   Thanks for your input. The application in question is a content management one which is developed using Vignette. The Vignette support team suggested the increase in heapsize as a first measure. We are analyzing the code itself for leaks. It may be that on jsp pages we are not closing co

Re: How to redirect URLs

2006-07-18 Thread Martin Gainty
Assuming your workers.properties have enabled forwardAll = true (that is the Apache workers say all requests go to Tomcat) http://tomcat.apache.org/tomcat-4.0-doc/config/ajp.html From Tomcat Create a request dispatcher using a path calculated as follows: {ServletPath} + "/" + {ServletSelector} +

automatic rederict to website

2006-07-18 Thread d17may
I use tomcat 5 .i have about 5 website in webapps folder .this all website listen to 9090 port .I want that when user type www.mywebsite:9090/ it redirect to website say(new ,there is folder under webapps name new).this website is in beta .we provide access only to few client . Thanks d17may -- V

FW: Deploying web application thats not located in the webapps di rectory

2006-07-18 Thread Cosio, Raul
This is what I do: Are you missing the "/" at the end? Or including an tag? -Original Message- From: tomjerry [mailto:[EMAIL PROTECTED] Sent: Jueves, 13 de Julio de 2006 12:20 p.m. To: users@tomcat.apache.org Subject: Deploying web application thats not located in the webapps direct

Re: Re: symbolic links usage]

2006-07-18 Thread Martin Gainty
This is Good Stuff- http://tomcat.apache.org/tomcat-5.0-doc/config/defaultcontext.html Case sensitive symlinks may not work in case insensitive environments such as Windows Good Call Phil- Martin-- * This email message and any f

Re: Tomcat Not An App Server

2006-07-18 Thread Avi Deitcher
Mike, Have you thought of wrapping the connection to the container? If you look at the interaction between any webapp and its container, there are just a few key interaction points: servletcontext/filtercontext, servletrequest, servletresponse, session, a few others. You can fairly extend or wrap

RE: Tomcat shutdowns unexpectedly - Please help

2006-07-18 Thread Cosio, Raul
David, - Do you have in your web.xml some kind of tag sometimes used to start a background thread that might be causing the problem? Unfortunately I work with WinXP and not everithing is written to catalina.out, what I do is run tomcat in a DOS prompt, if it hangs then I can read all the output g

Re: Tomcat Not An App Server

2006-07-18 Thread David Gagnon
Hi In server.xml you can add a lifecycle listener with implements org.apache.catalina.LifecycleListener Download tomcat code and check this one as example. className="org.apache.catalina.storeconfig.StoreConfigLifecycleListener"/> Hope this help Regards /David Mike Wannamaker wrote: I'll

RE: Tomcat Not An App Server

2006-07-18 Thread Mike Wannamaker
I'll try to be a little more specific. We have many groups within our company. Portal (Ottawa Office), Document Management (Toronto Office), Collaboration (UK Office), Workflow (Toronto Office), BI-Reporting (Kingston Office)... All these different applications have web pieces as well as their o

[Fwd: Re: symbolic links usage]

2006-07-18 Thread Phill O'Flynn
oops! My email client did something funny with the xml setting. This is what it should be Regards Phill O'Flynn - Original Message - Subject: [Fwd: Re: symbolic links usage] From:"Phill O'Flynn" <[EMAIL PROTECTED]> Date:

[Fwd: Re: symbolic links usage]

2006-07-18 Thread Phill O'Flynn
Although this didn't work for me I found an article that said to add the default context setting allowLinking to the server.xml which worked for [EMAIL PROTECTED] So effectively a soulution has been found. but  i would appreciate if anyone knows why this would work and and changes to the w

symbolic links usage

2006-07-18 Thread Phill O'Flynn
still no sucess I am using fedora 4. Is there any other security settings that might affect this? Would changes to server.xml help? If so, what. Is there another way? I beleive that JRun has a  "" tag. Does tomcat have something similar? Regards Phill O'Flynn --- Begin Message --- make all

RE: Tomcat 5.5/Axis 1.4 java.lang.reflect.InvocationTargetException

2006-07-18 Thread Tim Lucia
Is there a more complete trace in any log file? This looks like the axis error report that was snipped from the browser? At this time I haven't got anything more for you, unfortunately. Tim > -Original Message- > From: Luis Rivera [mailto:[EMAIL PROTECTED] > Sent: Monday, July 17, 2006

JMX Cluster invoke problems

2006-07-18 Thread Jon Dickinson
Hi, I am trying to get my web application to send a message to the other nodes in the cluster. I am planning on using JMX to do this. So far I have been able to query all the information I need but I am unable to invoke the send command. I have followed the instructions in an earlier post with

What does this log message mean?

2006-07-18 Thread Zsolt
When I shutdown tomcat-5.5.17 I see this message. Why are 24 instances? Jul 18, 2006 5:23:14 AM org.apache.catalina.core.StandardWrapper unload INFO: Waiting for 24 instance(s) to be deallocated Zsolt - To start a new topic,

Re: How to set value to environment variable in xml file in the Tomcat

2006-07-18 Thread Tim Funk
Use system properties. Hi, I need to set one of the parameter in the xml configuration file to the environment variable + some text. eg. where $WEB_DIR is an environment variable. How can I acheive this? Thanks, Sangita --

How to set value to environment variable in xml file in the Tomcat

2006-07-18 Thread Shirode, Sangita \(Sangita\)
Hi, I need to set one of the parameter in the xml configuration file to the environment variable + some text. eg. where $WEB_DIR is an environment variable. How can I acheive this? Thanks, Sangita

Re: symbolic links usage

2006-07-18 Thread dirk ooms
make allowLinking="true" an attribute of Context itself On Tuesday 18 July 2006 01:57, Phill O'Flynn wrote: > I have a web app that needs to access > directories outside of the context using symlinks. However these files are > not visible to the servlet. I have looked at all the FAQ's and made

RE: NEW : Tomcat Performance Monitoring

2006-07-18 Thread Peter Crowther
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > I need to monitor Tomcats performance real time. What aspects do you need to monitor? If you say that a thread dump gives ample information but post-incident, I assume this is *not* monitoring resource usage? Please give us more information

Re: problems getting jkstatus to work in mod_jk

2006-07-18 Thread Mladen Turk
Rainer Jung wrote: You already posted the same question 4 days ago. I replied and got no answer from you. Here is my original reply. Right and he tries http://mywebsite.com/status/ while he has JkMount /jkstatus jkstatus, so I presume he might simply need to check the http://mywebsite.com/jks

Re: problems getting jkstatus to work in mod_jk

2006-07-18 Thread Rainer Jung
You already posted the same question 4 days ago. I replied and got no answer from you. Here is my original reply. Which platform are you using? You can increase JkLogLevel to trace and then check the log during startup of apache. Maybe something is wrong with the permissions on the shared memor