[
https://issues.apache.org/jira/browse/CONNECTORS-1145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14277996#comment-14277996
]
Karl Wright edited comment on CONNECTORS-1145 at 1/15/15 1:09 AM:
------------------------------------------------------------------
>From Michael Wilken:
I'm running into a hanging issue when trying to use the new 2.0 release. Using
the multiprocess-file-example, I do the following:
1. start-database.sh
2. initialize.sh
3. start-webapps.sh
4. start-agents.sh
Then, go to the mcf-crawler-ui, create a new Null output connection, and try to
save it. My browser then just spins (I've given it up to 30 minutes, and
nothing happens).
A stack trace shows the Jetty process hanging here:
{code}
"qtp638408253-18" prio=5 tid=0x00007fdb3cc30000 nid=0x7403 in Object.wait()
[0x000000012366f000]
java.lang.Thread.State: TIMED_WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x000000011bdf15a0> (a java.lang.Integer)
at org.apache.manifoldcf.core.system.ManifoldCF.sleep(ManifoldCF.java:1259)
- locked <0x000000011bdf15a0> (a java.lang.Integer)
at
org.apache.manifoldcf.core.lockmanager.LockObject.obtainGlobalNonExWriteLock(LockObject.java:245)
at
org.apache.manifoldcf.core.lockmanager.LockObject.enterNonExWriteLock(LockObject.java:190)
- locked <0x000000011b30c440> (a
org.apache.manifoldcf.core.lockmanager.FileLockObject)
at
org.apache.manifoldcf.core.lockmanager.LockGate.enterNonExWriteLock(LockGate.java:219)
at
org.apache.manifoldcf.core.lockmanager.BaseLockManager.enterNonExWrite(BaseLockManager.java:959)
at
org.apache.manifoldcf.core.lockmanager.BaseLockManager.enterNonExWriteLock(BaseLockManager.java:731)
at
org.apache.manifoldcf.core.lockmanager.LockManager.enterNonExWriteLock(LockManager.java:276)
at
org.apache.manifoldcf.agents.outputconnection.OutputConnectionManager.save(OutputConnectionManager.java:301)
at org.apache.jsp.execute_jsp._jspService(execute_jsp.java:1047)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
{code}
These steps work fine in the 1.7.2 release. Also, the single process example
work as expected with these steps.
Did I miss a step needed in the 2.0 release with the 'file' example?
was (Author: [email protected]):
>From Michael:
I'm running into a hanging issue when trying to use the new 2.0 release. Using
the multiprocess-file-example, I do the following:
1. start-database.sh
2. initialize.sh
3. start-webapps.sh
4. start-agents.sh
Then, go to the mcf-crawler-ui, create a new Null output connection, and try to
save it. My browser then just spins (I've given it up to 30 minutes, and
nothing happens).
A stack trace shows the Jetty process hanging here:
{code}
"qtp638408253-18" prio=5 tid=0x00007fdb3cc30000 nid=0x7403 in Object.wait()
[0x000000012366f000]
java.lang.Thread.State: TIMED_WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x000000011bdf15a0> (a java.lang.Integer)
at org.apache.manifoldcf.core.system.ManifoldCF.sleep(ManifoldCF.java:1259)
- locked <0x000000011bdf15a0> (a java.lang.Integer)
at
org.apache.manifoldcf.core.lockmanager.LockObject.obtainGlobalNonExWriteLock(LockObject.java:245)
at
org.apache.manifoldcf.core.lockmanager.LockObject.enterNonExWriteLock(LockObject.java:190)
- locked <0x000000011b30c440> (a
org.apache.manifoldcf.core.lockmanager.FileLockObject)
at
org.apache.manifoldcf.core.lockmanager.LockGate.enterNonExWriteLock(LockGate.java:219)
at
org.apache.manifoldcf.core.lockmanager.BaseLockManager.enterNonExWrite(BaseLockManager.java:959)
at
org.apache.manifoldcf.core.lockmanager.BaseLockManager.enterNonExWriteLock(BaseLockManager.java:731)
at
org.apache.manifoldcf.core.lockmanager.LockManager.enterNonExWriteLock(LockManager.java:276)
at
org.apache.manifoldcf.agents.outputconnection.OutputConnectionManager.save(OutputConnectionManager.java:301)
at org.apache.jsp.execute_jsp._jspService(execute_jsp.java:1047)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
{code}
These steps work fine in the 1.7.2 release. Also, the single process example
work as expected with these steps.
Did I miss a step needed in the 2.0 release with the 'file' example?
> multiprocess-file-example blocks in configuration on Windows
> ------------------------------------------------------------
>
> Key: CONNECTORS-1145
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1145
> Project: ManifoldCF
> Issue Type: Bug
> Components: Framework core
> Affects Versions: ManifoldCF 1.8, ManifoldCF 2.0
> Environment: Windows 2012
> Reporter: Andreas Baumann
> Assignee: Karl Wright
> Fix For: ManifoldCF 1.9, ManifoldCF 2.1
>
>
> Saving a configuration setting (for instance a new Output Connector) hangs
> forevert. Inspecting the problem with the 'Process Monitor' shows me
> that there is an infinite loop while locking and reading a file in the
> syncharea.
> I disabled Windows Search and virus scanners, so far no luck.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)