Re: [OT] loading images through a Servlet

2015-10-02 Thread tomcat
On 02.10.2015 12:44, Bill Ross wrote: Whether or not I have masked the file name in the header properly, which I can't verify easily Oh yes you can. Mozilla Firefox, plugins, Web Developer, HttpFox. click and open in its own window. click start then get your page (in the main window) then

Re: loading images through a Servlet

2015-10-02 Thread tomcat
On 01.10.2015 23:52, Bill Ross wrote: Please let me know if there is a better place to ask Servlet/javascript interface questions. For the javascript part, there are probably better places. But the people here are awesome, so it's worth giving it a try. For the servlet side of it, this

Re:[OT] loading images through a Servlet

2015-10-02 Thread tomcat
On 02.10.2015 11:39, Bill Ross wrote: And if I find anyone hitting me with unknown or aged-out hashes I will report their IP addresses to porn sites so they can be blocked there as well. This honeypot activity could be an alternate source of income, if I hadn't just disclosed the method :-)

Re: loading images through a Servlet

2015-10-02 Thread tomcat
Chris, you're kind of breaking down an open door here. Bill was already at the stage of congratulating himself and dreaming of his retirement plan, following his discovery of a brilliant and innovative solution. Better to start from the beginning of the thread.. On 02.10.2015 16:30,

Re: loading images through a Servlet

2015-10-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Bill, On 10/2/15 5:04 AM, Bill Ross wrote: > Thanks Andre for the well-considered reply. To Thad - thanks, I > also asked on stackoverflow after here. > > I believe I have solved the obfuscation problem independent of the > javascript issue. What

Problems to configure tomcat as windows service

2015-10-02 Thread Arno Schäfer
Hi all, using tomcat 7.0.54 on Windows 8.1 64 Bit system, I encounter the problem, that I can not configure a user/password with the tomcat7.exe utility. I run this as a local administrator in a DOS box with a valid user and password it returned with errorlevel 0, but the user was not set in

Re: Parallel deployment URL issue

2015-10-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Chris, On 10/1/15 5:26 PM, Chris Gamache wrote: > I didn't know that you could do that for parallel deployment! > > A quick follow-up set of questions: > > Up until now I was counting on manager and tomcat's unpackWAR > handling the nuts and

The resource path [...] is not valid

2015-10-02 Thread Chen Yang
Hi all, I'm transforming xml into pdf files, but getting this strange error in my log. (tomcat 8.0.26) The resource path [file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%208.0/] is not valid Here is my code //Setup sources StreamSource xmlSrc = new StreamSource(new

Re: loading images through a Servlet

2015-10-02 Thread Bill Ross
And if I find anyone hitting me with unknown or aged-out hashes I will report their IP addresses to porn sites so they can be blocked there as well. This honeypot activity could be an alternate source of income, if I hadn't just disclosed the method :-) Bill Original message

Re: loading images through a Servlet

2015-10-02 Thread Bill Ross
Thanks Andre for the well-considered reply. To Thad - thanks, I also asked on stackoverflow after here. I believe I have solved the obfuscation problem independent of the javascript issue. What I just got working is logically: img.src = "/images/" + /servlet/getnext(params) Where I now

Re: Tomcat 8 reliability/performance on Windows 2008 R2 Server vs. RHEL/CentOS

2015-10-02 Thread David kerber
On 10/2/2015 3:47 AM, Mark Thomas wrote: On 02/10/2015 00:39, Jason Britton wrote: And if Mark says there shouldn't be problems, I think that is some implicit guarantee of free support from him ;) :) Bugs with reproducible tests cases are always welcome. I have a lot of convenience

Re: Parallel deployment version selection

2015-10-02 Thread David kerber
On 10/2/2015 4:33 AM, l.pe...@senat.fr wrote: Hi. I am using parallel deployment to upgrade my webapps with no downtime. I just have a small issue / question on how the latest version is selected. As far as I understand, the container select the latest version by lexicographically ordering

Re:[OT] loading images through a Servlet

2015-10-02 Thread Bill Ross
Whether or not I have masked the file name in the header properly, which I can't verify easily but believe is working, I have definitely masked the name in the URL and protected myself against later downloads: HTTP ERROR 404 Problem accessing /images/_ewjMC3. Reason:     Not Found While on

Re: loading images through a Servlet

2015-10-02 Thread tomcat
On 01.10.2015 23:52, Bill Ross wrote: Please let me know if there is a better place to ask Servlet/javascript interface questions. For the javascript part, there are probably better places. But the people here are awesome, so it's worth giving it a try. For the servlet side of it, this

Parallel deployment version selection

2015-10-02 Thread l.pe...@senat.fr
Hi. I am using parallel deployment to upgrade my webapps with no downtime. I just have a small issue / question on how the latest version is selected. As far as I understand, the container select the latest version by lexicographically ordering the version string. So if webapp##1.0.51 and

Re: Parallel deployment version selection

2015-10-02 Thread Ludovic Pénet
Not always predictable (you expect no more than 99 versions and finally have). Can be against conventions. Le 2 octobre 2015 13:07:15 GMT+02:00, David kerber a écrit : >On 10/2/2015 4:33 AM, l.pe...@senat.fr wrote: >> Hi. >> >> I am using parallel deployment to upgrade

RE: The resource path [...] is not valid

2015-10-02 Thread Chen Yang
Hi Christ javax.servlet.ServletException: javax.xml.transform.TransformerException: org.xml.sax.SAXException: The resource path [file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%208.0/] is not valid java.lang.IllegalArgumentException: The resource path

AW: Problems to configure tomcat as windows service

2015-10-02 Thread Arno Schäfer
Thanks for the hint Aurélien, > there *maybe is* documentation about this, see question & comments from > Konstantin Kolinko in > http://tomcat.apache.org/tomcat-7.0-doc/windows-service-howto.html but I asked this question, because I recognize, that it didn't worked like it is described, but

Re: The resource path [...] is not valid

2015-10-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Chen, On 10/2/15 10:42 AM, Chen Yang wrote: > I'm transforming xml into pdf files, but getting this strange > error in my log. (tomcat 8.0.26) > > The resource path > [file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%208.0/ ] > is

RE: The resource path [...] is not valid

2015-10-02 Thread Chen Yang
I wonder if it's because of this? org.apache.fop.servlet.FopServlet$1.getResource(FopServlet.java:116) this.uriResolver = new ServletContextURIResolver(getServletContext()); this.transFactory = TransformerFactory.newInstance(); this.transFactory.setURIResolver(this.uriResolver);

Re: loading images through a Servlet

2015-10-02 Thread tomcat
On 02.10.2015 17:04, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 10/2/15 10:38 AM, André Warnier (tomcat) wrote: Chris, you're kind of breaking down an open door here. Bill was already at the stage of congratulating himself and dreaming of his

Re: AW: Problems to configure tomcat as windows service

2015-10-02 Thread tomcat
On 02.10.2015 17:12, Arno Schäfer wrote: Thanks for the hint Aurélien, there *maybe is* documentation about this, see question & comments from Konstantin Kolinko in http://tomcat.apache.org/tomcat-7.0-doc/windows-service-howto.html but I asked this question, because I recognize, that it

Re: Tomcat 8 reliability/performance on Windows 2008 R2 Server vs. RHEL/CentOS

2015-10-02 Thread Frederik Nosi
On 10/02/2015 01:05 PM, David kerber wrote: On 10/2/2015 3:47 AM, Mark Thomas wrote: On 02/10/2015 00:39, Jason Britton wrote: And if Mark says there shouldn't be problems, I think that is some implicit guarantee of free support from him ;) :) Bugs with reproducible tests cases are

Re: Problems to configure tomcat as windows service

2015-10-02 Thread Aurélien Terrestris
Arno, there *maybe is* documentation about this, see question & comments from Konstantin Kolinko in http://tomcat.apache.org/tomcat-7.0-doc/windows-service-howto.html 2015-10-02 16:36 GMT+02:00 Arno Schäfer : > Hi all, > > using tomcat 7.0.54 on Windows 8.1 64 Bit

AW: AW: Problems to configure tomcat as windows service

2015-10-02 Thread Arno Schäfer
André, > Maybe it is not only the version of Tomcat that has changed, but also the > machine/OS on which > you do this ? Maybe the user under which you execute this command does not > have the > required > privileges, at OS level on this machine, to do this ? On the same machine/OS it work's

Re: loading images through a Servlet

2015-10-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 10/2/15 10:38 AM, André Warnier (tomcat) wrote: > Chris, you're kind of breaking down an open door here. Bill was > already at the stage of congratulating himself and dreaming of his > retirement plan, following his discovery of a

Re: Parallel deployment URL issue

2015-10-02 Thread Chris Gamache
Unfortunately, pre-encoding the "##" doesn't work. :( I have a reasonable workaround with a separate context.xml. On top of that, it's pretty simple to patch tomcat to use a different version marker other than "##". I figure if I get desperate I can patch, build, and run my own. On Thu, Oct 1,

Re: Problems to configure tomcat as windows service

2015-10-02 Thread tomcat
On 02.10.2015 16:36, Arno Schäfer wrote: Hi all, using tomcat 7.0.54 on Windows 8.1 64 Bit system, I encounter the problem, that I can not configure a user/password with the tomcat7.exe utility. I run this as a local administrator in a DOS box with a valid user and password it returned with

Re: maxFileSize

2015-10-02 Thread Jamie Jackson
On Thu, Oct 1, 2015 at 5:25 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Jamie, > > On 10/1/15 4:47 PM, Jamie Jackson wrote: > > Point taken, Christopher. I did just discover that I'm actually > > running 7.0.59, which

AW: Problems to configure tomcat as windows service

2015-10-02 Thread Arno Schäfer
Hi Andre, > What exactly /is/ the problem ? 'XXX' is not configured and doesn't exist. if I then call 'tomcat7 //IS//XXX --User="domain\user" --Password="xx" the call return with exitcode 0 and if I look in the services.msc the service XXX is installed, but run as local system

Re: loading images through a Servlet

2015-10-02 Thread Bill Ross
I agree it's not a million-dollar idea - I will settle for half! :-)  Nowadays a lawyer might try for a patent. Bill Original message From: "André Warnier (tomcat)" Date:10/02/2015 8:26 AM (GMT-08:00) To: users@tomcat.apache.org Subject: Re: loading images

Re: loading images through a Servlet

2015-10-02 Thread Bill Ross
All you need to control the hashtable size (actually DB) is delete every so often. But on the other hand I have a record for each showing anyway, so it's not introducing a new level of scale to the db. Original message From: "André Warnier (tomcat)"

Frequency of Tomcat Native releases

2015-10-02 Thread Justin
Can we see more frequent releases of Tomcat Native, especially since it statically links OpenSSL on Windows? I was hoping to see a new release included in Tomcat 8.0.27. There have been a number of changes to both Tomcat Native 1.1.x and OpenSSL 1.0.2.

Re: Tomcat 8 reliability/performance on Windows 2008 R2 Server vs. RHEL/CentOS

2015-10-02 Thread Frederik Nosi
Christopher, On 10/02/2015 09:40 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Frederik, On 10/2/15 12:29 PM, Frederik Nosi wrote: On 10/02/2015 01:05 PM, David kerber wrote: On 10/2/2015 3:47 AM, Mark Thomas wrote: On 02/10/2015 00:39, Jason Britton wrote:

Re: Tomcat 8 reliability/performance on Windows 2008 R2 Server vs. RHEL/CentOS

2015-10-02 Thread Justin
> how one can check logs under win I'm late to the conversation but can recommend tools that I use: MSYS2 (msys2.github.io) and WinTail (tailforwindows.org). The former uses pacman as a package manager to manage grep, sed, curl, ssh, gcc, clang, and much more and does not have the GPL

Re: Tomcat 8 reliability/performance on Windows 2008 R2 Server vs. RHEL/CentOS

2015-10-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Frederik, On 10/2/15 12:29 PM, Frederik Nosi wrote: > On 10/02/2015 01:05 PM, David kerber wrote: >> On 10/2/2015 3:47 AM, Mark Thomas wrote: >>> On 02/10/2015 00:39, Jason Britton wrote: >>> >>> >>> And if Mark says there shouldn't be

Re: Tomcat 8 reliability/performance on Windows 2008 R2 Server vs. RHEL/CentOS

2015-10-02 Thread Frederik Nosi
On 10/02/2015 10:10 PM, Frederik Nosi wrote: Christopher, On 10/02/2015 09:40 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Frederik, On 10/2/15 12:29 PM, Frederik Nosi wrote: On 10/02/2015 01:05 PM, David kerber wrote: On 10/2/2015 3:47 AM, Mark Thomas

Re: [OT] loading images through a Servlet

2015-10-02 Thread Bill Ross
Installed FF, HttpFox wasn't installed, installed it but it doesn't show up under developer tools, but I found something and here are my headers: HTTP/1.1 200 OK Etag: W/"resized_2_33068.jpg-1443146350159" Last-Modified: Fri, 25 Sep 2015 01:59:10 GMT [random time in past 22.32455 days]

Re: Frequency of Tomcat Native releases

2015-10-02 Thread Mark Thomas
On 02/10/2015 19:01, Justin wrote: > Can we see more frequent releases of Tomcat Native, especially since > it statically links OpenSSL on Windows? I was hoping to see a new > release included in Tomcat 8.0.27. There have been a number of > changes to both Tomcat Native 1.1.x and OpenSSL 1.0.2. >

Re: [OT] loading images through a Servlet

2015-10-02 Thread tomcat
On 02.10.2015 21:18, Bill Ross wrote: Installed FF, HttpFox wasn't installed, installed it but it doesn't show up under developer tools, but I found something and here are my headers: HTTP/1.1 200 OK Etag: W/"resized_2_33068.jpg-1443146350159" Last-Modified: Fri, 25 Sep 2015 01:59:10 GMT

Re: [OT] loading images through a Servlet

2015-10-02 Thread Bill Ross
On 10/2/2015 1:55 PM, André Warnier (tomcat) wrote: On 02.10.2015 21:18, Bill Ross wrote: Installed FF, HttpFox wasn't installed, installed it but it doesn't show up under developer tools, but I found something and here are my headers: HTTP/1.1 200 OK Etag:

RE: The resource path [...] is not valid

2015-10-02 Thread Terence M. Bandoian
On 10/2/2015 10:28 AM, Chen Yang wrote: I wonder if it's because of this? org.apache.fop.servlet.FopServlet$1.getResource(FopServlet.java:116) this.uriResolver = new ServletContextURIResolver(getServletContext()); this.transFactory = TransformerFactory.newInstance();

RE: seeking help with stabilizing the persistence of a JSESSIONID

2015-10-02 Thread Pottinger, Hardy J.
Hi, Chris, sorry for letting this thread drop for so long, I was directed to focus elsewhere for a while, but I'm back on this again. I've been comparing authentication methods of DSpace--our simple password AuthN and our Shibboleth AuthN methods--to see what might be the difference on how the

[ANN] Apache Tomcat 8.0.27 available

2015-10-02 Thread Mark Thomas
The Apache Tomcat team announces the immediate availability of Apache Tomcat 8.0.27. Apache Tomcat 8 is an open source software implementation of the Java Servlet, JavaServer Pages, Java Unified Expression Language and Java WebSocket technologies. Apache Tomcat 8.0.27 includes numerous fixes for

Re: Tomcat 8 reliability/performance on Windows 2008 R2 Server vs. RHEL/CentOS

2015-10-02 Thread Mark Thomas
On 02/10/2015 00:39, Jason Britton wrote: > And if Mark says there shouldn't > be problems, I think that is some implicit guarantee of free support from > him ;) :) Bugs with reproducible tests cases are always welcome. > I have a lot of convenience shell scripts here and there but nothing I