Bug 1125827

Summary: The page can't be access after restart if it was deployed using jboss management console
Product: OpenShift Container Platform Reporter: Anping Li <anli>
Component: ImageStreamsAssignee: Jason DeTiberus <jdetiber>
Status: CLOSED DEFERRED QA Contact: libra bugs <libra-bugs>
Severity: high Docs Contact:
Priority: medium    
Version: 2.0.0CC: anli, bleanhar, bparees, jokerman, libra-bugs, libra-onpremise-devel, mmccomas
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1125826 Environment:
Last Closed: 2014-08-05 01:34:17 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: 1125826    
Bug Blocks:    

Description Anping Li 2014-08-01 07:42:55 UTC
+++ This bug was initially created as a clone of Bug #1125826 +++

It should be a long term issue. The bug can be reproduced on ose 2.0 and ose 2.1 with jboss eap 6.24 GA and jboss are 6.30 beta2, 

Description of problem:
The page can be access after deployed package and enable it, However the page became inaccessible once the app was restart.
I found there only one blank directory under jbosseap/standalone/tmp/work/jboss.web/default-host. It seems jboss management deployed the package to memory, the package disappear after restart. 

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


How reproducible:
Always

Steps to Reproduce:
1.create one Jboss application.
2.port forward to your desktop and the go to http://127.0.0.1:9990/, deploy/enable one war package. for example: sample.war
3.access the http://url/sample
4. restart the application and access http://url/sample again
5. check the deployment directory
find . -name sample* 

Actual results:
For step 3: the page can be access.
For step 4: the page can't be access.
For step 5: there is only one empty directory jbosseap/standalone/tmp/work/jboss.web/default-host/sample

Expected results:
The war package should be kept in application, the page can be access after app restart.

Additional info:

Comment 2 Anping Li 2014-08-04 05:22:39 UTC
DISABLE_OPENSHIFT_MANAGED_SERVER_CONFIG=true works for Online and OSE 2.1.But it doesn't works on OSE 2.0. 
Maybe we should fix it with JBOSS EAP 6.30 beta2.

Comment 4 Anping Li 2014-08-05 01:34:17 UTC
OK, will closed it