[JBoss JIRA] (JBWEB-311) JspConfig init isn't thread safe and can cause ConcurrentModificationException
by Aaron Ogburn (JIRA)
[ https://issues.jboss.org/browse/JBWEB-311?page=com.atlassian.jira.plugin.... ]
Aaron Ogburn updated JBWEB-311:
-------------------------------
Attachment: reproducer.zip
> JspConfig init isn't thread safe and can cause ConcurrentModificationException
> ------------------------------------------------------------------------------
>
> Key: JBWEB-311
> URL: https://issues.jboss.org/browse/JBWEB-311
> Project: JBoss Web
> Issue Type: Bug
> Affects Versions: JBossWeb-2.1.13.GA
> Reporter: Aaron Ogburn
> Assignee: Aaron Ogburn
> Attachments: reproducer.zip
>
>
> JspConfig init isn't thread safe and can cause the following ConcurrentModificationException:
> {code}
> java.util.ConcurrentModificationException
> at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372)
> at java.util.AbstractList$Itr.next(AbstractList.java:343)
> at org.apache.jasper.compiler.JspConfig.findJspProperty(JspConfig.java:303)
> at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:112)
> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:333)
> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:313)
> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:300)
> at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:585)
> at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:312)
> at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322)
> {code}
> Issue occurs like so:
> 1) thread a starts JspConfig.init/proccessWebDotXml
> 2) thread b starts JspConfig.init/proccessWebDotXml
> 3) thread a finishes JspConfig.init/proccessWebDotXml and then calls JspConfig.findJspProperty
> 4) thread b sets the jspProperties vector before thread a gets an iterator of it
> 5) thread b modifies the jspProperties vector, causing the ConcurrentModificationException in thread a
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 1 month
[JBoss JIRA] (JBWEB-311) JspConfig init isn't thread safe and can cause ConcurrentModificationException
by Aaron Ogburn (JIRA)
[ https://issues.jboss.org/browse/JBWEB-311?page=com.atlassian.jira.plugin.... ]
Aaron Ogburn resolved JBWEB-311.
--------------------------------
Resolution: Done
> JspConfig init isn't thread safe and can cause ConcurrentModificationException
> ------------------------------------------------------------------------------
>
> Key: JBWEB-311
> URL: https://issues.jboss.org/browse/JBWEB-311
> Project: JBoss Web
> Issue Type: Bug
> Affects Versions: JBossWeb-2.1.13.GA
> Reporter: Aaron Ogburn
> Assignee: Aaron Ogburn
> Attachments: reproducer.zip
>
>
> JspConfig init isn't thread safe and can cause the following ConcurrentModificationException:
> {code}
> java.util.ConcurrentModificationException
> at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372)
> at java.util.AbstractList$Itr.next(AbstractList.java:343)
> at org.apache.jasper.compiler.JspConfig.findJspProperty(JspConfig.java:303)
> at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:112)
> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:333)
> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:313)
> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:300)
> at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:585)
> at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:312)
> at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322)
> {code}
> Issue occurs like so:
> 1) thread a starts JspConfig.init/proccessWebDotXml
> 2) thread b starts JspConfig.init/proccessWebDotXml
> 3) thread a finishes JspConfig.init/proccessWebDotXml and then calls JspConfig.findJspProperty
> 4) thread b sets the jspProperties vector before thread a gets an iterator of it
> 5) thread b modifies the jspProperties vector, causing the ConcurrentModificationException in thread a
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 1 month
[JBoss JIRA] (JBWEB-311) JspConfig init isn't thread safe and can cause ConcurrentModificationException
by Aaron Ogburn (JIRA)
[ https://issues.jboss.org/browse/JBWEB-311?page=com.atlassian.jira.plugin.... ]
Aaron Ogburn commented on JBWEB-311:
------------------------------------
r2600
> JspConfig init isn't thread safe and can cause ConcurrentModificationException
> ------------------------------------------------------------------------------
>
> Key: JBWEB-311
> URL: https://issues.jboss.org/browse/JBWEB-311
> Project: JBoss Web
> Issue Type: Bug
> Affects Versions: JBossWeb-2.1.13.GA
> Reporter: Aaron Ogburn
> Assignee: Aaron Ogburn
> Attachments: reproducer.zip
>
>
> JspConfig init isn't thread safe and can cause the following ConcurrentModificationException:
> {code}
> java.util.ConcurrentModificationException
> at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372)
> at java.util.AbstractList$Itr.next(AbstractList.java:343)
> at org.apache.jasper.compiler.JspConfig.findJspProperty(JspConfig.java:303)
> at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:112)
> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:333)
> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:313)
> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:300)
> at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:585)
> at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:312)
> at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322)
> {code}
> Issue occurs like so:
> 1) thread a starts JspConfig.init/proccessWebDotXml
> 2) thread b starts JspConfig.init/proccessWebDotXml
> 3) thread a finishes JspConfig.init/proccessWebDotXml and then calls JspConfig.findJspProperty
> 4) thread b sets the jspProperties vector before thread a gets an iterator of it
> 5) thread b modifies the jspProperties vector, causing the ConcurrentModificationException in thread a
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 1 month
[JBoss JIRA] (JBWEB-311) JspConfig init isn't thread safe and can cause ConcurrentModificationException
by Aaron Ogburn (JIRA)
[ https://issues.jboss.org/browse/JBWEB-311?page=com.atlassian.jira.plugin.... ]
Aaron Ogburn updated JBWEB-311:
-------------------------------
Description:
JspConfig init isn't thread safe and can cause the following ConcurrentModificationException:
{code}
java.util.ConcurrentModificationException
at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372)
at java.util.AbstractList$Itr.next(AbstractList.java:343)
at org.apache.jasper.compiler.JspConfig.findJspProperty(JspConfig.java:303)
at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:112)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:333)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:313)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:300)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:585)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:312)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322)
{code}
Issue occurs like so:
1) thread a starts JspConfig.init/proccessWebDotXml
2) thread b starts JspConfig.init/proccessWebDotXml
3) thread a finishes JspConfig.init/proccessWebDotXml and then calls JspConfig.findJspProperty
4) thread b sets the jspProperties vector before thread a gets an iterator of it
5) thread b modifies the jspProperties vector, causing the ConcurrentModificationException in thread a
was:
JspConfig init isn't thread safe and can cause the following ConcurrentModificationException:
{code}
java.util.ConcurrentModificationException
at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372)
at java.util.AbstractList$Itr.next(AbstractList.java:343)
at org.apache.jasper.compiler.JspConfig.findJspProperty(JspConfig.java:303)
at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:112)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:333)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:313)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:300)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:585)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:312)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322)
{code}
> JspConfig init isn't thread safe and can cause ConcurrentModificationException
> ------------------------------------------------------------------------------
>
> Key: JBWEB-311
> URL: https://issues.jboss.org/browse/JBWEB-311
> Project: JBoss Web
> Issue Type: Bug
> Affects Versions: JBossWeb-2.1.13.GA
> Reporter: Aaron Ogburn
> Assignee: Aaron Ogburn
> Attachments: reproducer.zip
>
>
> JspConfig init isn't thread safe and can cause the following ConcurrentModificationException:
> {code}
> java.util.ConcurrentModificationException
> at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372)
> at java.util.AbstractList$Itr.next(AbstractList.java:343)
> at org.apache.jasper.compiler.JspConfig.findJspProperty(JspConfig.java:303)
> at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:112)
> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:333)
> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:313)
> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:300)
> at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:585)
> at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:312)
> at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322)
> {code}
> Issue occurs like so:
> 1) thread a starts JspConfig.init/proccessWebDotXml
> 2) thread b starts JspConfig.init/proccessWebDotXml
> 3) thread a finishes JspConfig.init/proccessWebDotXml and then calls JspConfig.findJspProperty
> 4) thread b sets the jspProperties vector before thread a gets an iterator of it
> 5) thread b modifies the jspProperties vector, causing the ConcurrentModificationException in thread a
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 1 month
[JBoss JIRA] (JBWEB-311) JspConfig init isn't thread safe and can cause ConcurrentModificationException
by Aaron Ogburn (JIRA)
[ https://issues.jboss.org/browse/JBWEB-311?page=com.atlassian.jira.plugin.... ]
Aaron Ogburn updated JBWEB-311:
-------------------------------
Steps to Reproduce: See reproducer.zip/jbweb311.sh
> JspConfig init isn't thread safe and can cause ConcurrentModificationException
> ------------------------------------------------------------------------------
>
> Key: JBWEB-311
> URL: https://issues.jboss.org/browse/JBWEB-311
> Project: JBoss Web
> Issue Type: Bug
> Affects Versions: JBossWeb-2.1.13.GA
> Reporter: Aaron Ogburn
> Assignee: Aaron Ogburn
> Attachments: reproducer.zip
>
>
> JspConfig init isn't thread safe and can cause the following ConcurrentModificationException:
> {code}
> java.util.ConcurrentModificationException
> at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372)
> at java.util.AbstractList$Itr.next(AbstractList.java:343)
> at org.apache.jasper.compiler.JspConfig.findJspProperty(JspConfig.java:303)
> at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:112)
> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:333)
> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:313)
> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:300)
> at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:585)
> at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:312)
> at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 1 month
[JBoss JIRA] (JBWEB-311) JspConfig init isn't thread safe and can cause ConcurrentModificationException
by Aaron Ogburn (JIRA)
[ https://issues.jboss.org/browse/JBWEB-311?page=com.atlassian.jira.plugin.... ]
Aaron Ogburn updated JBWEB-311:
-------------------------------
Steps to Reproduce: See the attached reproducer.zip/jbweb311.sh (was: See reproducer.zip/jbweb311.sh)
> JspConfig init isn't thread safe and can cause ConcurrentModificationException
> ------------------------------------------------------------------------------
>
> Key: JBWEB-311
> URL: https://issues.jboss.org/browse/JBWEB-311
> Project: JBoss Web
> Issue Type: Bug
> Affects Versions: JBossWeb-2.1.13.GA
> Reporter: Aaron Ogburn
> Assignee: Aaron Ogburn
> Attachments: reproducer.zip
>
>
> JspConfig init isn't thread safe and can cause the following ConcurrentModificationException:
> {code}
> java.util.ConcurrentModificationException
> at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372)
> at java.util.AbstractList$Itr.next(AbstractList.java:343)
> at org.apache.jasper.compiler.JspConfig.findJspProperty(JspConfig.java:303)
> at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:112)
> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:333)
> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:313)
> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:300)
> at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:585)
> at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:312)
> at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 1 month
[JBoss JIRA] (JBWEB-311) JspConfig init isn't thread safe and can cause ConcurrentModificationException
by Aaron Ogburn (JIRA)
[ https://issues.jboss.org/browse/JBWEB-311?page=com.atlassian.jira.plugin.... ]
Aaron Ogburn updated JBWEB-311:
-------------------------------
Attachment: reproducer.zip
> JspConfig init isn't thread safe and can cause ConcurrentModificationException
> ------------------------------------------------------------------------------
>
> Key: JBWEB-311
> URL: https://issues.jboss.org/browse/JBWEB-311
> Project: JBoss Web
> Issue Type: Bug
> Affects Versions: JBossWeb-2.1.13.GA
> Reporter: Aaron Ogburn
> Assignee: Aaron Ogburn
> Attachments: reproducer.zip
>
>
> JspConfig init isn't thread safe and can cause the following ConcurrentModificationException:
> {code}
> java.util.ConcurrentModificationException
> at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372)
> at java.util.AbstractList$Itr.next(AbstractList.java:343)
> at org.apache.jasper.compiler.JspConfig.findJspProperty(JspConfig.java:303)
> at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:112)
> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:333)
> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:313)
> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:300)
> at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:585)
> at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:312)
> at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 1 month
[JBoss JIRA] (JBWEB-311) JspConfig init isn't thread safe and can cause ConcurrentModificationException
by Aaron Ogburn (JIRA)
[ https://issues.jboss.org/browse/JBWEB-311?page=com.atlassian.jira.plugin.... ]
Aaron Ogburn updated JBWEB-311:
-------------------------------
Description:
JspConfig init isn't thread safe and can cause the following ConcurrentModificationException:
{code}
java.util.ConcurrentModificationException
at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372)
at java.util.AbstractList$Itr.next(AbstractList.java:343)
at org.apache.jasper.compiler.JspConfig.findJspProperty(JspConfig.java:303)
at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:112)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:333)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:313)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:300)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:585)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:312)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322)
{code}
> JspConfig init isn't thread safe and can cause ConcurrentModificationException
> ------------------------------------------------------------------------------
>
> Key: JBWEB-311
> URL: https://issues.jboss.org/browse/JBWEB-311
> Project: JBoss Web
> Issue Type: Bug
> Affects Versions: JBossWeb-2.1.13.GA
> Reporter: Aaron Ogburn
> Assignee: Aaron Ogburn
>
> JspConfig init isn't thread safe and can cause the following ConcurrentModificationException:
> {code}
> java.util.ConcurrentModificationException
> at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372)
> at java.util.AbstractList$Itr.next(AbstractList.java:343)
> at org.apache.jasper.compiler.JspConfig.findJspProperty(JspConfig.java:303)
> at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:112)
> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:333)
> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:313)
> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:300)
> at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:585)
> at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:312)
> at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 1 month
[JBoss JIRA] (WFCORE-604) After failed to deploy, remain deployment information in JBOSS_HOME/{standalone|domaine}/data/content directory
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/WFCORE-604?page=com.atlassian.jira.plugin... ]
RH Bugzilla Integration commented on WFCORE-604:
------------------------------------------------
Martin Simka <msimka(a)redhat.com> changed the Status of [bug 1194251|https://bugzilla.redhat.com/show_bug.cgi?id=1194251] from ASSIGNED to VERIFIED
> After failed to deploy, remain deployment information in JBOSS_HOME/{standalone|domaine}/data/content directory
> ----------------------------------------------------------------------------------------------------------------
>
> Key: WFCORE-604
> URL: https://issues.jboss.org/browse/WFCORE-604
> Project: WildFly Core
> Issue Type: Bug
> Components: Domain Management
> Affects Versions: 1.0.0.Alpha19
> Reporter: Chao Wang
> Assignee: Chao Wang
>
> {noformat}
> Description of problem:
> ===
> - After failed to deploy, remain deployment information in JBOSS_HOME/{standalone|domaine}/data/content directory
> - Please see following reproduce steps.
> How reproducible:
> ===
> Steps to Reproduce:
> 1. Fail to deploy application via jboss-cli
> 2. Find deployment info in JBOSS_HOME/{standalone|domaine}/data/content, but there are no standalone.xml in <deployments> tag.
> 3. Fix deployment and success to deploy.
> 4. Find "new" deployment info in JBOSS_HOME/{standalone|domaine}/data/content, and the old deployment info will be still there.
> - I know that as we changed application in step-3, its hash value was changed. And then, old info is remained in JBOSS_HOME/{standalone|domaine}/data/content. But I think it always happens and should be fixed.
> Actual results:
> - The deployment information which created when deploy was failed remains in JBOSS_HOME/{standalone|domaine}/data/content.
> Expected results:
> - The deployment information which created when deploy was failed should be removed if the deploy is failed.
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 1 month