[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: jboss.xml validation problem

Wolfgang Knauf do-not-reply at jboss.com
Tue Jun 16 07:24:06 EDT 2009


Hi,

I think the order is wrong (the local-jndi-name must be after the resource-ref element):


	<session>
  | 		<ejb-name>Bingo</ejb-name>
  | 		<resource-ref>
  | 			<res-ref-name>jdbc/DataSource</res-ref-name>
  | 			<jndi-name>java:/MainDS</jndi-name>
  | 		</resource-ref>
  | 		<local-jndi-name>ejb/local/Bingo</local-jndi-name>			
  | 		<ignore-dependency>
  | 			<injection-target>
  | 				<injection-target-class>com.bingo.game.bingo.BingoBean</injection-target-class>
  | 					<injection-target-name>gameFactory</injection-target-name>
  | 			</injection-target>
  | 		</ignore-dependency>
  |         </session>
  | 

Hope this helps

Wolfgang

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

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



More information about the jboss-user mailing list