[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Is this JBoss or an iBatis issue? Classpath issues...

adrianoats@gmail.com do-not-reply at jboss.com
Wed Jun 24 13:20:13 EDT 2009


Hey Jaikiran, thanks a lot for your support...

Here is the code......



  | 
  | DaoManager gerenteDB;
  | 
  | private static void carregarBD() {
  | 
  | 		try {
  | 			
  | 			
  | 	
  | 			gerenteBD = DaoManagerBuilder.buildDaoManager(Resources
  | 					.getResourceAsReader(resource), properties);
  | 		} catch (DaoException e) {
  | 			e.printStackTrace();
  | 		} catch (IOException e) {
  | 			e.printStackTrace();
  | 		}
  | 	}

And here is the stack trace


  | 14:12:00,280 ERROR [STDERR] java.io.IOException: Could not find resource sped/contabil/entidade/dao.xml
  | 14:12:00,280 ERROR [STDERR] 	at com.ibatis.common.resources.Resources.getResourceAsStream(Resources.java:101)
  | 14:12:00,280 ERROR [STDERR] 	at com.ibatis.common.resources.Resources.getResourceAsStream(Resources.java:86)
  | 14:12:00,280 ERROR [STDERR] 	at com.ibatis.common.resources.Resources.getResourceAsReader(Resources.java:150)
  | 14:12:00,280 ERROR [STDERR] 	at sped.contabil.entidade.ConexaoBD.carregarBD(ConexaoBD.java:186)

I found the following link https://jira.jboss.org/jira/browse/JBAS-3086

On that link, it seems that is a workaround is explained but... I didn't quite get it.

Is my doubt understandable now? If not, please ask for any detail you'd like because, I gotta admit, I have no further ideas for this problem.

Thanks a lot.

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

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



More information about the jboss-user mailing list