Bug 1019380

Summary: Trying to create the already existed example repository after the restart of BPMS
Product: [Retired] JBoss BPMS Platform 6 Reporter: Ivo Bek <ibek>
Component: Business CentralAssignee: Maciej Swiderski <mswiders>
Status: CLOSED DUPLICATE QA Contact: Marek Baluch <mbaluch>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0.0CC: kverlaen
Target Milestone: ---   
Target Release: 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-21 10:46:51 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:
Description Flags
the stacktrace with FileAlreadyExistsException from the server log none

Description Ivo Bek 2013-10-15 15:16:17 UTC
Created attachment 812584 [details]
the stacktrace with FileAlreadyExistsException from the server log

Description of problem:

After a restart I see the following exception during the initialization of business central.

17:12:40,489 ERROR [org.jbpm.console.ng.bd.backend.server.AdministrationServiceImpl] (MSC service thread 1-1) Unable to bootstrap project org.kie.example:example-project:1.0.0-SNAPSHOT in repository example-repository: org.kie.commons.java.nio.file.FileAlreadyExistsException
	at org.kie.commons.java.nio.fs.jgit.JGitFileSystemProvider.createDirectory(JGitFileSystemProvider.java:839) [kie-nio2-jgit-6.0.0-redhat-5.jar:6.0.0-redhat-5]
	at org.kie.commons.java.nio.file.Files.createDirectory(Files.java:259) [kie-nio2-api-6.0.0-redhat-5.jar:6.0.0-redhat-5]
	at org.kie.commons.io.impl.IOServiceDotFileImpl.internalCreateDirectory(IOServiceDotFileImpl.java:336) [kie-commons-io-6.0.0-redhat-5.jar:6.0.0-redhat-5]
	at org.kie.commons.io.impl.IOServiceDotFileImpl.createDirectory(IOServiceDotFileImpl.java:117) [kie-commons-io-6.0.0-redhat-5.jar:6.0.0-redhat-5]
	at org.guvnor.common.services.project.backend.server.KModuleServiceImpl.setUpKModuleStructure(KModuleServiceImpl.java:70) [guvnor-project-backend-6.0.0-redhat-5.jar:6.0.0-redhat-5]
	at org.guvnor.common.services.project.backend.server.KModuleServiceImpl$Proxy$_$$_WeldClientProxy.setUpKModuleStructure(KModuleServiceImpl$Proxy$_$$_WeldClientProxy.java) [guvnor-project-backend-6.0.0-redhat-5.jar:6.0.0-redhat-5]

full stacktrace is attached.

How reproducible:


Steps to Reproduce:
1. install BPMS 6.0.0.ER4 with EAP 6.1.0
2. start BPMS for the first time
3. restart BPMS - stop the running instance, and start it again
4. see "Unable to bootstrap project org.kie.example:example-project:1.0.0-SNAPSHOT in repository example-repository: org.kie.commons.java.nio.file.FileAlreadyExistsException"

Comment 1 Maciej Swiderski 2013-10-21 10:46:51 UTC

*** This bug has been marked as a duplicate of bug 1016578 ***