Quantcast
Channel: Mendix Forum Questions
Viewing all 83469 articles
Browse latest View live

Can I run 2 separate apps on same host using same Mendix installation and same license?

$
0
0

Can I run 2 separate apps on same host using same Mendix installation and same license?


How do I determine if a Micreflow is running in the background?

$
0
0

I have a microflow that runs both in the foreground and is also called by a flow that is in the background. I need to make a decision based on if the flow is in the background or foregound. Is there a way that I can determine if I'm running in the background?

Is SNMP Monitoring possible in the Mendix Cloud?

$
0
0

Hi!

Our client requires monitoring of several Mendix applications in their IT landscape that are hosted in the Mendix Cloud v3.
The monitoring consists of performing health checks, measuring CPU/RAM usage etc, to ensure uptime, quality of services, etc.
Their IT department uses reporting tools which read the Simple Network Monitoring Protocol (SNMP) values from the servers that they monitor.

We want to monitoring on Mendix Cloud app nodes to this in two ways:

1. Reading SNMP values (like CPU usage, memory usage etc) from the Mendix apps in the Mendix Cloud.
Is this possible in any way?

2. Sending pings to the Mendix app nodes as a health check.
Is there any timing treshold that we have to take into account while pinging, so it won't be seen as intrusive or worse, an attack (as Mendix Cloud v3 is hosted on Amazon)? I.e. only ping once per minute?

Previous suggestions about using SNMP4j and JMX for monitoring (see also http://www.snmp4j.org/ and http://www.andrejkoelewijn.com/blog/2013/11/18/monitoring-mendix-using-jmx/) refer to Mendix on-premise installations instead of the Mendix Cloud.

CSS to Differentiate type of message(Information,Warning and Error)

$
0
0

Hi Team,

 

Can anyone please suggest me, is there any way to change css for mendix show message activity functionality?

Right now its showing same color for all kind of messages.

Expected Blue for Information,Yellow for Warning and Red for Error messages.

 

 

Regards,

Swathi

Unexpected appliation crash - Java Heap space error with no users logged in or any other activity

$
0
0

Our application crashed this morning (around 8 ) but I can't seem to figure out why. The logs do not show much, no users where logged in and there are currently no scheduled events in the application. Any suggestions on where to start looking?

 

Mar 16 19:04:27.068 - INFO - WebUI: Anonymous user 'Anonymous_0875ead4-8a28-4747-be8a-05417592d802' created (Number of concurrent sessions: 2).
Mar 16 19:16:49.327 - INFO - Core: Removing session for user 'Anonymous_0875ead4-8a28-4747-be8a-05417592d802'
Mar 17 07:57:14.607 - CRITICAL - M2EE: Java heap space
Mar 17 07:57:14.607 - ERROR - M2EE: An error occurred while executing action 'get_all_thread_stack_traces'.
Mar 17 07:57:20.337 - ERROR - M2EE: (1/23) com.mendix.m2ee.api.AdminException: JVM Error!
Mar 17 07:57:21.747 - ERROR - M2EE: (2/23) #011at com.mendix.m2ee.appcontainer.server.handler.HttpAdminHandler.handle(HttpAdminHandler.java:149)
Mar 17 07:57:21.747 - ERROR - M2EE: (3/23)
Mar 17 07:57:21.747 - ERROR - M2EE: (4/23) Caused by: java.lang.OutOfMemoryError: Java heap space
Mar 17 07:57:21.747 - ERROR - M2EE: (5/23) #011at java.util.Arrays.copyOf(Arrays.java:3332)
Mar 17 07:57:21.747 - ERROR - M2EE: (6/23) #011at java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:124)
Mar 17 07:57:21.747 - ERROR - M2EE: (7/23) #011at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:649)
Mar 17 07:57:24.598 - ERROR - M2EE: (8/23) #011at java.lang.StringBuffer.append(StringBuffer.java:381)
Mar 17 07:57:24.598 - ERROR - M2EE: (9/23) #011at org.json.JSONObject.toString(JSONObject.java:1396)
Mar 17 07:57:24.598 - ERROR - M2EE: (10/23) #011at com.mendix.m2ee.appcontainer.server.handler.HttpAdminHandler.handle(HttpAdminHandler.java:127)
Mar 17 07:57:24.598 - ERROR - M2EE: (11/23) #011at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
Mar 17 07:57:24.598 - ERROR - M2EE: (12/23) #011at org.eclipse.jetty.server.Server.handle(Server.java:368)
Mar 17 07:57:24.598 - ERROR - M2EE: (13/23) #011at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489)
Mar 17 07:57:25.984 - ERROR - M2EE: (14/23) #011at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:953)
Mar 17 07:57:25.985 - ERROR - M2EE: (15/23) #011at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1014)
Mar 17 07:57:25.985 - ERROR - M2EE: (16/23) #011at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:861)
Mar 17 07:57:27.390 - ERROR - M2EE: (17/23) #011at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)
Mar 17 07:57:31.740 - ERROR - M2EE: (18/23) #011at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
Mar 17 07:57:31.740 - ERROR - M2EE: (19/23) #011at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:628)
Mar 17 07:57:31.741 - ERROR - M2EE: (20/23) #011at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
Mar 17 07:57:31.741 - ERROR - M2EE: (21/23) #011at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
Mar 17 07:57:31.742 - ERROR - M2EE: (22/23) #011at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
Mar 17 07:57:31.742 - ERROR - M2EE: (23/23) #011at java.lang.Thread.run(Thread.java:745)
Mar 17 07:57:31.743 - WARNING - Jetty: /
Mar 17 07:57:31.743 - WARNING - Jetty: (1/23) java.lang.OutOfMemoryError: Java heap space
Mar 17 07:57:31.744 - WARNING - Jetty: (2/23) #011at java.util.Arrays.copyOf(Arrays.java:3332)
Mar 17 07:57:31.744 - WARNING - Jetty: (3/23) #011at java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:124)
Mar 17 07:57:31.744 - WARNING - Jetty: (4/23) #011at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:448)
Mar 17 07:57:31.744 - WARNING - Jetty: (5/23) #011at java.lang.StringBuffer.append(StringBuffer.java:270)
Mar 17 07:57:31.744 - WARNING - Jetty: (6/23) #011at org.json.JSONObject.toString(JSONObject.java:1401)
Mar 17 07:57:31.744 - WARNING - Jetty: (7/23) #011at org.json.JSONObject.valueToString(JSONObject.java:1535)
Mar 17 07:57:31.744 - WARNING - Jetty: (8/23) #011at org.json.JSONObject.toString(JSONObject.java:1401)
Mar 17 07:57:31.744 - WARNING - Jetty: (9/23) #011at com.mendix.m2ee.appcontainer.server.handler.HttpAdminHandler.processAdminException(HttpAdminHandler.java:251)
Mar 17 07:57:31.744 - WARNING - Jetty: (10/23) #011at com.mendix.m2ee.appcontainer.server.handler.HttpAdminHandler.handle(HttpAdminHandler.java:152)
Mar 17 07:57:31.744 - WARNING - Jetty: (11/23) #011at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
Mar 17 07:57:31.745 - WARNING - Jetty: (12/23) #011at org.eclipse.jetty.server.Server.handle(Server.java:368)
Mar 17 07:57:31.745 - WARNING - Jetty: (13/23) #011at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489)
Mar 17 07:57:33.131 - WARNING - Jetty: (14/23) #011at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:953)
Mar 17 07:57:33.131 - WARNING - Jetty: (15/23) #011at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1014)
Mar 17 07:57:33.132 - WARNING - Jetty: (16/23) #011at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:861)
Mar 17 07:57:33.132 - WARNING - Jetty: (17/23) #011at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)
Mar 17 07:57:33.132 - WARNING - Jetty: (18/23) #011at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
Mar 17 07:57:33.134 - WARNING - Jetty: (19/23) #011at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:628)
Mar 17 07:57:33.134 - WARNING - Jetty: (20/23) #011at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
Mar 17 07:57:33.134 - WARNING - Jetty: (21/23) #011at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
Mar 17 07:57:33.134 - WARNING - Jetty: (22/23) #011at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
Mar 17 07:57:33.134 - WARNING - Jetty: (23/23) #011at java.lang.Thread.run(Thread.java:745)
Mar 17 07:58:02.069 - CRITICAL - M2EE: Java heap space
Mar 17 07:58:02.069 - ERROR - M2EE: An error occurred while executing action 'get_all_thread_stack_traces'.
Mar 17 07:58:03.467 - ERROR - M2EE: (1/23) com.mendix.m2ee.api.AdminException: JVM Error!
Mar 17 07:58:03.467 - ERROR - M2EE: (2/23) #011at com.mendix.m2ee.appcontainer.server.handler.HttpAdminHandler.handle(HttpAdminHandler.java:149)
Mar 17 07:58:03.467 - ERROR - M2EE: (3/23)
Mar 17 07:58:03.467 - ERROR - M2EE: (4/23) Caused by: java.lang.OutOfMemoryError: Java heap space
Mar 17 07:58:03.467 - ERROR - M2EE: (5/23) #011at java.util.Arrays.copyOf(Arrays.java:3332)
Mar 17 07:58:04.854 - ERROR - M2EE: (6/23) #011at java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:124)
Mar 17 07:58:04.854 - ERROR - M2EE: (7/23) #011at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:649)
Mar 17 07:58:04.854 - ERROR - M2EE: (8/23) #011at java.lang.StringBuffer.append(StringBuffer.java:381)
Mar 17 07:58:04.854 - ERROR - M2EE: (9/23) #011at org.json.JSONObject.toString(JSONObject.java:1396)
Mar 17 07:58:04.854 - ERROR - M2EE: (10/23) #011at com.mendix.m2ee.appcontainer.server.handler.HttpAdminHandler.handle(HttpAdminHandler.java:127)
Mar 17 07:58:04.854 - ERROR - M2EE: (11/23) #011at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
Mar 17 07:58:04.854 - ERROR - M2EE: (12/23) #011at org.eclipse.jetty.server.Server.handle(Server.java:368)
Mar 17 07:58:04.854 - ERROR - M2EE: (13/23) #011at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489)
Mar 17 07:58:04.854 - ERROR - M2EE: (14/23) #011at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:953)
Mar 17 07:58:04.854 - ERROR - M2EE: (15/23) #011at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1014)
Mar 17 07:58:09.085 - ERROR - M2EE: (16/23) #011at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:861)
Mar 17 07:58:09.086 - ERROR - M2EE: (17/23) #011at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)
Mar 17 07:58:09.086 - ERROR - M2EE: (18/23) #011at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
Mar 17 07:58:09.086 - ERROR - M2EE: (19/23) #011at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:628)
Mar 17 07:58:11.856 - ERROR - M2EE: (20/23) #011at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
Mar 17 07:58:11.856 - ERROR - M2EE: (21/23) #011at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
Mar 17 07:58:11.856 - ERROR - M2EE: (22/23) #011at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
Mar 17 07:58:11.856 - ERROR - M2EE: (23/23) #011at java.lang.Thread.run(Thread.java:745)
Mar 17 07:58:18.772 - WARNING - Jetty: /
Mar 17 07:58:18.772 - WARNING - Jetty: (1/21) java.lang.OutOfMemoryError: Java heap space
Mar 17 07:58:18.772 - WARNING - Jetty: (2/21) #011at java.util.Arrays.copyOf(Arrays.java:3332)
Mar 17 07:58:18.772 - WARNING - Jetty: (3/21) #011at java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:124)
Mar 17 07:58:18.772 - WARNING - Jetty: (4/21) #011at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:649)
Mar 17 07:58:18.772 - WARNING - Jetty: (5/21) #011at java.lang.StringBuffer.append(StringBuffer.java:381)
Mar 17 07:58:18.772 - WARNING - Jetty: (6/21) #011at org.json.JSONObject.toString(JSONObject.java:1396)
Mar 17 07:58:18.773 - WARNING - Jetty: (7/21) #011at com.mendix.m2ee.appcontainer.server.handler.HttpAdminHandler.processAdminException(HttpAdminHandler.java:251)
Mar 17 07:58:18.773 - WARNING - Jetty: (8/21) #011at com.mendix.m2ee.appcontainer.server.handler.HttpAdminHandler.handle(HttpAdminHandler.java:152)
Mar 17 07:58:18.773 - WARNING - Jetty: (9/21) #011at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
Mar 17 07:58:18.773 - WARNING - Jetty: (10/21) #011at org.eclipse.jetty.server.Server.handle(Server.java:368)
Mar 17 07:58:18.773 - WARNING - Jetty: (11/21) #011at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489)
Mar 17 07:58:18.773 - WARNING - Jetty: (12/21) #011at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:953)
Mar 17 07:58:18.773 - WARNING - Jetty: (13/21) #011at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1014)
Mar 17 07:58:18.773 - WARNING - Jetty: (14/21) #011at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:861)
Mar 17 07:58:18.773 - WARNING - Jetty: (15/21) #011at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)
Mar 17 07:58:18.774 - WARNING - Jetty: (16/21) #011at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
Mar 17 07:58:18.774 - WARNING - Jetty: (17/21) #011at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:628)
Mar 17 07:58:18.774 - WARNING - Jetty: (18/21) #011at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
Mar 17 07:58:18.774 - WARNING - Jetty: (19/21) #011at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
Mar 17 07:58:18.774 - WARNING - Jetty: (20/21) #011at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
Mar 17 07:58:18.774 - WARNING - Jetty: (21/21) #011at java.lang.Thread.run(Thread.java:745)
Mar 17 08:02:52.693 - CRITICAL - M2EE: Java heap space
Mar 17 08:02:52.693 - ERROR - M2EE: An error occurred while executing action 'get_all_thread_stack_traces'.
Mar 17 08:02:56.985 - ERROR - M2EE: (1/4) com.mendix.m2ee.api.AdminException: JVM Error!
Mar 17 08:02:56.985 - ERROR - M2EE: (2/4) #011at com.mendix.m2ee.appcontainer.server.handler.HttpAdminHandler.handle(HttpAdminHandler.java:149)
Mar 17 08:02:56.985 - ERROR - M2EE: (3/4)
Mar 17 08:02:56.985 - ERROR - M2EE: (4/4) Caused by: java.lang.OutOfMemoryError: Java heap space
Mar 17 08:03:06.837 - WARNING - Jetty: /
Mar 17 08:03:06.837 - WARNING - Jetty: (1/1) java.lang.OutOfMemoryError: Java heap space
Mar 17 08:11:20.857 - CRITICAL - M2EE: An unhandled error occurred in the MxRuntime.
Mar 17 08:11:20.857 - CRITICAL - M2EE: (1/1) java.lang.OutOfMemoryError: Java heap space
Mar 17 08:11:23.930 - CRITICAL - M2EE: An unhandled error occurred in the MxRuntime.
Mar 17 08:11:23.930 - CRITICAL - M2EE: (1/1) java.lang.OutOfMemoryError: Java heap space
Mar 17 08:12:38.789 - CRITICAL - ActorSystem: Uncaught fatal error from thread [MxRuntimeSystem-action-dispatcher-114] shutting down ActorSystem [MxRuntimeSystem]
Mar 17 08:12:40.279 - CRITICAL - ActorSystem: (1/1) java.lang.OutOfMemoryError: Java heap space
Mar 17 08:22:06.543 - CRITICAL - ActorSystem: Uncaught fatal error from thread [MxRuntimeSystem-action-dispatcher-8303] shutting down ActorSystem [MxRuntimeSystem]
Mar 17 08:22:06.543 - CRITICAL - ActorSystem: (1/1) java.lang.OutOfMemoryError: Java heap space
Mar 17 08:28:53.949 - CRITICAL - ActorSystem: Uncaught fatal error from thread [MxRuntimeSystem-action-dispatcher-80] shutting down ActorSystem [MxRuntimeSystem]
Mar 17 08:28:55.425 - CRITICAL - ActorSystem: (1/1) java.lang.OutOfMemoryError: Java heap space

 

Looking at some metrics:

 

XAS seems to ''spike'' (not sure how to interpet this) at some points. But it seems to spike during times that the application is not being used (6 in the morning). 

Server settings for cloud foundry deployment

$
0
0

I am trying to deploy my application to cloudfoundry. I have bound a mysql service instance, and set the DATABASE_URL,DEVELOPEMENT_MODE and ADMIN_PASSWORD.

The 'Run on Cloud foundry' ends up with the following logs :

The DB does not exist.

 But I have mentioned the database name in the DATABASE_URL as given in the VCAP of the application.

What else do I need to set?

 

 

 

Cloud foundry app start fails

$
0
0

I have pushed my app to cloud foundry and provided proper Database url in the following format 'mysql://username:password@ip:port/dbName'. Service connection is established but i get the following error -   ERROR: Executing start did not succeed: result: 2, message: The database to be used does not exist.WARNING : DB does not exists.

Is there any place where i need to specify the dbname.

 

 

How to transposee (columns -> rows, rows -> columns) excel export from the excel exporter

$
0
0

Hi guys,

 

After some problems with the java stuff i succeeded to install the excel exporter. Now my output excel template is okay, BUT I want to transpose the template. This means that the 5 columns i have and 41 rows must become 5 rows and 41 columns.

 

From:

x | x | x | x | x

...

...

...

 

 

To:

.... ..... .... .... .... .....

X

X

X
X

X

 

 

Yes, there is a simple excel copy paste with transpose action, but I prefer to deliver a complete file to the user...so who could help?


Are App Services secure?

$
0
0

Using Webservices we have the ability to define custom authentication schemes like Kerberos.

App services on the other hand only has username/password authentication. Is this secure enough and how would you argue that for good IT security governance?

How to: Use a microflow to export entity data into a text file and send via ftp

$
0
0

Wondering if someone could point me in the right direction for creating a txt file that will be sent via SFTP to a server.

Our goal is to use a microflow that will take the data from an entity and create a text file that will be sent via ftp.

I'm new to the tool and was wondering if anyone has done this and what steps they used.

Here is what I outlined but seem to find myself struggling. Any thoughts or recommendations would be great.

I downloaded SFTP module and plan to customize the IVK_Upload module (from the SFTP module)  to create the txt file from the entity where the data resides.

Steps:

  1. Retrieve the entity (from data model)
  2. Build a string of the data
  3. Use the StringToFile to create a file
  4. Thinking I have to convert or create a system document from this
  5. Then I assume that once the file (doc) is created that I can SFTP.JA_SendDocument

 

Issue when changing the font color of texts in Chart JS?

$
0
0

Hi all,

 

I want to change the the color of the font (title, texts at the x and y axis) and when looking in the widget in the barchart.css I see that it is the same color as the color of gridlines. When I change the color of gridlines in the widget, the color is still not changed...do i something wrong?

Email template module throwing error Ids should not be null

$
0
0

After a migration from Mx4 to Mx6 we also updated the E-mail module with templates. I now have regurlaly the stack trace below in my log.

I wonder how this error can be thrown. As far as I can tell from the code this should never be happening. What am I overlooking?

Regards,

Ronald

[EDIT]

It seems that after the migrations the model reflection got out of sync. Refreshing the model reflection solved the problem for some templates but caused the above error for other templates. For these templates the tokens looked good bur produced the above error, deleting and recreating them solved the issue.

 

Mar 17 12:05:38.435 - ERROR - TokenReplacer: (1/78) java.lang.IllegalArgumentException: Ids should not be null
Mar 17 12:05:38.435 - ERROR - TokenReplacer: (2/78) #011at com.mendix.core.component.InternalCore.retrieveId(InternalCore.java:932)
Mar 17 12:05:38.435 - ERROR - TokenReplacer: (3/78) #011at com.mendix.core.Core.retrieveId(Core.java:622)
Mar 17 12:05:38.435 - ERROR - TokenReplacer: (4/78) #011at mxmodelreflection.TokenReplacer.replaceToken(TokenReplacer.java:104)
Mar 17 12:05:38.435 - ERROR - TokenReplacer: (5/78) #011at mxmodelreflection.TokenReplacer.replaceTokens(TokenReplacer.java:57)
Mar 17 12:05:38.435 - ERROR - TokenReplacer: (6/78) #011at emailtemplate.actions.ReplaceEmailTemplateTokens.executeAction(ReplaceEmailTemplateTokens.java:44)
Mar 17 12:05:38.436 - ERROR - TokenReplacer: (7/78) #011at emailtemplate.actions.ReplaceEmailTemplateTokens.executeAction(ReplaceEmailTemplateTokens.java:17)
Mar 17 12:05:38.436 - ERROR - TokenReplacer: (8/78) #011at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:49)
Mar 17 12:05:38.436 - ERROR - TokenReplacer: (9/78) #011at com.mendix.core.actionmanagement.CoreAction.doCall(CoreAction.java:260)
Mar 17 12:05:38.436 - ERROR - TokenReplacer: (10/78) #011at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:248)
Mar 17 12:05:38.436 - ERROR - TokenReplacer: (11/78) #011at com.mendix.core.actionmanagement.ActionManager$1.execute(ActionManager.java:168)
Mar 17 12:05:38.436 - ERROR - TokenReplacer: (12/78) #011at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:36)
Mar 17 12:05:38.436 - ERROR - TokenReplacer: (13/78) #011at com.mendix.core.actionmanagement.ActionManager.executeSync(ActionManager.java:172)
Mar 17 12:05:38.436 - ERROR - TokenReplacer: (14/78) #011at com.mendix.core.component.InternalCore.execute(InternalCore.java:390)
Mar 17 12:05:38.436 - ERROR - TokenReplacer: (15/78) #011at com.mendix.modules.microflowengine.actions.actioncall.JavaAction.execute(JavaAction.scala:52)
Mar 17 12:05:38.436 - ERROR - TokenReplacer: (16/78) #011at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.execute(MicroflowObject.java:47)
Mar 17 12:05:38.436 - ERROR - TokenReplacer: (17/78) #011at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAfterBreakingIfNecessary(MicroflowImpl.java:192)
Mar 17 12:05:38.436 - ERROR - TokenReplacer: (18/78) #011at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAction(MicroflowImpl.java:149)
Mar 17 12:05:38.436 - ERROR - TokenReplacer: (19/78) #011at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:49)
Mar 17 12:05:38.436 - ERROR - TokenReplacer: (20/78) #011at com.mendix.core.actionmanagement.CoreAction.doCall(CoreAction.java:260)
Mar 17 12:05:38.436 - ERROR - TokenReplacer: (21/78) #011at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:248)
Mar 17 12:05:38.436 - ERROR - TokenReplacer: (22/78) #011at com.mendix.core.actionmanagement.ActionManager$1.execute(ActionManager.java:168)
Mar 17 12:05:38.436 - ERROR - TokenReplacer: (23/78) #011at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:36)
Mar 17 12:05:38.436 - ERROR - TokenReplacer: (24/78) #011at com.mendix.core.actionmanagement.ActionManager.executeSync(ActionManager.java:172)
Mar 17 12:05:38.437 - ERROR - TokenReplacer: (25/78) #011at com.mendix.core.component.InternalCore.executeSync(InternalCore.java:472)
Mar 17 12:05:38.437 - ERROR - TokenReplacer: (26/78) #011at com.mendix.modules.microflowengine.actions.SubMicroflowAction.execute(SubMicroflowAction.scala:43)
Mar 17 12:05:38.437 - ERROR - TokenReplacer: (27/78) #011at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.execute(MicroflowObject.java:47)
Mar 17 12:05:38.437 - ERROR - TokenReplacer: (28/78) #011at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAfterBreakingIfNecessary(MicroflowImpl.java:192)
Mar 17 12:05:38.437 - ERROR - TokenReplacer: (29/78) #011at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAction(MicroflowImpl.java:149)
Mar 17 12:05:38.437 - ERROR - TokenReplacer: (30/78) #011at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:49)
Mar 17 12:05:38.437 - ERROR - TokenReplacer: (31/78) #011at com.mendix.core.actionmanagement.CoreAction.doCall(CoreAction.java:260)
Mar 17 12:05:38.437 - ERROR - TokenReplacer: (32/78) #011at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:248)
Mar 17 12:05:38.437 - ERROR - TokenReplacer: (33/78) #011at com.mendix.core.actionmanagement.ActionManager$1.execute(ActionManager.java:168)
Mar 17 12:05:38.437 - ERROR - TokenReplacer: (34/78) #011at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:36)
Mar 17 12:05:38.437 - ERROR - TokenReplacer: (35/78) #011at com.mendix.core.actionmanagement.ActionManager.executeSync(ActionManager.java:172)
Mar 17 12:05:38.437 - ERROR - TokenReplacer: (36/78) #011at com.mendix.core.component.InternalCore.executeSync(InternalCore.java:472)
Mar 17 12:05:38.437 - ERROR - TokenReplacer: (37/78) #011at com.mendix.modules.microflowengine.actions.SubMicroflowAction.execute(SubMicroflowAction.scala:43)
Mar 17 12:05:38.437 - ERROR - TokenReplacer: (38/78) #011at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.execute(MicroflowObject.java:47)
Mar 17 12:05:38.437 - ERROR - TokenReplacer: (39/78) #011at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAfterBreakingIfNecessary(MicroflowImpl.java:192)
Mar 17 12:05:38.437 - ERROR - TokenReplacer: (40/78) #011at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAction(MicroflowImpl.java:149)
Mar 17 12:05:38.437 - ERROR - TokenReplacer: (41/78) #011at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:49)
Mar 17 12:05:38.438 - ERROR - TokenReplacer: (42/78) #011at com.mendix.core.actionmanagement.CoreAction.doCall(CoreAction.java:260)
Mar 17 12:05:38.438 - ERROR - TokenReplacer: (43/78) #011at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:248)
Mar 17 12:05:38.438 - ERROR - TokenReplacer: (44/78) #011at com.mendix.core.actionmanagement.ActionManager$1.execute(ActionManager.java:168)
Mar 17 12:05:38.438 - ERROR - TokenReplacer: (45/78) #011at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:36)
Mar 17 12:05:38.438 - ERROR - TokenReplacer: (46/78) #011at com.mendix.core.actionmanagement.ActionManager.executeSync(ActionManager.java:172)
Mar 17 12:05:38.438 - ERROR - TokenReplacer: (47/78) #011at com.mendix.core.component.InternalCore.executeSync(InternalCore.java:472)
Mar 17 12:05:38.438 - ERROR - TokenReplacer: (48/78) #011at com.mendix.modules.microflowengine.actions.SubMicroflowAction.execute(SubMicroflowAction.scala:43)
Mar 17 12:05:38.438 - ERROR - TokenReplacer: (49/78) #011at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.execute(MicroflowObject.java:47)
Mar 17 12:05:38.438 - ERROR - TokenReplacer: (50/78) #011at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAfterBreakingIfNecessary(MicroflowImpl.java:192)
Mar 17 12:05:38.438 - ERROR - TokenReplacer: (51/78) #011at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAction(MicroflowImpl.java:149)
Mar 17 12:05:38.438 - ERROR - TokenReplacer: (52/78) #011at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:49)
Mar 17 12:05:38.438 - ERROR - TokenReplacer: (53/78) #011at com.mendix.core.actionmanagement.CoreAction.doCall(CoreAction.java:260)
Mar 17 12:05:38.438 - ERROR - TokenReplacer: (54/78) #011at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:248)
Mar 17 12:05:38.438 - ERROR - TokenReplacer: (55/78) #011at com.mendix.core.actionmanagement.ActionManager$1.execute(ActionManager.java:168)
Mar 17 12:05:38.438 - ERROR - TokenReplacer: (56/78) #011at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:36)
Mar 17 12:05:38.438 - ERROR - TokenReplacer: (57/78) #011at com.mendix.core.actionmanagement.ActionManager.executeSync(ActionManager.java:172)
Mar 17 12:05:38.438 - ERROR - TokenReplacer: (58/78) #011at com.mendix.core.component.InternalCore.execute(InternalCore.java:390)
Mar 17 12:05:38.438 - ERROR - TokenReplacer: (59/78) #011at com.mendix.webui.actions.client.ExecuteAction.execute(ExecuteAction.java:144)
Mar 17 12:05:38.438 - ERROR - TokenReplacer: (60/78) #011at com.mendix.webui.requesthandling.ClientRequestHandler$$anonfun$handleRequest$1.apply$mcV$sp(ClientRequestHandler.scala:311)
Mar 17 12:05:38.439 - ERROR - TokenReplacer: (61/78) #011at com.mendix.webui.requesthandling.ClientRequestHandler$$anonfun$handleRequest$1.apply(ClientRequestHandler.scala:301)
Mar 17 12:05:38.439 - ERROR - TokenReplacer: (62/78) #011at com.mendix.webui.requesthandling.ClientRequestHandler$$anonfun$handleRequest$1.apply(ClientRequestHandler.scala:301)
Mar 17 12:05:38.439 - ERROR - TokenReplacer: (63/78) #011at com.mendix.core.session.Worker$$anonfun$receive$3$$anonfun$2$$anon$1.execute(ActionDispatching.scala:143)
Mar 17 12:05:38.439 - ERROR - TokenReplacer: (64/78) #011at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:36)
Mar 17 12:05:38.439 - ERROR - TokenReplacer: (65/78) #011at com.mendix.core.session.Worker$$anonfun$receive$3$$anonfun$2.apply(ActionDispatching.scala:145)
Mar 17 12:05:38.439 - ERROR - TokenReplacer: (66/78) #011at scala.util.Try$.apply(Try.scala:192)
Mar 17 12:05:38.439 - ERROR - TokenReplacer: (67/78) #011at com.mendix.core.session.Worker$$anonfun$receive$3.applyOrElse(ActionDispatching.scala:139)
Mar 17 12:05:38.439 - ERROR - TokenReplacer: (68/78) #011at akka.actor.Actor$class.aroundReceive(Actor.scala:465)
Mar 17 12:05:38.439 - ERROR - TokenReplacer: (69/78) #011at com.mendix.core.session.Worker.aroundReceive(ActionDispatching.scala:135)
Mar 17 12:05:38.439 - ERROR - TokenReplacer: (70/78) #011at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516)
Mar 17 12:05:38.439 - ERROR - TokenReplacer: (71/78) #011at akka.actor.ActorCell.invoke(ActorCell.scala:487)
Mar 17 12:05:38.439 - ERROR - TokenReplacer: (72/78) #011at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:238)
Mar 17 12:05:38.439 - ERROR - TokenReplacer: (73/78) #011at akka.dispatch.Mailbox.run(Mailbox.scala:220)
Mar 17 12:05:38.439 - ERROR - TokenReplacer: (74/78) #011at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:393)
Mar 17 12:05:38.439 - ERROR - TokenReplacer: (75/78) #011at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
Mar 17 12:05:38.439 - ERROR - TokenReplacer: (76/78) #011at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
Mar 17 12:05:38.439 - ERROR - TokenReplacer: (77/78) #011at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
Mar 17 12:05:38.439 - ERROR - TokenReplacer: (78/78) #011at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)

 

Structure my test scripts

$
0
0

Hello all, I have created a lot different test script for our app, so much I am having trouble keeping them seperated. So I want to structure my tests in ATS, what is the best way to do this?

What the heck "runtime.start() should not throw anything other than AdminException!" ?

$
0
0

Hi guys

 

Like you , I don't like too have errors preweekend, but this one is totally unknown to me. It became visible after a commit with domain model and mf changes....and I didnt do anything extraordinary...so totally wondering where this came from.

 

A clean deployment did not help, earlier this weeks I did overwrite the jar files...but that went okay And now (several commits later) I get this one...Any preweekend hero's?


 

com.mendix.m2ee.api.AdminException: runtime.start() should not throw anything other than AdminException!
    at com.mendix.m2ee.appcontainer.actions.StartAction.startRuntime(StartAction.java:55)

Caused by: com.mendix.connectionbus.ConnectionBusRuntimeException: Could not retrieve version information from system tables
    at com.mendix.connectionbus.modelsynchronization.analysis.DatabaseInformationGetter.getVersionsAndLastSyncDate(DatabaseInformationGetter.java:101)
    at com.mendix.connectionbus.modelsynchronization.analysis.DatabaseInformationGetter.getDatabaseinformation(DatabaseInformationGetter.java:58)
    at com.mendix.connectionbus.modelsynchronization.analysis.DatabaseAnalyzer.analyzeAndFillMigrationCommands(DatabaseAnalyzer.java:76)
    at com.mendix.connectionbus.modelsynchronization.ModelSynchronizationUpdater.analyzeAndRender(ModelSynchronizationUpdater.java:37)
    at com.mendix.connectionbus.modelsynchronization.SynchronizationManager.analyzeModel(SynchronizationManager.scala:156)
    at com.mendix.connectionbus.modelsynchronization.SynchronizationManager.analyzeCurrentDatabase(SynchronizationManager.scala:80)
    at com.mendix.connectionbus.modelsynchronization.SynchronizationManager.analyze(SynchronizationManager.scala:69)
    at com.mendix.connectionbus.ConnectionBusImpl.validate(ConnectionBusImpl.java:358)
    at com.mendix.connectionbus.ConnectionBusImpl.validateLocalComponent(ConnectionBusImpl.java:297)
    at com.mendix.core.impl.MxRuntimeImpl.validateDatabase(MxRuntimeImpl.java:439)
    at com.mendix.core.impl.MxRuntimeImpl.start(MxRuntimeImpl.java:293)
    at com.mendix.core.impl.MxRuntimeImpl.start(MxRuntimeImpl.java:243)
    at com.mendix.m2ee.appcontainer.actions.StartAction.startRuntime(StartAction.java:50)
    at com.mendix.m2ee.appcontainer.actions.StartAction.execute(StartAction.java:31)
    at com.mendix.m2ee.appcontainer.server.handler.HttpAdminHandler.handle(HttpAdminHandler.java:122)
    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
    at org.eclipse.jetty.server.Server.handle(Server.java:368)
    at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489)
    at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:953)
    at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1014)
    at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:861)
    at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)
    at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
    at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:628)
    at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
    at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
    at java.lang.Thread.run(Thread.java:745)

 

How do I use { character in label text?

$
0
0

I want to use

{foo}

in a label text on a screen.

However, if I do this, I get an error saying a brace should be followed by another brace or by a number.

So how do I escape { in label text?


Shareable link widget

$
0
0

Hi all,

I wanted a shareable link widget very similar to the one in forum on right hand side bar. I am guessing the link was generated using the deeplink module and the widget button might have some java action in it that copies the the link.  I was hoping if anyone can share/publish that shareable link widget in appstore or share some ideas on how to best do it.

I am sure a lot of people have this issues where they want individual page links to get to a certain page so this would be a great help to the mendix community.

 

Many Thanks,

 

Savan Vyas 

 

Open a tab inside a page with a action button

$
0
0

Hey everyone!

If got the following setup.

A action button that shows a page when clicked on. the page has 3 tabs "own" "other" and "request"

The page  opens in the "own" tab when I click on the action button. Is it possible to only set the action button to open the page but with the "request" tab open first.

thnx everyone!

grtz,

Robert

 

Widget Not working: Jira Issue Collector

$
0
0

Hi Team,

 

I am trying to used Jira Issue collector widget in our project built in 6.7.1 but its not working.

unable to see any button related to feedback on screen.

any pointers would be appreciated.

 

Regards,

Swathi

Change Dateformat

$
0
0

Hi,

Although I have changed the default language date format of Project to dd.MM.yyyy from Project settings, it still displays the dates as MM/dd/yyyy.

How can I change this? 

Thanks in advance,

Best regards,

Armagan

Is an import mapping when calling webservices required from Mendix version 6.10.1 and onwards?

$
0
0

Hello,

When calling a webservice in Mendix I often find myself in situations where I don't want to do anything with the response the webservice gives me. In Mx version 6.9 I could just have no import mapping defined and Mendix would be ok with that. However in Mendix version 6.10.# it seems an import mapping is required. As seen in the screenshot below.

My question is: Is there a way to get around this requirement? I would rather not make a dummy import mapping that won't be used.

Thanks in advance.

Chris

Viewing all 83469 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>