Need Help in Configuring Report Scheduler JasperServer - linux

I have JasperServer Community Edition 5.5.0a installed in my Linux server. It is working fine. So I now want to set up report scheduler to be able to have the report in the mail box daily, weekly or monthly. I followed the link here. So in file js.quartz.properties I have this:
quartz.delegateClass=org.quartz.impl.jdbcjobstore.PostgreSQLDelegate
quartz.tablePrefix=QRTZ_
quartz.extraSettings=
report.scheduler.mail.sender.host=mail.mydomain.com
report.scheduler.mail.sender.username=myname#mydomain.com
report.scheduler.mail.sender.password=mypassword
report.scheduler.mail.sender.from=myname#mydomain.com
report.scheduler.mail.sender.protocol=smtp
report.scheduler.mail.sender.port=xxx
report.scheduler.web.deployment.uri=http://xxxxxxxxxx:8080/jasperserver
So I need to restart the JasperServer. Please refer below my finding when I run command through terminal:
./ctlscript.sh stop and got warning postgresql could not be stopped
kill -9 postgresql so the postgresql is killed
./ctlscript.sh stop and got warning postgresql not running
./ctlscript.sh start and got warning postgresql could not be started
I am confused on several things. Does JasperServer requires Postgresql? I don't use Postgresql and till now I can still fetch my report through PHP code. But when I schedule built-in example of JasperServer report, still I don't receive the report in my mailbox. Can somebody help me on how to configure this?

Please refer the link from jasper community.
http://community.jaspersoft.com/wiki/configuring-report-scheduler

Related

Power Query M - An operation that uses the database driver could not be completed

From time to time when I run some queries I get this error message :
An operation that uses the database driver could not be completed. If the driver is a Microsoft driver, make sure the driver file isn't damaged
I didn't found yet how to fix it with internet help.
this last website give a "solution" but I can't do the same.
"Well in my case it worked by giving the user access to the DB it is accessing."
I just have a worksheet who use others files from my company network, I don't use any database ...
I can't reinstall the driver or anything else, my company have a very strict politic about IT security.
May I have some help ?
I had the same issue when I try to connect Analysis service in Azure. The error message is misguiding. In actual, you are missing few client drivers that are needed to connect to Azure Analysis services. Install all the missing drivers (OLEDB, AMO and ADOMD) from https://learn.microsoft.com/en-us/analysis-services/client-libraries?view=asallproducts-allversions#known-issues and you should be good to go.
I think OLEDB installation should suffice the need but I did all three to avoid future encounters related to other admin stuff. Check if OLEDB updated # C:\Program Files (x86)\Microsoft Analysis Services\AS OLEDB\140 by comparing msolap.dll version. Latest version as I write this is 15.1.108.23
Tip: 1) Try connecting to Analysis Service from Excel by following the steps - Data Menu --> Get Data --> From Database --> From Analysis Services. Follow the prompts by filling appropriate info. Bingo! You are in!
2) Wait for a while if still you can't connect after installing all drivers. I don't know the actual reason why but was able to connect next day.
Please mark this as an answer if it helps to solve your problem.
Good Luck!
Update - 1/5/2021
Today I face same ugly error again which made me to rethink what else could be gone wrong in the system. Later realized that I had restarted the machine and that removed the temp connection file referred by Excel file. Following the steps to reconnect under the Tip section in above instructions let me successfully in.

Error while using mongoose.I am not able to run my code and i have no idea how to get mongod services running

enter image description here
I am repeatedly getting this error while running my code.I googled it and it had something to do with mongod services not running but i dont know how to get the services started.
Your MongoDB database is most likely not running, from the path mentioned in your error, I am assuming you are running on Windows, I suggest you follow this guide: https://docs.mongodb.com/manual/tutorial/install-mongodb-on-windows/#create-database-directory
You are going to have to create the data directories then start the database through your terminal.

Burp Suite Professional Error Failed to connect to 127.0.0.1:80

I am completely new to burp suit and dvwa as well, I have one task into my plate to execute, that is security testing, I have invested today entire day to collect data and watch videos and to apply the same to my assigned task, which is not successful yet so I finally take a step to ask you guys for help. I hope someone will help out on my below queries and issues which I am facing now, Thanks in advance.
I have installed DVWA on my windows 7 machine, updated properly in a config file, not from the command prompt, and run Apache and SQL properly in XAMPP control panel but when I try to execute it's redirecting to http://127.0.0.1:8080/dvwa/setup.php And when I try to click on Create/Reset database I got this error
"Could not connect to the MySQL service.
Please check the config file."
"Your database user is root, if you are using MariaDB, this will not work, please read the README.md file."
Please note: I didn't use "MariaDB"
One more thing I am facing an issue here, If I run BurpSuit then it is not opening http://127.0.0.1:8080/dvwa/ getting an error: "Burp Suite Professional Error Failed to connect to 127.0.0.1:80" last 8080 it is taking 80 only.
Please help me out how to resolve this.

Windows 10 (OS) - XAMPP with localhost - Oxwall software - Cron issues

I know this may be a long shot targeting those here on stackoverflow who use oxwall software to help me with my question, but sadly, I've tried all other sources - even the oxwall forums but to no avail.
For starters - here is what I have so far:
I'm currently running Windows 10 as my OS
I have XAMPP installed
Control panel Apache and MySQL are activated or started/running
Using Localhost:100 instead of Localhost:80 due to conflicts with other applications
User: root with password left blank or empty
I have the Oxwall software - version 1.8.0 within my htdocs folder
I have a database setup using mysql with it's current port set to 3306
My issue:
When installing the oxwall software and get to the third section in the installation process, I am unable to proceed due to setting up a cron job incorrectly.
Due to the fact that I'm running on a localhost with my port as 100 - on a windows machine, using xampp - I'm pretty much clueless on how to get this cron job working correctly and/or even setup for that matter.
I've read literally all the topics that were discussed on the oxwall forums and even followed their documentation but still nothing.
The error I get is this:
ow_includes/config.php file is incorrect. Update it with details provided below.
However, the only details given states:
• Create a cron job that runs ow_cron/run.php once a minute. (?) - with the question mark directing me to the oxwall documentation of how to setup a cron job. But that doesn't seem to work...
I'm literally at a loss here, I've tried to create a .bat file and created a task schedule but nothing...
Even if there is nobody here that uses Oxwall, I'm hoping this can still be answered.
Any help is greatly appreciated!
I received the same error message when using using Oxwall 1.8.1 on my own VPS with CentOS 7, PHP 5.5.31 and mariaDB 5.5.44.
I noticed that the DB only contained one table because my DB user does not have 'Lock table' rights. Once I added these rights to my DB user for Oxwall DB, removed the table and continued the installation, all tables were created and installation was successful.

Resolving Mass-loading problems in WebSphere Commerce Instance creation

I am trying to create an instance using the Configuration Manager of WCS 7. I am working on a Win 7 x64 machine with DB2 9.5 64 bit version.
I am struck with this Massloading error when the instance creation happens :
In createInstanceANT.log file :
[Massload] Massloading
C:\IBM\WebSphere\CommerceServer\schema\xml\wcs.keys.xml Error in
MassLoading, please check logs for details.
The error log shows the following error :
[jcc][10165][10044][4.3.111] Invalid database URL syntax:
jdbc:db2://:0/WCSDEMO. ERRORCODE=-4461, SQLSTATE=42815
C:\IBM\WEBSPH~1\COMMER~2\config\DEPLOY~1\xml\createBaseSchema.xml:185:
Error in massloading
WCSDEMO is the database name. The Massloader is not able to get the URL and port to connect. It is supposedly getting them from createInstance.properties file but it is not working. The createInstance.properties file has all the details of the DB to connect.
What could be the reason for this error and how to resolve it ? Is there any configuration change that I am missing ?
Can you provide some more details.
look inside the messages.txt file located in WC_install_dir/instances/instance_name/logs
and confirm what the exact issue is. If it is related to jdbc driver being wrong I may be able to help you.
I've been running into massloading problems with external systems. Eg. databases not on the same machine as the WAS installation.
In these cases I look for the
As you can see setting the loaderDBName to just the name of the database would look on the local machine. But by changing this statement so you load with the syntax
loaderDBName=[DATABASE_SERVER_NAME]:[PORT]/[DATABASE_NAME]
You'll be able to massload using the commerce standard scripts. These changes needs to be done in many scripts. Both for updating fixpacks and enabling features. If you run database updates without the changes it will crash at first and have done all the schema changes to the database that you then need to comment out before trying again.
IBM Software Support is your friend. They'll help you fix it.

Resources