Forum

This content is now out of date.

Visit Our Community

Unable to compile class for JSP

Hi,

I installed YF on a new server and after the installation, if i try to access Admin URL - i see error 'System Error' - below screen shot .


Forum image




And i see the log -

" Error: org.apache.jasper.JasperException: Unable to compile class for JSP:

An error occurred at line: 1 in the generated java file
The type java.io.ObjectInputStream cannot be resolved. It is indirectly referenced from required .class files

Stacktrace:
At:
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:439)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:356)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:334)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:321)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:592)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776)
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705)
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
java.lang.Thread.run(Unknown Source) "



I tried refreshing the cache, deleting the cookies, using the new IE session and fresh re-installation too but nothing worked.
Please guide me where can i fix this issue.

Environment Details -
Version : 6.2
Java Version - Java 8 - Update 102


Thanks,
Mansi Sharma.
Hi Mansi,

Sorry to see you have run into an issue with a new install.

Unfortunately it looks like you're not only using an un-supported release (we no longer support 6.2 or 6.3), but it seems your issue lies with integration which also is not something we can fully support, as the underlying components are out of our control.

However, I will do my best to ensure that what you're facing is not related to the YF code itself.

1. Can you hit the YF instance directly without going through your site/
E.g. localhost:80

2. If so, can you then login and hit the admin page?


If you cannot do either of these 2, please email across your Yellowfin log files located under yellowfinappserverlogs, along with an export of your info.jsp page which is accessed by appending to your YF URL.
e.g. http://localhost:80/info.jsp


Please let me know how it all goes.

Also, in future, if you have any critical issues, please email these through to support@yellowfin.bi to ensure that it's picked up by our ticketing system and you get a faster response.

Thanks,
David
Hi David,

Uninstalling Java 8 update 91 and re-installing Java 7 by reporting installation solved the problem.
Then updating java after YF installation n updating java version in Service.bat and Catalina.bat worked as expected.
Installation of YF when java 8 update 91 is already installed was giving this issue.

Thanks for all the suggestions.

Thanks,
Mansi Sharma.

Thanks for trying Yellowfin

Please complete the form below to request your copy of Yellowfin today.