Re: Could not load com.sun.org.apache.xerces.internal.impl - exception happends randomly (not all the time)

2014-09-25 Thread Konstantin Kolinko
2014-09-24 20:45 GMT+04:00 Cheng-Jun Li : > > Hello, > > A) Version info of my system: > > Server version: Apache Tomcat/7.0.53 > Server built: May 1 2014 10:53:10 > Server number: 7.0.53.0 > OS Name:Linux > OS Version: 3.0.58-0.6.2.1.5158.0.PTF-default > Architecture: amd64 > JVM

Re: Tomcat Spnego against Active Directory does not work with Java 8

2014-09-25 Thread Konstantin Kolinko
2014-09-26 2:24 GMT+04:00 : > Hello everyone, >I'm successfully using Tomcat 7.0.55 configured with Spnego > authentication against Active Directory running Windows 2008 Server and Java > 1.7.0.51. However, after switching to Java 1.8.0_20, authentication does not > work anymore, Tomcat logs t

Tomcat Spnego against Active Directory does not work with Java 8

2014-09-25 Thread detelinyordanov
Hello everyone, I'm successfully using Tomcat 7.0.55 configured with Spnego authentication against Active Directory running Windows 2008 Server and Java 1.7.0.51. However, after switching to Java 1.8.0_20, authentication does not work anymore, Tomcat logs the following error message: SEVERE: Ex

RE: Help for configuration in App Manager in apache-tomcat-7.0.29

2014-09-25 Thread Rosario Marin
Hello little more precise about my problem with the Undeploy button for all test applications as I can see active, but not for my services. And you can be more specific in the package path and jar should I change? Post a picture of what I see, my installation is in Spanish. Greetings and thank

Re: ipfiltering in Tomcat 6 fails, works fine on Tomcat 7

2014-09-25 Thread André Warnier
Baran Topal wrote: Hi; Thanks for your interest. Yes, I realized context idea once i read the documentation.I must admit the hierarchy is weird but it's a custom installer of a site that installs on Windows machine. There is no Tomcat manager console in place (at least I didn't see/enable). The

Re: autoDeploy triggers after Manager Deployment

2014-09-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Austin, On 9/24/14 8:59 PM, Austin Jones wrote: > I am deploying apps using the Tomcat Manager interface. Tomcat > 8.0.12 on Linux. > > I am setting the parameters: path=/My_Application > context=/path/to/my/context.xml war=/path/to/my/APP.war >

Re: ipfiltering in Tomcat 6 fails, works fine on Tomcat 7

2014-09-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Baran, On 9/25/14 4:15 PM, Baran Topal wrote: > The hierarchy is as this: > > tomcat/webapps/ROOT/WEB-INF and > under WEB-INF, there is jsp folder in which it covers the jsp pages > of admin that i want to filter out for a particular IP. > > I thi

Re: ipfiltering in Tomcat 6 fails, works fine on Tomcat 7

2014-09-25 Thread Baran Topal
Hi; Thanks for your interest. Yes, I realized context idea once i read the documentation.I must admit the hierarchy is weird but it's a custom installer of a site that installs on Windows machine. There is no Tomcat manager console in place (at least I didn't see/enable). The hierarchy is as this

Re: Help for configuration in App Manager in apache-tomcat-7.0.29

2014-09-25 Thread Konstantin Kolinko
2014-09-25 19:21 GMT+04:00 Rosario Marin : > Do you run one Tomcat, listening on 2 different ports ? Yes > What do you mean with "App Manager" ? For example : > http://164.152.40.70:7533/manager/html (GUI for deploy of applications). > > Ok, I have installed apache-tomcat-7.0.29 in the next add

Re: File download using a servlet and error handling

2014-09-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hassan, On 9/25/14 11:28 AM, Hassan Schroeder wrote: > On Thu, Sep 25, 2014 at 7:18 AM, Léa Massiot > wrote: > >> I was thinking maybe about an "error-page"... (never done that >> before): in case an exception is thrown after the response "has >>

Re: File download using a servlet and error handling

2014-09-25 Thread André Warnier
Hassan Schroeder wrote: On Thu, Sep 25, 2014 at 7:18 AM, Léa Massiot wrote: I was thinking maybe about an "error-page"... (never done that before): in case an exception is thrown after the response "has been committed", maybe this error page could be sent to the user... Since the user's brow

Re: File download using a servlet and error handling

2014-09-25 Thread Hassan Schroeder
On Thu, Sep 25, 2014 at 7:18 AM, Léa Massiot wrote: > I was thinking maybe about an "error-page"... (never done that before): in > case an exception is thrown after the response "has been committed", maybe > this error page could be sent to the user... Since the user's browser will still be disp

RE: Help for configuration in App Manager in apache-tomcat-7.0.29

2014-09-25 Thread Rosario Marin
Do you run one Tomcat, listening on 2 different ports ? Yes What do you mean with "App Manager" ? For example : http://164.152.40.70:7533/manager/html (GUI for deploy of applications). Ok, I have installed apache-tomcat-7.0.29 in the next address IP: http://164.152.40.70/ and Had only the por

Re: Help for configuration in App Manager in apache-tomcat-7.0.29

2014-09-25 Thread André Warnier
Hi Rosario. There is no need to repost your message two days in a row. If you did not get an answer to your first message of yesterday, it is probably because it is not clear what your problem is, or what your configuration is. Can you explain better what you mean by "I have two web services i

Help for configuration in App Manager in apache-tomcat-7.0.29

2014-09-25 Thread Rosario Marin
Hi Guys, Hi I´m using the next version : apache-tomcat-7.0.29, and I have two web services in the same server, but in different port of deploy, The question is that one of my ports in the App Manager to 'replegar' the button is disabled. In that part of the settings I can fix this? Help and th

Re: File download using a servlet and error handling

2014-09-25 Thread Léa Massiot
Hello to you too, I was thinking maybe about an "error-page"... (never done that before): in case an exception is thrown after the response "has been committed", maybe this error page could be sent to the user... I don't know if it's possible... nor how to do it really. Could it be a solution? Be

Re: Response mixed between users with mod_jk-1.2.40

2014-09-25 Thread Philippe Mouawad
Hi Guys, Thanks for your feedback. @André, I am working (not continually on the issue) on the issue, my mail (sent the day I started working on it) was just to have some additional analysis elements. I am happy to see bug has evolved and I followed the same exact path that one of the guys mentions

Re: File download using a servlet and error handling

2014-09-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Léa, On 9/25/14 5:48 AM, Léa Massiot wrote: > My question is about downloading a file using a servlet and > handling possible errors that may take place during the download > process. > > 1) I have a JSP page "download-file.jsp" with a "Download fi

Re: Response mixed between users with mod_jk-1.2.40

2014-09-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Phillipe, On 9/7/14 5:49 PM, Philippe Mouawad wrote: > I am working currently on an issue where an application is facing > either Response mix or Session mix. For example: 1/ a user A gets > the basket of customer B when going on basket detail (resp

Re: ipfiltering in Tomcat 6 fails, works fine on Tomcat 7

2014-09-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Baran, On 9/24/14 5:04 PM, Baran Topal wrote: > Hi, following works under server.xml > > className="org.apache.catalina.valves.RemoteAddrValve" > deny="127\.0\.0\.1"/> Yes, it will work, but declaring a in server.xml is a Bad Idea. It's bette

Re: ipfiltering in Tomcat 6 fails, works fine on Tomcat 7

2014-09-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Baran, On 9/24/14 12:19 PM, Baran Topal wrote: > I understand that Tomcat 6 has valve and Chris, means of context, I > have the feeling that this context.xml may be relevant but i have > seen in some links, conf/server.xml is the place to manipulate

Re: Response mixed between users with mod_jk-1.2.40

2014-09-25 Thread André Warnier
Philippe Mouawad wrote: Hello André, I understand your answer although my 3 questions are also related to current version of Tomcat. Ok, then, to increase your chances of getting a response : - download and setup a current version of Tomcat - reproduce the issue in that one - and repost your qu

Re: Response mixed between users with mod_jk-1.2.40

2014-09-25 Thread Philippe Mouawad
Hello André, I understand your answer although my 3 questions are also related to current version of Tomcat. I was hoping that the person who fixed the issue could explain how the problem occured. To recap my 3 questions : 1) Does the fix in mod_jk require an upgrade to a particular tomcat version

Re: Response mixed between users with mod_jk-1.2.40

2014-09-25 Thread André Warnier
Philippe Mouawad wrote: Hello, Any feedback on this ? Thanks Hi. I don't think that you should reasonably expect any feedback. It is not that people here do not want to help, but your version of Tomcat is so hopelessly outdated (2007 ?)(see: https://tomcat.apache.org/whichversion.html) that it

File download using a servlet and error handling

2014-09-25 Thread Léa Massiot
Hello and thank you for reading my post. My question is about downloading a file using a servlet and handling possible errors that may take place during the download process. 1) I have a JSP page "download-file.jsp" with a "Download file" button: ==