[
https://issues.jboss.org/browse/AS7-2392?page=com.atlassian.jira.plugin.s...
]
Brian Stansberry commented on AS7-2392:
---------------------------------------
OK, thanks. The general rule is if a caller passes an InputStream into an API method in
controller-client, it's the caller's responsibility to close it when done. If a
convenience method is used where the caller passes in a File or URI, it's the
responsibility of controller-client code to close the InputStream it creates. Basically,
whoever opens the IS closes it. If that isn't happening it's a controller-client
bug.
EnterpriseDeploymentTestCase fails consistently on windows
----------------------------------------------------------
Key: AS7-2392
URL:
https://issues.jboss.org/browse/AS7-2392
Project: Application Server 7
Issue Type: Task
Components: Domain Management, JSR88
Environment: win7
Reporter: Dimitris Andreadis
Assignee: Brian Stansberry
Fix For: 7.1.0.Final
Attachments:
TEST-org.jboss.as.test.smoke.embedded.deployment.EnterpriseDeploymentTestCase.xml
I get there consistent test failures on win7 in the integration testsuite:
{code}
Failed tests:
testDistributeEjbApp(org.jboss.as.test.smoke.embedded.deployment.EnterpriseDeploymentTestCase):
expected:<Completed> but was:<Failed>
testDistributeEARApp(org.jboss.as.test.smoke.embedded.deployment.EnterpriseDeploymentTestCase):
expected:<Completed> but was:<Failed>
testListAvailableModules(org.jboss.as.test.smoke.embedded.deployment.EnterpriseDeploymentTestCase)
By looking in the logs, I think the problem is traced back to this deployment problem
that affects all failures:
Caused by: java.lang.RuntimeException: Could not create timer file store directory
X:\src\jboss-as\testsuite\integration\target\smoke\standalone\data\timer-service-data\file:\C:\Users\dimitris\AppData\Local\Temp\deployment-ejb.jar
at
org.jboss.as.ejb3.timerservice.mk2.persistence.filestore.FileTimerPersistence.start(FileTimerPersistence.java:101)
at
org.jboss.as.ejb3.timerservice.TimerServiceFactoryService.start(TimerServiceFactoryService.java:77)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824)
[jboss-msc-1.0.1.GA.jar:1.0.1.GA]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759)
[jboss-msc-1.0.1.GA.jar:1.0.1.GA]
... 3 more
{code}
It concatenates the testsuite target dir with the user's temp dir.?
Looking quickly I couldn't find where the path to this file is created. Maybe
it's a ShrinkWrap issue?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira