[jboss-user] [Management, JMX/JBoss] - Re: 4.2.2 GA: service=JNDIView call causes NPE

jaikiran do-not-reply at jboss.com
Tue May 27 01:46:24 EDT 2008


"J-Pro" wrote : 
  | I've just downloaded new version form mojarra and overwrited two libs here: jboss-4.2.2.GA\server\default\deploy\jboss-web.deployer\jsf-libs\
  | 
  | 
  | "jaikiran" wrote : 
  |   | 
  |   | ...
  |   | 
  |   | Undo the changes to the JSF jars and use Java 1.5 and try accessing the JNDIView. See if it works. Post back with details, if it doesn't.
  |   | 
  | Ok, here are the results:
  | 
  | 1. With JSF 1.2_04 and JDK 1.5.0_09-b01 - there is NO exceptions.
  | 2. With JSF 1.2_07 and JDK 1.5.0_09-b01 - there is this exception :(
  | 
  | 

I tried these steps using JSF_1.2_07 on JBoss-4.2.2 (replaced the jsf-api.jar and jsf-impl.jar in %JBOSS_HOME%\server\default\deploy\jboss-web.deployer\jsf-libs) with this HelloJSF example http://wiki.jboss.org/wiki/HelloJSF. I do see the same exception when accessing the JNDIView. The HelloJSF application seems to be working fine. 

I then downloaded the JSF_1.2_08 version from the Mojarra site https://javaserverfaces.dev.java.net/download.html and followed the same steps. This time i am able to access the JNDIView without any exceptions and even the HelloJSF application seems to be working fine. 

So, upgrade to JSF_1.2_08 and see if it works for you too.


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

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



More information about the jboss-user mailing list