Mule 4 on-premise installation - mulesoft

I’m trying to deploy an API to on-premise installation of Mule 4 and getting an error that the ${mule.key} is missing. Now I need to update the wrapper.conf file. Has anyone done this before? If so, please share details on how you did it

Configuration of properties is a basic task in Mule. There are several ways to do it explained in the documentation: https://docs.mulesoft.com/mule-runtime/4.4/configuring-properties#system-properties
To configure one in the wrapper.conf file you need to add a new line like the following one with an unique number for your file:
wrapper.java.additional.79=-Dmule.key=1234
I added a random number (79) as an example. You should check that it is not repeated for other properties definitions in the same file.

Related

Protoge error while using reasoner : MalformedLiteralException: Literal"C:\Program Files"^^<http://www.w3.org/2001/XMLSchema#anyURI>is malformed

I have created an Ontology and have run the reasoner successfully. However upon adding a data property called isLocatedExternally and associating it with individual x
and running the reasoner I get the following error
MalformedLiteralException: Literal"C:\Program Files"^^<http://www.w3.org/2001/XMLSchema#anyURI>is malformed.
I am trying to assign the individual to the file being stored locally on my PC.
Is there any fundamental step I am missing?
I had initially had my file on the cloud and thought storing the file on my PC would help but that did not change anything.
Below is the screenshot of the error and the data property created.
What I am trying to do is to use the technique below for assigning an external source to an individual.
So far, based on the comments, I have tried
1- file:///C:\Program%20Files
2- file://C:\Program%20Files
3- File://C:\Program%20Files
4- C:\Program%20Files
Here is the reasoning error that arises when I run the reasoner when assigning the individual to an external file using anyURI
file:///C/Program%20Files resolved the issue. However this raises another issue which is when I change to this address, and lookup for this address in the file explorer in the windows OS, it cannot find the path and gives the following error:
Windows cannot find "file:///C/Program%20Files".Check the spelling
and try again
Now the IRI does not direct the individual to an existing folder
Based on my personal experience you need to retry with other reasoners and see if that helps

Using Google Sheets to create a .xslx file from sql data

I am trying to create a .xlsx file with data I retrieve from mysql to a node.js server that serves an angularjs project, but after hours of trying to find something via npm or google I almost gave up!
The two main problems I have are:
My data is in hebrew (i.e. rtl styling + different characters).
The Excel file that I export needs to be styled in a specific way, and it is a pain trying to style an excel file grammatically.
And then I had an idea!
What if I could create a google sheet doc in my google drive as a template including the styling, and then when the user clicks to create a new doc, I would just duplicate this template, and change the values to the new data.
But just trying to understand the google api is a headache on its on, apparently, there are 3! different api's: Drive, Sheets and auth.
So my question is as follows.
Is my idea valid? does anyone think it could work?
Where would I start, is there some guide or npm that would help?
Please don't comment to look in the docs, I am having a hard time to understand where to start from there.
I would suggest creating the template file locally instead of opting to google spreads.
There is a decent module I used sometime back, which does styling pretty well, Its called exceljs.
Though there is always the xlsx module, Which is very powerful but difficult to use
Also if you end up using google spreadsheets, I would suggest giving node-google-spreadsheet module a look

Dotnetnuke.install.config documentation

I am looking to create a custom build of DotNetNuke (vr. 7.4.2). Trying to configure the configuration file (Dotnetnuke.install.config.resources) for the installation in order to fit my custom build seems to be puzzle. There are some specific tags by default in this file and my research on-line gave me some more tags but I could not find something like an official documentation. Something that will give me all the available tags at least an example for each one (if not a list with the all available values of the tags). Is there anything like this?
Sadly there is not detailed documentation out there at this time on all of the options that are available. Most of the default configuration items are values though that you can find in the database in portal settings or host settings from an installation that you have configured.
My past experience has been to create an install and configure it how I want first. This way I have the ability to confirm a few of the values along the way. If you have a more specific question or area of concern we might be able to help.

Google BigQuery - "Not Found: Project [project-id]

I'm having a problem getting started with Google BigQuery. I'm certain I have done everything correctly to create and configure the account. But when I go to the web interface, the it seems unable to find my project. I cannot create/upload any new data and I can't even query the sample data set. All the interface returns is:
Not Found: Project [my-project-id]
However, in the same window, the project name and ID is being listed in the panel on the left...so it looks like BigQuery is aware of my project in some sense. Screen shot below:
I am at a loss of how to rectify this. Does anyone have any ideas of something I might be missing in configuration and/or setup?
Best regards,
Dan
Did you recently set the ID on your project (e.g. xs-analytical-park-g)? If so, there may be a dataset that uses the old name (which was the numeric id of the projcet) which confuses the UI. We periodically search for changed project names and apply updates, but sometimes this can take a while.
I've just checked and it looks like our data should be up-to-date with respect to the project ids, so please let me know if this problem still persists.

Joomla! Quickstart package manual

I made some custom template and I still struggling with the most significant problem, how could I make a quickstart?
All the information what I found, doesn't helped me, including (http://www.youtube.com/watch?v=nqG6Z8nhyBU), which is briefly:
Copy the designed database
Delete configuration.php from copied root
Copy default Joomla! Installation folder to copied root
Export sql.file from original database to copied installation/sql/msql
Rename that to sample_data.sql
Upload whole content to the server
Install as a usual Joomla! site
All the time I getting:
Error: the XML response that was returned from the server is invalid.
in this reason I have to skip this message) when I select install sample data in my Joomla! pack installation. My template not appears as deafult and the places of module postions these are messages for e.g:
Warning: DB reports: DB function failed with error number 1146
Table 'masolat.jos_sobi2_language' doesn't exist SQL=SELECT * FROM jos_sobi2_language ORDER BY sobi2Lang in C:\wamp\www\masolat\components\com_sobi2\config.class.php on line 2534
...and so on.....
So prorbaly the whole process that I've made is false. That's why I would like ask you some help.
Have you any idea, how can I accomplish without any kind of Joomla! copy/restore extension?
Short guide, review, link, explanation will be appreciated.
Thank you in advance!
Regards: Nehogymar
There are two ways that you can install Joomla, the way that you described or the easy way for non-programmers.
Try to install joomla the easy way, There is very good explanation in Joomla documentation. try: http://help.joomla.org/content/view/39/132
There is also a excellent guide for installing Joomla on WAMP:
http://www.compassdesigns.net/joomla-tutorials/how-to-install-joomla-15
The simple way to make a copy of a Joomla website to install is to use Akeeba Backup. It makes a nice ZIP package with all of the files, settings, and database with a nice install script. I have a base install with all of the extensions I use to speed up configuration time.
http://extensions.joomla.org/extensions/access-a-security/site-security/backup/1606

Resources