Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1058254

Summary: A spring application is not initialized on a windows machine
Product: [Retired] JBoss BRMS Platform 6 Reporter: Ivo Bek <ibek>
Component: BREAssignee: Mario Fusco <mfusco>
Status: CLOSED CURRENTRELEASE QA Contact: Ivo Bek <ibek>
Severity: high Docs Contact:
Priority: high    
Version: 6.0.0CC: mbaluch, mwinkler, rrajasek, vigoyal
Target Milestone: ER2   
Target Release: 6.0.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Windows 2012
Last Closed: 2014-08-06 19:59:06 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:
Embargoed:
Bug Depends On: 1051585    
Bug Blocks:    
Attachments:
Description Flags
the spring application
none
spring framework module
none
server log on Windows 2012 none

Description Ivo Bek 2014-01-27 10:53:21 UTC
Created attachment 856009 [details]
the spring application

Description of problem:

When I try to deploy the attached spring application on a windows machine, I will get exception whenever I start a business process because the process id is unknown. That is probably because pom.properties cannot be found though it is there and in RHEL this appplication works.

I noticed one difference in server logs between RHEL 6 and Windows 2012.

Virtual file physical path = /mnt/hudson_workspace/workspace/bpms-integration-os/648dab17/jboss-eap-6.1/standalone/tmp/vfs/temp3a40a14fd2aa82b3/content-d63ff8c2a28085c4/WEB-INF/classes

versus this path on Windows which must be wrong:

Virtual file physical path = w:\content\springapp.war\WEB-INF\classes

I would say that the problem lies here:
https://github.com/droolsjbpm/drools/blob/6.0.0.GA.x/drools-compiler/src/main/java/org/drools/compiler/kie/builder/impl/ClasspathKieProject.java#L342
It seems that jarFolderPath is empty and I believe this is the problem or something similar.

There is also one important additional warning in the server log on Windows.

01:49:39,690 WARN  [org.drools.compiler.kie.builder.impl.AbstractKieModule] (ServerService Thread Pool -- 138) No files found for KieBase kbase1, searching folder \workspace\bpms-integration-single\jboss-eap-6.1\modules\system\layers\base\sun\jdk\main\service-loader-resources

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Unzip spring framework archive into BPMS base org modules
2. Unzip the spring application archive and copy the war file into BPMS 6.0.0.CR2 deployments directory.
3. Start BPMS 6.0.0.CR2 and see the warnings in server log.

Actual results:


Expected results:


Additional info:

Comment 1 Ivo Bek 2014-01-27 10:54:56 UTC
Created attachment 856010 [details]
spring framework module

Comment 2 Ivo Bek 2014-01-27 10:55:40 UTC
Created attachment 856011 [details]
server log on Windows 2012

Comment 3 Marek Winkler 2014-01-27 11:21:02 UTC
Possible duplicate of BZ 1051585.

Comment 4 Edson Tirelli 2014-01-28 13:54:43 UTC
Mario, can you please double check if this problem is fixed by your changes on https://bugzilla.redhat.com/show_bug.cgi?id=1051585 . Thank you.

Comment 5 Mario Fusco 2014-01-30 16:02:17 UTC
Fixed by https://github.com/droolsjbpm/drools/commit/dc0b5f293

Comment 6 JBoss JIRA Server 2014-01-30 16:05:16 UTC
Mario Fusco <mario.fusco> updated the status of jira DROOLS-364 to Resolved

Comment 7 Lukáš Petrovický 2014-02-07 16:19:21 UTC
This no longer has a target release of 6.0.0.

Comment 8 Marek Winkler 2014-02-21 16:38:43 UTC
The problem persists. Fixing this issue very likely depends on (or even might be fixed) by fixing BZ 1051585. Please see the reproducer there.

Comment 10 Ivo Bek 2014-03-11 10:06:35 UTC
Verified in BPMS 6.0.1.ER2