Skip to main content

#MuleSoft Runtime Manager1 discussing

Good morning. I'm trying to deploy an update of muleApp "sys-sap-api" on my sandbox. The app uses SAP connector. I normally updated it without any issue but starting from yesterday during deploy the runtime log is showing the following error:

A Fatal error has occurred while the server was running:

JCo initialization failed with java.lang.UnsatisfiedLinkError: no sapjco3 in java.library.path: /opt/mule/lib/boot/tanuki (java.lang.ExceptionInInitializerError)

#MuleSoft Runtime Manager

0/9000

Hi All,

 

I've created a very basic project and try to deploy to CloudHub but this exception always occurs:

 

Worker(52.3.242.21): Your application has failed with exception com.mulesoft.mmc.agent.v3.dto.DeploymentException: org.mule.module.launcher.InstallException: Config for app 'basic-tutorial-thanh' not found: /opt/mule/mule-3.7.3-R44/apps/basic-tutorial-thanh/mule-config.xml

 

I put mule-config.xml file in project folder already (the path is: \src\main\app) and in file mule-deploy.properties I configured like this:

 

config.resources=basic-tutorial-thanh.xml, mule-config.xml

 

Could you please help on this? Thanks

 

Thanh

11 answers
  1. Dec 18, 2015, 8:17 AM

    @phanthanh You can deploy your application to CloudHub both ways ...

    You can either create a zip file from your Anypoint studio and then manually deploy the `.zip` file in CloudHub server or you can deploy your application directly to CloudHub server directly from your Anypoint Studio as follows :-

     

    @phanthanh You can deploy your application to CloudHub both ways ... You can either create a zip file from your Anypoint studio and then manually deploy the `.

     

    And the third way is you can use Maven to deploy your Application to CloudHub server .

    But in that case you need to provide your CloudHub credentials in `.pom` file ...

     

    You can deploy it in any ways that you are comfortable. All the above processes are fine.

    Hope this help :)

     

0/9000

Hi,

 

I read through the other forum questions with their answers but none of them resolved my problem. The application work perfect in anypoint studio and as soon as I deploy it in standalone server apps directory, I see this error.

 

I have mule-app.properties file at root of the project and it has one property as env=dev.

 

I have mule-dev.properties in the classes folder. My api.xml file has entry as

 

I am trying to resolve this error for last 4 hours but nothing works. Please help and i have attached log and project structure information

 

[1]: /storage/temp/2833-server-log.txt

19 answers
  1. Dec 23, 2016, 6:25 AM

    That is not a correct solution.. it was causing as in standalone server it was unable to pick the environment variable and this is a common issue ... starting the Mule standalone using a runtime environment variable will solve the issue ..

0/9000

Is there a way to deploy mule domain bundles using MMC ?

 

What is the alternate apporoach to deploy mule domain bundles if MMC is not an option.?

Is there a way to change domain config through invocation of any API's.

 

Please note, we are looking for an automated mechanism to apply Domain changes across multiple nodes (tens if not hundreds) at any given time. A manual process would handicap Ops Teams.

 

Regards

Arun

11 answers
  1. Sep 25, 2015, 6:51 AM

    @arubalac Please accept any of the answers if that helped you .. that will reduce the number of unaccepted answer in the forum

0/9000

Hi ,

 

I am using custom business event processor in mule flow and I am able to configure and display the events through MMC.

I would like to point the events to be written to a database other than the MMC's database infra. Is there any way I could configure in such a way that I could point the events to be published into a different database? Is any Java api or handler that could be used for the same?

 

As per my understanding bussiness events publishes data to a VM queue internally from where MMC agents picks up the data from VM queue and pushes into a database. if so I need the java api that does this job(if api available).

 

Regards

Arun

8 answers
  1. Dec 22, 2015, 1:21 PM

    @ravinderz Hi Ravinder, you have been already mentioned in other thread to put answers related to the topic that helps other users to find the solution. Please put some meaningful answers in the forum rather than writing anything in the forum which destroys the quality of answers here.

0/9000

Hello:

I am using mule 3.5. I want to expose a http endpoint with path=services/{id}/count, where id is an uri param. I am using old http endpoints.

Problem:

java.net.URISyntaxException: Illegal character in path at index 31: http://localhost:8081/services/{id}/count.

 

Thanks

10 answers
  1. Oct 14, 2015, 6:17 PM

    This is to read query parameter not uri param .. pls read the discussion on the above link carefully

0/9000

Hi,

How can we check "mmc-distribution-mule-console-bundle-3.7.0" is enterprise edition? or community edition?

 

My another doubt is like i have downloaded "mmc-distribution-mule-console-bundle-3.7.0" and "mule-ee-distribution-standalone-3.7.1.tar" in the first one i found both 'mule-enterprise-3.7.0' and 'mmc-3.7.0(tomcat)' but in second only 'mule-enterprise-standalone-3.7.1' is there.

 

how to use second one "mule-ee-distribution-standalone-3.7.1.tar"?

 

Thanks for your help and support.

8 answers
0/9000

Hi All,

 

I have mulsoft application zip which i need to Deploy through anypoint but i need to do this programatically could you please provide details on what API i need to use to upload and environments

4 answers
0/9000

Does any one know how does the deployment of services on the gateway happen if there are

multiple gateway instances? Does it require us to deploy on each gateway separately?

3 answers
  1. Nov 6, 2018, 4:34 AM

    Are you talking about API gateway.

    If you are using anypoint platform for deploying application then this gives you options to select the gateway while deploying your proxy application in gateway. Note, if you already have a group of gateway configured you can deploy directly to the group avoiding deploying separately in each gateway

    https://blogs.mulesoft.com/dev/api-dev/proxying-with-api-manager/

0/9000

Hello,

How we can backup application deployed in Mule MMC server for disaster recovery?

3 answers
  1. Nov 3, 2018, 6:36 PM

    MMC by default supports internal derby database to persist environment and transaction data. If we start our MMC application under Apache Tomcat server, we can see under the bin folder there is a folder named as mmc-data is created where it stores all the MMC related data to support all the MMC functionalities.

    All the information of MMC is stored there so taking backup of that will help you in backing up MMC related information like server details, cluster details, application deployed and all the required info.

    It can be also restored during any disaster.

    MMC can also use external db for this. If your MMC is using external db then it will be easy for you to take the db backup.

    Check this for getting the idea behind the scene in MMC storage

    http://bushorn.com/connecting-the-mmc-with-mssql-database/

0/9000