Hi, can you tell please how to implement Hypertext Transfer Protocol Secure (HTTPS) in Formspider application. Thanks in advance.

asked 15 May '13, 09:04

Javid%20Hasanov's gravatar image

Javid Hasanov
12
accept rate: 0%

and note that i recieve following error when try to use HTTPS.

[#|2013-05-15T18:07:18.463+0500|WARNING|glassfish3.1.2|org.apache.catalina.connector.Request|_ThreadID=35;_ThreadName=Thread-2;|PWC4011: Unable to set request character encoding to UTF-8 from context /west, because request parameters have already been read, or ServletRequest.getReader() has already been called|#]

[#|2013-05-15T18:07:18.468+0500|INFO|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=35;_ThreadName=Thread-2;|java.lang.NullPointerException at co.gerger.bdf.view.BDFServlet.doPost(BDFServlet.java:183) at javax.servlet.http.HttpServlet.service(HttpServlet.java:688) at javax.servlet.http.HttpServlet.service(HttpServlet.java:770) at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1542) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217) at co.gerger.filters.GZIPFilter.doFilter(GZIPFilter.java:48)

(15 May '13, 09:10) Javid Hasanov

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161) at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:331) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231) at com.sun.enterprise.v3.services.impl.ContainerMapper$AdapterCallable.call(ContainerMapper.java:317) at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195) at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:849)

(15 May '13, 09:11) Javid Hasanov

at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:746) at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1045) at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:228) at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90) at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79) at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54) at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59) at com.sun.grizzly.ContextTask.run(ContextTask.java:71) at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532) at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513) at java.lang.Thread.run(Thread.java:662) |#]

(15 May '13, 09:11) Javid Hasanov

The problem is a database connection retrieval problem, and shouldn't have a relation with HTTPS protocol. We have a Glassfish server, here, with the very same version. Via HTTPS, Formspider is functioning correctly.

Could you please check JDBC Connection Pool settings of Glassfish and Formspider engineJdbcName parameter ( inside WEB-INF/web.xml )? "engineJdbcName" and "JDBC Resource Name" must be the same.

(15 May '13, 09:31) formspider ♦♦

Hi Javid,

Formspider applications work with HTTPS just like any other web application. The steps you need to go through are the same.

Best, Yalim

link

answered 15 May '13, 09:08

Yalim%20Gerger's gravatar image

Yalim Gerger ♦♦
1.8k5
accept rate: 15%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×3
×3
×2
×1

Asked: 15 May '13, 09:04

Seen: 873 times

Last updated: 15 May '13, 09:31


© Copyright Gerger 2017