B4J Question jRDC2 Windows 11 problem when running in release mode outside the IDE

vfafou

Well-Known Member
Licensed User
Longtime User
Hello!
I need a way to run the jRDC2 before the user run my application.
I've built the jRDC as a standalone package but I take the following errors when I run my application!
I use jdk-14.0.1 and trying with 11.0.1 I have the same results.
Running in release mode from the IDE, all are working perfectly.

UPDATE:
The exact errors are:
From jRDC2 run:
B4X:
SLF4J: No SLF4J providers were found.
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#noProviders for further details.
MLog initialization issue: slf4j found no binding or threatened to use its (dangerously silent) NOPLogger. We consider the slf4j library not found.
Jan 16, 2024 12:13:43 AM com.mchange.v2.log.MLog
INFO: MLog clients using java 1.4+ standard logging.
Jan 16, 2024 12:13:44 AM com.mchange.v2.c3p0.C3P0Registry
INFO: Initializing c3p0-0.9.5.2 [built 08-December-2015 22:06:04 -0800; debug? true; trace: 10]
jRDC is running (version = 2.23)

From Application run:
B4X:
Call B4XPages.GetManager.LogEvents = True to enable logging B4XPages events.
2056 x 1199
Jan 16, 2024 12:13:49 AM com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource
INFO: Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 3, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 20000, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, contextClassLoaderSource -> caller, dataSourceName -> 1br7if5b147peohcvyz4e|7c4ff69d, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> org.mariadb.jdbc.Driver, extensions -> {}, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, forceSynchronousCheckins -> false, forceUseNamedDriverClass -> false, identityToken -> 1br7if5b147peohcvyz4e|7c4ff69d, idleConnectionTestPeriod -> 600, initialPoolSize -> 3, jdbcUrl -> jdbc:mariadb://localhost:3307/medappcrm?characterEncoding=UTF8, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 1800, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 15, maxStatements -> 150, maxStatementsPerConnection -> 0, minPoolSize -> 3, numHelperThreads -> 3, preferredTestQuery -> null, privilegeSpawnedThreads -> false, properties -> {password=******, user=******}, propertyCycle -> 0, statementCacheNumDeferredCloseThreads -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> true, unreturnedConnectionTimeout -> 0, userOverrides -> {}, usesTraditionalReflectiveProxies -> false ]
(SQLException) java.sql.SQLException: Type java.lang.Long not supported type
Command: , took: 383ms, client=127.0.0.1
Command: query: select_therlov, took: 381ms, client=127.0.0.1
(SQLException) java.sql.SQLException: Type java.lang.Integer not supported type
Command: , took: 501ms, client=127.0.0.1
(SQLException) java.sql.SQLException: Type java.lang.String not supported type
Command: , took: 506ms, client=127.0.0.1
Command: query: select_menu, took: 342ms, client=127.0.0.1
ResponseError. Reason: Server Error, Response: <html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
<title>Error 500 java.sql.SQLException: Type java.lang.Long not supported type</title>
</head>
<body><h2>HTTP ERROR 500 java.sql.SQLException: Type java.lang.Long not supported type</h2>
<table>
<tr><th>URI:</th><td>/rdc</td></tr>
<tr><th>STATUS:</th><td>500</td></tr>
<tr><th>MESSAGE:</th><td>java.sql.SQLException: Type java.lang.Long not supported type</td></tr>
<tr><th>SERVLET:</th><td>anywheresoftware.b4j.object.JServlet-7cd060ca</td></tr>
</table>
<hr/><a href="https://eclipse.org/jetty">Powered by Jetty:// 11.0.9</a><hr/>

</body>
</html>

ResponseError. Reason: Server Error, Response: <html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
<title>Error 500 java.sql.SQLException: Type java.lang.Integer not supported type</title>
</head>
<body><h2>HTTP ERROR 500 java.sql.SQLException: Type java.lang.Integer not supported type</h2>
<table>
<tr><th>URI:</th><td>/rdc</td></tr>
<tr><th>STATUS:</th><td>500</td></tr>
<tr><th>MESSAGE:</th><td>java.sql.SQLException: Type java.lang.Integer not supported type</td></tr>
<tr><th>SERVLET:</th><td>anywheresoftware.b4j.object.JServlet-7cd060ca</td></tr>
</table>
<hr/><a href="https://eclipse.org/jetty">Powered by Jetty:// 11.0.9</a><hr/>

</body>
</html>

ResponseError. Reason: Server Error, Response: <html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
<title>Error 500 java.sql.SQLException: Type java.lang.String not supported type</title>
</head>
<body><h2>HTTP ERROR 500 java.sql.SQLException: Type java.lang.String not supported type</h2>
<table>
<tr><th>URI:</th><td>/rdc</td></tr>
<tr><th>STATUS:</th><td>500</td></tr>
<tr><th>MESSAGE:</th><td>java.sql.SQLException: Type java.lang.String not supported type</td></tr>
<tr><th>SERVLET:</th><td>anywheresoftware.b4j.object.JServlet-7cd060ca</td></tr>
</table>
<hr/><a href="https://eclipse.org/jetty">Powered by Jetty:// 11.0.9</a><hr/>

</body>
</html>

Any help would be appreciated!
 
Last edited:
Top