Re: stupid tomcat/eclipse question

2008-09-08 Thread bhooshanpandit
The error clearly indicates that servlet-api.jar is missing from the classpath. It should be located under CATALINA_HOME\lib in case of TC 6. -Original Message- From: Steve Cohen <[EMAIL PROTECTED]> To: Tomcat Users List Sent: Mon, 8 Sep 2008 11:03 pm Subject: stupid tomcat/eclipse que

Re: The requested resource (/manager/) is not available.

2008-09-08 Thread samk
See Thread at: http://www.techienuggets.com/Detail?tx=6039 Posted on behalf of a User try: /manager/html instead! In Response To: Hi list, I'm trying to use the manager webapp for the custom Ant tasks on Tomcat 6.0.9 with Sun Solaris 10. I've gone into the tomcat-users.xml file and created

Re: Question regarding FormAutenticator

2008-09-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gregor, Gregor Schneider wrote: > The only options I'm having seem to be > > - subclass FormAuthenticator and patch Tomcat Agreed: yuk. > - use a JAAS-implementation, but I got no Idea if this will work, > besides, you'll have to deal with the JAAS

Re: Filter cuts response in Tomcat 5.5.20

2008-09-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jesse, Jesse Klaasse wrote: > However, it isn't working as it should be. I actually see the "PRE" and > "POST" lines in the Ajax output, however, most of the time there is nothing > between them. And when I print the response length, it's 0 most of th

Re: Need help with Tomcat MBean support - SOLVED

2008-09-08 Thread Steve Cohen
Finally figured out how to do what I wanted to do. Turns out I had no need at all of creating an MBean in my client. Duh! I never understood why I needed to do that but that is what the sample did. All I needed to do was call the MBeanServerConnection.invoke() method with a suitable object

Re: Error while trying to use trial certificate for SSL in Tomcat

2008-09-08 Thread Haim Cohen
Can anyone please help with the question below? I'm pretty much clueless... I think I followed the HOWTO but it seems to be not working... so I must have missed something... Thanks!! On Thu, Sep 4, 2008 at 5:22 PM, Haim Cohen <[EMAIL PROTECTED]> wrote: > Hi > > I'm new to Tomcat and I'm trying

Re: Intermitant DB Problem in tomcat:java.sql.SQLException: Io exception: Connection reset by peer: JVM_recv in socket input stream read

2008-09-08 Thread David Smith
Ok. Do you hold on to your connections across requests or close them at the end? If they are held, then it'd be a good idea to fire off a cheap and easy "select 1" query before doing any work. If it throws an exception, close it up and get another. If on the other hand these connections ar

Ant Build.xml file

2008-09-08 Thread Susan Richards
How would I add to the build.xml file so that when ant builds it, it creates this code in my web.xml file? 404 /404.html Not sure if this is an element or something else and what to add it under.

Re: tomcat ROOT

2008-09-08 Thread Ken Bowen
Assuming you are deploying by dropping myapp.war into webapps: 1. Delete webapps/ROOT ; 2. Rename myapp.war to ROOT.war (case is important here) 3. Deploy your new ROOT.war in webapps. 4. Since ROOT is the default that tomcat will run when it can't match the incoming request, www.mysite.c

RE: Tomcat 6 and images

2008-09-08 Thread Mathias P.W Nilsson
Can this be hacked? like http://localhost/files/../../somefile -- View this message in context: http://www.nabble.com/Tomcat-6-and-images-tp19260262p19379214.html Sent from the Tomcat - User mailing list archive at Nabble.com. ---

RE: Intermitant DB Problem in tomcat:java.sql.SQLException: Io exception: Connection reset by peer: JVM_recv in socket input stream read

2008-09-08 Thread Martin Gainty
any reason why you're not using DBCP ? if you dont mind using a connection pool take a look at examples provided at http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/doc/ManualPoolingDataSourceExample.java?revision=132018&view=markup also if you want your instance variables to automatically

Re: tomcat ROOT

2008-09-08 Thread Thangavel Sankaranarayanan
Hi Markus, You can configure your worker tomcat in such a way that the needed /-worker is mapped to the desired port and server.Similarly i think you can map the Context as well!!I hope so!! Regards, Thangavel Sankaranarayanan

Re: Intermitant DB Problem in tomcat:java.sql.SQLException: Io exception: Connection reset by peer: JVM_recv in socket input stream read

2008-09-08 Thread Thangavel Sankaranarayanan
David, Ignore the previous code!!This is the right one:will this code make the difference? catch(Exception exp) { theLog.error("Exception while getting a Datasource connection..Trying again..."); theLog.error(exp); int i=1;

tomcat ROOT

2008-09-08 Thread Markus Lord
I have apache acting as a proxy for my tomcat and I'm wondering how I can get this one application 'myapp' to show up without having the directory name in the url. So what I'm looking to do is have it as www.mysite.com instead of www.mysite.com/myapp. Thanks in advance. Markus

Re: Intermitant DB Problem in tomcat:java.sql.SQLException: Io exception: Connection reset by peer: JVM_recv in socket input stream read

2008-09-08 Thread Thangavel Sankaranarayanan
David,Actually Resource element is used when we want to map a datascr to a JNDI Resource and call from aoos.But in my case there is no JNDI naming of datasource or database!! all parameters are hard coded . In that case wat can i do!!! I have modified my code slightly to look like ths!!! will this

[NEWBIE] Separate tomcat engines on the same physical server

2008-09-08 Thread Jon Camilleri
It is my understanding that theoretically, separate Tomcat engines can be configured on the same server, as long as they are created within separate JVMs (is it possible to have them installed on the same physical server?!). We have an application which is currently installed within a single T

Language/Locale processing within Tomcat

2008-09-08 Thread Steve Cohen
I've just realized I have a problem with my application running in Tomcat related to Spanish-language text input by the users. When running my application on an Ubuntu 7.10 platform, I have no problems with Spanish language characters. When I run the same application on the production RHEL 5

Re: stupid tomcat/eclipse question

2008-09-08 Thread Steve Cohen
Thanks! Turned out that the problem was I had put some application jars (which were duplicated in WEB-INF/lib) on the runtime classpath. Your post got me to thinking that maybe these weren't necessary. Not only weren't they necessary but removing them made the problem go away. Addition by subtr

Re: [ANN] Apache Tomcat 5.5.27 released

2008-09-08 Thread Mark Thomas
Robert Koberg wrote: > > I make use of the above technique quite a bit to keep my source content > well-formed (I generate the JSPs with XSL). E.g. > > > > I will test it out when I get a chance. Great. If you find new failure cases please create a bugzilla entry. Cheers, Mark -

Re: Intermitant DB Problem in tomcat:java.sql.SQLException: Io exception: Connection reset by peer: JVM_recv in socket input stream read

2008-09-08 Thread David Smith
Actually I believe tomcat 4.1 still predominantly used server.xml for context definitions. Take a look in there for a ... element under your webapp's ... element. I could be wrong about that -- it's been a *very* long time since I've done anything with that version. --David Thangavel

Re: [ANN] Apache Tomcat 5.5.27 released

2008-09-08 Thread Robert Koberg
On Sep 8, 2008, at 1:59 PM, Mark Thomas wrote: Robert Koberg wrote: Hi, Regarding: https://issues.apache.org/bugzilla/show_bug.cgi?id=45015 Have things like the follwoing been tested: < input value="${"boo" foo's}" /> < input value='${"boo"}' /> < input value='${"boo"} "foo"' /> I don't

RE: stupid tomcat/eclipse question

2008-09-08 Thread Larry Isaacs
> -Original Message- > From: Steve Cohen [mailto:[EMAIL PROTECTED] > Sent: Monday, September 08, 2008 1:34 PM > To: Tomcat Users List > Subject: stupid tomcat/eclipse question > > I've had a stable development environment running Tomcat 6.0 within > Eclipse 3.3. > > I did something stupid t

Re: Newbies, becareful of pure cookie based magic... theres a few gotcha's

2008-09-08 Thread Bill Davidson
Johnny Kewl wrote: Going to add this to my other no no's like those people that insist on building entire site only in JSP pages... I'm not sure I get your meaning here. Do you mean really just JSP's with no Java classes (beans or otherwise) that aren't in the JSP's themselves? Yeah. That wo

IIS Redirect Logging

2008-09-08 Thread John Cuddihy
I can not get the redirect logging coming out? I am using tomcat 5.5.26 I use redirect 1.2.26 I set up me registry using [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi Redirector] @="" [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi Redirector\1.0]

Re: [ANN] Apache Tomcat 5.5.27 released

2008-09-08 Thread Mark Thomas
Robert Koberg wrote: > Hi, > > Regarding: > https://issues.apache.org/bugzilla/show_bug.cgi?id=45015 > > Have things like the follwoing been tested: > > > < input value="${"boo" foo's}" /> > < input value='${"boo"}' /> > < input value='${"boo"} "foo"' /> I don't recall testign those combinatio

Re: [ANN] Apache Tomcat 5.5.27 released

2008-09-08 Thread Robert Koberg
Hi, Regarding: https://issues.apache.org/bugzilla/show_bug.cgi?id=45015 Have things like the follwoing been tested: < input value="${"boo" foo's}" /> < input value='${"boo"}' /> < input value='${"boo"} "foo"' /> I guess I am more concerned about version 6x. Has this fix been applied to v6x?

Re: Need help with Tomcat MBean support

2008-09-08 Thread Steve Cohen
I sent this in over the weekend and didn't get a response so let me try this again a bit differently. The Sun JDK 5.0 JMX tutorial shows that it is possible and simple to create JMX client and JMX server in separate JVMs and have them talk to each other. The first article cited by Mr. Hall s

RE: SSL https clientAuth debugging assistance

2008-09-08 Thread Martin Gainty
implement a logger so you can trace whats going on http://tomcat.apache.org/tomcat-5.5-doc/logging.html also in %TOMCAT_HOME/conf/server.xml crankup the debug attribute on your http://tomcat.apache.org/tomcat-4.0-doc/config/http11.html and you'll see lots of messages in tomcat console HTH Marti

stupid tomcat/eclipse question

2008-09-08 Thread Steve Cohen
I've had a stable development environment running Tomcat 6.0 within Eclipse 3.3. I did something stupid to configuration and now I can't get away from this error as soon as the server starts. java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native

[ANN] Apache Tomcat 5.5.27 released

2008-09-08 Thread Filip Hanik - Dev Lists
The Apache Tomcat team announces the immediate availability of Apache Tomcat 5.5.27 stable. Apache Tomcat 5.5.27 incorporates numerous security updates and bug fixes. Please refer to the change log for the list of changes: http://tomcat.apache.org/tomcat-5.5-doc/changelog.html Downloads: http://

RE: Piggybacking HTTP with binary protocol

2008-09-08 Thread Martin Gainty
Darryl- you're encountering a content-length restriction one workaround is to transmit as a MTOM binary attachment I believe the current hard-limit is 1GB for attachment size http://wso2.org/library/264 complete guide is available at http://ws.apache.org/axis2/1_0/mtom-guide.html HTH Martin _

Re: Intermitant DB Problem in tomcat:java.sql.SQLException: Io exception: Connection reset by peer: JVM_recv in socket input stream read

2008-09-08 Thread Thangavel Sankaranarayanan
Hi David, In my webapps directory ,i can find Conext.xml (nameof context.xml).in my context.xml the following is defined.. where do i need to configure it ,David?? ldap://vanja1234:389"; digest="SHA" roleBase="ou=mpp,ou=Groups,dc=vodafone,dc=com,dc=au" roleName

Re: Intermitant DB Problem in tomcat:java.sql.SQLException: Io exception: Connection reset by peer: JVM_recv in socket input stream read

2008-09-08 Thread David Smith
I think so. Tomcat 4.1.x relies on DBCP 1.0 whose docs aren't readily available anymore. If you can find the source for DBCP 1.0, you could take a look in the source code and get that answer. Or you could just try it on your test system and see if it works. :-) The manner the validation que

Re: Intermitant DB Problem in tomcat:java.sql.SQLException: Io exception: Connection reset by peer: JVM_recv in socket input stream read

2008-09-08 Thread Thangavel Sankaranarayanan
Hi David, Thanks !!! Is the validationQuery applicable to tomacat 4.x. I am using tomcat 4.x in windows2000 Regards, Thangavel Sankaranarayanan David Smith

SSL https clientAuth debugging assistance

2008-09-08 Thread Balgeman, Timothy E (Tim)
We have just started using Tomcat. We are using version 5.5.26. I was able to set up Tomcat and get it running with our application. I also have enabled SSL: I have one user that needs use to authenticate their client. I have this working on our development system (added their certificate

Re: Intermitant DB Problem in tomcat:java.sql.SQLException: Io exception: Connection reset by peer: JVM_recv in socket input stream read

2008-09-08 Thread David Smith
I've partially given it to you already. I'm assuming for the purposes of this thread you have tomcat 5.5.x or tomcat 6.0.x and are using the tomcat provided database pooling. Find the element in your webapp's context xml file where you defined your database pool and add an attribute named va

Re: [NEWBIE]Tomcat 6.0.16-reboot required when changing the port number

2008-09-08 Thread Hassan Schroeder
On Sun, Sep 7, 2008 at 11:12 PM, Jon <[EMAIL PROTECTED]> wrote: > No I'm stating that I had to reboot to get apache 'not running' on port 8080 > and it seemed unusual, because I ran the shutdown scripts. Running the shutdown script doesn't guarantee anything -- there are any number of reasons why

Re: Intermitant DB Problem in tomcat:java.sql.SQLException: Io exception: Connection reset by peer: JVM_recv in socket input stream read

2008-09-08 Thread Thangavel Sankaranarayanan
Please help me in setting up a Validation Querry!!! I am not aware of it!! Regards, Thangavel Sankaranarayanan David Smith <[EMAIL PROTECTED]

Re: file upload

2008-09-08 Thread Juha Laiho
Silvio Rainoldi wrote: > When I try to write a file in a folder in the server I get this error: > > org.apache.commons.fileupload.FileUploadBase$IOFileUploadException: Processing > of multipart/form-data request failed. /home/www/virtual/test/images/htdocs/ > flyers/upload_1ed3f2d1_11c313f7288__80

Re: Can you help me to figure out what is "ia64"?

2008-09-08 Thread Johnny Kewl
- Original Message - From: "Nar Karapetyan" <[EMAIL PROTECTED]> To: Sent: Monday, September 08, 2008 3:19 PM Subject: Can you help me to figure out what is "ia64"? There is a "ia64" dll for tomcat native library for a windows 64 platform. I used to know amd64 or x64, but unfamiliar

Piggybacking HTTP with binary protocol

2008-09-08 Thread Darryl Pentz
Last time I mailed the list, I was inquiring about implementing a custom connector or something along those lines to support a binary protocol along with HTTP. This approach proved flawed for various reasons, if not virtually impossible to do with the connector, processor, handler architecture e

Re: Can you help me to figure out what is "ia64"?

2008-09-08 Thread Robert K. Vanderhoek
This is a copy and paste from wikipedia. *Itanium* is the brand name for 64-bit Intel microprocessors that implement the *Intel Itanium architecture* (formerly called *IA-64*). Intel has released two processor f

Can you help me to figure out what is "ia64"?

2008-09-08 Thread Nar Karapetyan
There is a "ia64" dll for tomcat native library for a windows 64 platform. I used to know amd64 or x64, but unfamiliar with "ia64". What platform is that? Thank you, Regards Nareg Garabedian

Re: Intermitant DB Problem in tomcat:java.sql.SQLException: Io exception: Connection reset by peer: JVM_recv in socket input stream read

2008-09-08 Thread David Smith
Two questions: 1. Is the db server on the same box as the tomcat server? If not, have you ruled out network hardware issues between the db server and tomcat? 2. Does your db pool definition have the attribute validationQuery="select 1"? That would pre-test your connections before returning

Re: Intermitant DB Problem in tomcat:java.sql.SQLException: Io exception: Connection reset by peer: JVM_recv in socket input stream read

2008-09-08 Thread Johnny Kewl
- Original Message - From: "Thangavel Sankaranarayanan" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Monday, September 08, 2008 12:49 PM Subject: Intermitant DB Problem in tomcat:java.sql.SQLException: Io exception: Connection reset by peer: JVM_recv in socket input stream read

Re: Tomcat loops indefinitely

2008-09-08 Thread Kjetil Kjernsmo
On Monday 08 September 2008 04:20:31 Konstantin Kolinko wrote: > What is that address? Judging from the behavior, it occurs that it makes > request back to itself. That's actually a possibility. I checked the variable's value, and that had the correct value, so it shouldn't happen. What might hap

SNMP tomcat 5.5!

2008-09-08 Thread Shahar Cohen
Hi, Can anybody please tell me how I can monitor by SNMP tomcat sites without querying the admin module which I disabled for security reasons? Is there any MIBS that I can use? Thanks in advanced

RE: difference in how applications are displaying

2008-09-08 Thread Scott, Ewan
Johnny Kewl/Len Popp You are right. It is in the html code. I was looking for differences in the code when the problem was that the code was IDENTICAL. The html was referencing a directory which did not exist on the second server. Rather than displaying an error it was behaving as if it were set

Re: Intermitant DB Problem in tomcat:java.sql.SQLException: Io exception: Connection reset by peer: JVM_recv in socket input stream read

2008-09-08 Thread Thangavel Sankaranarayanan
Hi, If this is not a problem with tomcat and it is something to do with application (or) or with java or 0racle!!Please suggest me for some user list!!! Thanks in Advance!! Regards, Thangavel Sankaranarayanan

Intermitant DB Problem in tomcat:java.sql.SQLException: Io exception: Connection reset by peer: JVM_recv in socket input stream read

2008-09-08 Thread Thangavel Sankaranarayanan
Hi , I am getting the following error when connecting to oracle database, Has any one seen this kind of errors before? is this the problem with tomcat in loosing the connections?? I am getting this error once in 5 hrs and i get a HTTPStatus500 error and when a user tries again it gets okay and

Re: Newbies, becareful of pure cookie based magic... theres a few gotcha's

2008-09-08 Thread Johnny Kewl
But this doesn't give you the right to bash the framework Have to agree, shouldnt have mentioned it ;) - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-

Re: Newbies, becareful of pure cookie based magic... theres a few gotcha's

2008-09-08 Thread Leon Rosenberg
Hi Johny, first of all you can't force people to use their brain, if someone is building a portal or site which needs to be indexed and is using single-entry-point framework, that means he hasn't checked his requirements before he started to work or hasn't consulted the seo guys/forums/mailing lis

Re: UnauthorizedAccessException error while running WMI in tomcat

2008-09-08 Thread Tommy Pham
--- On Mon, 9/8/08, new_bie_tomcat <[EMAIL PROTECTED]> wrote: > From: new_bie_tomcat <[EMAIL PROTECTED]> > Subject: Re: UnauthorizedAccessException error while running WMI in tomcat > To: users@tomcat.apache.org > Date: Monday, September 8, 2008, 3:06 AM > Hi Mark, > Thanks a lot for your repl

Re: UnauthorizedAccessException error while running WMI in tomcat

2008-09-08 Thread new_bie_tomcat
hi.. Thanks a lot for your reply. I am not able to figure out exactly where in Tomcat i need to provide the priviledge.I have logged in to the machine with the same login id as the remote machine. In the Tomcat logon tab i have mentioned the same login id and password. But still i am getting the

Re: UnauthorizedAccessException error while running WMI in tomcat

2008-09-08 Thread new_bie_tomcat
Thanks for your reply.You are absolutely right. This error is a .NET Exception.I am not able to figure out exactly where in Tomcat i need to provide the priviledge.I have logged in to the machine with the same login id as the remote machine. In the Tomcat logon tab i have mentioned the same login

Re: UnauthorizedAccessException error while running WMI in tomcat

2008-09-08 Thread new_bie_tomcat
Hi Mark, Thanks a lot for your reply. I am not able to find out exactly where to change the permission. I am using Tomcat 5.5. I have logged in to the machine, using the same user login as the remote machine. Both of the machine are in the same domain. In tomcat Properties Log on Tab i have lo