Jump to content
JasperReports Library 7.0 is now available ×

Custom Visualization - Jasper Server is not showing samples output


sadakar

Recommended Posts

Hi Forum, 

I have followed this tutorial http://community.jaspersoft.com/wiki/custom-visualization-component-setup-jasperreports-server but unable to get the report view in Jasper server. 

Software I am using for this example : Jasper D. S 6.1 CE & Japser Server 6.1 CE 

1)  Added below properties in jasperreports.properties file

com.jaspersoft.jasperreports.components.customvisualization.phantomjs.executable.path=C:/Users/Sadakar/Downloads/backup/phantomjs-2.0.0-windows/phantomjs-2.0.0-windows/bin/phantomjs.exe
com.jaspersoft.jasperreports.components.customvisualization.require.js=E:/1_Softwares/JAVA IDE/eclipse-jee-mars-R-win32-x86_64/eclipse/configuration/org.eclipse.osgi/936/0/.cp/resources/scripts/require-2.1.6.src.js
net.sf.jasperreports.web.resource.pattern.customvisualization.scripts=com/jaspersoft/jasperreports/customvisualization/resources/require
 
2) Added com.jaspersoft.studio.components.customvisualization_6.1.0.final.jar file to lib folder of Jasperserver in WEB-INF.
 
I can view the samples output in Jasper D. S 6. 1 but when I publish it and see in the server it is showing spnning 
 
Log : log file name : jasperreportstomcat-stdout has below log information 
2015-09-09 00:12:58 Commons Daemon procrun stdout initialized
2015-09-09 00:13:40,685 ERROR JNDIResourceProvider,localhost-startStop-1:75 - error closing context
javax.naming.OperationNotSupportedException: Context is read only
at org.apache.naming.NamingContext.checkWritable(NamingContext.java:961)
at org.apache.naming.NamingContext.close(NamingContext.java:761)
at com.tonbeller.tbutils.res.JNDIResourceProvider.close(JNDIResourceProvider.java:72)
at com.tonbeller.tbutils.res.CompositeResourceProvider.close(CompositeResourceProvider.java:56)
at com.tonbeller.tbutils.res.ResourcesFactory.initialize(ResourcesFactory.java:163)
at com.tonbeller.tbutils.res.ResourcesFactory.<init>(ResourcesFactory.java:92)
at com.tonbeller.tbutils.res.ResourcesFactory.<clinit>(ResourcesFactory.java:89)
at com.tonbeller.tbutils.res.ResourcesFactoryContextListener.contextInitialized(ResourcesFactoryContextListener.java:23)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5016)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5524)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1245)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1895)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Require JS Path: null/reportresource/reportresource?resource=com/jaspersoft/jasperreports/customvisualization/resources/require/require.js
Require JS Path: null/reportresource/reportresource?resource=com/jaspersoft/jasperreports/customvisualization/resources/require/require.js
Require JS Path: null/reportresource/reportresource?resource=com/jaspersoft/jasperreports/customvisualization/resources/require/require.js
 
Thank you in Advance :-)
 
- Sadakar Pochampalli
Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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...