<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[JForum Community - Latest posts for "Spencer"]]></title>
		<link>https://community.jforum.net/posts/listByUser/56</link>
		<description><![CDATA[Latest posts for "Spencer"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>[User Forum] Guava 11</title>
				<description><![CDATA[ Do you know what uses guava-11.0.2.jar in WEB-INF\lib ?
<br>
<br>
I use a newer version in my application that runs on Amazon AWS.
<br>
<br>
I recently had a problem updating to a newer version OS. After going beyond v2.2.0 my application could not find some functions that were in the newer version of guava but not in 11. For some reason, Amazon v2.3.0, v2.3.1, and v2.4.0 were finding and using guava 11 but v2.2.0 and earlier found and used my newer version of guava.
<br>
<br>
After replacing the jforum guava with the newer version I have been able to go to the newer Amazon OS.
<br>
<br>
I am just letting anyone know in case they have similar problems.
<br>
<br>
Also, if I know what in jforum uses guava, I can test it to make sure it is working with the newer version.]]></description>
				<guid isPermaLink="true">https://community.jforum.net/posts/preList/145/609</guid>
				<link>https://community.jforum.net/posts/preList/145/609</link>
				<pubDate><![CDATA[Thu, 15 Dec 2016 03:47:29]]> GMT</pubDate>
				<author><![CDATA[ Spencer]]></author>
			</item>
			<item>
				<title>[User Forum] Re:jforum 2.4.0 and Csrf Guard</title>
				<description><![CDATA[ In csrfguard.properties I changed:
<br>
<br>
org.owasp.csrfguard.Config.Print = false
<br>
<br>
And re enabled the CSRFGuard filter-mapping in web.xml. I did still need to limit it to *.page to prevent interference with my application.
<br>
<br>
Initial tests seem OK.
<br>]]></description>
				<guid isPermaLink="true">https://community.jforum.net/posts/preList/123/512</guid>
				<link>https://community.jforum.net/posts/preList/123/512</link>
				<pubDate><![CDATA[Fri, 8 Apr 2016 04:58:53]]> GMT</pubDate>
				<author><![CDATA[ Spencer]]></author>
			</item>
			<item>
				<title>[User Forum] Re:Could aborted install affect existing version?</title>
				<description><![CDATA[ Nevermind ...
<br>
<br>
It was just a coincidental change in my dynamic IP address and I needed to set a security rule for the new address.
<br>
<br>
Thanks for your help.
<br>
<br>
Best Regards,
<br>
<br>
Spencer]]></description>
				<guid isPermaLink="true">https://community.jforum.net/posts/preList/129/497</guid>
				<link>https://community.jforum.net/posts/preList/129/497</link>
				<pubDate><![CDATA[Sun, 25 Oct 2015 04:28:09]]> GMT</pubDate>
				<author><![CDATA[ Spencer]]></author>
			</item>
			<item>
				<title>[User Forum] Could aborted install affect existing version?</title>
				<description><![CDATA[ I have a strange problem. I recently upgraded to 2.4.1 on my local machine and had not yet finished testing it.
<br>
<br>
A friend was going to try using jforum for his site. I was going to tell him how to set it up and created a project in Netbeans and took it to the install.jsp. I closed it and never completed the install.
<br>
<br>
Then when I tried to load my app NetBeans also started the temp project which had also switched the java version being used by glassfish. After correcting those problems, I still have a problem with jforum.
<br>
<br>
Could starting the install of a different project cause problems with C3P0?
<br>
<br>
When I try to access jforum it has a long hang but eventually reports:
<br>
<br>
Severe: WebModule[/MapBake8]StandardWrapper.Throwable
<br>
net.jforum.exceptions.ForumStartupException: Error while starting jforum
<br>
at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:118)
<br>
at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:77)
<br>
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:690)
<br>
at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(AbstractPoolBackedDataSource.java:140)
<br>
at net.jforum.C3P0PooledConnection.getConnection(C3P0PooledConnection.java:156)
<br>
at net.jforum.JForum.init(JForum.java:121)
<br>
at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1583)
<br>
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:1212)
<br>
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:237)
<br>
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:160)
<br>
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:734)
<br>
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:673)
<br>
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:99)
<br>
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:174)
<br>
at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:357)
<br>
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:260)
<br>
at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:188)
<br>
at org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:191)
<br>
at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:168)
<br>
at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:189)
<br>
at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
<br>
at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:288)
<br>
at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:206)
<br>
at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:136)
<br>
at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:114)
<br>
at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)
<br>
at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:838)
<br>
at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:113)
<br>
at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:115)
<br>
at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:55)
<br>
at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:135)
<br>
at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:564)
<br>
at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:544)
<br>
at java.lang.Thread.run(Thread.java:745)
<br>
Caused by: net.jforum.exceptions.DatabaseException: java.sql.SQLException: An attempt by a client to checkout a Connection has timed out.
<br>
... 34 more
<br>
Caused by: java.sql.SQLException: An attempt by a client to checkout a Connection has timed out.
<br>
... 34 more
<br>
Caused by: com.mchange.v2.resourcepool.TimeoutException: A client timed out while waiting to acquire a resource from com.mchange.v2.resourcepool.BasicResourcePool@49dfa305 -- timeout at awaitAvailable()
<br>
at com.mchange.v2.resourcepool.BasicResourcePool.awaitAvailable(BasicResourcePool.java:1467)
<br>
at com.mchange.v2.resourcepool.BasicResourcePool.prelimCheckoutResource(BasicResourcePool.java:644)
<br>
at com.mchange.v2.resourcepool.BasicResourcePool.checkoutResource(BasicResourcePool.java:554)
<br>
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutAndMarkConnectionInUse(C3P0PooledConnectionPool.java:758)
<br>
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:685)
<br>
... 31 more
<br>
<br>
Warning: StandardWrapperValve[jforum]: Allocate exception for servlet jforum
<br>
com.mchange.v2.resourcepool.TimeoutException: A client timed out while waiting to acquire a resource from com.mchange.v2.resourcepool.BasicResourcePool@49dfa305 -- timeout at awaitAvailable()
<br>
at com.mchange.v2.resourcepool.BasicResourcePool.awaitAvailable(BasicResourcePool.java:1467)
<br>
at com.mchange.v2.resourcepool.BasicResourcePool.prelimCheckoutResource(BasicResourcePool.java:644)
<br>
at com.mchange.v2.resourcepool.BasicResourcePool.checkoutResource(BasicResourcePool.java:554)
<br>
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutAndMarkConnectionInUse(C3P0PooledConnectionPool.java:758)
<br>
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:685)
<br>
at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(AbstractPoolBackedDataSource.java:140)
<br>
at net.jforum.C3P0PooledConnection.getConnection(C3P0PooledConnection.java:156)
<br>
at net.jforum.JForum.init(JForum.java:121)
<br>
at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1583)
<br>
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:1212)
<br>
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:237)
<br>
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:160)
<br>
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:734)
<br>
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:673)
<br>
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:99)
<br>
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:174)
<br>
at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:357)
<br>
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:260)
<br>
at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:188)
<br>
at org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:191)
<br>
at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:168)
<br>
at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:189)
<br>
at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
<br>
at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:288)
<br>
at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:206)
<br>
at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:136)
<br>
at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:114)
<br>
at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)
<br>
at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:838)
<br>
at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:113)
<br>
at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:115)
<br>
at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:55)
<br>
at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:135)
<br>
at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:564)
<br>
at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:544)
<br>
at java.lang.Thread.run(Thread.java:745)]]></description>
				<guid isPermaLink="true">https://community.jforum.net/posts/preList/129/495</guid>
				<link>https://community.jforum.net/posts/preList/129/495</link>
				<pubDate><![CDATA[Fri, 23 Oct 2015 12:32:33]]> GMT</pubDate>
				<author><![CDATA[ Spencer]]></author>
			</item>
			<item>
				<title>[User Forum] Re:jforum 2.4.0 and Csrf Guard</title>
				<description><![CDATA[ The changes had no effect. The same problems occur.
<br>
<br>
My unprotected settings (which seem to have no effect) are:
<br>
<br>
org.owasp.csrfguard.unprotected.Default=%servletContext%/
<br>
org.owasp.csrfguard.unprotected.Local=%servletContext%/MapBake
<br>
org.owasp.csrfguard.unprotected.Ajax=%servletContext%/MB1*
<br>
org.owasp.csrfguard.unprotected.Ajax2=/MB1*
<br>
org.owasp.csrfguard.unprotected.AjaxLocal=%servletContext%/MapBake/MB1*
<br>
org.owasp.csrfguard.unprotected.AjaxLocal2=/MapBake/MB1*
<br>
org.owasp.csrfguard.unprotected.MB1=MB1*
<br>
org.owasp.csrfguard.unprotected.allMB1=*MB1
<br>
org.owasp.csrfguard.unprotected.Jsp=*.jsp
<br>
org.owasp.csrfguard.unprotected.Jpeg=*.jpg
<br>
org.owasp.csrfguard.unprotected.Gif=*.gif
<br>
org.owasp.csrfguard.unprotected.Png=*.png
<br>
org.owasp.csrfguard.unprotected.Css=*.css
<br>
org.owasp.csrfguard.unprotected.Flash=*.swf
<br>
org.owasp.csrfguard.unprotected.JavaScript=*.js
<br>
<br>
The /MapBake is only on my local testing server and will not be needed/used on the live server.]]></description>
				<guid isPermaLink="true">https://community.jforum.net/posts/preList/123/463</guid>
				<link>https://community.jforum.net/posts/preList/123/463</link>
				<pubDate><![CDATA[Mon, 18 May 2015 02:54:50]]> GMT</pubDate>
				<author><![CDATA[ Spencer]]></author>
			</item>
			<item>
				<title>[User Forum] Re:jforum 2.4.0 and Csrf Guard</title>
				<description><![CDATA[ When I enable csrf, in addition to breaking my site, on the server I get many of the following errors:
<br>
<br>
<pre class="line-numbers"><code class="language-text match-braces">Warning:   StandardWrapperValve[default]: Servlet.service() for servlet default threw exception<br>java.lang.IllegalStateException: Cannot create a session after the response has been committed<br>	at org.apache.catalina.connector.Request.doGetSession(Request.java:3251)<br>	at org.apache.catalina.connector.Request.getSession(Request.java:2884)<br>	at org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:908)<br>	at net.jforum.csrf.CsrfFilter.doFilter(CsrfFilter.java:72)<br>	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)<br>	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)<br>	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:316)<br>	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:160)<br>	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:734)<br>	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:673)<br>	at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:99)<br>	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:174)<br>	at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:357)<br>	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:260)<br>	at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:188)<br>	at org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:191)<br>	at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:168)<br>	at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:189)<br>	at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)<br>	at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:288)<br>	at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:206)<br>	at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:136)<br>	at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:114)<br>	at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)<br>	at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:838)<br>	at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:113)<br>	at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:115)<br>	at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:55)<br>	at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:135)<br>	at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:564)<br>	at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:544)<br>	at java.lang.Thread.run(Thread.java:745)</code></pre>
<br>
<br>
Then if I try to reload the page it intercepts the ajax calls (even if I turn off ajax and unprotect them in the csrfguard.properties) and I get:
<br>
<br>
<pre class="line-numbers"><code class="language-text match-braces">Info:   [Mon May 11 13:32:06 EDT 2015] [Info] CsrfGuard analyzing request /MapBake/MB1<br>Severe:   [Mon May 11 13:32:06 EDT 2015] [Error] potential cross-site request forgery (CSRF) attack thwarted (user:&lt;anonymous&gt;, ip:0:0:0:0:0:0:0:1, method:%request_method%, uri:unknown module for /MapBake/MB1, error:required token is missing from the request)<br>Severe:   An exception or error occurred in the container during the request processing<br>java.lang.IllegalStateException: isHexDigit<br>	at org.glassfish.grizzly.http.util.URLDecoder.decode(URLDecoder.java:243)<br>	at org.glassfish.grizzly.http.util.URLDecoder.decodeAscii(URLDecoder.java:159)<br>	at org.glassfish.grizzly.http.util.URLDecoder.decode(URLDecoder.java:71)<br>	at org.glassfish.grizzly.http.util.HttpRequestURIDecoder.decode(HttpRequestURIDecoder.java:160)<br>	at org.glassfish.grizzly.http.util.RequestURIRef.getDecodedRequestURIBC(RequestURIRef.java:133)<br>	at org.glassfish.grizzly.http.util.RequestURIRef.getDecodedRequestURIBC(RequestURIRef.java:114)<br>	at org.apache.catalina.connector.CoyoteAdapter.postParseRequest(CoyoteAdapter.java:435)<br>	at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:297)<br>	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:260)<br>	at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:188)<br>	at org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:191)<br>	at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:168)<br>	at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:189)<br>	at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)<br>	at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:288)<br>	at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:206)<br>	at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:136)<br>	at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:114)<br>	at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)<br>	at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:838)<br>	at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:113)<br>	at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:115)<br>	at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:55)<br>	at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:135)<br>	at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:564)<br>	at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:544)<br>	at java.lang.Thread.run(Thread.java:745)</code></pre>]]></description>
				<guid isPermaLink="true">https://community.jforum.net/posts/preList/123/461</guid>
				<link>https://community.jforum.net/posts/preList/123/461</link>
				<pubDate><![CDATA[Tue, 12 May 2015 02:16:59]]> GMT</pubDate>
				<author><![CDATA[ Spencer]]></author>
			</item>
			<item>
				<title>[User Forum] Re:jforum 2.4.0 and Csrf Guard</title>
				<description><![CDATA[ Yes, I did limit it to *.page
<br>
<br>
When I did not do this the token interfered with the functionality of the site.
<br>
<br>
I will see if I can isolate the csrf so it does not interfere.
<br>
<br>
It would be good to have a test scenario for when csrf does prevent access to ensure that has proper behavior (and maybe an email notification of any problems).]]></description>
				<guid isPermaLink="true">https://community.jforum.net/posts/preList/123/460</guid>
				<link>https://community.jforum.net/posts/preList/123/460</link>
				<pubDate><![CDATA[Tue, 12 May 2015 01:15:06]]> GMT</pubDate>
				<author><![CDATA[ Spencer]]></author>
			</item>
			<item>
				<title>[User Forum] Re:jforum 2.4.0 and Csrf Guard</title>
				<description><![CDATA[ I finally enabled csrf a couple days ago on my live site and from the logs I see it analyzing requests.
<br>
<br>
Then today I got an error and had this in the log:
<br>
<br>
<pre class="line-numbers"><code class="language-text match-braces">[Sun May 10 01:28:10 UTC 2015] [Info] CsrfGuard analyzing request /forums/list.page<br>May 10, 2015 1:28:10 AM org.apache.catalina.core.StandardWrapperValve invoke<br>SEVERE: Servlet.service() for servlet [jforum] in context with path [] threw exception<br>java.lang.IllegalStateException: CsrfGuard expects the token to exist in session at this point<br>	at org.owasp.csrfguard.CsrfGuard.isValidRequest(CsrfGuard.java:386)<br>	at net.jforum.csrf.CsrfFilter.doFilter(CsrfFilter.java:95)<br>	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)<br>	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)<br>	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)<br>	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)<br>	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)<br>	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)<br>	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)<br>	at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:683)<br>	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)<br>	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)<br>	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)<br>	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1074)<br>	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)<br>	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314)<br>	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)<br>	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)<br>	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)<br>	at java.lang.Thread.run(Thread.java:745)</code></pre>
<br>
<br>]]></description>
				<guid isPermaLink="true">https://community.jforum.net/posts/preList/123/458</guid>
				<link>https://community.jforum.net/posts/preList/123/458</link>
				<pubDate><![CDATA[Mon, 11 May 2015 01:15:05]]> GMT</pubDate>
				<author><![CDATA[ Spencer]]></author>
			</item>
			<item>
				<title>[User Forum] Re:jforum 2.4.0 and Csrf Guard</title>
				<description><![CDATA[ It seems to be working. Is there a way to simulate a Cross Site Request Forgery for testing? When it was incorrectly identifying a csrf it seemed to redirect to a non-existent page.
<br>
<br>
Also, I set the web.xml to map the filtering of csrfguard to *.page. Are there any others that should also be checked?]]></description>
				<guid isPermaLink="true">https://community.jforum.net/posts/preList/123/457</guid>
				<link>https://community.jforum.net/posts/preList/123/457</link>
				<pubDate><![CDATA[Mon, 20 Apr 2015 13:30:15]]> GMT</pubDate>
				<author><![CDATA[ Spencer]]></author>
			</item>
			<item>
				<title>[User Forum] Re:jforum 2.4.0 and Csrf Guard</title>
				<description><![CDATA[ In cfrs.properties I set list=AddToken
<br>
<br>
Since I changed the index.jsp that came with jforum to forum.jsp in cfrsguard.properties I set org.owasp.csrfguard.NewTokenLandingPage=%servletContext%/forum.jsp
<br>
<br>
I did get further. I was able to go through the forums but when I try to open a post it thinks it is a cross-site request forgery and directs the browser to %servletContext%/error.html?OWASP_CSRFTOKEN=PBDD-410O-6Z38-IB97-MU6N-HCIG-IUT6-R8D2
<br>
<br>
On the server it has:
<br>
<br>
<pre class="line-numbers"><code class="language-text match-braces">Info:   [Wed Apr 15 19:15:59 EDT 2015] [Info] CsrfGuard analyzing request /MapBake/forums/show/1.page<br>Info:   [Wed Apr 15 19:16:04 EDT 2015] [Info] CsrfGuard analyzing request /MapBake/posts/list/16.page<br>Severe:   [Wed Apr 15 19:16:04 EDT 2015] [Error] potential cross-site request forgery (CSRF) attack thwarted (user:&lt;anonymous&gt;, ip:0:0:0:0:0:0:0:1, method:%request_method%, uri:list, error:required token is missing from the request)<br>Severe:   An exception or error occurred in the container during the request processing<br>java.lang.IllegalStateException: isHexDigit<br>	at org.glassfish.grizzly.http.util.URLDecoder.decode(URLDecoder.java:243)<br>	at org.glassfish.grizzly.http.util.URLDecoder.decodeAscii(URLDecoder.java:159)<br>	at org.glassfish.grizzly.http.util.URLDecoder.decode(URLDecoder.java:71)<br>	at org.glassfish.grizzly.http.util.HttpRequestURIDecoder.decode(HttpRequestURIDecoder.java:160)<br>	at org.glassfish.grizzly.http.util.RequestURIRef.getDecodedRequestURIBC(RequestURIRef.java:133)<br>	at org.glassfish.grizzly.http.util.RequestURIRef.getDecodedRequestURIBC(RequestURIRef.java:114)<br>	at org.apache.catalina.connector.CoyoteAdapter.postParseRequest(CoyoteAdapter.java:435)<br>	at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:297)<br>	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:260)<br>	at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:188)<br>	at org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:191)<br>	at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:168)<br>	at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:189)<br>	at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)<br>	at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:288)<br>	at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:206)<br>	at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:136)<br>	at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:114)<br>	at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)<br>	at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:838)<br>	at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:113)<br>	at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:115)<br>	at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:55)<br>	at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:135)<br>	at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:564)<br>	at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:544)<br>	at java.lang.Thread.run(Thread.java:745)</code></pre>
<br>]]></description>
				<guid isPermaLink="true">https://community.jforum.net/posts/preList/123/455</guid>
				<link>https://community.jforum.net/posts/preList/123/455</link>
				<pubDate><![CDATA[Thu, 16 Apr 2015 07:29:01]]> GMT</pubDate>
				<author><![CDATA[ Spencer]]></author>
			</item>
			<item>
				<title>[User Forum] jforum 2.4.0 and Csrf Guard</title>
				<description><![CDATA[ I am trying to upgrade to 2.4.0.
<br>
<br>
It interferes with my application. I tried changing various settings in csrfguard.properties but they did not seem to have any effect.
<br>
<br>
Everything seems to work if I disable the CSRFGuard filter mapping in web.xml. But even if I only have it filter map the forum pages it has problems that report "HTTP Status 500 - Internal Server Error" with the following on the server:
<br>
<br>
<pre class="line-numbers"><code class="language-text match-braces">Info:   [Tue Apr 14 00:34:57 EDT 2015] [Info] CsrfGuard analyzing request /MapBake/forums/list.page<br>Warning:   StandardWrapperValve[jforum]: Servlet.service() for servlet jforum threw exception<br>java.lang.IllegalStateException: CsrfGuard expects the token to exist in session at this point<br>	at org.owasp.csrfguard.CsrfGuard.isValidRequest(CsrfGuard.java:386)<br>	at net.jforum.csrf.CsrfFilter.doFilter(CsrfFilter.java:95)<br>	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)<br>	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)<br>	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:316)<br>	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:160)<br>	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:734)<br>	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:673)<br>	at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:99)<br>	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:174)<br>	at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:357)<br>	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:260)<br>	at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:188)<br>	at org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:191)<br>	at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:168)<br>	at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:189)<br>	at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)<br>	at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:288)<br>	at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:206)<br>	at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:136)<br>	at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:114)<br>	at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)<br>	at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:838)<br>	at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:113)<br>	at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:115)<br>	at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:55)<br>	at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:135)<br>	at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:564)<br>	at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:544)<br>	at java.lang.Thread.run(Thread.java:745)</code></pre>
<br>
<br>
Is there something that needs to be done to have the token created?
<br>
<br>
Thanks,
<br>
Spencer]]></description>
				<guid isPermaLink="true">https://community.jforum.net/posts/preList/123/453</guid>
				<link>https://community.jforum.net/posts/preList/123/453</link>
				<pubDate><![CDATA[Tue, 14 Apr 2015 12:54:09]]> GMT</pubDate>
				<author><![CDATA[ Spencer]]></author>
			</item>
			<item>
				<title>[User Forum] Re:Upgrade to 2.3.5</title>
				<description><![CDATA[ If I make the schema change in advance, will 2.3.4 still run OK?]]></description>
				<guid isPermaLink="true">https://community.jforum.net/posts/preList/87/306</guid>
				<link>https://community.jforum.net/posts/preList/87/306</link>
				<pubDate><![CDATA[Fri, 24 Jan 2014 00:21:35]]> GMT</pubDate>
				<author><![CDATA[ Spencer]]></author>
			</item>
			<item>
				<title>[User Forum] Upgrade to 2.3.5</title>
				<description><![CDATA[ In preparation for upgrading to 2.3.5 I want to know if I need to do the database schema change or is it done for me?]]></description>
				<guid isPermaLink="true">https://community.jforum.net/posts/preList/87/304</guid>
				<link>https://community.jforum.net/posts/preList/87/304</link>
				<pubDate><![CDATA[Thu, 23 Jan 2014 06:02:25]]> GMT</pubDate>
				<author><![CDATA[ Spencer]]></author>
			</item>
			<item>
				<title>[User Forum] Re:OpenJDK ?</title>
				<description><![CDATA[ It was the incorrect setting of forum link.
<br>
<br>
It is working now.
<br>
<br>
Thank you again.
<br>
<br>
Spencer]]></description>
				<guid isPermaLink="true">https://community.jforum.net/posts/preList/69/256</guid>
				<link>https://community.jforum.net/posts/preList/69/256</link>
				<pubDate><![CDATA[Mon, 30 Sep 2013 11:21:48]]> GMT</pubDate>
				<author><![CDATA[ Spencer]]></author>
			</item>
			<item>
				<title>[User Forum] Re:OpenJDK ?</title>
				<description><![CDATA[ I saw that jforum servlets are mapped to *.page. I may have mis-stated what was happening. When I went to the domain with no page specified it was going to jforum and not the index.htm which I specified in the &lt;welcome-file-list&gt; of web.xml.
<br>
<br>
There are 3 jsp files provided with jforum (index.jsp, install.jsp, and ping_session.jsp) in web. I changed index.jsp to forum.jsp and it now goes to my index.htm instead of jforum.
<br>
<br>
I posted about this on another thread (&lt;welcome-file-list&gt; ignored).
<br>
<br>
I think setting SystemGlobals.properties as:
<br>
<br>
forum.link = <a class="snap_shots" href="http://www.mapbake.com/" target="_blank">http://www.mapbake.com/</a>
<br>
homepage.link = <a class="snap_shots" href="http://www.mapbake.com/" target="_blank">http://www.mapbake.com/</a>
<br>
<br>
may fix it. It worked locally...
<br>
<br>
I will do some more testing before deploying live later today.
<br>
<br>
Thanks for your help.
<br>
<br>
Spencer]]></description>
				<guid isPermaLink="true">https://community.jforum.net/posts/preList/69/255</guid>
				<link>https://community.jforum.net/posts/preList/69/255</link>
				<pubDate><![CDATA[Mon, 30 Sep 2013 03:29:52]]> GMT</pubDate>
				<author><![CDATA[ Spencer]]></author>
			</item>
	</channel>
</rss>