[jboss-user] [JBoss Cache: Core Edition] - Re: 2.2 to 3.0CR2

manik.surtani@jboss.com do-not-reply at jboss.com
Wed Oct 29 09:57:38 EDT 2008


"lovelyliatroim" wrote : 
  | When I run with 3.0.X version(File is generated using the script from 2.x to 3.0 provided with 3.x download) , i get this as follows,  
  | 
  | 
  |   | 
  |   | java.lang.NullPointerException
  |   | 	at org.jboss.cache.config.parsing.XmlConfigurationParser2x.getMBeanElement(XmlConfigurationParser2x.java:207)
  |   | 
  |   | <SNIP />
  |   | 
  | 
  | Now this last problem looks like it using the 2.x formatter to parse the config file, which kind of suggests to me that either my classpath is not right and contains 2.x version in there or something is not right in the jar file. I will set up the test through a script and set only the needed libraries and report back but my project classpath looks fine and with the test run in 2.x config file format it looks like the 3.0.x jar is been used so that concludes something wrong in the jar. As i said will test it with a script to be sure that im using correct jar file ;).
  | 

I tried this out, and it behaves exactly the same as with the 2.x config file.  There was one thing though, the 2.x config file you posted was missing the <server><mbean> .... </mbean></server> container elements.  I'm guessing you just forgot to paste those in here?

Looking at why the clustered cache loader misbehaves... 

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

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



More information about the jboss-user mailing list