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

john.adamopoulos

Members
  • Posts

    5
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Downloads

Posts posted by john.adamopoulos

  1. Hello,



     



    We are trying to integrate Jasper Server Pro with a Portal, so we are planning using Token-based Authentication.



    The user is already authenticated to the Portal and has constructed an authentication token.



    The authentication token is not exactly in the shape Jasper expects, but we are unable to set it as jasper expects on the reverse proxy (customer denies any modification to it).



    The documentation states that pp should have vale u=user, we have altered the configuration file a now we can successfully log in a user with a request that contains a Request Header pp and value =USERNAME



    The request from Portal is being sent to Jasper Server with a pp request header with value USERNAME while jasper expects =USERNAME



    Is there a way to configure – extend javaspring security code to accept just the username without the = ?



     



    Thank you for your time.



     



    John


  2. Hello,



     



    I found out that the version that I mentioned 0617-JSP64-10 it was the version of the Guide (HelpàAbout) and not Jasper Server’s Version.



     



    I located the version of the Server under installation folder (…apache-tomcatwebappsjasperserver-proversion.txt), and it is 6.3



     



    I downloaded the appropriate Version of the Web Service plugin and now it is working.



     



    Thank you for your time.


  3. Hello All,

    I have installed Jasper Server Pro version 0617-JSP64-10 from CA Business Intelligence installer.

    The Server was functional until I followed the instructions of this article https://community.jaspersoft.com/wiki/installing-webservice-datasource in order to install Webservice Datasource.

    Install in TIBCO JasperReports Server

    1. Localize your JasperReports Server web application folder. We'll reference it as [JRS_DIR] from now on
    2. Open the folder [WS_DS_DIR]JRSWEB-INF
    3. Copy all the folder's content
    4. Stop your web server running JasperReports Server
    5. Open the folder [JRS_DIR]WEB-INF
    6. Backup this folder before executing next step!  (this is not mandatory, but recommended)
    7. paste the previously copied files. Please note that it is not supposed to override any existing file.
    8. (This step is required only for Community Edition):
      • open the file [JRS_DIR]WEB-INFapplicationContext-WebServiceDataSource.xml
      • Go to line 49 of the xml file, inside the bean addQueryLanguage change the property beanName from queryLanguagesProto queryLanguagesCe
    9. Start your web server running JRS

    When attempted to startup Tomcat Server again, I get the error below in the log localhost_access_log.2018-09-13 in the Apache server

    Can someone help me resolve this issue?

    Thank you.

    13-Sep-2018 15:30:42.059 INFO [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log No Spring WebApplicationInitializer types detected on classpath13-Sep-2018 15:30:42.115 INFO [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log Set web app root system property: 'jasperserver-pro.root' = [C:Program FilesCASCCA Business Intelligenceapache-tomcatwebappsjasperserver-pro]13-Sep-2018 15:30:42.123 INFO [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log Initializing log4j from [C:Program FilesCASCCA Business Intelligenceapache-tomcatwebappsjasperserver-proWEB-INFlog4j.properties]13-Sep-2018 15:30:42.142 INFO [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log Initializing Spring root WebApplicationContext13-Sep-2018 15:31:25.308 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.listenerStart Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'webServiceDataSource'   defined in ServletContext resource [/WEB-INF/applicationContext-WebServiceDataSource.xml]: Instantiation of bean failed; nested exception is   org.springframework.beans.BeanInstantiationException:Could not instantiate bean class   [com.jaspersoft.jrs.data.webservice.WebServiceDataSourceDefinition]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError:   net/sf/jasperreports/data/DataAdapterContributorFactory at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1039) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:985) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:487) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:191) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:636) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:934) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479) 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)Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.jaspersoft.jrs.data.webservice.WebServiceDataSourceDefinition]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: net/sf/jasperreports/data/DataAdapterContributorFactory at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:163) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:87) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1032) ... 26 moreCaused by: java.lang.NoClassDefFoundError: net/sf/jasperreports/data/DataAdapterContributorFactory at com.jaspersoft.webservice.data.WebServiceDataAdapterServiceExtensionRegistryFactory.clinit    (WebServiceDataAdapterServiceExtensionRegistryFactory.java:25) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at net.sf.jasperreports.engine.util.JRClassLoader.loadClassForRealName(JRClassLoader.java:156) at net.sf.jasperreports.engine.util.JRClassLoader.loadClassForName(JRClassLoader.java:114) at net.sf.jasperreports.engine.util.ClassUtils.instantiateClass(ClassUtils.java:55) at net.sf.jasperreports.extensions.DefaultExtensionsRegistry.instantiateRegistry(DefaultExtensionsRegistry.java:245) at net.sf.jasperreports.extensions.DefaultExtensionsRegistry.loadRegistries(DefaultExtensionsRegistry.java:222) at net.sf.jasperreports.extensions.DefaultExtensionsRegistry.loadRegistries(DefaultExtensionsRegistry.java:164) at net.sf.jasperreports.extensions.DefaultExtensionsRegistry.getRegistries(DefaultExtensionsRegistry.java:134) at net.sf.jasperreports.extensions.DefaultExtensionsRegistry.getExtensions(DefaultExtensionsRegistry.java:106) at net.sf.jasperreports.engine.DefaultJasperReportsContext.getExtensions(DefaultJasperReportsContext.java:268) at com.jaspersoft.webservice.data.enumerations.AuthType.values(AuthType.java:132) at com.jaspersoft.jrs.data.webservice.WebServiceDataSourceDefinition.<init>(WebServiceDataSourceDefinition.java:57) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:148) ... 28 moreCaused by: java.lang.ClassNotFoundException: net.sf.jasperreports.data.DataAdapterContributorFactory at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1293) at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1145) ... 47 more[/code]
×
×
  • Create New...