[Logo] JForum - Powering Communities
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Top Downloads] Top Downloads   [Groups] Back to home page 
[Register] Register /  [Login] Login 


New: JForum 2.6.0 has been released with many improvements, download it from here
Getting an exception when trying to upgrade from 2.1.9 to 2.2.0 RSS feed
Forum Index » User Forum
Author Message
nnkfws333


Joined: 2011/11/5
Messages: 1
Offline
Trying to run version 2.2.0 and I keep getting this exception. Any ideas?

java.lang.ArrayIndexOutOfBoundsException: 1
	at net.jforum.JForum.init(JForum.java:115)
	at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)
	at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
	at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
	at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)
	at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
	at weblogic.servlet.internal.StubLifecycleHelper.(StubLifecycleHelper.java:48)
	at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:539)
	at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:243)
	at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
	at net.jforum.util.legacy.clickstream.ClickstreamFilter.doFilter(ClickstreamFilter.java:59)
	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
	at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
	at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
	at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
	at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
	at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
	at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
	at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
	at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
	at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
rvanderwerf


Joined: 2011/8/13
Messages: 12
Offline
It appears it's not finding your database settings. I don't have the exact 2.2.0 source so it's roughly in that area my guess. Make sure your jforum-custom.conf is setup properly and you're using the new SystemGlobals config file. The old one is missing lots of stuff the new one has. I would recommend starting with the new one and work backwards from there.
andowson


Joined: 2011/6/30
Messages: 212
Offline
It's WebLogic Server's ServletContext.getServerInfo() implementation issue.
According to the Java EE's api
http://download.oracle.com/javaee/5/api/javax/servlet/ServletContext.html#getServerInfo()
getServerInfo

String getServerInfo()
Returns the name and version of the servlet container on which the servlet is running.
The form of the returned string is servername/versionnumber. For example, the JavaServer Web Development Kit may return the string JavaServer Web Dev Kit/1.0.

The servlet container may return other optional information after the primary string in parentheses, for example, JavaServer Web Dev Kit/1.0 (JDK 1.1.6; Windows NT 4.0 x86).

Returns:
a String containing at least the servlet container name and version number


Apache Tomcat's getServerInfo() return String is like the following:
Apache Tomcat/7.0.22


However, WebLogic Server's getServerInfo() return String is like the following:
WebLogic Server 10.3.5.0 Fri Apr 1 20:20:06 PDT 2011 1398638 Oracle WebLogic Server Module Dependencies 10.3 Thu Mar 3 14:37:52 PST 2011 Oracle WebLogic Server on JRockit Virtual Edition Module Dependencies 10.3 Thu Feb 3 16:30:47 EST 2011


Since JForum 2.2.0 till JForum 2.3.2 only tested on Apache Tomcat, so you may not deploy JForum on WebLogic Server successfully.

I have committed a fix for this in JForum 2.3.3. So you may wait for the next release or fetch the code from the repository and build it yourself.

smilie To install JForum on WebLogic Server, you have to explode the war file, and copy the JDBC driver file into WebLogic Server's user_projects\domains\base_domain\lib directory, for examples:
C:\Oracle\Middleware\user_projects\domains\base_domain\lib
 
Forum Index » User Forum
Go to:   
Mobile view
Powered by JForum 2.6.0 © 2019 JForum Team • Maintained by Andowson Chang and Ulf Dittmer
Website Security Test