| Summary: | DiskConnector ends in endless loop during login | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise SOA Platform 5 | Reporter: | Jiri Pechanec <jpechane> | ||||||||||||
| Component: | EDS | Assignee: | Van Halbert <vhalbert> | ||||||||||||
| Status: | CLOSED NOTABUG | QA Contact: | |||||||||||||
| Severity: | urgent | Docs Contact: | |||||||||||||
| Priority: | urgent | ||||||||||||||
| Version: | 5.2.0.ER5 | CC: | jpechane, vhalbert | ||||||||||||
| Target Milestone: | --- | ||||||||||||||
| Target Release: | --- | ||||||||||||||
| Hardware: | Unspecified | ||||||||||||||
| OS: | Unspecified | ||||||||||||||
| URL: | http://jira.jboss.org/jira/browse/SOA-3522 | ||||||||||||||
| Whiteboard: | |||||||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||
| Clone Of: | Environment: |
[jpechane@jpechane modeshape]$ java -version
java version "1.6.0_20"
OpenJDK Runtime Environment (IcedTea6 1.9.10) (fedora-55.1.9.10.fc14-x86_64)
OpenJDK 64-Bit Server VM (build 19.0-b09, mixed mode)
[jpechane@jpechane modeshape]$ uname -a
Linux jpechane 2.6.35.14-97.fc14.x86_64 #1 SMP Sat Sep 17 00:15:37 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
|
|||||||||||||
| Last Closed: | 2011-10-26 11:27:11 UTC | Type: | Bug | ||||||||||||
| Regression: | --- | Mount Type: | --- | ||||||||||||
| Documentation: | --- | CRM: | |||||||||||||
| Verified Versions: | Category: | --- | |||||||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||
| Attachments: |
|
||||||||||||||
Attachment: Added: loop.tgz Link: Added: This issue Cloned to SOA-3523 Attachment: Added: diskrep.tgz I've attached a new JAR file for the disk connector, with extra debug log statements and some extra exception handling. Please retest locally with this JAR (note it is named differently than the existing JAR in the kit), and turn on debug logging (at least in the 'org.modeshape.connector.disk' packages). Attachment: Added: modeshape-connector-disk-SOA3522.jar Attachment: Added: soa3522.log.gz Attachment: Added: modeshape-config-van.xml The issue was identified mode:repositoryRootPath="/home/jpechane/workspace/SOATests/tests/modeshape/build/testdiskrepository" works mode:repositoryRootPath="/home/jpechane/workspace/SOATests/tests/modeshape/build/test-disk-repository" does not work See the difference: dashes So I finally find the issue. There was another process deleting the directory of Disk connector after server start-up. So it is not a real bug, just misleading error report. |
project_key: SOA See attached logs and test case. When I try to login to JCR repository with DiskConnector then the following sytacj trace is generated in the server 2011-10-25 12:43:13,311 INFO [STDOUT] (Thread-35) [TestNG] Running: InContainer 2011-10-25 12:43:13,318 INFO [STDOUT] (Thread-35) Retrieving server repository: test-disk 2011-10-25 12:43:13,328 DEBUG [org.modeshape.jcr.JcrRepositoryFactory] (Thread-35) Trying to load ModeShape JCR Repository with parameters: {org.modeshape.jcr.URL=jndi:jcr/local?repositoryName=test-disk} 2011-10-25 12:43:13,329 DEBUG [org.modeshape.jcr.JcrRepositoryFactory] (Thread-35) Trying to access repository: test-disk 2011-10-25 12:43:13,330 TRACE [org.modeshape.graph.connector.base.Connection] (Thread-35) MapRepositoryConnection.execute(...) took 00:00:00.000,049 2011-10-25 12:43:13,403 ERROR [STDERR] (Thread-35) java.lang.StackOverflowError 2011-10-25 12:43:13,404 ERROR [STDERR] (Thread-35) at java.io.UnixFileSystem.getBooleanAttributes0(Native Method) 2011-10-25 12:43:13,404 ERROR [STDERR] (Thread-35) at java.io.UnixFileSystem.getBooleanAttributes(UnixFileSystem.java:243) 2011-10-25 12:43:13,404 ERROR [STDERR] (Thread-35) at java.io.File.exists(File.java:750) 2011-10-25 12:43:13,405 ERROR [STDERR] (Thread-35) at org.modeshape.connector.disk.DiskWorkspace.fileFor(DiskWorkspace.java:218) 2011-10-25 12:43:13,405 ERROR [STDERR] (Thread-35) at org.modeshape.connector.disk.DiskWorkspace.getNode(DiskWorkspace.java:174) 2011-10-25 12:43:13,405 ERROR [STDERR] (Thread-35) at org.modeshape.connector.disk.DiskWorkspace.getNode(DiskWorkspace.java:63) 2011-10-25 12:43:13,405 ERROR [STDERR] (Thread-35) at org.modeshape.graph.connector.base.MapTransaction.getNode(MapTransaction.java:136) 2011-10-25 12:43:13,405 ERROR [STDERR] (Thread-35) at org.modeshape.graph.connector.base.MapTransaction.getNode(MapTransaction.java:177) 2011-10-25 12:43:13,405 ERROR [STDERR] (Thread-35) at org.modeshape.graph.connector.base.MapTransaction.getNode(MapTransaction.java:66) 2011-10-25 12:43:13,405 ERROR [STDERR] (Thread-35) at org.modeshape.graph.connector.base.BaseTransaction.getRootNode(BaseTransaction.java:121) 2011-10-25 12:43:13,405 ERROR [STDERR] (Thread-35) at org.modeshape.graph.connector.base.BaseTransaction.getNode(BaseTransaction.java:127) 2011-10-25 12:43:13,405 ERROR [STDERR] (Thread-35) at org.modeshape.graph.connector.base.MapTransaction.getNode(MapTransaction.java:182) 2011-10-25 12:43:13,405 ERROR [STDERR] (Thread-35) at org.modeshape.graph.connector.base.MapTransaction.getNode(MapTransaction.java:66) . . . The code probably contains an infinite loop under certain conditions