[jboss-user] [JBoss/Spring Integration] - Re: Struts spring hibenate in jboss without jboss-deployer

sriram4java@gmail.com do-not-reply at jboss.com
Mon Apr 9 05:01:44 EDT 2007


"sriram4java at gmail.com" wrote : 
  | Maruti.ear
  |             dao.har
  | 		<my class file>
  | 		map
  | 		<all hibernate mapping files>
  | 		META-INF
  | 			hibernate-service.xml
  | 	maruti.war
  | 		WEB-INF
  | 			lib
  | 			classes
  | 			applicationContext.xml
  | 			applicationContext-hibernate.xml
  | 			applicationContext-service.xml
  | 			
  | 	<all jsp files>
  | 	
  | 	META-INF
  | 		application.xml
  | 		jboss-app.xml
  | 		
  | 		
  | 
  | in applicationContext.xml
  | 
  | <bean id="dataSource" class="org.springframework.jndi.JndiObjectFactoryBean">
  |   |         <property name="jndiName"><value>java:/hibernate/SessionFactory</value></property>
  |   |     </bean>		
  |     
  |     
  | 
  | 
  | in applicationContext-hibernate.xml
  | 
  | <bean id="dao" class="eLog.eTrack.dao.impl.BaseDAOHibernate">
  |   | 	      <property name="sessionFactory" ref="sessionFactory"/>
  |   |     </bean>
  |     
  | 
  | while deploying this app ,my hibernate is getting deployed first & when deploying spring part its throwing     
  | 
  | java.lang.ClassNotFoundException: eLog.eTrack.dao.impl.BaseDAOHibernate

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035660#4035660

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035660




More information about the jboss-user mailing list