How to authenticate our webapp against our own relm only

2015-07-17 Thread Arno Schäfer
Hi all, I am using Tomcat 7.0.54 with java 1.7 and 1.8 on a Windows 8.1 System, maintaining our webapp with around 1000 JSP pages and I am NOT a web developer. I have inherited this application and all of the previous owners are no longer available. So the last 2months I do a lot of reading

AW: AW: Problems to configure tomcat as windows service

2015-10-08 Thread Arno Schäfer
Hi Aurélien, > Arno, can you try with these parameters : --StdOutput out.txt --StdError > err.txt > and check if this writes anything to these files (I don't bet a pence on this > but let's try) ? That isn't the point. My problem is, that I can't configure a different service user as the

AW: AW: Problems to configure tomcat as windows service

2015-10-09 Thread Arno Schäfer
Aurélien, > still investigating for you in the documentation ( > http://commons.apache.org/proper/commons-daemon/procrun.html ), can you try > again with --ServiceUser & --ServicePassword instead of --User & --Password ? thanks for that hint. I try it and it works now. :-) I miss the point,

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

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

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

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

JSESSIONID changed without notice

2016-04-07 Thread Arno Schäfer
Hi all, I have the following Problem: we have a very old, some kind of complex webapp, that run under tomcat 7.0.54 on Windows. I have to maintain some functionality and came to a point, what I can't understand. Some requests have to have an authentification and this is bound at the JSESSIONID.

Re: JSESSIONID changed without notice

2016-04-11 Thread Arno Schäfer
Hi Felix, thank you very much for that hint. > When a session gets 'authenticated' its id will change to prevent > session fixation attacks. If you are interested in the events telling > you the change you have two possibilities: ok, that explain, what I see :-) > 1. Use servlet api 3.1 and

Using WebDAV in Tomcat 7.0.45

2016-11-11 Thread Arno Schäfer
Hi all, I have activated WebDAV in my web app to be able to show some log files directly in the browser and to edit some special XML files in a special editor. In my first attempt I can read all this files and show it in the editor and in the browser, but I failed to save them, after I have

AW: Using WebDAV in Tomcat 7.0.45

2016-11-11 Thread Arno Schäfer
Hi André, you are right, I have missed this part of the puzzle. Thanks for that explanation, so it is clear for me now, what I have to do. If I use the actual Word or Libre Office with a docx file from the webda URI from our server it works :-), so I have to change My 'save document' code in

AW: AW: Using WebDAV in Tomcat 7.0.45

2016-11-11 Thread Arno Schäfer
Hi André, many thanks for your thought's, but my requirement is not so complex and difficult like it could be. > DAV (or WebDAV), in itself, stands for Distributed Authoring and Versioning. > It was originally designed mainly > as a tool to help people to remotely edit the HTML pages of a

AW: Using WebDAV in Tomcat 7.0.45

2016-11-11 Thread Arno Schäfer
Hi Mark, thank you for your fast answer. Also André has answered and I know now what I will do. Best regards Arno - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail:

UNC access to an tomcat webdav server

2016-12-08 Thread Arno Schäfer
I have configured a tomcat (7.0.54) webdav server and try to access via a windows UNC path. If I run WebDAV in an IIS environment I can access this server automaticly from all clients via an UNC path like '\\webserver[@port]\webdav\' if the server side mapping is

AW: UNC access to an tomcat webdav server

2016-12-08 Thread Arno Schäfer
> In the "any hints" category : > - in Windows (disk) Explorer, go to "Netzwerkumgebung" > - select "Netzwerkumgebung hinzufügen" > - click "Weiter" (2 X) > - in "Internet- oder Netzwerkadresse", enter your > "https://webserver:port/webdav; >and click "Weiter". Depending on how you set this

AW: Mounting WebDAV in Tomcat 7.0.45

2016-11-30 Thread Arno Schäfer
So, many thanks for your comments, > The general recommendation is to use a 3rd party WebDAV client. Check > the archives details (I think it is Chris that uses one). At least I found a product, what we actually use in our company and what I can take also for our project. The WebDAV Client is

Mounting WebDAV in Tomcat 7.0.45

2016-11-29 Thread Arno Schäfer
Hi all, I have activate WebDAV in our web application, as it is in tomcat. A filter control the access to exactly one folder inside the web application. This application is used only internal in the intra-net and so it run just over HTTP without any user permission. Open and save Office

AW: Mounting WebDAV in Tomcat 7.0.45

2016-11-29 Thread Arno Schäfer
> Some versions of the Windows WebDAV client refuse to connect if the server > root is not WebDAV enabled. > There is also this code that you might find helpful - although it hasn't been > updated in a while: >

Recognize shutdown event in tomcats Realm instance

2018-08-29 Thread Arno Schäfer
Hi all, we use our own Realm implementation in our webapps. If tomcat shuts down, we have to do some clean up in this instance to speed up the shutdown. In our web application we do this in the ServletContextListener instance in 'contextDestroyed(...)' method. What is the right place to do this

AW: Recognize shutdown event in tomcats Realm instance

2018-08-30 Thread Arno Schäfer
> Over-ride RealmBase.stopInternal() and don't forget to call > super.stopInternal() when you do. Thanks a lot Mark for the fast answer! I have overlooked that, sorry. - Arno - To unsubscribe, e-mail: