Re: Does Tomcat need a non-ssl connector?
On Fri, Feb 12, 2016 at 05:36:56PM -0500, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Chuck, > > On 2/12/16 3:06 PM, Caldarale, Charles R wrote: > >> From: James H. H. Lampert [mailto:jam...@touchtonecorp.com] > >> Subject: Re: Does Tomcat need a non-ssl connector? > > > >> On 2/12/16, 11:40 AM, m...@kimwana.com wrote: > > > >>> Perhaps I should have phrased this differently. I want to > >>> force clients to ssl. When they hit http://app.myurl.com their > >>> browser should load https://app.myurl.com > > > >> Wouldn't mind knowing that myself. All the Tomcat installations > >> I'm responsible for are set up to simply reject non-secured > >> connections (that's EASY, just comment out the non-secured > >> connector); I'm sure some customers would like it to behave as > >> you describe. > > > > Read the servlet spec. > > +1 > > > Simply set transport-guarantee to CONFIDENTIAL for all URL > > patterns (/*). You can do this in the global conf/web.xml, if > > desired. Yeah-no. Nothing is that simple ;) > Not quite: there is still a bit of Tomcat configuration that needs to > be done. The default configuration will do this correctly (redirect > port 8080 -> 8443). If you want different port numbers, you'll need to > read the configuration reference for the HTTP connector. jsvc is working for me but the redirect 80 --> 8080 (ssl) shows up in the url https://tomcat7.mynatnet.yo/8080 I need to figure out how to have that uri load with ssl as https://tomcat7.mynatnet.yo > > - -chris > -BEGIN PGP SIGNATURE- > Comment: GPGTools - http://gpgtools.org > Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ > > iEYEARECAAYFAla+XogACgkQ9CaO5/Lv0PBYpACfcRriDcScS0UUbq6cFvOiCpfq > QnUAnRGtVj7K0G+3PtUI2M5uF+mu3/hr > =nzQi > -END PGP SIGNATURE- > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Building binary release on Windows 10
Hi everyone, I am trying to perform a "build release" from source code for Tomcat 8.0.32 and I am running into the following error when it is time to create the actual installer file. BUILD FAILED E:\Utilisateurs\dsavard\Projets\apache-tomcat-8.0.32-src\build.xml:2223: Execute failed: java.io.IOException: Cannot run program "E:\Utilisateurs\dsavard\Projets\apache-tomcat-8.0.32-src\output\dist\tempinstaller.exe" (in directory "E:\Utilisateurs\dsavard\Projets\apache-tomcat-8.0.32-src\output\dist"): CreateProcess error=740, L'opération demandée nécessite une élévation at java.lang.ProcessBuilder.start(ProcessBuilder.java:1047) at java.lang.Runtime.exec(Runtime.java:617) at org.apache.tools.ant.taskdefs.launcher.Java13CommandLauncher.exec(Java13CommandLauncher.java:58) at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:428) at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:442) at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:629) at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:670) at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:496) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293) at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:435) at org.apache.tools.ant.Target.performTasks(Target.java:456) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405) at org.apache.tools.ant.Project.executeTarget(Project.java:1376) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1260) at org.apache.tools.ant.Main.runBuild(Main.java:853) at org.apache.tools.ant.Main.startAnt(Main.java:235) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:285) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:112) Caused by: java.io.IOException: CreateProcess error=740, L'opération demandée nécessite une élévation at java.lang.ProcessImpl.create(Native Method) at java.lang.ProcessImpl.(ProcessImpl.java:385) at java.lang.ProcessImpl.start(ProcessImpl.java:136) at java.lang.ProcessBuilder.start(ProcessBuilder.java:1028) ... 23 more Total time: 1 minute 28 seconds Here is my translation for the following error message: CreateProcess error=740, L'opération demandée nécessite une élévation CreateProcess error=740, The requested operation requires elevation Obviously, the program requires more privileges than my current user. How do I fix this to complete the process and create the installer file for Windows? Regards, - Daniel Savard - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org