Add new file extensions in content resources JasperReports Server 8.0.0 - jasperserver

I am trying to add a new file extension in JasperReports Server, there is not much information about this except what is presented in the following link
https://community.jaspersoft.com/wiki/how-add-new-content-resource-file-...
The explanation is given there, but I can't find the route they mention, I don't know if it's because I'm using the community version, any help in this regard?

Related

LeadTools v20 HTML5 Document Viewer throws invalid file format error with Asp.Net Core backed Document Service Library in development mode

I'm using LeadTools v20 HTML5 Document Viewer with Asp.Net Core backed Document Service Library which was available in their examples project in the installation directory. This works fine with PDF files or other file formats mentioned in their site. But I'm getting LeadTools.RasterException error with a message as invalid file format for .docx,.xlsx,.pptx but opens .doc,.xls,.ppt
Files having extension ending with x(mostly Microsoft office documents) are not getting loaded in development mode. But all these works when the application is published. Any suggestions on where I'm going wrong?
Here is the screen print of the exception and error.
Please assist me if I'm wrong
Can you check the dependencies on both machines and compare the differences? If you're testing this on Windows, one way to do that is to use Process Explorer to see what DLLs are being loaded. You can download it here:
https://learn.microsoft.com/en-us/sysinternals/downloads/process-explorer
To see the DLLs being loaded go to View > Show Lower Pane, then View > Lower Pane View > DLLs:
Select the ASP.NET Core Document Service while it's running and then attempt to load the document on the working machine and see what DLLs get loaded, then do the same on the non-working machine and see which DLLs are loaded. You should see a DLL missing.
My guess is that you are missing the DocumentFormat.OpenXml(v2.0) since that is required for all of the x microsoft formats (docx, xlsx, pptx). You can see which DLLs are required for which formats by the SDK at this link:
https://www.leadtools.com/help/sdk/v20/dh/to/file-format-support.html
If you are still having issues after trying the above, they offer free technical support via email (anytime) and live chat (M-F business hours):
https://www.leadtools.com/support/supportoptions?linkloc=navbar

There was an error in the working CMS and I can not even enter to management panel

There was an error in the working CMS and I can not even enter management panel. I did not update PHP on the server, nothing changed in the configuration, and yet I can't enter the administration panel or display the WWW page.
When I try to get on administration panel or on website there is a message like this:
PHP Runtime Notice: Declaration of tx_ttnews_catmenu::wrapTitle() should be compatible with t3lib_treeView::wrapTitle($title, $row, $bank = 0) in /home2/izbampro/public_html/typo3/typo3conf/ext/tt_news/class.tx_ttnews_catmenu.php line 56
Is this a bug related to a too old version of PHP, or could someone break into the server and change the configuration?I have no idea what could have happened, everything worked well several days ago. Please help me with this error.
what do you mean with the administration panel?
in TYPO3 you have the BackEnd where you can do the normal administration and editorial tasks.
it is called normally with domain.tld/typo3/
the other area for administrative tasks is the Install Tool
which is called with domain.tld/typo3/install/
While the Backendneeds a running TYPO3 instance the InstallTool should be callable even if there is no configuration (e.g. database).
regarding your TYPO3 version:
we can guess a little bit with your data:
PHP 5.6.26 will let run TYPO3 only until version 7.6
the function reference t3lib_treeView::wrapTitle will restrict the version in the same way as the classname was available in core up to 4.7. for later version there existed an compatibility extension, first in core, later from TER.
if you have a look onto your server we might have further restrictions.
I will not exclude the usage of older versions up to 4.7:
these versions can be identified by files typo3conf/localconf.php, while since 6.0 the files are named typo3conf/LocalConfiguration.php.
In the same way there is a break in the storing which extensions are active in your installation:
up to 4.7 it was one line in typo3conf/localconf.php, since 6.0 it is an own file typo3conf/PackageStates.php.
You should be able to call the install tool, which will show the version (a screenshot from the appearance after the Install Tool login might help. But first we need to make you accessing the Install Tool.
Are you able to login to the install tool?
the TYPO3 version will decide about the next steps

Typo3: Tried adding an extension then my website crashed and displays a HTTP ERROR 500

I took over a website for my client and I tried adding an extension to Typo3. When I did, the whole website crashed and displays a HTTP ERROR 500. I found this thread with a similar problem, followed the instructions and erased the key that was supposed to be removed typo3 site offline after extension upload but that didn't work.
I gained access to the cPanel since I couldn't access the backend login page. So now i'm able to access all of the root files and hopefully fix the problem. Does anyone know anything to fix it?
You should read the error log (for the PHP service or Apache, depending on how your hosting works). There you can see the actual error message which then can give you an indication what's actually wrong.
The most common reasons are:
Extension version is not compatible with the version of TYPO3 you used (and you ignored the warning when installing).
Extension is written in a way that it assumes you update the database schema, which may not happen automatically when you install the extension.
Extension calls on classes that must be loaded and does not provide class loading for the installation you use (e.g. some extensions only offer composer support and won't work if you install without composer).
Extension uses PHP modules that are not installed or is incompatible with the version of PHP that is used.
You should be able to recover this by using the TYPO3 install tool to manually update the database schema and perform checks that the extension works (TYPO3 8.7+ only). If that does not help we will need additional information:
Which TYPO3 version do you use?
Was it installed with composer?
What is the exact error message you get in PHP error logs?
If the extension you installed is public, a link to it would help determine why you get the error.
Hope this helps!

Jasper : How to keep HTTP header in datasource from Jaspersoft Studio to server?

Consider the following :
I have a PHP web application. This application is protected from any intrusion via a middleware that looks for the correct credentials everytime a call to a route is done. If your are logged in correctly, the page is displayed. If not, you are kicked out. Simple and easy.
Now, this application provides me with links that return JSON. This JSON is generated for the sole purpose of reporting. In Jaspersoft Studio, I created a JSON data adapter and used the provided links as the URL.
But that was not it yet. Since a middleware is checking every link calls in the application, I needed to add an exception for my reports. I decided that passing an encrypted token in the HTTP header was the solution. I then added the option into our data adapter.
It worked like a charm!
Now, to the problem :
Using the information provided on the Jaspersoft website, I exported my Data Adapter to the server. The thing is, the HTTP Header is not considered anymore when calling the data source from the server. Of course, my report does not work anymore. I then tested with a link hosted on another platform and it worked, even without the HTTP header.
So, my question is how do I keep the HTTP header in my datasource from Jaspersoft Studio to the server?
Edit 1: Jaspersoft Studio Version : 6.4.0, JasperSoft Server Version: 6.3.0
Those HTTP options were added in JasperReports 6.3.1. The closest Server version to support those features should be 6.4.0.

How to extend an orientdb embedded server to have my own servlets?

I have created an orientdb embedded server standalone app to which I can query from console. However I need to extend the functionality to publish a page where multiple users can run queries and see (custom) svg visualizations. How can I do this?
I presume I need to create some html pages with servlets and also some orient db javascript libraries. But I am not sure how to connect all these.
Any help is appreciated!
Thanks,
Rao
You can create your pages under OrientDB server's www directory or also create a plugin that is a zip with pages and optionally Java classes. Unzip the studio file under plugins to see how is made.
Look also to how to write plugins.
I just found that required html files placed under the path: "[orientdb app path]/src/site" are accessible through http url. The bold ones are the folders which I created.
This path is looked upon in the OServerCommandGetStaticContent.java which in turn is configured in the config.xml for HTTP requests. I think if you wish you handle the http requests in your own java, you can mention that in the config.xml.
Thank you Luca for your pointer!
Rao