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

2008-09-08 Thread Jon
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. Has this problem occured to anyone? 2008/9/8 Steve Ochani [EMAIL PROTECTED] 1.I´ve updated server.xml to change the default port from 8080 to 80,

Re: UnauthorizedAccessException error while running WMI in tomcat

2008-09-08 Thread Johnny Kewl
- Original Message - From: new_bie_tomcat [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Monday, September 08, 2008 6:59 AM Subject: UnauthorizedAccessException error while running WMI in tomcat I have written the following code in Java to access registry of a remote machine.

Re: UnauthorizedAccessException error while running WMI in tomcat

2008-09-08 Thread Mr Popo Sama
Ok, first of all, i'm quite sure that exception does not exist in Java nor in Tomcat! (as far as I know it's not in the apis), yet it does exists in .Net. So my gess is that it's a .Net exception after all and you are just reading it from the console. you may want to try giving more privileges

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

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.. 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

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 reply. I am

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

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,

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

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: 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

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 users@tomcat.apache.org 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

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: 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

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: 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 http://en.wikipedia.org/wiki/Intel microprocessors http://en.wikipedia.org/wiki/Microprocessor that implement the *Intel Itanium architecture* (formerly called *IA-64*). Intel has released two processor

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

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: users@tomcat.apache.org 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,

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/

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: [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 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 Resource ... / element in your webapp's context xml file where you defined your database pool and add an

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: Connector port=18443 maxHttpHeaderSize=8192 maxThreads=150 minSpareThreads=25 maxSpareThreads=75

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

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

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?? Context path=/mpp docBase=D:/projects/mpp/dealer/release071010 debug=0 privileged=true Realm

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

[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:

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

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 Connector statement debug=5 http://tomcat.apache.org/tomcat-4.0-doc/config/http11.html and you'll see lots of messages

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

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=${quot;booquot;} / input value=${quot;booquot; foo's} / input value='${quot;booquot;}' / input value='${quot;booquot;} foo' / I guess I am more concerned about

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=${quot;booquot;} / input value=${quot;booquot; foo's} / input value='${quot;booquot;}' / input value='${quot;booquot;} foo' / I

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: 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

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 to

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=${quot;booquot;} / input value=${quot;booquot; foo's} / input value='${quot;booquot;}' /

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 ResourceParams ... ... /ResourceParams element under your webapp's Context ... ... /Context element. I could be wrong about that -- it's been a *very* long time since I've

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. input type=radio${$obj.foo eq 1 ? 'quot; checked=quot;checked' : ''}/ I will test it out when I get a chance. Great. If you find new failure

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

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

[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

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

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, 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;

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 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=132018view=markup also if you want your instance variables to automatically

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: 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,

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? error-page error-code404/error-code location/404.html/location /error-page Not sure if this is an element or something else and what to add it under.

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 are

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 to

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: 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 the

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

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

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 users@tomcat.apache.org Sent: Mon, 8 Sep 2008 11:03 pm Subject: