Signing Java Web Servlet for Tomcat
Hello All, I am developing a Web application for deployment on a Tomcat server. I am using Netbeans 8.2 on Win7 platform for development. I have the application built sufficiently for JFileChooser to function correctly when run locally using XAMPP to save a generated database file. When the war file is built and deployed to the Tomcat server, JFileChooser does not appear to prompt for the filename. If code is remarked out and a filename is hardcoded instead then the output is generated and saved accordingly. A reference for this problem stated it was a security related issue with Tomcat server. Suggested resolution was to "sign" the applet. I have installed the plugin "Netbeans Signing" and it appears on the Tools menu list as "Sign Module". When I attempt to use it, first prompts for a project "module". I have not been able to locate any directory that will function here. There was also mentioned an option on the Tools menu list for "Keystores". However, I have not located that item either. I do have my certificate file (.p12) imported into the Windows storage for my personal identification certificate that I use for signing other documents, messages and encrypting messages. Are there any resources available that demonstrate how to sign a web servlet in Netbeans to deploy on a Tomcat server for a Java Web application? Sorry about length of message but certs are always a complicated issue. thank you, James - To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: unsubscribe
To remove your address from the list, send a message to:On Fri, 2018-03-09 at 19:56 +0100, Jean OHANESSIAN wrote: > Sorry > > How can you stop receiving email from > "users@netbeans.apache.org" > > Thanks you - To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: Java EE version support
My Tomcat server is 8.5.23 On Tue, 2018-03-06 at 16:03 +, Peter Steele wrote: > You need tomcat 8/9 for servlet 3.1 support which is what j2ee 7 > provides > > On 6 Mar 2018 15:58, "Geertjan Wielenga" <geertjan.wielenga@googlemai > l.com> wrote: > > There's a pretty big difference between Java 8 and Java EE 8... > > > > Gj > > > > On Tue, Mar 6, 2018 at 4:55 PM, James Finnall <ja...@finnall.net> > > wrote: > > > My server states it is using JVM 1.8.0_151-8u151-b12- > > > 0ubuntu0.16.04.2- > > > b12 > > > > > > I am told that indicates Java 8. > > > > > > James > > > > > > On Tue, 2018-03-06 at 16:47 +0100, Geertjan Wielenga wrote: > > > > Does Tomcat support Java EE 7? > > > > > > > > Gj > > > > > > > > On Tue, Mar 6, 2018 at 4:46 PM, James Finnall <ja...@finnall.ne > > > t> > > > > wrote: > > > > > The tutorial provided a reference to using GlassFish server. > > > I do > > > > > have > > > > > the option for EE 7 on GlassFish. It did not mention Tomcat. > > > > > > > > > > > > > When I choose Tomcat on a new project it only provides > > > options for > > > > > version 6 and 5. It does not list version 7. > > > > > > > > > > Thank you, > > > > > James > > > > > > > > > > > > > > > On Tue, 2018-03-06 at 16:32 +0100, Geertjan Wielenga wrote: > > > > > > https://netbeans.org/kb/docs/javaee/javaee-gettingstarted.h > > > tml > > > > > > > > > > > > Gj > > > > > > > > > > > > On Tue, Mar 6, 2018 at 4:30 PM, James Finnall <James@finnal > > > l.net> > > > > > > wrote: > > > > > > > What about Java EE 7 then? > > > > > > > > > > > > > > On Tue, 2018-03-06 at 16:16 +0100, Geertjan Wielenga > > > wrote: > > > > > > > > > > > > > > > > Java EE 8 is not supported at this stage. > > > > > > > > > > > > > > > > Gj > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Tue, Mar 6, 2018 at 4:15 PM, James Finnall <James@ > > > finnal > > > > > l.ne > > > > > > > t> > > > > > > > > > wrote: > > > > > > > > > > Hello All, > > > > > > > > > > > > > > > > > > > > Just upgraded to Netbeans 8.2 and Java EE Base > > > plug-in is > > > > > > > 1.31.1 > > > > > > > > > > as I > > > > > > > > > > recall. Attempting to get support for Java EE 7 or > > > 8. > > > > > > > Netbeans > > > > > > > > > > stated > > > > > > > > > > I needed to upgrade to support string comparisons > > > in a > > > > > switch > > > > > > > > > > statement. > > > > > > > > > > > > > > > > > > > > After the upgrades I am still limited to Java EE > > > 6. It > > > > > does > > > > > > > show > > > > > > > > > > Java > > > > > > > > > > EE 7 for a GlassFish server, but not EE 8. When I > > > select > > > > > > > Tomcat > > > > > > > > > > it > > > > > > > > > > drops back to 6 and 5 again. Tomcat is what I need > > > to > > > > > > > support. > > > > > > > > > > Our > > > > > > > > > > Tomcat server is running 8.5.23 and JVM version > > > 1.8. > > > > > > > > > > > > > > > > > > > > So how I am suppose to upgrade to 7 or 8? > > > > > > > > > > > > > > > > > > > > I suspect there are others that have done this > > > before. > > > > > As > > > > > > > for me > > > > > > > > > > I am > > > > &
Re: Java EE version support
My server states it is using JVM 1.8.0_151-8u151-b12-0ubuntu0.16.04.2- b12 I am told that indicates Java 8. James On Tue, 2018-03-06 at 16:47 +0100, Geertjan Wielenga wrote: > Does Tomcat support Java EE 7? > > Gj > > On Tue, Mar 6, 2018 at 4:46 PM, James Finnall <ja...@finnall.net> > wrote: > > The tutorial provided a reference to using GlassFish server. I do > > have > > the option for EE 7 on GlassFish. It did not mention Tomcat. > > > > When I choose Tomcat on a new project it only provides options for > > version 6 and 5. It does not list version 7. > > > > Thank you, > > James > > > > > > On Tue, 2018-03-06 at 16:32 +0100, Geertjan Wielenga wrote: > > > https://netbeans.org/kb/docs/javaee/javaee-gettingstarted.html > > > > > > Gj > > > > > > On Tue, Mar 6, 2018 at 4:30 PM, James Finnall <ja...@finnall.net> > > > wrote: > > > > What about Java EE 7 then? > > > > > > > > On Tue, 2018-03-06 at 16:16 +0100, Geertjan Wielenga wrote: > > > > > > > > > > Java EE 8 is not supported at this stage. > > > > > > > > > > Gj > > > > > > > > > > > > > > > > > > > > > On Tue, Mar 6, 2018 at 4:15 PM, James Finnall <James@finnal > > l.ne > > > > t> > > > > > > wrote: > > > > > > > Hello All, > > > > > > > > > > > > > > Just upgraded to Netbeans 8.2 and Java EE Base plug-in is > > > > 1.31.1 > > > > > > > as I > > > > > > > recall. Attempting to get support for Java EE 7 or 8. > > > > Netbeans > > > > > > > stated > > > > > > > I needed to upgrade to support string comparisons in a > > switch > > > > > > > statement. > > > > > > > > > > > > > > After the upgrades I am still limited to Java EE 6. It > > does > > > > show > > > > > > > Java > > > > > > > EE 7 for a GlassFish server, but not EE 8. When I select > > > > Tomcat > > > > > > > it > > > > > > > drops back to 6 and 5 again. Tomcat is what I need to > > > > support. > > > > > > > Our > > > > > > > Tomcat server is running 8.5.23 and JVM version 1.8. > > > > > > > > > > > > > > So how I am suppose to upgrade to 7 or 8? > > > > > > > > > > > > > > I suspect there are others that have done this before. > > As > > > > for me > > > > > > > I am > > > > > > > just starting in the Java world. > > > > > > > > > > > > > > Thank you, > > > > > > > James > > > > > > > > > > > > > > > > > > > > > --- > > > > > > > > > > > > > -- > > > > > > > To unsubscribe, e-mail: users-unsubscribe@netbeans.apache > > .org > > > > > > > For additional commands, e-mail: users-h...@netbeans.apac > > he.o > > > > rg > > > > > > > > > > > > > > For further information about the NetBeans mailing lists, > > > > visit: > > > > > > > https://cwiki.apache.org/confluence/display/NETBEANS/Mail > > ing+ > > > > list > > > > > > > s > > > > > > > > > > > > > > > > > > > > > > > > > > > > - > > > > > > > > > > To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org > > > > For additional commands, e-mail: users-h...@netbeans.apache.org > > > > > > > > For further information about the NetBeans mailing lists, > > visit: > > > > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+li > > sts > > > > > > > > > > > > - > > > > To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org > > For additional commands, e-mail: users-h...@netbeans.apache.org > > > > For further information about the NetBeans mailing lists, visit: > > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists > > > > - To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: Java EE version support
The tutorial provided a reference to using GlassFish server. I do have the option for EE 7 on GlassFish. It did not mention Tomcat. When I choose Tomcat on a new project it only provides options for version 6 and 5. It does not list version 7. Thank you, James On Tue, 2018-03-06 at 16:32 +0100, Geertjan Wielenga wrote: > https://netbeans.org/kb/docs/javaee/javaee-gettingstarted.html > > Gj > > On Tue, Mar 6, 2018 at 4:30 PM, James Finnall <ja...@finnall.net> > wrote: > > What about Java EE 7 then? > > > > On Tue, 2018-03-06 at 16:16 +0100, Geertjan Wielenga wrote: > > > > > > Java EE 8 is not supported at this stage. > > > > > > Gj > > > > > > > > > > > > > On Tue, Mar 6, 2018 at 4:15 PM, James Finnall <ja...@finnall.ne > > t> > > > > wrote: > > > > > Hello All, > > > > > > > > > > Just upgraded to Netbeans 8.2 and Java EE Base plug-in is > > 1.31.1 > > > > > as I > > > > > recall. Attempting to get support for Java EE 7 or 8. > > Netbeans > > > > > stated > > > > > I needed to upgrade to support string comparisons in a switch > > > > > statement. > > > > > > > > > > After the upgrades I am still limited to Java EE 6. It does > > show > > > > > Java > > > > > EE 7 for a GlassFish server, but not EE 8. When I select > > Tomcat > > > > > it > > > > > drops back to 6 and 5 again. Tomcat is what I need to > > support. > > > > > Our > > > > > Tomcat server is running 8.5.23 and JVM version 1.8. > > > > > > > > > > So how I am suppose to upgrade to 7 or 8? > > > > > > > > > > I suspect there are others that have done this before. As > > for me > > > > > I am > > > > > just starting in the Java world. > > > > > > > > > > Thank you, > > > > > James > > > > > > > > > > > > > > > --- > > > > > > > -- > > > > > To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org > > > > > For additional commands, e-mail: users-help@netbeans.apache.o > > rg > > > > > > > > > > For further information about the NetBeans mailing lists, > > visit: > > > > > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+ > > list > > > > > s > > > > > > > > > > > > > > > > > > - > > > > To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org > > For additional commands, e-mail: users-h...@netbeans.apache.org > > > > For further information about the NetBeans mailing lists, visit: > > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists > > > > - To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists