Closed GoogleCodeExporter closed 9 years ago
Additional information:
My JBoss is in D: and it goto D: to find config files (and ERROR!)
00:56:11 INFO [SchedulerSettingsStore] Creating scheduler settings store
dir=C:\Users\Magic\.myschedule3\scheduler-configs.
00:56:11 INFO [TemplatesStore] Creating template store
dir=C:\Users\Magic\.myschedule3\templates\scheduler-configs.
00:56:11 INFO [TemplatesStore] Creating template store
dir=C:\Users\Magic\.myschedule3\templates\scripts.
00:56:11 WARN [TemplatesStore] Default template file resource
name=/myschedule/web/templates/scripts/jobSamples.groovynot found.
00:56:11 INFO [MySchedule] Adding a new default scheduler settings.
00:56:11 INFO [SchedulerSettingsStore] Adding new scheduler settings
file=C:\Users\Magic\.myschedule3\scheduler-configs\0906ec0b-742c-499d-b270-981d5
1c494cd.properties
00:56:11 ERROR [StandardContext] Exception sending context initialized event to
listener instance of class myschedule.web.MyScheduleContextListener:
java.lang.IllegalArgumentException: Failed to open
c:\Users\Magic\.myschedule3\scheduler-configs\0906ec0b-742c-499d-b270-981d51c494
cd.properties
......
Caused by: java.io.FileNotFoundException:
D:\Users\Magic\.myschedule3\scheduler-configs\0906ec0b-742c-499d-b270-981d51c4
94cd.properties (系統找不到指定的路徑。)
at java.io.FileInputStream.open(Native Method) [rt.jar:1.7.0_05]
at java.io.FileInputStream.<init>(FileInputStream.java:138) [rt.jar:1.7.0_05]
at java.io.FileInputStream.<init>(FileInputStream.java:97) [rt.jar:1.7.0_05]
at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90) [rt.jar:1.7.0_05]
at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188) [rt.jar:1.7.0_05]
at java.net.URL.openStream(URL.java:1035) [rt.jar:1.7.0_05]
at myschedule.quartz.extra.util.Props.load(Props.java:134) [myschedule-quartz-extra-3.0.0_q21-SNAPSHOT.jar:]
... 18 more
Original comment by magicboo
on 13 May 2013 at 5:01
When I move my JBoss to C:, the deploy is OK!
Original comment by magicboo
on 13 May 2013 at 5:12
Hum... the data store directory is configurable and default to your
$HOME/.myscheudle3. So even if you have "D:/" drive, your $HOME (%USERPROFILE%)
probably still using "C:" thefore it will look into there.
You can override by using
-Dmyschedule.web.dataStoreDir=/path/to/your/.myschedule3
Original comment by saltnlight5
on 14 May 2013 at 1:51
"SchedulerSettingsStore" create the store @ C:
But from my log, "myschedule.quartz.extra.util.Props.load" find log in D:
It's weird!
Original comment by magicboo
on 14 May 2013 at 1:09
Okay, thanks for reporting. I will check it out and update this ticket.
Original comment by saltnlight5
on 19 May 2013 at 1:16
I can not reproduce this. I would assume that you have some odd setup with your
USER HOME directory in your system. As I mentioned, if that's the case, then
use explicit Java system property key to specify the location should be fine.
Unless you can help me write down a clear steps on how to reproduce, I would
have to close the issue as invalid.
Original comment by saltnlight5
on 8 Jun 2013 at 3:41
Close as non-reproducible.
Original comment by saltnlight5
on 11 Jun 2013 at 10:39
I finally able to reproduce this bug now. It happens when running in Windows OS
on secondary drive due to we faile to handle local file with URL loading. It's
now fixed in rev 0a071bdffdef.
Sorry for the delay. :)
Original comment by saltnlight5
on 30 Jul 2014 at 8:06
This issue was closed by revision 0a071bdffdef.
Original comment by saltnlight5
on 30 Jul 2014 at 8:07
Original issue reported on code.google.com by
magicboo
on 13 May 2013 at 4:36