Comments (6)
Can you provide a stack trace as well?
from sundial.
INFO [2015-09-08 17:37:27,973] com.xeiam.sundial.plugins.AnnotationJobTriggerPlugin: Loading annotated jobs from com.xxxx.xxx.jobs.
INFO [2015-09-08 17:37:27,973] org.quartz.classloading.CascadingClassLoadHelper: Package: 'com.xxxx.xxx.jobs' becomes Resource: 'jar:file:/C:/Program%20Files%20(x86)/Google/google/xxx.xxxx.com-1.0.jar!/com/xxxx/xxx/jobs'
ERROR [2015-09-08 17:37:27,976] com.xeiam.sundial.ee.SundialInitializerListener: Sundial Scheduler failed to initialize:
! java.io.FileNotFoundException: C:\Program%20Files%20(x86)\Google\google\xxx.xxxx.com-1.0.jar (The system cannot find the path specified)
! at java.util.zip.ZipFile.open(Native Method) ~[na:1.8.0_60]
! at java.util.zip.ZipFile.(Unknown Source) ~[na:1.8.0_60]
! at java.util.zip.ZipFile.(Unknown Source) ~[na:1.8.0_60]
! at java.util.jar.JarFile.(Unknown Source) ~[na:1.8.0_60]
! at java.util.jar.JarFile.(Unknown Source) ~[na:1.8.0_60]
! at org.quartz.classloading.CascadingClassLoadHelper.processJarfile(CascadingClassLoadHelper.java:264) ~[xxx.xxxx.com-1.0.jar:na]
! ... 42 common frames omitted
! Causing: java.lang.RuntimeException: Unexpected IOException reading JAR File '/C:/Program%20Files%20(x86)/Google/google/xxx.xxxx.com-1.0.jar'
! at org.quartz.classloading.CascadingClassLoadHelper.processJarfile(CascadingClassLoadHelper.java:266) ~[xxx.xxxx.com-1.0.jar:na]
! at org.quartz.classloading.CascadingClassLoadHelper.getJobClasses(CascadingClassLoadHelper.java:223) ~[xxx.xxxx.com-1.0.jar:na]
! at com.xeiam.sundial.plugins.AnnotationJobTriggerPlugin.start(AnnotationJobTriggerPlugin.java:72) ~[xxx.xxxx.com-1.0.jar:na]
! at org.quartz.QuartzScheduler.startPlugins(QuartzScheduler.java:1102) ~[xxx.xxxx.com-1.0.jar:na]
! at org.quartz.QuartzScheduler.start(QuartzScheduler.java:211) ~[xxx.xxxx.com-1.0.jar:na]
! at com.xeiam.sundial.ee.SundialInitializerListener.contextInitialized(SundialInitializerListener.java:123) ~[xxx.xxxx.com-1.0.jar:na]
! at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:800) [xxx.xxxx.com-1.0.jar:na]
! at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:444) [xxx.xxxx.com-1.0.jar:na]
! at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:791) [xxx.xxxx.com-1.0.jar:na]
! at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:294) [xxx.xxxx.com-1.0.jar:na]
! at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:741) [xxx.xxxx.com-1.0.jar:na]
! at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) [xxx.xxxx.com-1.0.jar:na]
! at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132) [xxx.xxxx.com-1.0.jar:na]
! at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114) [xxx.xxxx.com-1.0.jar:na]
! at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61) [xxx.xxxx.com-1.0.jar:na]
! at com.codahale.metrics.jetty9.InstrumentedHandler.doStart(InstrumentedHandler.java:103) [xxx.xxxx.com-1.0.jar:na]
! at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) [xxx.xxxx.com-1.0.jar:na]
! at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132) [xxx.xxxx.com-1.0.jar:na]
! at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114) [xxx.xxxx.com-1.0.jar:na]
! at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61) [xxx.xxxx.com-1.0.jar:na]
! at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) [xxx.xxxx.com-1.0.jar:na]
! at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132) [xxx.xxxx.com-1.0.jar:na]
! at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114) [xxx.xxxx.com-1.0.jar:na]
! at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61) [xxx.xxxx.com-1.0.jar:na]
! at org.eclipse.jetty.server.handler.RequestLogHandler.doStart(RequestLogHandler.java:140) [xxx.xxxx.com-1.0.jar:na]
! at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) [xxx.xxxx.com-1.0.jar:na]
! at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132) [xxx.xxxx.com-1.0.jar:na]
! at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114) [xxx.xxxx.com-1.0.jar:na]
! at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61) [xxx.xxxx.com-1.0.jar:na]
! at org.eclipse.jetty.server.handler.StatisticsHandler.doStart(StatisticsHandler.java:232) [xxx.xxxx.com-1.0.jar:na]
! at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) [xxx.xxxx.com-1.0.jar:na]
! at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132) [xxx.xxxx.com-1.0.jar:na]
! at org.eclipse.jetty.server.Server.start(Server.java:387) [xxx.xxxx.com-1.0.jar:na]
! at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114) [xxx.xxxx.com-1.0.jar:na]
! at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61) [xxx.xxxx.com-1.0.jar:na]
! at org.eclipse.jetty.server.Server.doStart(Server.java:354) [xxx.xxxx.com-1.0.jar:na]
! at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) [xxx.xxxx.com-1.0.jar:na]
! at io.dropwizard.cli.ServerCommand.run(ServerCommand.java:43) [xxx.xxxx.com-1.0.jar:na]
! at io.dropwizard.cli.EnvironmentCommand.run(EnvironmentCommand.java:43) [xxx.xxxx.com-1.0.jar:na]
! at io.dropwizard.cli.ConfiguredCommand.run(ConfiguredCommand.java:76) [xxx.xxxx.com-1.0.jar:na]
! at io.dropwizard.cli.Cli.run(Cli.java:70) [xxx.xxxx.com-1.0.jar:na]
! at io.dropwizard.Application.run(Application.java:73) [xxx.xxxx.com-1.0.jar:na]
! at com.xxx.xxxx.Application.main(Application.java:30) [xxx.xxxx.com-1.0.jar:na]
from sundial.
Try setting your path with leading ///
instead of /
. I don't think it has to do with the spaces.
http://blogs.msdn.com/b/ie/archive/2006/12/06/file-uris-in-windows.aspx
from sundial.
It is not a path I set, it is where the dropwizard jar is located. I have
already forked your sundial project and successfully made a simple fix by
replacing %20 with ' '.
I'll try your suggestion later and see if it is an improperly formatted uri
string instead.
On Wed, Sep 9, 2015, 1:16 AM Tim Molter [email protected] wrote:
Try setting your path with leading /// instead of /. I don't think it has
to do with the spaces.http://blogs.msdn.com/b/ie/archive/2006/12/06/file-uris-in-windows.aspx
—
Reply to this email directly or view it on GitHub
#13 (comment).
from sundial.
@Franknozly OK, yeah that makes sense actually. If you forh it and have found a fix, please create a pull request, and I'll happily merge it. Thanks!
from sundial.
done via PR
from sundial.
Related Issues (20)
- Nice to have option to add triggers with priority
- Create an object and then give it to Sundial to run. HOT 3
- Support for custom implementation of JobFactory HOT 2
- SundialJobScheduler.stopJob does not actually interrupt threads HOT 2
- OutOfMemoryError HOT 1
- How to reload Jobs.xml ina a web app? HOT 2
- Please package as 'bundle' for use in OSGi environment HOT 2
- Create new release to include enhanced error logging HOT 3
- Start job by name HOT 1
- Annotated job not loaded from main/java/resources package... HOT 1
- Jobs.xml not parsing HOT 4
- Commented out annotation is still found HOT 2
- package annotated jobs does not work with tomcat war versioning HOT 7
- ExecutorService as thread pool HOT 2
- JobListener Support in Sundial HOT 1
- Run a single job explicitly / stay alive until finished HOT 6
- schedule admin ui HOT 1
- Ineffective JobInterruptException
- Configure DB backed JobStore? HOT 1
- Scheduler cannot load all annotated job classes from multiple locations HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sundial.