Hi I am trying to connect to a PostgreSQL database from Mendix application. I have created a database and provided configurations in the Project->setttings->configuration. I am getting error when i try running locally, An error occurred while initializing the Runtime: Either.right.get on Left com.mendix.m2ee.api.AdminException: An error occurred while initializing the Runtime: Either.right.get on Left at com.mendix.basis.impl.MxRuntimeImpl.start(MxRuntimeImpl.java:368) Caused by: java.util.NoSuchElementException: Either.right.get on Left at scala.util.Either$RightProjection.get(Either.scala:640) at com.mendix.connectionbus.connections.jdbc.implementations.postgresql.PostgreSqlDataStoreConfigurator.createDefaultDataSource(PostgreSqlDataStoreConfigurator.java:56) at com.mendix.connectionbus.connections.jdbc.implementations.postgresql.PostgreSqlDataStoreConfigurator.createDataSource(PostgreSqlDataStoreConfigurator.java:77) at com.mendix.connectionbus.connections.jdbc.JdbcDataStoreConfigurator.initialize(JdbcDataStoreConfigurator.java:62) at com.mendix.connectionbus.connections.jdbc.ConnectionManager.<init>(ConnectionManager.java:29) at com.mendix.connectionbus.ConnectionBusImpl.initialize(ConnectionBusImpl.java:281) at com.mendix.basis.impl.MxRuntimeImpl.initializeConnectionBus(MxRuntimeImpl.java:521) at com.mendix.basis.impl.MxRuntimeImpl.start(MxRuntimeImpl.java:339) at com.mendix.m2ee.appcontainer.actions.StartAction.startRuntime(StartAction.java:49) at com.mendix.m2ee.appcontainer.actions.StartAction.execute(StartAction.java:30) at com.mendix.m2ee.appcontainer.server.handler.HttpAdminHandler.handle(HttpAdminHandler.java:129) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) at org.eclipse.jetty.server.Server.handle(Server.java:502) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:364) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126) at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683) at java.lang.Thread.run(Thread.java:748)
asked
Kanchan Sangle
2 answers
2
THink your settings are incorrect. Can you post a screenshot? Maybe we can see what is going wrong?