posted 18 years ago
Hi, I successfully installed JForum v2.16 using the manual method (not using data source) on WebLogic 8.1 SP5 with Oracle 9i. But when I tried to register, I was presented with the following error messages:
An error has occurred.
For detailed error information, please see the HTML source code, and contact the forum Administrator.
java.lang.reflect.InvocationTargetException
And following is the error stack trace:
<!-- BEGIN ERROR STACK TRACE
<br /> java.lang.reflect.InvocationTargetException
<br /> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
<br /> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
<br /> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
<br /> at java.lang.reflect.Method.invoke(Method.java:324)
<br /> at net.jforum.Command.process(Command.java:116)
<br /> at net.jforum.JForum.service(JForum.java:182)
<br /> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
<br /> at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
<br /> at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
<br /> at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
<br /> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
<br /> at net.jforum.util.legacy.clickstream.ClickstreamFilter.doFilter(ClickstreamFilter.java:59)
<br /> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
<br /> at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6724)
<br /> at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
<br /> at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
<br /> at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
<br /> at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
<br /> at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
<br /> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
<br /> Caused by: com.octo.captcha.CaptchaException
<br /> at com.octo.captcha.image.gimpy.GimpyFactory.getImageCaptcha(GimpyFactory.java:547)
<br /> at com.octo.captcha.image.gimpy.GimpyFactory.getImageCaptcha(GimpyFactory.java:515)
<br /> at com.octo.captcha.engine.image.ListImageCaptchaEngine.getNextImageCaptcha(ListImageCaptchaEngine.java:559)
<br /> at net.jforum.entities.UserSession.createNewCaptcha(UserSession.java:402)
<br /> at net.jforum.view.forum.UserAction.insert(UserAction.java:161)
<br /> ... 20 more
<br /> Caused by: java.lang.NoClassDefFoundError
<br /> at java.lang.Class.forName0(Native Method)
<br /> at java.lang.Class.forName(Class.java:141)
<br /> at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62)
<br /> at com.octo.captcha.component.image.fontgenerator.RandomFontGenerator.getFont(RandomFontGenerator.java:495)
<br /> at com.octo.captcha.component.image.fontgenerator.TwistedRandomFontGenerator.getFont(TwistedRandomFontGenerator.java:495)
<br /> at com.octo.captcha.component.image.fontgenerator.TwistedAndShearedRandomFontGenerator.getFont(TwistedAndShearedRandomFontGenerator.java:494)
<br /> at com.octo.captcha.component.image.wordtoimage.ComposedWordToImage.getFont(ComposedWordToImage.java:559)
<br /> at com.octo.captcha.component.image.wordtoimage.AbstractWordToImage.getAttributedString(AbstractWordToImage.java:528)
<br /> at com.octo.captcha.component.image.wordtoimage.AbstractWordToImage.getImage(AbstractWordToImage.java:512)
<br /> at com.octo.captcha.image.gimpy.GimpyFactory.getImageCaptcha(GimpyFactory.java:544)
<br /> ... 24 more
<br />
<br /> END ERROR STACK TRACE-->
In addition to the above error, I realised I (as administrator) can only see a category in the category listing only if I created it under the group "Administration", not so if under "General". Is this a problem or the standard behaviour of JForum?
[originally posted on jforum.net by Randius]