jasperserver not running after installing Webservice Data Source extension

Hello,

 

I have tried to install the Webservice Data Source extension found here using the instructions here.

When trying to start the jasperserver after copying the files over, I get nothing.  Checking the logs at ..\jasperserver\WEB-INF\logs\jasperserver.log, I find this:

2016-05-10 10:48:16,621 ERROR JNDIResourceProvider,localhost-startStop-4:75 - error closing contextjavax.naming.OperationNotSupportedException: Context is read only at org.apache.naming.NamingContext.checkWritable(NamingContext.java:960) at org.apache.naming.NamingContext.close(NamingContext.java:760) 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:4797) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5221) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:724) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:700) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:714) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1071) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1721) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)2016-05-10 11:04:32,613 ERROR ContextLoader,localhost-startStop-2:331 - Context initialization failedorg.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'queryLanguagesPro' is defined at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:575) at com.jaspersoft.jasperserver.api.common.util.spring.AbstractBeanPropertyProcessor.postProcessBeanFactory(AbstractBeanPropertyProcessor.java:59) at com.jaspersoft.jasperserver.api.common.util.spring.GenericBeanUpdater.postProcessBeanFactory(GenericBeanUpdater.java:78) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:696) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:679) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:461) at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:410) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4797) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5221) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:724) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:700) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:714) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1071) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1721) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)
I could use some advice on whether there was something I missed or not...
Thanks
glen.a.currier's picture
Joined: Jan 3 2014 - 5:21am
Last seen: 6 years 10 months ago

8 Answers:

What version of jasperreports server are you using ?

plambert_1's picture
1519
Joined: May 21 2013 - 10:18am
Last seen: 4 years 5 months ago

I am using 6.2.1

glen.a.currier's picture
Joined: Jan 3 2014 - 5:21am
Last seen: 6 years 10 months ago

community version?

plambert_1's picture
1519
Joined: May 21 2013 - 10:18am
Last seen: 4 years 5 months ago

yes.  I will try the professional edition as well (also 6.2.1)

glen.a.currier's picture
Joined: Jan 3 2014 - 5:21am
Last seen: 6 years 10 months ago

Does the webserivces plugin work on community editions ?.  Didn't work for me on  6.2.1

 

pavan.peddada's picture
Joined: Apr 28 2016 - 3:13pm
Last seen: 6 years 10 months ago

Hi,

I have the same problem with the version 6.3.0. Any solution so far?

sedofio's picture
44
Joined: Jul 13 2016 - 7:14am
Last seen: 6 years 7 months ago

Same problem here with Studio 6.3.0

luca.vignolini's picture
Joined: Aug 26 2016 - 3:57pm
Last seen: 6 years 6 months ago

This should be solved with the newer versions, (1.0+). Please make sure you follow the installation guide for community:

 

(This step is required only for Community Edition):

  • open the file [JRS_DIR]\WEB-INF\applicationContext-WebServiceDataSource.xml
  • Go to line 49 of the xml file, inside the bean addQueryLanguage change the property beanName from queryLanguagesPro to queryLanguagesCe
  • Save the xml file
gnatali's picture
9158
Joined: May 23 2014 - 10:47am
Last seen: 6 years 2 months ago
Feedback
randomness