<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">
<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>
                                <td>
                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>
                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px; -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
org.jbpm.JbpmException: no ObjectInfo class specified for element 'import'
</h3>
<span style="margin-bottom: 10px;">
created by <a href="http://community.jboss.org/people/aneesh.kumar">aneesh kumar CM</a> in <i>jBPM</i> - <a href="http://community.jboss.org/message/570736#570736">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">
<div class="jive-rendered-content"><p>hi,</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>iam trying to fire a timer in my appplication.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>    <state name="waitForNotification"><br/>          <timer duedate="30 seconds" transition='toTimeout'/> <br/>          <transition to="Timeout" name="toTimeout" />      <br/>          <transition to="notificationSuccess" name="toNotificationSuccess"/><br/>    </state></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>in my web.xml i have given setvlet mappings</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><servlet><br/>         <servlet-name>JobExecutorServlet</servlet-name><br/>         <servlet-class>org.jbpm.job.executor.JobExecutorServlet</servlet-class><br/>         <load-on-startup>3</load-on-startup><br/>     </servlet><br/>     <br/>     <servlet-mapping><br/>         <servlet-name>JobExecutorServlet</servlet-name><br/>         <url-pattern>/jobexecutor</url-pattern><br/>     </servlet-mapping></p><p>my jbpm.cfg.xml looks like</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><?xml version="1.0" encoding="UTF-8"?></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><jbpm-configuration></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>  <import resource="classpath:jbpm.jobexecutor.cfg.xml"/><br/>  <import resource="classpath:jbpm.businesscalendar.cfg.xml"/> <br/>  <br/>  <jbpm-context><br/>    <service name="persistence" factory="org.jbpm.persistence.db.DbPersistenceServiceFactory" /><br/>    <service name="tx" factory="org.jbpm.tx.TxServiceFactory" /><br/>    <service name="message" factory="org.mule.transport.bpm.jbpm.MuleMessageServiceFactory" /><br/>    <service name="scheduler" factory="org.jbpm.scheduler.db.DbSchedulerServiceFactory" /></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>    <service name="logging" factory="org.jbpm.logging.db.DbLoggingServiceFactory" /><br/>    <service name="authentication" factory="org.jbpm.security.authentication.DefaultAuthenticationServiceFactory" /><br/>  </jbpm-context></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>  <!-- configuration resource files pointing to default configuration files in jbpm-{version}.jar --><br/>  <string name="resource.hibernate.cfg.xml" value="hibernate.cfg.xml" /><br/>  <string name="resource.business.calendar" value="org/jbpm/calendar/jbpm.business.calendar.properties" /><br/>  <string name="resource.default.modules" value="org/jbpm/graph/def/jbpm.default.modules.properties" /><br/>  <string name="resource.converter" value="org/jbpm/db/hibernate/jbpm.converter.properties" /><br/>  <string name="resource.action.types" value="org/jbpm/graph/action/action.types.xml" /><br/>  <string name="resource.node.types" value="org/jbpm/graph/node/node.types.xml" /><br/>  <string name="resource.parsers" value="org/jbpm/jpdl/par/jbpm.parsers.xml" /><br/>  <string name="resource.varmapping" value="org/jbpm/context/exe/jbpm.varmapping.xml" /></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>  <long name="jbpm.msg.wait.timout" value="5000" singleton="true" /><br/>  <int name="jbpm.byte.block.size" value="1024" singleton="true" /><br/>  <string name="mail.smtp.host" value="localhost" /><br/>  <bean name="jbpm.task.instance.factory" class="org.jbpm.taskmgmt.impl.DefaultTaskInstanceFactoryImpl" singleton="true" /><br/>  <bean name="jbpm.variable.resolver" class="org.jbpm.jpdl.el.impl.JbpmVariableResolver" singleton="true" /><br/>  <bean name="jbpm.mail.address.resolver" class="org.jbpm.identity.mail.IdentityAddressResolver" singleton="true" /><br/>  <br/>  <bean name="jbpm.job.executor" class="org.jbpm.job.executor.JobExecutor" singelton="true"><br/>    <field name="jbpmConfiguration"><ref bean="jbpmConfiguration" /></field><br/>    <field name="name"><string value="JbpmJobExector" /></field><br/>    <field name="nbrOfThreads"><int value="1" /></field><br/>    <field name="idleInterval"><int value="2500" /></field><br/>    <field name="maxIdleInterval"><int value="3600000" /></field><br/>    <field name="historyMaxSize"><int value="20" /></field><br/>  </bean></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p></jbpm-configuration></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>While runnig the application using jetty server it is giving the error</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>nested exception is org.jbpm.JbpmException: no ObjectInfo class specified for element 'import'<br/>    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1336)<br/>    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:471)<br/>    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)<br/>    at java.security.AccessController.doPrivileged(Native Method)<br/>    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)<br/>    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)<br/>    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:217)<br/>    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)<br/>    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)<br/>    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)<br/>    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423)<br/>    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)<br/>    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)<br/>    at org.mule.config.spring.SpringRegistry.doInitialise(SpringRegistry.java:87)<br/>    at org.mule.registry.AbstractRegistry.initialise(AbstractRegistry.java:68)<br/>    ... 47 more<br/>Caused by: org.jbpm.JbpmException: no ObjectInfo class specified for element 'import'<br/>    at org.jbpm.configuration.ObjectFactoryParser.parse(ObjectFactoryParser.java:139)<br/>    at org.jbpm.configuration.ObjectFactoryParser.createObjectFactory(ObjectFactoryParser.java:97)<br/>    at org.jbpm.configuration.ObjectFactoryParser.parseInputStream(ObjectFactoryParser.java:83)<br/>    at org.springmodules.workflow.jbpm31.LocalJbpmConfigurationFactoryBean.afterPropertiesSet(LocalJbpmConfigurationFactoryBean.java:127)<br/>    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1367)<br/>    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1333)<br/>    ... 61 more</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>and also another one like</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>ERROR: org.jbpm.job.executor.JobExecutorThread - exception in job executor thread. waiting 5000 milliseconds<br/>org.hibernate.HibernateException: hibernate.cfg.xml not found<br/>    at org.hibernate.util.ConfigHelper.getResourceAsStream(ConfigHelper.java:147)<br/>    at org.hibernate.cfg.Configuration.getConfigurationInputStream(Configuration.java:1405)<br/>    at org.hibernate.cfg.Configuration.configure(Configuration.java:1427)<br/>    at org.jbpm.db.hibernate.HibernateHelper.createConfiguration(HibernateHelper.java:91)<br/>    at org.jbpm.persistence.db.DbPersistenceServiceFactory.getConfiguration(DbPersistenceServiceFactory.java:69)<br/>    at org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:91)<br/>    at org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:95)<br/>    at org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:99)<br/>    at org.jbpm.persistence.db.DbPersistenceService.getJobSession(DbPersistenceService.java:359)<br/>    at org.jbpm.JbpmContext.getJobSession(JbpmContext.java:563)<br/>    at org.jbpm.job.executor.JobExecutorThread.acquireJobs(JobExecutorThread.java:112)<br/>    at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:58)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>can anybody plz give me some directions regarding this problem</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>regards</p><p>Aneesh.</p></div>
<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
<p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/570736#570736">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in jBPM at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034">Community</a></p>
</div></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>