Jump to content
We've recently updated our Privacy Statement, available here ×

Jasper server 5.6 - JNDIResourceProvider,localhost-startStop-1:75 - error closing context javax.naming.OperationNotSupportedException: Context is read only


akoslukacs42

Recommended Posts

Hi!

Just installed Jasper Server 5.6 (with bundled postgres and tomcat) on Win 8.1 64 bit, but the login page can't load (http 500 and Internal server error occurred. Please contact your system administrator. Details: java.lang.NullPointerException). Installer completed without any problem, the db is accessible, and contains 4 databases (foodmart, jasperserver, postgres, sugarcrm)

jasperreportstomcat-stdout.2014-07-23.log has a couple of exceptions (attached the full file), the first error is this:

ERROR JNDIResourceProvider,localhost-startStop-1:75 - error closing context
javax.naming.OperationNotSupportedException: Context is read only
    at org.apache.naming.NamingContext.checkWritable(NamingContext.java:962)
    at org.apache.naming.NamingContext.close(NamingContext.java:762) ...

The second one:

ERROR ThemeTag,http-apr-8081-exec-8:86 -
java.lang.NullPointerException
    at com.jaspersoft.jasperserver.war.themes.MTThemeResolver.getRootActive(MTThemeResolver.java:76)
    at com.jaspersoft.jasperserver.war.themes.MTThemeResolver.resolveThemeName(MTThemeResolver.java:50)
    at com.jaspersoft.jasperserver.war.themes.JSThemeResolver.resolveThemeName(JSThemeResolver.java:69)
    at org.springframework.web.servlet.support.RequestContextUtils.getTheme(RequestContextUtils.java:151) ...

and also this one:

ERROR RenderViewExceptionInterceptor,http-apr-8081-exec-8:38 - Internal server error occurred. Please contact your system administrator.
org.apache.jasper.JasperException: An exception occurred processing JSP page /WEB-INF/decorators/decorator.jsp at line 46

43:         <!--
44:         <meta http-equiv="X-UA-Compatible" content="IE=8"/>
45:         -->
46:         <link rel="shortcut icon" href='${pageContext.request.contextPath}/<spring:theme code="images/favicon.ico" />' />
47:
48:         <!--
49:             <link rel="shortcut icon" href="favicon.ico" />


Stacktrace:
    at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:568)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:470)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) ...

 

Any idea? (already tried to uninstall + reinstall, same symptoms after first install)

java version, if it may matter:
  java version "1.7.0_65"
  Java SE Runtime Environment (build 1.7.0_65-b19)
  Java HotSpot 64-Bit Server VM (build 24.65-b04, mixed mode)

Link to comment
Share on other sites

  • Replies 9
  • Created
  • Last Reply

Top Posters In This Topic

Had a very similar error the first time I tried to bring up the login page after a fresh binary install on Win 8.1.  Refreshing the login page worked, but now I get similar errors trying to login as jasperadmin.

Both errors involve this:

java.io.IOException: tmpFile.renameTo(classFile) failed

somewhere in the stack trace.  I wonder if there are directory permissions issues with Win 8.1.

Please keep us updated if you solve your problem, and I will, too.

Link to comment
Share on other sites

  • 1 month later...
  • 4 months later...
  • 3 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...