Results 1 to 2 of 2

Thread: jboss hangs on startup spring web application

  1. #1
    Join Date
    Jan 2011
    Posts
    5

    Default jboss hangs on startup spring web application

    Hi Spring users!

    I'm developing a web application with Spring. Everything was going smoothly until I've added Quartz functionality.

    Now when I try to deploy my app, jboss hangs on startup -I don't get any error, just freezes-:

    [DefaultListableBeanFactory]preInstantiateSingletonsPre-instantiating singletons in org.springframework.beans.factory.support.DefaultL istableBeanFactory@abaf8c: defining beans: ...,graphicJob,graphicJobTrigger,org.springframewo rk.scheduling.quartz.SchedulerFactoryBean#0


    My spring-context.xml:

    <!-- QUARTZ/JOBS CONFIGURATION -->

    <bean name="graphicJob" class="org.springframework.scheduling.quartz.JobDe tailBean">
    <property name="jobClass" value="com.mako.MonitorCrones.GraphicsCron" />
    </bean>

    <bean id="graphicJobTrigger" class="org.springframework.scheduling.quartz.CronT riggerBean">
    <property name="jobDetail" ref="graphicJob" />
    <!-- Get crontab -e de maquina de crones -->
    <property name="cronExpression"
    value="0 0 6 * * ?" />
    </bean>

    <bean class="org.springframework.scheduling.quartz.Sched ulerFactoryBean">
    <property name="triggers">
    <list>
    <ref bean="graphicJobTrigger" />
    </list>
    </property>
    </bean>

    any idea??

    Thanks in advance!!!
    Last edited by bixosaurus; Feb 8th, 2011 at 06:08 AM.

  2. #2
    Join Date
    Jan 2011
    Posts
    5

    Default

    IGNORE THIS THREAD, the problem had nothing to do with Quartz, but with Spring configuration files...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •