powered by Jive Software

Update to JM2.3.0,webregistration plugin can''t run?

Hey man,after i update to JM2.3.0 that my webregistration plugin don’‘t display webregistration JSP page .whether it need update in plugin.i used Ryan’‘s webregistration.jar. jar’'s linkaddr(http://www.jivesoftware.org/community/servlet/JiveServlet/download/40-15620-1027 53-2206/webregistration.jar[/u])

this is error log in browser:

Exception:

java.lang.NullPointerException

at org.jivesoftware.messenger.admin.decorators.main_jsp._jspService(main_jsp.java: 169)

at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)

at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:427)

at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler. java:496)

at org.mortbay.jetty.servlet.Dispatcher.dispatch(Dispatcher.java:263)

at org.mortbay.jetty.servlet.Dispatcher.include(Dispatcher.java:149)

at com.opensymphony.module.sitemesh.filter.PageFilter.applyDecorator(PageFilter.ja va:156)

at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:59)

at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplica tionHandler.java:813)

at org.jivesoftware.util.LocaleFilter.doFilter(LocaleFilter.java:43)

at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplica tionHandler.java:813)

at org.jivesoftware.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingF ilter.java:41)

at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplica tionHandler.java:813)

at org.jivesoftware.admin.AuthCheckFilter.doFilter(AuthCheckFilter.java:98)

at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplica tionHandler.java:813)

at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler. java:494)

at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:569)

at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)

at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.ja va:624)

at org.mortbay.http.HttpContext.handle(HttpContext.java:1434)

at org.mortbay.http.HttpServer.service(HttpServer.java:896)

at org.mortbay.http.HttpConnection.service(HttpConnection.java:814)

at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:981)

at org.mortbay.http.HttpConnection.handle(HttpConnection.java:831)

at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)

at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:366)

at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)

thanks

-Tom

Hi Tom,

Unfortunately, the webregistraion plugin I wrote is only compatiable with the 2.2.x versions of Messenger. If you can give me a day or two I will update it to work with Messenger 2.3.x and make it available.

Thanks,

Ryan

Hey ryang,if you update it ,please notice me in here.may as well you make source code release here. i want to know what happened in JM2.3.0?

thanks in advance.

-tom

Hi Tom,

Attached are both the source and the compiled plugin that now works with Messenger 2.3.x. With release 2.3.0, Messenger started using a page layout and decoration framework called url=http://www.opensymphony.com/sitemesh/SiteMesh[/url], which helped reduce a lot of duplicate code in the plugins, but had the unfortunate side effect of breaking web pages that were part of any plugin written prior to the 2.3.0 release.

Hope that helps,

Ryan

Hey Ryan,

it is very help to me for this plugin,my problem already solved , this is a good place for study.

Hi Tom,

I’'m happy that it is of help to you.

Cheers,

Ryan

thank you

will it work for 2.0.4

Hi All,

A new version (1.3.0) of the registration plugin that has the ability to allow web-based registration is url=http://www.jivesoftware.org/wildfire/plugins.jspnow available[/url].

Enjoy,

Ryan

thanks