Re: Fw: POST-Data from Form can not be read-out

2006-06-08 Thread Bill Barker
If you need multipart/form-data, then you will also need a third-party module to process it (e.g. commons-fileupload: http://jakarta.apache.org/commons/fileupload/). Tomcat won't ever (unless the 2.6 Servlet spec changes things for TC 7.x :) attempt to parse the parameters from an

Re: Undeploy task not working

2006-06-08 Thread Venkatesh Babu
Hi Mark, I went through the link given by you. Also checked for permissions of webapps folder (guess things are fine). The link is for Tomcat 5.5 but I'm working with Tomcat 4.3.1 . The context entry put by tomcat, for app1, when deploying the application is: Context

Tomcat 5.0.28 - jsp:useBean causing a jsp error

2006-06-08 Thread Ángel Luis Diez Hernández
Summary: Code that worked in Tomcat 4 throws a jsp exception in Tomcat 5.0.28 My Jsp file contains a line: jsp:useBean id=beanListaFvfieldtype class=java.util.List scope=request/ In Tomcat 4 this same line worked. However in Tomcat 5.0.28 it causes this exception:

Tomcat Manager

2006-06-08 Thread opensta
action [ *.do ] Processing time: 17146.393 s Max time: 79823 ms Request count: 2469 In My application tomcat used as web server Jboss as AS What is mean by Max time ? IS it the Max time taken by any do request or what ? Please comment -- View this

Re: Random NullPointerException when trying to connect to Datasource

2006-06-08 Thread Brian Vuyk
I am using Tomcat 5.5.17. This appwas developed for this version of Tomcat, and worked on it until the morning that day, and has refused since. THere was no migration, though Thanks for the reply. On 6/8/06, Vijaya [EMAIL PROTECTED] wrote: Then I think you are in the same boat as mine. I

Re: Re: HTTPD with Tomcat

2006-06-08 Thread Warren Pace
Depending on your layout, with httpd 2.2 there should be a subdirectory named extra within the conf directory. Create an httpd-ajp.conf file inside the extra subdirectory. The following example httpd-ajp.conf file assumes mod-proxy-ajp is statically linked. It should get you started... #

Re: Tomcat 5.0.28 - jsp:useBean causing a jsp error

2006-06-08 Thread Reinhard Moosauer
Or even better: change class=.. to type=.. class means: this class can be instantiated type means: This attribute has been set before and should not be instantiated (List cannot anyway because its an interface) Since Tomcat 5 the JSP compiler checks this to reduce runtime errors. Am

Memory Problem - JVM Crash

2006-06-08 Thread Peter Neu
Hello folks, I have great troubles finding the right configuration for our productive system. After initial problems concerning perm space which I have resolved with putting all third party lib into common/lib I still have memory troubles. My system: OS: SUSE ES 9 64 bit RAM: 3 Gig

Re: Fw: POST-Data from Form can not be read-out

2006-06-08 Thread Marc Farrow
Bill's suggestion is the correct one. On 6/8/06, Bill Barker [EMAIL PROTECTED] wrote: If you need multipart/form-data, then you will also need a third-party module to process it (e.g. commons-fileupload: http://jakarta.apache.org/commons/fileupload/). Tomcat won't ever (unless the 2.6 Servlet

DataSource problem

2006-06-08 Thread Sidney Senna
Hi all, i have problem with DataSource (JNDI). i'm using tomcat5.5.17. i receive the following message: Name jdbc is not bound in this Context but it functions in tomcat5.0.28 Thanks a lot! - To start a new topic, e-mail:

Re: SEVERE: Error reading tld listeners javax.servlet.ServletException. HELP

2006-06-08 Thread Marc Farrow
Have you checked the version of the struts jar files to make sure they are the same level from your old install of tomcat to your new install? It may just be that tomcat 5.5.X expects a certain level of struts. /shrug On 6/7/06, Richard DeGrande [EMAIL PROTECTED] wrote: I've recently

Re: TNS entry JNDI

2006-06-08 Thread Marc Farrow
Please post your stack trace from where the context reference in your code is blowing out. On 6/7/06, Scott Purcell [EMAIL PROTECTED] wrote: I am having trouble connecting. That string does fine using JDBC, but when in the context element below does not connect. Thanks, - Original

Re: java.lang.NoSuchMethodError: javax.servlet.jsp.tagext.TagInfo

2006-06-08 Thread Marc Farrow
looks like you have your tag library set up for a certain version of the tag library jars, but the jars are a different version. Check there to start with. On 6/7/06, Dave Kennedy [EMAIL PROTECTED] wrote: The Servlet Exception is displayed running SimpleExample.jsp Any help would be greatly

Re: NetBeans 5.0 and Tomcat 5.5.16 ... Please Help (Problem after migrating to tomcat 5.5.16 from tomcat 5.0.28)

2006-06-08 Thread Marc Farrow
Couple of things. First, I have the JNDI working in Tomcat 5.5.9 without the reference tag in my web.xml. Secondly, can you describe more specifically where you are having the problem. Is it with trying to the the JNDI reference or when you actually try to use the reference or actually trying

Re: Configure Resource in context.xml does not work as expected

2006-06-08 Thread Marc Farrow
The big question is how you are deploying it. On 6/8/06, Timm Frenzel [EMAIL PROTECTED] wrote: Hello, I want to configure a JDBC-Resource within the Context of my web-app. I placed a Resource-entry and a ResourceParams-entry as child-elements of Context in the META-INF/contxt.xml-file. When I

Re: Configure Resource in context.xml does not work as expected

2006-06-08 Thread Timm Frenzel
Via Tomcat Manager - File-URL to Location of directory of web-app (I leave the first and second input field empty). Marc Farrow schrieb: The big question is how you are deploying it. On 6/8/06, Timm Frenzel [EMAIL PROTECTED] wrote: Hello, I want to configure a JDBC-Resource within the

Re: Memory Problem - JVM Crash

2006-06-08 Thread Leon Rosenberg
Have you tried a newer jdk? 1.5.07? Leon On 6/8/06, Peter Neu [EMAIL PROTECTED] wrote: Hello folks, I have great troubles finding the right configuration for our productive system. After initial problems concerning perm space which I have resolved with putting all third party lib into

Re: TNS entry JNDI

2006-06-08 Thread Brian Buchanan
We are also using Tomcat 5 and Oracle 10g, but we don't have to use tnsnames, just a service name. Your commented out code uses a SID format, and you are trying to use a TNS entry format. Try something like: Resource name='jdbc/diamond9' auth='Container' type='javax.sql.DataSource'

Re: Memory Problem - JVM Crash

2006-06-08 Thread Leon Rosenberg
I'd give it a try. It will cost you 10 minutes to download the 1.5_07 and change the /usr/local/java link. why not? :-) Leon On 6/8/06, Peter Neu [EMAIL PROTECTED] wrote: Do you mean it's a bug in the JVM? -Peter -Ursprüngliche Nachricht- Von: Leon Rosenberg [mailto:[EMAIL PROTECTED]

Re: SEVERE: Error reading tld listeners javax.servlet.ServletException.

2006-06-08 Thread RickD
Sorry, I should have included this in my original email. I'm also converting from struts 1.1 - struts 1.2.9. I wanted to take advantage of some of the features offered by 2.4/2.0 servlet/jsp. So, the jars are different. thx -- View this message in context:

Error re-starting war application

2006-06-08 Thread ingo . bischofs
Hi list I've posted that question already before (and i will post it until i'll get an answer ;) I am using Eclipse WTP 1.x for development of a web application and use it's 'Export' function for creating the .war file. Installing that application on Tomcat 5.5.17 works fine. Problem:

RE: looking for TOMCAT monitor

2006-06-08 Thread Vlad.Ilyschenko
Tomcat developed a glitch between versions 5.5.9 and 5.5.15 (I think), which would cause connector stats to be 0, hence no graphs. Try upgrading tomcat. Regards, Vlad -Original Message- From: segli [mailto:[EMAIL PROTECTED] Sent: 06 June 2006 16:07 To: users@tomcat.apache.org

Re: DataSource problem

2006-06-08 Thread Fadi Samara
did you add your JNDI in context.xml ? On 6/8/06, Sidney Senna [EMAIL PROTECTED] wrote: Hi all, i have problem with DataSource (JNDI). i'm using tomcat5.5.17. i receive the following message: Name jdbc is not bound in this Context but it functions in tomcat5.0.28 Thanks a lot!

RE: looking for TOMCAT monitor

2006-06-08 Thread segli
I'm using Tomcat 5.0.25 - would that explain this I guess...? Can't upgrade I'm affraid since it's a productive environment... cheers, -se -- View this message in context: http://www.nabble.com/looking-for-TOMCAT-monitor-t1693458.html#a4774195 Sent from the Tomcat - User forum at Nabble.com.

readConfiguration() broken in juli

2006-06-08 Thread Roger Keays
Hi there, I first ran into bug 39627 [1] when trying to get my logging working properly and got to have a pretty thorough read of the JULI code. I noticed that the readConfiguration(stream) method doesn't reset the configuration properly. It just calls a super.reset(), but the superclass

Way to debug ports Tomcat is listening on?

2006-06-08 Thread Kim Albee
This server's Apache/Tomcat connector used to work just fine. Now it has stopped working and I get this error... I haven't changed anything in the config, but am wondering how I troubleshoot/debug this issue. I continually get this error: [jk_ajp_common.c (720)]: Error connecting to tomcat.

Re: Way to debug ports Tomcat is listening on?

2006-06-08 Thread Filip Hanik - Dev Lists
Not that it answers your question, but if you are using And my VirtualHost setting has the JkMount / p1 and JkMount /* p1 then y Then you are much better off using mod_proxy ProxyPass / http://w1:8080/ ProxyPassReserve / http://w1:8080/ ProxyPassPreserveHost On less head aches, less time spent

Re: DataSource problem

2006-06-08 Thread Sidney Senna
resolved problem thanks - Original Message - From: Fadi Samara [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, June 08, 2006 12:09 PM Subject: Re: DataSource problem did you add your JNDI in context.xml ? On 6/8/06, Sidney Senna [EMAIL PROTECTED]

CVS checkout problem

2006-06-08 Thread Michael . Zhang
Hi, I want to use cvs to check out the Tomcat 5.0 source. First I used the ant with the default build.xml, but I got the following error: [cvs] cvs [checkout aborted]: connect to cvs.apache.org(140.211.166.113):2401 failed: Connection refused Then I tried to connect to the cvs server

Re: CVS checkout problem

2006-06-08 Thread Edmund Urbani
[EMAIL PROTECTED] wrote: Hi, I want to use cvs to check out the Tomcat 5.0 source. First I used the ant with the default build.xml, but I got the following error: [cvs] cvs [checkout aborted]: connect to cvs.apache.org(140.211.166.113):2401 failed: Connection refused Then I tried to

Content-Disposition and Filename Attribute Not Working In Some Apache 2 Versions

2006-06-08 Thread Rob Baily
Hi, I've found that when we upgraded from Apache 2.0.48 to 2.0.49 or any other Apache release up to the current 2.0.58 part of the content-disposition header seems to stop working. I opened up bug 39749 in the Apache section for this. I got a response from a person there who said they were

Restricting access to localhost for an HTTP connector

2006-06-08 Thread Mark Claassen
Is there to configure an HTTP Connector to only allow connections from localhost? We have a server that has an HTTPS port that handles all public access. However, we would like to leave a non SSL port open for a monitoring program we have running on the same machine. We would like to not allow

Re: Restricting access to localhost for an HTTP connector

2006-06-08 Thread Filip Hanik - Dev Lists
yes, you can bind the connector the 127.0.0.1, meaning it will only listen on that address use the "address" attribute in the connector http://tomcat.apache.org/tomcat-5.5-doc/config/http.html Mark Claassen wrote: Is there to configure an HTTP Connector to only allow connections from

RE: Restricting access to localhost for an HTTP connector

2006-06-08 Thread Mark Claassen
Thanks. I thought I heard that it was possible though the address, but was not sure. I read this in the docs, but I guess I didn't / don't understand the short explanation of "address". From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: Thursday, June 08, 2006 1:24 PMTo:

Clicking on Service throws an exception

2006-06-08 Thread Masilko, Bill \(Enterprise Services\)
I have a new installation of Tomcat 5.0, everything seems to be fine with the exception when I click on the Service link I receive the following error. javax.servlet.ServletException: Define tag cannot set a null value org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageCont

Configuring Tomcat Service Wrapper for remote debugging.

2006-06-08 Thread Sam Ganzman
I am having trouble finding info on how to configure the Tomcat Wrapper Service (Tomcat 5.0.x) for remote debugging. The Tomcat How TO page lists the following: If you run Tomcat using service wrapper, check the documentation for the service to determine how to set the required JVM

RE: [SPAM:] - RE: Restricting access to localhost for an HTTP connector - Email has different SMTP TO: and MIME TO: fields in the email addresses

2006-06-08 Thread Leo Donahue - PLANDEVX
In your server.xml you will add an address element and specify it as: 127.0.0.1 !-- Define a non-SSL Coyote HTTP/1.1 Connector on the port specified during installation -- Connector address=127.0.0.1 port=8080 maxThreads=150 minSpareThreads=25

RE: [SPAM:] - RE: Restricting access to localhost for an HTTP connector - Email has different SMTP TO: and MIME TO: fields in the email addresses

2006-06-08 Thread Dan Toomey
How do I get this tomcat email to stop? I have sent messages to unsubscribe to no avail. -Original Message- From: Leo Donahue - PLANDEVX [mailto:[EMAIL PROTECTED] Sent: Thursday, June 08, 2006 2:13 PM To: Tomcat Users List Subject: RE: [SPAM:] - RE: Restricting access to localhost for

JSPs will not load with virtual domain

2006-06-08 Thread Dave Kennell
Hello, I have a rather intresting but probably simple problem, as I am basically new to tomcat. Currently I am running Tomcat 5.5.17 on a Windows 2000 server. I installed the admin tool and setup a connector for port 80 and then a host of www.btdt.com (which I handle locally on my DNS).

Re: HTTPD with Tomcat

2006-06-08 Thread Marc Bächinger
Hi Steven I posted one some days ago to this list. Maybe this is helpful: --- forwarded post --- i'm everthing but an expert in this, but i got loadbalancing with ajp working with those versions you mention (2.2.2 and 5.5.17). Maybe my config below is helpful for you. The documentation on

Problem with Runtime.exec

2006-06-08 Thread EXT-Cutshaw, Mark C
I am having a very strange problem with Runtime.exec. I have a web app running under Tomcat 5.0.19 that needs to run an OS command. I debugged the class that calls runtime.exec in a standalone Java app and everything works fine, but when I call it from the web app, sometimes it works, and

Re: HTTPD with Tomcat

2006-06-08 Thread bleak
Aye, Marc, I saw that. I'm not using proxy_balance, and the server.xml file you posted looks almost exactly like mine (the main difference being the port). Currently I'm defining the proxies for AJP in the httpd.conf file as: ProxyPass / ajp://localhost:8009/ ProxyPass /test

How to unsubscribe this newsgroup?

2006-06-08 Thread Lucie Chan
Can someone plese tell me how to unsubscribe to this newsgroup? I've tried sending email to [EMAIL PROTECTED] for the past week but I'm still getting email from the newsgroup. The traffic in this newsgroup is so high that it's cluttering my mailbox everyday. Please help.

Re: Undeploy task not working

2006-06-08 Thread Mark Thomas
Venkatesh Babu wrote: But I'm getting the problem only in Tomcat 4.1.3 ... How can this happen? Because the file locking protection code has been implemented for 4.1.x but will be part of 4.1.32+ which has yet to be released. Mark

Re: Error re-starting war application

2006-06-08 Thread Mark Thomas
[EMAIL PROTECTED] wrote: Hi list I've posted that question already before (and i will post it until i'll get an answer ;) Please don't. Such behaviour will get you kicked off the list for spamming. We read your message the first time. We don't need to read it again. I suggest you read

Re: readConfiguration() broken in juli

2006-06-08 Thread Mark Thomas
Roger Keays wrote: Should I file a bug? I have a simple patch which just creates a new ClassLoaderLogInfo for every readConfiguration() call and lets the garbage collector to delete the old one. Patches are best attached to bug reports. They tend to get lost in the noise on the lists if not

Re: Memory Problem - JVM Crash

2006-06-08 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.

Re: DataSource problem

2006-06-08 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.

Re: [SPAM:] - RE: Restricting access to localhost for an HTTP connector - Email has different SMTP TO: and MIME TO: fields in the email addresses

2006-06-08 Thread Mark Thomas
Dan Toomey wrote: How do I get this tomcat email to stop? I have sent messages to unsubscribe to no avail. You e-mail [EMAIL PROTECTED] I have removed you from the list. Mark - To start a new topic, e-mail:

Re: HTTPD with Tomcat

2006-06-08 Thread bleak
This appears to be working. Much appreciated! Cheers, -- Steven Warren Pace wrote: From: [EMAIL PROTECTED] Date: 2006/06/08 Thu PM 06:41:54 EDT To: Tomcat Users List users@tomcat.apache.org Subject: Re: HTTPD with Tomcat Aye, Marc, I saw that. I'm not using proxy_balance, and the server.xml

Re: JNDI datasource failing

2006-06-08 Thread miGio
Hi, Have you solved it already ??... well JNDI datasource have been driving me nuts for a couple of days, with a similar problem, i.e. the output was the same (but for other JDBC driver...)... It turn out to be the docBase parameter of the Context entry, which HAS TO BE THE EXACT location of the

RE: looking for TOMCAT monitor

2006-06-08 Thread Vlad.Ilyschenko
5.0.25 should be ok. Do you run a unix box without X11 running by any chance? If you do this might be helpful: http://www.lambdaprobe.org/forum2/thread.jspa?threadID=42 Cheers, Vlad -Original Message- From: segli [mailto:[EMAIL PROTECTED] Sent: Thu 08/06/2006 4:10 PM To:

Tomcat 5.5.17 protected pages JSP examples with valid user and invalid role results in msg 403.

2006-06-08 Thread [EMAIL PROTECTED]
Hi, I am having problem with Tomcat 5.5.17 jsp example of accessing protected pages (example: http://localhost:8080/jsp-examples/security/protected/) Logging with valid user and role: user/password/role=tomcat/tomcat/tomcat works fine. Logging with a valid user and invalid role

RE: NetBeans 5.0 and Tomcat 5.5.16 ... Please Help (Problem after migrating to tomcat 5.5.16 from tomcat 5.0.28)

2006-06-08 Thread Vijaya
Hello Marc Farrow, Thanks very much for your replies. I saw some similar problem in google and tried one of the solutions. It worked okay. I removed ?Autoreconnect = true in server.xml where I have defined my sql server details and the application is working now. Vijaya -Original