losing memory

2005-02-08 Thread Bedrijven.nl
Hi all, The situation: I have several webapplications running on Tomcat (4.1.27). I work with virtual hosts in server.xml. So everything works fine and fast, that's not the problem. But I see a behavior of the free memory allocation I can't clearify. So what's the problem? when I start (or

Re: J2SE 5.0 redirects applets to java.com

2005-02-08 Thread David W. Brown
Hello Doug, thanks for the speedy reply. I am running TC 5.5. I really do not want to upgrade a lower revision with compat patches. The new Java Logo is not on the desktop. The Java Logo consumes the entire webpage and MSIE window fired up to navigate to an applet. I cannot block using the

RE: jsp version of session variable access. Pointer to syntax wanted.

2005-02-08 Thread Pawson, David
-Original Message- From: Tim Funk Via EL: (assuming sessionData.FILECOUNT = mySessionVariableName) ${sessionContext.mySessionVariableName} Via snippet: %=session.getAttribute(sessionData.FILECOUNT)% In a jsp - the session variable is

url case sensitive

2005-02-08 Thread Oleg
I am running Windows2003, IIS6, Tomcat 5.0.28 connected through JSPISAPI. The problem is only for Mac IE users when domain name (virtual) is typed in using caps. For example www.mydomain.com works just fine, but www.MyDomain.com is going to a site on the same server that is setup as localhost

RE : jaas with wlclient.jar returns no principals

2005-02-08 Thread LERBSCHER Jean-Pierre
Hi, You have to : configure your realm for example, Realm className=org.apache.catalina.realm.JAASRealm appName=Sample userClassNames=weblogic.security.principal.WLSUserImpl

RE: JTDS help

2005-02-08 Thread Allistair Crossley
Hi Charles, I've just taken your code and run it through our Tomcat 5.5, jTDS, SQL Server 2000 web application and it took approx. 0.5s to compile and subsequent requests were instantaneous 0.5s. I would look again at the issues I first noted, perhaps there is something you have missed.

Re: JNDI without edit server.xml

2005-02-08 Thread Harry Mantheakis
I think your ResourceParams element is missing the 'factory' parameter. Mine looks like this: ResourceParams name=jdbc/myDatabase parameter namefactory/name value org.apache.commons.dbcp.BasicDataSourceFactory /value

Problem configure Datasource on Tomcat 4

2005-02-08 Thread Mario Bittermann
Hi, I tried to configure datasource as described in the How-To manual on tomcat 4, but it doesn´t work. I found two ways to define a datasource and work with it: On tomcat 4.1.24: 1. Define context-entry in server.xml for my application with resource entry for datasource. 2. Define resource-ref

RE: JTDS help

2005-02-08 Thread Peter Crowther
From: Charles P. Killmer [mailto:[EMAIL PROTECTED] Also the thing that I run into with connection pooling the inability to use the SQL Statement of select @@IDENTITY from table. With connection pooling, you run the risk of getting the ID for a record that someone else inserted with the same

Re: MemoryError: PermGen space after several redeployments

2005-02-08 Thread Peter Rossbach
Hello Matt, I hope we have fix that with 5.5.8 see: http://issues.apache.org/bugzilla/show_bug.cgi?id=26135 Workaround for memory leak when reloading Struts based web applications by clearing the bean instrospector cache of the JVM on classloader stop, submitted by Tobias Löfstrand (remm)

Re: J2SE 5.0 redirects applets to java.com

2005-02-08 Thread Evgeny Gesin
David, if you run applets under Windows, you may need to completely remove all older Java Plug-ins to clean Windows Registry and re-install latest Java Plug-in again. Than redirect to Sun web site should not occur. Evgeny Gesin http://www.javadesk.com http://www.alltelescopes.com --- David W.

Tomcat IE on a stand-alone PC

2005-02-08 Thread Clyde, Judy, Robert Kate Thomson
Hi, I have Tomcat 4.1.12 installed on a stand-alone PC running w2000 without an internet connection. I can enter http://localhost:8080/index.jsp and get the Jakarta Project page displayed successfully. In fact, I have a DBMS installed and can access that via Tomcat. What puzzles me is what

Re: Tomcat IE on a stand-alone PC

2005-02-08 Thread Jon Wingfield
I work with a similar setup when I'm at home. It should all be fine. Check the File menu in IE. Does the Work Offline item have a tick next to it? If so, click it and then hover over the link again. Should be available. Jon Clyde, Judy, Robert Kate Thomson wrote: Hi, I have Tomcat 4.1.12

Re: MemoryError: PermGen space after several redeployments

2005-02-08 Thread Remy Maucherat
On Tue, 08 Feb 2005 11:26:50 +0100, Peter Rossbach [EMAIL PROTECTED] wrote: Hello Matt, I hope we have fix that with 5.5.8 see: http://issues.apache.org/bugzilla/show_bug.cgi?id=26135 You can use a context listener to clean that up. The container can't always cleanup after the

Re: jsp version of session variable access. Pointer to syntax wanted.

2005-02-08 Thread Tim Funk
EL first arrives as part of JSTL. Which was available in JSP 1.2. But using EL required that is was used in a tag. With JSP 2.0 - EL can be used anywhere one a page. As an added bonus - you can pass expressions as values to your own custom tags and the container will translate the EL

RE: jsp version of session variable access. Pointer to syntax wanted.

2005-02-08 Thread Pawson, David
-Original Message- From: Tim Funk EL first arrives as part of JSTL. Which was available in JSP 1.2. But using EL required that is was used in a tag. With JSP 2.0 - EL can be used anywhere one a page. Worthy of note! Thanks Tim. Do you know of any web

Re: jsp version of session variable access. Pointer to syntax wanted.

2005-02-08 Thread Tim Funk
The JSP examples from a default tomcat install might have some. -Tim Pawson, David wrote: -Original Message- From: Tim Funk EL first arrives as part of JSTL. Which was available in JSP 1.2. But using EL required that is was used in a tag. With JSP 2.0 - EL

Re: Accessing static variable from different webapps

2005-02-08 Thread Anshaj Mathur
Thanks a lot for helping me understand all this concepts about classloading. I found a pretty good article on class loading in java. http://www.onjava.com/pub/a/onjava/2005/01/26/classloading.html Thanks, Anshaj On Thu, 03 Feb 2005 22:25:53 +0100, Mario Winterer [EMAIL PROTECTED] wrote: For

RE: Online docs, was jsp version of session variable access.

2005-02-08 Thread Pawson, David
-Original Message- From: Tim Funk The JSP examples from a default tomcat install might have some. Some, and leads into Sun documentation, which often dates from 2000. From an hours googling: regards DaveP DATE: 2005-02-08T12:39:27Z KEYWORDS:jsp, EL, Tomcat 5.0

Security Questions

2005-02-08 Thread Luke
Hello; When creating a realm does the table name have to be 'user'? Realm className=org.apache.catalina.realm.JDBCRealm debug=99 driverName=org.gjt.mm.mysql.Driver connectionURL=jdbc:mysql://localhost/tomcatusers?user=dbUseramp;password=d bUser userTable=tomcatusers

icon, EJB's and Tomcat?, Login-valves, Realms with Oracle.. and other silly questions

2005-02-08 Thread Ben Bookey
Dear Tomcat users, 1. what exactly should the icon tags inside the web.xml do ? Is it simply a central reference for components within the webapp or does it have more powerful implications. i.e. the small icon will be used as an favicon type icon, whenever a user bookmarks a page from the

Content-Type removed from the Http Response when file is accessed through Tomcat Connector

2005-02-08 Thread Ritu Kedia
Hello All, I am facing a problem with the Content-Type getting removed from the Http Response when accessing a binary file packaged in a WAR file through a Web Server (IIS 5.0 or Apache 2.0). My web.xml has the following mime-type mapping: mime-mapping

RE: Content-Type removed from the Http Response when file is accessed through Tomcat Connector

2005-02-08 Thread Bedrijven.nl
maybe security (settings) of ie?? maarten -Oorspronkelijk bericht- Van: Ritu Kedia [mailto:[EMAIL PROTECTED] Verzonden: Tuesday, February 08, 2005 2:51 PM Aan: 'tomcat-user@jakarta.apache.org' Onderwerp: Content-Type removed from the Http Response when file is accessed through Tomcat

Re: JNDI without edit server.xml

2005-02-08 Thread Davide Gurgone
Harry Mantheakis wrote: I think your ResourceParams element is missing the 'factory' parameter. [CUT] Thank you 4 the response... I try it and now the error is changed: java.lang.NoSuchMethodError: org.apache.naming.resources.ProxyDirContext.lookupCache(Ljava/lang/String;)Lorg/apache/nami

RE: JTDS help

2005-02-08 Thread Charles P. Killmer
Well I must have missed something because it isn't working correctly. ;) Were you using connection pooling in your test? Perhaps I have something messed up in a config file? Or installed jTDS incorrectly? Thanks for all your help. Charles -Original Message- From: Allistair Crossley

RE: JTDS help

2005-02-08 Thread Allistair Crossley
Hi, No it was a totally raw test of your code which by virtue of using DriverManager does not use connection pooling even if I do have it enabled in my web app. jTDS installation is simply adding the JAR to tomcat/common/lib Are you running Tomcat on the same server as the database? Config

Does CoyoteConnector's connectionLinger option work?

2005-02-08 Thread Rodrigo Ruiz
Hi all, I am having problems with the configuration of a Tomcat 4.1.27 server on a Windows XP box. Although I use the following connector configuration in my server.xml file: Connector className='org.apache.coyote.tomcat4.CoyoteConnector' acceptCount='10'

HTTPconnector problem

2005-02-08 Thread reynir
Hi, I'm using the following setup in my server.xml (4.1. of tomcat). Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=9099 minProcessors=5 maxProcessors=75 tomcatAuthentication=false enableLookups=true redirectPort=8443

RE: JTDS help

2005-02-08 Thread Charles P. Killmer
I don't mean to be contrary, I am just trying to pin this down. The database and tomcat server are only separated by a 10/100 switch. I am going to run filemon and watch for access denied messages, then regmon and watch for similar things. The network is very fast, the db server is not being

RE: JTDS help

2005-02-08 Thread Allistair Crossley
Hey Charles, I'm sure it's quite frustrating, but I've already shown that your precise code runs way faster than your original statistics, and that was only on a modest box. It serves no purpose therefore to believe it could be the language of choice, because I cannot replicate your speed

RE: JTDS help

2005-02-08 Thread Peter Crowther
From: Charles P. Killmer [mailto:[EMAIL PROTECTED] I am going to run filemon and watch for access denied messages, then regmon and watch for similar things. The network is very fast, the db server is not being used by anyone else. It seems to me that if it were environmental, it would

Attn developers of Tomcat and JK

2005-02-08 Thread Eric Sandusky
To the developers of Tomcat and JK: As I can sense that not one single person is willing to respond to this issue, I can only assume that this tomcat-user community is worthless. Not only have I submitted this issue back 6 months ago, but a similar post was made by the user A jie twice within

Re: [SOLVED] Form Auth + xml users database

2005-02-08 Thread Omar Adobati
nobody can help me? On Mon, 7 Feb 2005 09:57:32 +0100, Omar Adobati [EMAIL PROTECTED] wrote: Thx for ur answers, I have reied what you say about the second question, but it's do not work. This is how I have changed my context.xml file: === ?xml version='1.0' encoding='utf-8'? Context

org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.doesModernCompilerExist(CompilerAdapterFactory.java:143)

2005-02-08 Thread Brian McGovern
Hello, I recently installed tomcat 5.0.28 and java 1.4.2_06. I get the default app and can execute servlets, but if i execute any jsp that is NOT defined in the jsp-examples web app, i get the error above. Full stack trace below: I have no idea what is causing this. Please help. type

Re: Attn developers of Tomcat and JK

2005-02-08 Thread fstmncn
What's your problem? have you found something better at the same cost (0$)? If it doesn't fit your needs, don't use it. --- Eric Sandusky [EMAIL PROTECTED] wrote: To the developers of Tomcat and JK: As I can sense that not one single person is willing to respond to this issue, I can only

[OT] RE: Attn developers of Tomcat and JK

2005-02-08 Thread Peter Crowther
From: Eric Sandusky [mailto:[EMAIL PROTECTED] [long FOAD rant elided] If you want support, buy a supported product or a version of Tomcat that is re-sold by a company that offers commercial support. If you wish to pay for somebody's time to fix this, feel free to make the offer. If you want a

Support Information Regarding - C0000005

2005-02-08 Thread support
Thank you for emailing Blizzard Entertainments Technical Support Department. In order to provide you with greater assistance, we have developed an automated reply system which evaluates your message and generates a detailed response towards it. Please read through this message as our

Re: Attn developers of Tomcat and JK

2005-02-08 Thread Tim Funk
http://jakarta.apache.org/tomcat/faq/tomcatuser.html#why -Tim Eric Sandusky wrote: To the developers of Tomcat and JK: RANT SNIPPED/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: [OT] RE: Attn developers of Tomcat and JK

2005-02-08 Thread Eric Sandusky
Classic! What's your problem? have you found something better at the same cost (0$)? If it doesn't fit your needs, don't use it. If you want support, buy a supported product or a version of Tomcat that is re-sold by a company that offers commercial support. If you wish to pay for

Is information on the number of downloads available?

2005-02-08 Thread Paul Luo Li
Hi I'm a Ph.D. student at CMU looking for information on the number of times Tomcat is downloaded. I'm investigating defect occurrence (i.e. bugs) predictions for open source projects. I have done some preliminary work describing the defect occurrence patterns of Tomcat (and a couple of

Re: Is information on the number of downloads available?

2005-02-08 Thread Tim Funk
http://www.apache.org/~vgritsenko/stats/projects/tomcat.html But see the disclaimer at the bottom of the link above. -Tim Paul Luo Li wrote: Hi I'm a Ph.D. student at CMU looking for information on the number of times Tomcat is downloaded. I'm investigating defect occurrence (i.e. bugs)

Is it possible to setup a custom ServerSocketFactory?

2005-02-08 Thread Rodrigo Ruiz
Hi all, I am using Tomcat 4.1.27, on a Windows XP SP2 host. I have tried to implement a custom ServerSocketFactory, and configured my CoyoteConnector to use it as its factory in the server.xml file. But, although an instance is created on startup, it seems no call is made to any of its

Re: Is information on the number of downloads available?

2005-02-08 Thread fstmncn
Nice. I was wondering if you know what has been used to generate the charts... Thank you in advance. --- Tim Funk [EMAIL PROTECTED] wrote: http://www.apache.org/~vgritsenko/stats/projects/tomcat.html But see the disclaimer at the bottom of the link above. -Tim Paul Luo Li wrote:

Session Objects

2005-02-08 Thread Jagadeesha T
Hi all, I' am storing session objects in a SINGLEON class object to keep all active sessions. Does it give any problems in clustered enviornment since singleton is a static referrence. Regards, Jagga __ Do You Yahoo!? Tired of spam?

RE: Session Objects

2005-02-08 Thread Peter Crowther
From: Jagadeesha T [mailto:[EMAIL PROTECTED] I' am storing session objects in a SINGLEON class object to keep all active sessions. Does it give any problems in clustered enviornment since singleton is a static referrence. Yes. Singletons are one-per-classloader. Classloaders are

RE: Session Objects

2005-02-08 Thread Dale, Matt
Yes it will, this won't work accross a cluster. You need to use the regular session manager. Is there any reason why you put the sessions in a singleton? Ta Matt -Original Message- From: Jagadeesha T [mailto:[EMAIL PROTECTED] Sent: 08 February 2005 17:25 To:

javaURLContextFactory class or jar file

2005-02-08 Thread Dave Bender
Where can I find the org.apache.naming.java.javaURLContextFactory class file or jar file that contains it? I'm trying to set up a simple JUnit test case JDNI fixture to create the JDNI context for my test cases. But I can't find where the class file sits. Does anybody have any idea? I would

Re: outOfMemory exception under high load

2005-02-08 Thread Oleg
Just a thought, I was having the same problem using JNDI for database connection. Our database pool was going crazy due to a lot of connections left unterminated and database memory usage was enormous. Restarting Tomcat would only help for a day or two and than OutOfMemory errors would come up

Re: Session Objects

2005-02-08 Thread Shey Rab Pawo
Could you explain why this won't work across a cluster? Thanks. On Tue, 8 Feb 2005 17:28:59 -, Dale, Matt [EMAIL PROTECTED] wrote: Yes it will, this won't work accross a cluster. Hi all, I' am storing session objects in a SINGLEON class object to keep all active sessions. Does

RE: Session Objects

2005-02-08 Thread Jagadeesha T
Thanks for responding. To manage session between an apllication and web servers. Is there any way to get that worked in clustered enviornment? Thanks Jagga Dale, Matt [EMAIL PROTECTED] wrote: Yes it will, this won't work accross a cluster. You need to use the regular session manager. Is

No jsp compiles

2005-02-08 Thread Brian McGovern
I just installed tomcat 5.0.28 and java 1.4.2_06 on redhat and no JSP compiles, with the following error: Even jsp with one line in them Any ideas? org.apache.jasper.JasperException: Unable to compile class for JSP

Re: Is information on the number of downloads available?

2005-02-08 Thread Paul Luo Li
Thanks Tim for the reply and the great link. It's difficult hard to decipher the actual numbers from the charts. Is there a chance that I can get the numbers used to generate the graphs? Also, I noticed that the chart only goes back to 2002. Does the information go back to 2000? I have

RE: HTTPconnector problem

2005-02-08 Thread Caldarale, Charles R
From: reynir [mailto:[EMAIL PROTECTED] Subject: HTTPconnector problem is secure : false port : 9099 this proves that I am accessing the correct port, but why is secure false ? is this a bug that has been fixed ? There's no bug here. You're using HTTP to access port 9099, and, by

Re: Is information on the number of downloads available?

2005-02-08 Thread Tim Funk
You can try contacting the owner of the graphs to see if you can get more details. I do not know of any other ways to get these stats. -Tim Paul Luo Li wrote: Thanks Tim for the reply and the great link. It's difficult hard to decipher the actual numbers from the charts. Is there a chance that

RE: javaURLContextFactory class or jar file

2005-02-08 Thread Caldarale, Charles R
From: Dave Bender [mailto:[EMAIL PROTECTED] Subject: javaURLContextFactory class or jar file Where can I find the org.apache.naming.java.javaURLContextFactory class file or jar file that contains it? It's in common/lib/naming-java.jar, at least in 5.0.x. - Chuck THIS COMMUNICATION MAY

Re: [OT] RE: Attn developers of Tomcat and JK

2005-02-08 Thread Parsons Technical Services
Eric, I do not use jk at this time so am not able to help you directly. If you do some surfing of the archives you will find there are typically three types of users. Total novice who are just looking for a free environment to learn in. Serious user who uses the product for every day life.

Re: HTTPconnector problem

2005-02-08 Thread reynir
Hi, As I understand the documentation (and my past experience shows) you are not correct. :) the documentation : http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/coyote.html states : |secure| Set this attribute to |true| if you wish to have calls to |request.isSecure()| to return |true|

Re: HTTPconnector problem

2005-02-08 Thread karjera
Laba diena. Dkojame, kad mums parate. Js atsista inut isaugota ms duomen bazje. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

jdk 1.5.0 and memory management per web-app/vhost

2005-02-08 Thread Delian Krustev
Hello, I've found this article: http://www.javaspecialists.co.za/archive/Issue092.html which directed me to these new features of jdk1.5: http://java.sun.com/j2se/1.5.0/docs/api/java/lang/management/MemoryPoolMXBean.html

RE: Where is jmx.jar

2005-02-08 Thread Phillip Qin
I use jdk 1.5.0 + tomcat 5.5.7. jmx is integrated into jdk. -Original Message- From: sven morales [mailto:[EMAIL PROTECTED] Sent: February 7, 2005 5:11 PM To: Tomcat Users List Subject: Re: Where is jmx.jar Hi, You need to download jakarta-tomcat-5.5.7.compat.tar.gz if you plan to

Re: No jsp compiles

2005-02-08 Thread David Smith
Can we get a little detail on your environment?: - which Redhat? - Java SDK or JRE? - value of your JAVA_HOME environment variable (# echo $JAVA_HOME)? One possibility that comes to mind is you are required to have the SDK for all versions of Tomcat up though the 5.0.x series. Tomcat 5.5 uses

Tomcat 5.0.28 Deploy apps in a /dir/appname like Context

2005-02-08 Thread Alberto Romero
What does work: deploying app in a /appname Context - I defined a host myhost with a /hostappbase dir as appBase - I took the sample HelloWorld app, renamed myapp and wanted it as http://myhost/myapp - I added a META-INF/context.xml file - I compiled it with ant all using

Tomcat Realm to LDAP USING SOAP

2005-02-08 Thread bohldan bohldan
Im writing a client-servlet program. If i use a client (not webbrowser) is it then possible to use Tomcat Realm(JNDI) to authenticate to LDAP using SOAP protocol? Or do i have to make the authentication myself in my java servlet using JNDI (is this safe btw)? //Johan

Re: Tomcat Realm to LDAP USING SOAP

2005-02-08 Thread Mark Thomas
Depends on what SOAP library (if any) you are using. I have seen BASIC auth work with Axis (can't remember which version but it was within the last few months). A long time ago I did try to get CLIENT-CERT working with Axis but hit a Tomcat bug. The Tomcat bug has been fixed but priorities

Re: HTTPconnector problem

2005-02-08 Thread Mark Thomas
I have just tested this on the latest TC4.1.x from CVS this works as stated in the docs. The output I see is: is secure : true port : 8080 It is possible that this is a bug that has been fixed but I don't see any changes in the archives that look relevant (I checked back to the end of 2003).

RE: HTTPconnector problem

2005-02-08 Thread Caldarale, Charles R
From: reynir [mailto:[EMAIL PROTECTED] Subject: Re: HTTPconnector problem As I understand the documentation (and my past experience shows) you are not correct. :) But we don't actually run the documentation. Here's the code of interest (from 5.0.25, the last one I downloaded the source

Re: Memory leak in tomcat 5.0.28

2005-02-08 Thread Mark Thomas
Marx, Mitchell E (Mitch), ALABS wrote: I see the bugzilla ID: http://issues.apache.org/bugzilla/show_bug.cgi?id=33368 Anyone know if this is present in Tomcat 4.1.30? Yes. http://issues.apache.org/bugzilla/show_bug.cgi?id=20758 is also present but is fixed in 4.1.31 Mark

Trouble getting CGI script to execute

2005-02-08 Thread Brelsfoard, Alex
I have been reading all the online documentation I can dig up and cannot find the solution to my problem. Quite simply, all I want to do is be able to run perl cgi script through my Tomcat server. I uncommented everything having to do with CGI in the Tomcat web.xml conf file, restarted the server

using shared objects from tomcat

2005-02-08 Thread Andreas Andersson
Hi (again)! I still have problems useing a shared library from within a tomcat webapp. The same code works from a standalone appication but not from tomcat. If anyone can answer one or more of the following questions I would be happy. 1) Is there any way to log what a .so-file attempts to do

RE: Trouble getting CGI script to execute

2005-02-08 Thread Warron French
I use apache to enable cgi scripts, and I had the same problem as you. So, since I don't know Tomcat so well, I can offer you this. Check in your config file to make sure that you have the line(s): AddType application/x-httpd-cgi .cgi .sh .pl AddHandler cgi-script .cgi .sh .pl (I am not

RE: Trouble getting CGI script to execute

2005-02-08 Thread Brelsfoard, Alex
Virendra Agarwal wrote: I think you can run cgi script under Apache only when installed under cgi-bin subdir. Right, sorry, forgot to include that. I have placed the script in a cgi-bin folder. When I go to the folder that script is listed there in the directory listing. When I click on the

RE: Session Objects

2005-02-08 Thread Dale, Matt
It's not impossible to make this work over a cluster but not with the included clustering classes in tomcat. You would have to write your own clustering classes. The reason why it won't work is that each singleton will be individual to a classloader and each tomcat accross the cluster will

tools for Memory leaks

2005-02-08 Thread Mark
Hi, I'm looking for a free tool to monitor my application on Tomcat 5.0.28? I don't see any changes in memory use on RH9 - but the load is too low. What I'd like to test: - high load - potential memory leaks - etc. I'd rather to have a tool which have a minimum impact on performance, but any tool

Re: Trouble getting CGI script to execute

2005-02-08 Thread Mark Thomas
Exactly where did you put your script? If you follow http://jakarta.apache.org/tomcat/tomcat-5.5-doc/cgi-howto.html and use the defaults it is impossible to see the text of your script. Assuming you only uncommented the global web.xml and did not edit any of the settings, your script should be

IllegalStateException: getOutputStream() has already been called for this response

2005-02-08 Thread DAVID TURNER
I'm trying to write a servlet that handles business logic exceptions by specifying in the web.xml the jsp error page that I want to use for a specific Exception (see web.xml snippet below). I have this working when I use response.getWriter() in the servlet instead of response.getOutputStream() --

RE: Trouble getting CGI script to execute

2005-02-08 Thread Brelsfoard, Alex
I do not have apache installed on this server. I was hoping to be able to do everything I want with just one server. I understand that if I cannot get this to work with Tomcat, then I will have to install apache as well. But I have to try. --Alex Alex Brelsfoard Web Applications Developer

RE: Trouble getting CGI script to execute

2005-02-08 Thread Brelsfoard, Alex
OK, now we're getting somewhere. There was no entry for mime-type for file extension cgi. I added: mime-mapping extensioncgi/extension mime-typeapplication/x-httpd-cgi/mime-type /mime-mapping Which was not there before. Do I have the correct mime-type info there? When I

Re: Trouble getting CGI script to execute

2005-02-08 Thread Mark Thomas
You are heading in the wrong direction. You don't need to specify a mime-type. (Neither do you need Apache.) You have a simple configuration error. See my previous post. Mark Brelsfoard, Alex wrote: OK, now we're getting somewhere. There was no entry for mime-type for file extension cgi. I

RE: Trouble getting CGI script to execute

2005-02-08 Thread Brelsfoard, Alex
This is one area I was not entirely sure about. I did uncomment everything and did NOT change anything. I do not really have a ROOT url. I setup a /cgi-bin directory in server.xml. I then created a WEB-INF and cgi folders and placed my script in there. So the path to the file is

Context element precedence

2005-02-08 Thread Bengt Lord
In the TC 5.5 doc under Server Configuration Reference it says: In addition to nesting Context elements inside a Host element, you can also store them: in the individual $CATALINA_HOME/conf/context.xml file: ... in the individual $CATALINA_HOME/conf/[enginename]/[hostname]/context.xml.default

RE: No jsp compiles

2005-02-08 Thread Brian McGovern
Follow Up: in case anyone had the same issue. It was my installation of tomcat. I blew away old instance, downloaded binaries again and this time JSP's compiled fine. My guess is that the original tar ball was either a result of an incomplete download or was just simply the wrong one. Who

Re: Trouble getting CGI script to execute

2005-02-08 Thread Mark Thomas
OK. Making progress. Can you try the following? (all steps included - even the ones you have already done) Once it works we can tweak it to give the configuration you want. These steps assume a default install. Create a directory $CATALINA_HOME/webapps/myapp/ Create a directory

RE: tomcat CPU utilization pegged...total CPU only 50%

2005-02-08 Thread Kevin Williams
-Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Monday, February 07, 2005 10:04 PM To: Tomcat Users List Subject: RE: tomcat CPU utilization pegged...total CPU only 50% [bcc][faked-from][bayes] Importance: Low From: Kevin Williams [mailto:[EMAIL

RE: Trouble getting CGI script to execute

2005-02-08 Thread Brelsfoard, Alex
I'm sorry. I really don't mean to waste your time. I'm just a bit confused here. You agreed that I do not need to use apache, but your advice was explained to me using apache configuration file format. I just figured that you were giving me examples/ideas. Tomcat does not have an httpd.conf

RE: Trouble getting CGI script to execute

2005-02-08 Thread Brelsfoard, Alex
Sorry my server was a bit slow and I didn't get this message until after I had sent my last. Apologies. Alex Brelsfoard Web Applications Developer Web Development Office Worcester Polytechnic Institute 508-831-6147 [EMAIL PROTECTED] -Original Message- From: Mark Thomas [mailto:[EMAIL

Re: OT: Version control tool

2005-02-08 Thread Chris Shenton
John Najarian [EMAIL PROTECTED] writes: Also, a bug tracking application would be nice also. These need to be run on Windows. I've used RT (Request Tracker) for feature/issue/bug tracking. It works well and is quite powerful. Clients access it through a web interface, or email requests into

RE: JTDS help

2005-02-08 Thread Charles P. Killmer
Well there aren't any file access errors but it looks like for every request it is racing through all of the directories and compiling whatever it finds. Is there a setting that tells tomcat to recompile on every request? Charles -Original Message- From: Allistair Crossley

RE: using shared objects from tomcat

2005-02-08 Thread Benson Margulies
1) Your monitoring options depend on what unix(-like) system you are running on. On Linux, there's strace. On Solaris, truss. On HPUX and AIX? I forget. To do this PROGRAMMATICALLY to create a sandbox? Forget it. The Unix Approach is this: A) create a uid/gid with only the access that you want

RE: Trouble getting CGI script to execute

2005-02-08 Thread Brelsfoard, Alex
Ok. So I did everything you said. Still not working. I get a 404 error. So I took it step by step to see if I made typos or something. If I go to http://host:port I see the directory listing including myapp I click on myapp. There is nothing in the directory listing. I then add

Tomcat 5.5.7/DataSourceRealm/Manager app

2005-02-08 Thread Phillip Qin
I am having serious issue with Tomcat Manager app using DataSourceRealm during upgrading from Tomcat 5.0.28 to 5.5.7. The issue is, after I accessed Tomcat Manager app couple of times, I got this exception 8-Feb-2005 2:19:24 PM org.apache.catalina.realm.DataSourceRealm open SEVERE: Exception

Re: IllegalStateException: getOutputStream() has already been called for this response

2005-02-08 Thread Roberto Cosenza
Your approach is bad but don't worry. If you have time, read something about MVC. You will need it eventually. To make your servlet work, try something like: public void doPost(HttpServletRequest req, HttpServletResponse res) throws ServletException,

Re: Trouble getting CGI script to execute

2005-02-08 Thread Mark Thomas
Brelsfoard, Alex wrote: Ok. So I did everything you said. Still not working. I get a 404 error. So I took it step by step to see if I made typos or something. If I go to http://host:port I see the directory listing including myapp This shouldn't happen. This means that myapp is a directory in

Re: Tomcat 5.5.7/DataSourceRealm/Manager app

2005-02-08 Thread Mark Thomas
It is a known bug that has been fixed and will be included in 5.5.8. Sorry. Mark Phillip Qin wrote: I am having serious issue with Tomcat Manager app using DataSourceRealm during upgrading from Tomcat 5.0.28 to 5.5.7. The issue is, after I accessed Tomcat Manager app couple of times, I got this

Re: using shared objects from tomcat

2005-02-08 Thread Andreas Andersson
Benson Margulies wrote: First of all, thanks for the answer, I've been fighting this one for quite som time now. 1) Your monitoring options depend on what unix(-like) system you are running on. On Linux, there's strace. On Solaris, truss. On HPUX and AIX? I forget. To do this PROGRAMMATICALLY to

RE: Tomcat 5.5.7/DataSourceRealm/Manager app

2005-02-08 Thread Phillip Qin
Thx, I am relieved. Off to Cuba. -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: February 8, 2005 4:49 PM To: Tomcat Users List Subject: Re: Tomcat 5.5.7/DataSourceRealm/Manager app It is a known bug that has been fixed and will be included in 5.5.8. Sorry. Mark

RE: [OT]Attn developers of Tomcat and JK

2005-02-08 Thread Didier McGillis
Really this is way out of line. As everyone has said this is a free product with no formalized support structure, and no claims of any support. This list is here as a resource to those brave souls who are adventerous enough to work with the software. I might be overstating things here but

RE: Trouble getting CGI script to execute

2005-02-08 Thread Brelsfoard, Alex
OK I changed it so that the path is myapp and the docBase is ${CATALINA_HOME}/webapps/myapp. Restarted Tomcat Still nothing. --Alex Alex Brelsfoard Web Applications Developer Web Development Office Worcester Polytechnic Institute 508-831-6147 [EMAIL PROTECTED] -Original Message- From:

case sensitivity with JDBCRealm

2005-02-08 Thread Stephen Charles Huey
Here's our server.xml's Realm element: Realm className=org.apache.catalina.realm.JDBCRealm debug=99 driverName=oracle.jdbc.driver.OracleDriver connectionURL=jdbc:oracle:thin:@192.168.1.144:1523:orcl connectionName=scott connectionPassword=tiger userTable=users userNameCol=username

Re: Tomcat 5.5.7/DataSourceRealm/Manager app

2005-02-08 Thread Remy Maucherat
On Tue, 8 Feb 2005 16:39:40 -0500, Phillip Qin [EMAIL PROTECTED] wrote: I am having serious issue with Tomcat Manager app using DataSourceRealm during upgrading from Tomcat 5.0.28 to 5.5.7. The issue is, after I accessed Tomcat Manager app couple of times, I got this exception It could be this

Re: Tomcat 5.5.7/DataSourceRealm/Manager app

2005-02-08 Thread Remy Maucherat
On Tue, 08 Feb 2005 21:49:16 +, Mark Thomas [EMAIL PROTECTED] wrote: It is a known bug that has been fixed and will be included in 5.5.8. Sorry. Did it exist in 5.5.4, or is it a regression ? -- x Rémy Maucherat Developer Consultant JBoss Group (Europe) SàRL

  1   2   >