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

Not able to install Mendix 7.23.2/7.23.3 on windows after migrating to openJdk. Is mendix checking any default location for local java distribution?

$
0
0
Hi All,   I am facing issues while installing the latest version on windows, its completing all the steps till finish dialogue .However after I click finish nothing happens, the installed directory is empty. In Mendix version selector, this installed version is present in the list, however it says ‘The system cannot find the file specified’ when tried to launch from there. We had recently changed to openJdk.. Please help me to rectify this. Is mendix checking any default location for local java distribution? Regards, Hari

Pass SSO token from Hybrid App to WebView (iOS)

$
0
0
I am trying to figure how to pass SSO token information from a iOS hybrid app to another mendix application opened within webview. The intent of this hybrid app is to provide a platform to launch other mendix apps with mobile capabilities. We would like the users to sign in only once into the main hybrid app and not ask them to sign in into individual apps opened from hybrid app. in Android we don’t have this issue because the sso token information is stored and passed on to each app In iOS user is prompted to enter password each time user clicks on app within iOS hybrid app even after user is signed to hybrid app using SSO.  Can anyone suggest or have any thoughts on how to approach this iOS SSO issue?    

Downgrade myself Role from "Scrum master" to "application operator" in my application...

$
0
0
By mistake I have degraded my role from "scrum master" to "application operator" in my application. How can I go back to being "scrum master"?

In-app feature announcements

$
0
0
I am looking at adding in-app feature announcements to our app to quickly explain some key new features at every release of the app. I looked a bit around in the app store and could not really find something that suits my needs. It seems that the wizard steps comes closest. I’ll probably try to build it with that one.  Did someone else already build this or does anyone have suggestions?  Underneath a sample from Facebook so that you get what I mean:

Deployment\Data\Files - How to tell which file is which

$
0
0
In the project folder\deployment\data\files\ there are lots of 2 digit folders that then have 2 digit subfolders. Inside the subfolders are files that appear to be named with a GUID and no extension.  How can we tell which file is which?  Is there a table in Mendix that we can query or some other way to determine the files and their real names?

Logout error in Production env.

$
0
0
Hi all,   We have an application where for the Logout part we call a microflow that redirects the user to the URL: “ApplicationURL*    /oidc/endsession   In the sandbox env. it works fine but in our Production (LIVE) env. it gives the following error: Server Error 404 - File or directory not found. The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.   Does any of you have an idea of what is causing this issue and how we could solve it? Many thanks in advance, Adrian

Can't get image filename or size in offline-app

$
0
0
Hi everyone, we are working on an app that can load pictures from the gallery. In this context, it is crucial for the app to know the filename for later use. As of now, we tried a) the Mendix-Camera-widget from the app-store and b) the in-built Image Uploader widget on an entity that implements System.Image (and thus also System.FileDocument). When using our app online, it loads the filename and -size perfectly. But when we test the app offline (after installation with an .apk-file), the name and size are not available. Has anyone got any ideas on why that might be and how to fix it?

Mysql 8.X error when using as custom database

$
0
0
I’m trying to use my own database as main db for mendix, I’m getting this following message :  Opening JDBC connection to Some(0.0.0.0:3307) failed with SQLState: 28000 Error code: 1045 Message: Access denied for user 'root'@'172.17.0.1' (using password: NO) Retrying...(2/4) This is the configuration: IMPORTANT: Mysql 5.7 works with same settings but not when using version 8.X Mysql version : mysql  Ver 8.0.15 for Linux on x86_64 (MySQL Community Server - GPL)

Is it possible to authenticate users with login and password that my university use to authentication in other services?

$
0
0
I am new to Mendix and web development and do not know how to approach this problem. In my university every service uses one login and one password for any service authentication, even to log in in Microsoft Office 368. I also want to create a website with Mendix that will use the same login and password for authentification at my website. Is it possible to do this Mendix and if yes how? What additional information from my university IT department I need to achieve my goal?  

Printing Automatically Growing Fields

$
0
0
Hello! I am using an automatically growing text area as a field on a form.  It displays perfectly on the screen. However, when the form is printed, the automatically growing text area is cutting off the last few rows of text.  Does anybody know of a solution to this issue? I have attached screenshots of the view from the screen and the printing output.

End the execution in the sub microflow

$
0
0
Hi there, I’m having a sub microflow that check for a rest api response and if its incorrect, I have show the error page to the user. I execute the show page activity. But the control doesn’t stop there. It goes back to the parent microflow and then continues from there. Is there a way to stop the microflow from executing in the sub microflow ? Regards, Vinod.

How to refresh/synchronize dataGrid after executeMicroflowInBackground?

$
0
0
Hello, In this scenario when the user creates a new object in a dataGrid on the overview page, it takes the user to the Edit page. When they are ready to create, they will hit the Save button, which will call a microflow. This microflow does two things: a show page action to show the overview page and calls the executeMicroflowInBackground java action in the CommunityCommons module to run another microflow. In the background, this microflow will create the new object in the Mendix database and also upload its data to an external database, which usually takes around 15 seconds. I have set the dataGrid to refresh after 15 seconds, after which the user will see the new row appear in the dataGrid without having the page refresh (remember, the user was navigated to the overview page when they click the save button).  Here’s the issue: Without refreshing the page from the scenario above, if the user goes to edit that same object that they just created and click the Save button after they are done editing, the microflow will call once again. But, when I go to commit the changes to the database, it thinks that the object doesn’t exist and then throws a unique constraint or index violation error. Full error below. How do I prevent this from happening?   I have ideas to possibly force a page refresh once they first create the new object, but when I try running a Javascript Snippet to refresh the page (window.location.reload()), it just brings me back to my home page of the app. I was also thinking maybe to synchronize the database somehow during the microflow after I commit the object, but I don’t know how to do that. Any help is appreciated. Thanks.   Caused by: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.CoreException: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.systemwideinterfaces.connectionbus.data.UniqueConstraintViolationRuntimeException: Duplicate column value violates its unique constraint: integrity constraint violation: unique constraint or index violation; SYS_PK_10316 table: "transaction$transactionidentification" (SQL State: 23505, Error Code: -104) Detail Message: org.hsqldb.HsqlException: integrity constraint violation: unique constraint or index violation; SYS_PK_10316 table: "transaction$transactionidentification" at com.mendix.basis.actionmanagement.ActionManagerBase.executeSync(ActionManagerBase.java:159)  

Anonymous access to a certain object over a path

$
0
0
hi all, I am trying to find a solution to a problem where i am into a situation where i need to have anonymous access to an entity but i should only be able to read and edit the object which i created” the issue is the anonymous session is a generic object on its own.

Web Modeler stuck on Locked

$
0
0
I had canceled a sync with the web modeler after realizing my Desktop Modeler 7.23.3 was a different version than the web instance 7.20.0; however, after the cancellation, the Web Modeler has stayed locked (“Your changes are being merged”).  In Project>More Versioning both FInish and Cancel options are not available … and running the Sync with Web Modeler again I receive the following error: Mendix.Modeler.WorkingCopyConnector.WorkingCopyMergeException: An error occurred while retrieving the changes from the Web Modeler. ---> Mendix.Modeler.WorkingCopyConnector.WorkingCopyConnectorException: com.mendix.modules.microflowengine.MicroflowException: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: communitycommons.UserThrownException: Failed to commit changes from working copy to merge branch for working copy: 21400c17-736e-4b79-9f4c-bd955080f4b5 of project: 0c777b45-32f2-4179-8bed-222ec3d2c17f on behalf of: https://mxid2.mendixcloud.com/mxid2/id?id=4979b335-5806-43e9-8e6c-3acb6abaa967 err: Premature end of chunk coded message body: closing chunk expected     at MpkUploadService.PrepareWorkingCopyMerge (JavaAction : 'ThrowException') Advanced stacktrace:    at Mendix.Modeler.WorkingCopyConnector.WorkingCopyMergeManager.WaitForJobCompletion(String jobId) in C:\jenkins-ci\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.WorkingCopyConnector\WorkingCopyMergeManager.cs:line 272    at Mendix.Modeler.WorkingCopyConnector.WorkingCopyMergeManager.Merge() in C:\jenkins-ci\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.WorkingCopyConnector\WorkingCopyMergeManager.cs:line 101    --- End of inner exception stack trace ---    at Mendix.Modeler.WorkingCopyConnector.WorkingCopyMergeManager.Merge() in C:\jenkins-ci\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.WorkingCopyConnector\WorkingCopyMergeManager.cs:line 130    at Mendix.Modeler.WorkingCopyConnector.WorkingCopyMergeManagerUI.MergeWorkingCopy() in C:\jenkins-ci\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.WorkingCopyConnector\WorkingCopyMergeManagerUI.cs:line 116

Disabling click link for url link button when no link set

$
0
0
In a list view i am using action button as render mode link, where I have attached a update news for display and a link attribute containing link to web page (which i set on new edit page) . For having a weblick it is working fine but if after setting the link attribute value blank and clicking the dispaly news,  it still opens a blank page in a new tab. If I use # as link value it doesn’t open new tab but it opens the main home page.  Is there any specific vlaue or string i can set to back link attribute of display news so that on click if there is some webpage it can open and if  there is no link teh click action not open any new tab or home page?. 

Mendix transactions in New relic

$
0
0
Hi  we have mendix applications deployed in kubernetes and enabled the new relic to monitor transaction level behaviours. But in new relic transactions  we can see  only the /RuntimeHandler and we can not deep down in to the detail level  of from what functionality that caused to this transaction.  Could you please explain the how to ge more details on the transaction  

DataGrid Export to Excel to just export the columns selected and not all.As selected though GridExtension.How to achiceve this without using Excel exporter

$
0
0
I am using a datagrid and the default button ‘Export to excel’ to export my data . I don’t want to export all the columns as default it does but just the columns i have selected using the grid extension. The hidden columns should not exported to excel. I just want this change on only one page so i dont’ want use ‘Excel Exporter’. please Suggest how can i achieve this?   Thanks, Kavita

SAML SSO stops working every so often - The assertion is not signed correctly

$
0
0
Hi all, every few weeks SAML SSO stops working, the users get a message saying Unable to validate SAML message.  Everytime it has happened the fix has been to set up the IdP again, I am trying to find out what is going wrong to stop this happening again.   From the SAML Module I have downloaded the request and response for two attempts by the same user to log in, one when it was not working and another soon after I added the new IdP. The are pretty much identical apart from the time. No errors returned, all is how it should be.   The logs however show me this (i’ve since changed the log levels to TRACE so when it happens again I will see more information) Can any provide any insight? Many thanks.   ERROR - SAML_SSO: Unable to validate Response, see SAMLRequest overview for detailed response. Error: org.opensaml.xml.validation.ValidationException: The assertion is not signed correctly 2019-04-18T00:18:09.321861 [APP/PROC/WEB/0]   ERROR - SAML_SSO: org.opensaml.common.SAMLException: org.opensaml.xml.validation.ValidationException: The assertion is not signed correctly 2019-04-18T00:18:09.321934 [APP/PROC/WEB/0]       at saml20.implementation.ArtifactHandler.handleSAMLResponse(ArtifactHandler.java:175) 2019-04-18T00:18:09.321973 [APP/PROC/WEB/0]       at saml20.implementation.ArtifactHandler.handleRequest(ArtifactHandler.java:33) 2019-04-18T00:18:09.322013 [APP/PROC/WEB/0]       at saml20.implementation.SAMLRequestHandler.processRequest(SAMLRequestHandler.java:167) 2019-04-18T00:18:09.322064 [APP/PROC/WEB/0]       at com.mendix.externalinterface.connector.RequestHandler.doProcessRequest(RequestHandler.java:40) 2019-04-18T00:18:09.322126 [APP/PROC/WEB/0]       at com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:72) 2019-04-18T00:18:09.322187 [APP/PROC/WEB/0]       at com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:69) 2019-04-18T00:18:09.322221 [APP/PROC/WEB/0]       at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32) 2019-04-18T00:18:09.322247 [APP/PROC/WEB/0]       at com.mendix.external.connector.MxRuntimeConnector.processRequest(MxRuntimeConnector.java:75) 2019-04-18T00:18:09.322294 [APP/PROC/WEB/0]       at com.mendix.basis.impl.MxRuntimeImpl.processRequest(MxRuntimeImpl.java:909) 2019-04-18T00:18:09.322333 [APP/PROC/WEB/0]       at com.mendix.m2ee.appcontainer.server.handler.RuntimeHandler.service(RuntimeHandler.java:42) 2019-04-18T00:18:09.322358 [APP/PROC/WEB/0]       at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) 2019-04-18T00:18:09.322393 [APP/PROC/WEB/0]       at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:867) 2019-04-18T00:18:09.322444 [APP/PROC/WEB/0]       at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:542) 2019-04-18T00:18:09.322500 [APP/PROC/WEB/0]       at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255) 2019-04-18T00:18:09.322510 [APP/PROC/WEB/0]       at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1588) 2019-04-18T00:18:09.322550 [APP/PROC/WEB/0]       at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255) 2019-04-18T00:18:09.322587 [APP/PROC/WEB/0]       at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1345) 2019-04-18T00:18:09.322620 [APP/PROC/WEB/0]       at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203) 2019-04-18T00:18:09.322651 [APP/PROC/WEB/0]       at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480) 2019-04-18T00:18:09.322682 [APP/PROC/WEB/0]       at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1557) 2019-04-18T00:18:09.322739 [APP/PROC/WEB/0]       at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201) 2019-04-18T00:18:09.322773 [APP/PROC/WEB/0]       at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1247) 2019-04-18T00:18:09.322808 [APP/PROC/WEB/0]       at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144) 2019-04-18T00:18:09.322840 [APP/PROC/WEB/0]       at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) 2019-04-18T00:18:09.322886 [APP/PROC/WEB/0]       at org.eclipse.jetty.server.Server.handle(Server.java:502) 2019-04-18T00:18:09.322917 [APP/PROC/WEB/0]       at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:364) 2019-04-18T00:18:09.322946 [APP/PROC/WEB/0]       at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260) 2019-04-18T00:18:09.322982 [APP/PROC/WEB/0]       at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305) 2019-04-18T00:18:09.323030 [APP/PROC/WEB/0]       at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) 2019-04-18T00:18:09.323049 [APP/PROC/WEB/0]       at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118) 2019-04-18T00:18:09.323091 [APP/PROC/WEB/0]       at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333) 2019-04-18T00:18:09.323118 [APP/PROC/WEB/0]       at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310) 2019-04-18T00:18:09.323182 [APP/PROC/WEB/0]       at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168) 2019-04-18T00:18:09.323200 [APP/PROC/WEB/0]       at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126) 2019-04-18T00:18:09.323240 [APP/PROC/WEB/0]       at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366) 2019-04-18T00:18:09.323261 [APP/PROC/WEB/0]       at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765) 2019-04-18T00:18:09.323318 [APP/PROC/WEB/0]       at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683) 2019-04-18T00:18:09.323348 [APP/PROC/WEB/0]       at java.lang.Thread.run(Thread.java:748) 2019-04-18T00:18:09.323404 [APP/PROC/WEB/0]   Caused by: org.opensaml.xml.validation.ValidationException: The assertion is not signed correctly 2019-04-18T00:18:09.323453 [APP/PROC/WEB/0]       at saml20.implementation.wrapper.MxSAMLResponse.validateResponse(MxSAMLResponse.java:115) 2019-04-18T00:18:09.323486 [APP/PROC/WEB/0]       at saml20.implementation.ArtifactHandler.handleSAMLResponse(ArtifactHandler.java:60) 2019-04-18T00:18:09.323519 [APP/PROC/WEB/0]       at saml20.implementation.ArtifactHandler.handleRequest(ArtifactHandler.java:33) 2019-04-18T00:18:09.323546 [APP/PROC/WEB/0]       at saml20.implementation.SAMLRequestHandler.processRequest(SAMLRequestHandler.java:167) 2019-04-18T00:18:09.323594 [APP/PROC/WEB/0]       at com.mendix.externalinterface.connector.RequestHandler.doProcessRequest(RequestHandler.java:40) 2019-04-18T00:18:09.323626 [APP/PROC/WEB/0]       at com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:72) 2019-04-18T00:18:09.323663 [APP/PROC/WEB/0]       at com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:69) 2019-04-18T00:18:09.323687 [APP/PROC/WEB/0]       at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32) 2019-04-18T00:18:09.323736 [APP/PROC/WEB/0]       at com.mendix.external.connector.MxRuntimeConnector.processRequest(MxRuntimeConnector.java:75) 2019-04-18T00:18:09.323768 [APP/PROC/WEB/0]       at com.mendix.basis.impl.MxRuntimeImpl.processRequest(MxRuntimeImpl.java:909) 2019-04-18T00:18:09.323798 [APP/PROC/WEB/0]       at com.mendix.m2ee.appcontainer.server.handler.RuntimeHandler.service(RuntimeHandler.java:42) 2019-04-18T00:18:09.323834 [APP/PROC/WEB/0]       at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) 2019-04-18T00:18:09.323879 [APP/PROC/WEB/0]       at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:867) 2019-04-18T00:18:09.323915 [APP/PROC/WEB/0]       at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:542) 2019-04-18T00:18:09.323941 [APP/PROC/WEB/0]       at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255) 2019-04-18T00:18:09.323973 [APP/PROC/WEB/0]       at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1588) 2019-04-18T00:18:09.324021 [APP/PROC/WEB/0]       at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255) 2019-04-18T00:18:09.324051 [APP/PROC/WEB/0]       at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1345) 2019-04-18T00:18:09.324085 [APP/PROC/WEB/0]       at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203) 2019-04-18T00:18:09.324111 [APP/PROC/WEB/0]       at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480) 2019-04-18T00:18:09.324156 [APP/PROC/WEB/0]       at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1557) 2019-04-18T00:18:09.324185 [APP/PROC/WEB/0]       at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201) 2019-04-18T00:18:09.324215 [APP/PROC/WEB/0]       at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1247) 2019-04-18T00:18:09.324254 [APP/PROC/WEB/0]       at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144) 2019-04-18T00:18:09.324290 [APP/PROC/WEB/0]       at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) 2019-04-18T00:18:09.324316 [APP/PROC/WEB/0]       at org.eclipse.jetty.server.Server.handle(Server.java:502) 2019-04-18T00:18:09.324350 [APP/PROC/WEB/0]       at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:364) 2019-04-18T00:18:09.324379 [APP/PROC/WEB/0]       at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260) 2019-04-18T00:18:09.324424 [APP/PROC/WEB/0]       at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305) 2019-04-18T00:18:09.324456 [APP/PROC/WEB/0]       at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) 2019-04-18T00:18:09.324483 [APP/PROC/WEB/0]       at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118) 2019-04-18T00:18:09.324527 [APP/PROC/WEB/0]       at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333) 2019-04-18T00:18:09.324567 [APP/PROC/WEB/0]       at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310) 2019-04-18T00:18:09.324595 [APP/PROC/WEB/0]       at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168) 2019-04-18T00:18:09.324633 [APP/PROC/WEB/0]       at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126) 2019-04-18T00:18:09.324663 [APP/PROC/WEB/0]       at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366) 2019-04-18T00:18:09.324708 [APP/PROC/WEB/0]       at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765) 2019-04-18T00:18:09.324736 [APP/PROC/WEB/0]       at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683) 2019-04-18T00:18:09.324769 [APP/PROC/WEB/0]       at java.lang.Thread.run(Thread.java:748)   EDIT: In response to Ronald I spoke with out infrastructure team and they have replied:   it looks like the SAML link is being established directly with Azure via   https://login.microsoftonline.com/mencap.org.uk/FederationMetadata/2007-06/FederationMetadata.xml   Looking at this certificate gives the following info     However that doesn’t mean that the certificate hasn’t been cycled by Microsoft, we will have no control or visibility of this.   This domain will also be targeting server farms which could have a range of certificates across the nodes, which we cannot manage or control however, they will all be valid.  

Calling a web service from Java code

$
0
0
My current situation is as follows: I have a Web Service which sends out a SOAP request to a fixed address. For each of my customers I need to call this service using a different certificate. Since this is not supported in the modeler I had to resort to pure Java actions in this case. Thanks to the mendix support I figured out how to extract the right certificate for the web service call. The next step is of course to call said service using the provided certificate. There are roughly 2 scenario’s which I can imagine: The ability to set the certificate and then call the web service (or a microflow) from Java code using said certificate. Creating a web service in java (JAX-WS) by completely setting it up in java and forcing a certificate.   Option 1 has the absolute preference here since the calls themselves are pretty big/complex, but I could live with the second option. Does anyone know if option 1 is doable?

Adding prefixes to CSS depending on browsers which would you like to support

$
0
0
When working on a client application, we often have requirements that the application should support the latest browsers or IE10 for example. I would like to share a solution that can be helpful for some of you (I assume that some of you know this solution). It's a plugin called Autoprefixer that we can add to Gulp. This plugin adds prefixes to the CSS properties depending on the given configuration. In short, tell the Autorefixer which browsers you want to support and it adds only relevant prefixes to the stylesheet. It's easy and I don’t have to remember it when developing. To add Autoprefixer in our Gulp workflow, we only need to pipe it after SASS has done its thing. Then Autoprefixer updates the stylesheets to add prefixes.   1. Install Autoprefixer (in main project directory) npm install --save-dev gulp-autoprefixer   2. Then we can add it to our task We need to load our plugin in Gulp.js file  (last line) var gulp = require ('gulp'), sass = require ('gulp-sass'), browserSync = require ('browser-sync'). create (), path = require ('path'), sourcemaps = require ('gulp-sourcemaps'), autoprefixer = require ('gulp-autoprefixer');   Next add a new pipe to gulp task (example, please provide your configuration): gulp.task('build-sass', function () { return gulp.src(sourceSassFolder + '**/*.scss') .pipe(sass({ outputStyle: 'expanded' }).on('error', sass.logError)) .pipe(autoprefixer({ browsers: ['last 2 versions, IE 10'], cascade: false })) .pipe(gulp.dest(sourceCssFolder)) .pipe(gulp.dest(deploymentCssFolder)); });   I haved added code to the following tasks: build-sass build browsersync-sass   3. Save and run the task! I hope that someone will help.   Documentation: I based on Gulp for Mendix theming https://github.com/mendix/ux-theming Link to Auotprefixer https://www.npmjs.com/package/gulp-autoprefixer
Viewing all 83469 articles
Browse latest View live


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