[
https://jira.jboss.org/jira/browse/JBAS-6330?page=com.atlassian.jira.plug...
]
Rob Stryker commented on JBAS-6330:
-----------------------------------
Several Problems:
1) When my tools execute the following on a method that returns URL,
result = connection.invoke(objectName, methodName, new Object[0],new
String[0]);
The result is the following exception:
java.io.IOException: unknown protocol: vfszip
2) Execute the following:
a) add a url (string) such as /home/rob/tmp/something
b) add the same url (string) again.
c) remove that url
d) execute hasURL
I would imagine this should return false, as you've removed it, but it seems the
underlying impl adds it twice. I'm not sure on what *should* happen here... but
I'd imagine for most uses you'd only want to add it once or remove it once. This
seems wrong.
3) This no longer seems to work actually. Adding an .xml datasource file to one of the new
scanned folders (such as above), the following exception occurs over and over and over:
15:29:36,611 WARN [HDScanner] Scan failed
java.lang.IllegalArgumentException: Checker must be set
at
org.jboss.system.server.profileservice.repository.MutableDeploymentRepository.getChecker(MutableDeploymentRepository.java:78)
at
org.jboss.system.server.profileservice.repository.MutableDeploymentRepository.getModifiedDeployments(MutableDeploymentRepository.java:213)
at
org.jboss.system.tools.ProfileServiceDeploymentRepositoryAdapter$DeploymentScannerProfile.getModifiedDeployments(ProfileServiceDeploymentRepositoryAdapter.java:241)
at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:309)
at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:229)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:280)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:135)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:65)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:142)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:166)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
I feel this means it doesn't actually work.
4) This message continues to be spit out even after removing the URL from the list of
scannable folders. It does not stop ever.
Hotdeployment management interface
----------------------------------
Key: JBAS-6330
URL:
https://jira.jboss.org/jira/browse/JBAS-6330
Project: JBoss Application Server
Issue Type: Sub-task
Security Level: Public(Everyone can see)
Components: Management services, ProfileService
Affects Versions: JBossAS-5.0.0.GA
Reporter: Scott M Stark
Assignee: Ales Justin
Priority: Blocker
Fix For: JBossAS-5.1.0.CR1
Create a testcase illustrating:
1) add a folder to the scanner list
2) remove a folder from the scanner list
3) suspend the scanner
4) resume the scanner
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira