You are correct the app is not trying to connect.. The Postgresql db is
up and running. If I go to EOModeller, I can create the SQL and send it
to the backend.
The question is, why?
I can connect to the db from pgadmin4, or in the terminal with psql, so
the pg is running and accepting. Just not from my app.
On 12/13/25 9:02 AM, Aaron Rosenzweig wrote:
Maybe your Postgres DB wasn’t running? Looks like it never made a
connection to it.
On Dec 13, 2025, at 2:21 AM, Theodore Petrosky via Webobjects-dev
<[email protected]> wrote:
ok, so I took a step backwards just to see if I could get things
working. I installed all the frameworks locally and tried to create a
Fluffy Bunny D2W app.
I created an app and launched it. it launched beautifully (with ant).
I created an EOModel. Just two entities. I created the migration.
added this the the Properties:
# Connection Dictionary
dbConnectURLGLOBAL=jdbc:postgresql://localhost/accounting?capitalizeTypenames=true&zeroDateTimeBehavior=convertToNull
<postgresql://localhost/accounting?capitalizeTypenames=true&zeroDateTimeBehavior=convertToNull>
dbConnectUserGLOBAL=wouser
dbConnectPasswordGLOBAL=3368
dbConnectPluginGLOBAL=PostgresqlPlugIn
dbConnectDriverGLOBAL=org.postgresql.Driver
dbEOPrototypesEntityGLOBAL=EOJDBCPostgresqlPrototypes
# Migrations
er.migration.migrateAtStartup=true
er.migration.createTablesIfNecessary=true
er.migration.modelNames=ZZTestMyEOModel
ZZTestMyEOModel.MigrationClassPrefix=com.eltek.migrations.ZZTestMyEOModel
=====>This is what I get:
What framework am I missing?
Dec 13 02:08:47 ZZTestII[52261] INFO
er.extensions.appserver.ERXApplication - Wonder version: 7.5-SNAPSHOT
Dec 13 02:08:47 ZZTestII[52261] INFO
er.extensions.appserver.ERXApplication - Welcome to ZZTestII !
HOTSWAP AGENT: 02:08:47.258 INFO
(org.hotswap.agent.config.PluginRegistry) - Plugin
'org.hotswap.agent.plugin.webobjects.HotswapWebObjectsPlugin'
initialized in ClassLoader
'jdk.internal.loader.ClassLoaders$AppClassLoader@764c12b6'.
Dec 13 02:08:47 ZZTestII[52261] WARN er.extensions.eof.ERXModelGroup
- Clearing previous class descriptions
Dec 13 02:08:47 ZZTestII[52261] DEBUG NSLog - Using JDBCPlugIn
'PostgresqlPlugIn' for ERXJDBCAdaptor@415793386
Dec 13 02:08:47 ZZTestII[52261] DEBUG NSLog - Using JDBCPlugIn
'PostgresqlPlugIn' for ERXJDBCAdaptor@1522549999
Dec 13 02:08:47 ZZTestII[52261] DEBUG NSLog - Using JDBCPlugIn
'PostgresqlPlugIn' for ERXJDBCAdaptor@1794893473
Dec 13 02:08:47 ZZTestII[52261] DEBUG NSLog - Using JDBCPlugIn
'PostgresqlPlugIn' for ERXJDBCAdaptor@340097685
Dec 13 02:08:47 ZZTestII[52261] INFO
er.corebusinesslogic.audittrail.ERCAuditTrail - Configuration: {}
Dec 13 02:08:47 ZZTestII[52261] DEBUG NSLog - Using JDBCPlugIn
'PostgresqlPlugIn' for ERXJDBCAdaptor@714048853
Dec 13 02:08:47 ZZTestII[52261] DEBUG NSLog - Using JDBCPlugIn
'PostgresqlPlugIn' for ERXJDBCAdaptor@1495232387
Dec 13 02:08:47 ZZTestII[52261] INFO
er.transaction.adaptor.ConnectionAnalyzer - Checking JDBC connection
with information {plugin = "PostgresqlPlugIn"; username = "wouser";
driver = "org.postgresql.Driver"; password = "<password deleted for
log>"; URL =
"jdbc:postgresql://localhost/accounting?capitalizeTypenames=true&zeroDateTimeBehavior=convertToNull
<postgresql://localhost/accounting?capitalizeTypenames=true&zeroDateTimeBehavior=convertToNull>";
}
Dec 13 02:08:47 ZZTestII[52261] INFO
er.transaction.adaptor.ConnectionAnalyzer - Trying to create
JDBCAdaptor...
Dec 13 02:08:47 ZZTestII[52261] INFO
er.transaction.adaptor.ConnectionAnalyzer - Successfully created
adaptor class er.extensions.jdbc.ERXJDBCAdaptor
Dec 13 02:08:47 ZZTestII[52261] INFO
er.transaction.adaptor.ConnectionAnalyzer - Trying to create plugin...
Dec 13 02:08:47 ZZTestII[52261] DEBUG NSLog - Using JDBCPlugIn
'PostgresqlPlugIn' for ERXJDBCAdaptor@1619034073
Dec 13 02:08:47 ZZTestII[52261] INFO
er.transaction.adaptor.ConnectionAnalyzer - Created plugin class
com.webobjects.jdbcadaptor.PostgresqlPlugIn
Dec 13 02:08:47 ZZTestII[52261] INFO
er.transaction.adaptor.ConnectionAnalyzer - Trying to load JDBC
driver org.postgresql.Driver...
Dec 13 02:08:47 ZZTestII[52261] INFO
er.transaction.adaptor.ConnectionAnalyzer - Successfully loaded JDBC
driver org.postgresql.Driver
Dec 13 02:08:47 ZZTestII[52261] INFO
er.transaction.adaptor.ConnectionAnalyzer - JDBC driver and plugin
are loaded, trying to connect...
Dec 13 02:08:47 ZZTestII[52261] INFO
er.transaction.adaptor.ConnectionAnalyzer - Error: Exception thrown
while connecting.
Check exception message carefully.
Dec 13 02:08:47 ZZTestII[52261] ERROR
er.transaction.adaptor.ConnectionAnalyzer - No connection.
Dec 13 02:08:47 ZZTestII[52261] ERROR
er.extensions.appserver.ERXApplication - ZZTestII failed to start.
JDBCAdaptorException: No connection
at
com.webobjects.jdbcadaptor.JDBCChannel.openChannel(JDBCChannel.java:117)
... skipped 2 stack elements
at
er.extensions.eof.ERXEOAccessUtilities$ChannelAction.perform(ERXEOAccessUtilities.java:1578)
at
er.extensions.migration.ERXMigrator.migrateToLatest(ERXMigrator.java:202)
at
er.extensions.appserver.ERXApplication.finishInitialization(ERXApplication.java:1311)
at
jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
... skipped 10 stack elements
Dec 13 02:08:47 ZZTestII[52261] WARN NSLog - A fatal exception
occurred: Failed to migrate model 'ZZTestMyEOModel'.
[2025-12-13 2:8:47 EST] <main>
er.extensions.migration.ERXMigrationFailedException: Failed to
migrate model 'ZZTestMyEOModel'.
at
er.extensions.migration.ERXMigrator.migrateToLatest(ERXMigrator.java:213)
at
er.extensions.appserver.ERXApplication.finishInitialization(ERXApplication.java:1311)
at
java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at
com.webobjects.foundation.NSSelector._safeInvokeMethod(NSSelector.java:122)
at
com.webobjects.foundation.NSNotificationCenter$_Entry.invokeMethod(NSNotificationCenter.java:588)
at
com.webobjects.foundation.NSNotificationCenter.postNotification(NSNotificationCenter.java:532)
at
com.webobjects.foundation.NSNotificationCenter.postNotification(NSNotificationCenter.java:546)
at
com.webobjects.appserver.WOApplication.run(WOApplication.java:1229)
at
er.extensions.appserver.ERXApplication.run(ERXApplication.java:1431)
at
com.webobjects.appserver.WOApplication.main(WOApplication.java:548)
at
er.extensions.appserver.ERXApplication.main(ERXApplication.java:888)
at com.eltek.Application.main(Application.java:8)
Caused by: N/A
at
com.webobjects.jdbcadaptor.JDBCChannel.openChannel(JDBCChannel.java:117)
at
com.webobjects.eoaccess.EODatabaseChannel._openChannel(EODatabaseChannel.java:713)
at
com.webobjects.eoaccess.EODatabaseContext.availableChannel(EODatabaseContext.java:1324)
at
er.extensions.eof.ERXEOAccessUtilities$ChannelAction.perform(ERXEOAccessUtilities.java:1578)
at
er.extensions.migration.ERXMigrator.migrateToLatest(ERXMigrator.java:202)
... 12 more
APPLICATION SHUTDOWN SEQUENCE COMPLETE