Join us on May 14-15, 2019 at Forrester Digital Transformation & Innovation 2019 in Chicago, USA.

Skip to end of metadata
Go to start of metadata

IMPORTANT

Note that Joget v6.0.15 onwards requires JAVA 8 due to fixes for vulnerability issues of a dependent library.

 

ERROR org.joget.commons.util.DynamicDataSourceManager - java.io.FileNotFoundException: .\wflow\app_datasource.properties (The system cannot find the file specified)

Reason: The .\wflow\app_datasource.properties file is missing but Joget will present option on browser screen to connect to a database and build the tables.

org.joget.commons.spring.web.CustomContextLoaderListener - ===== Error initializing WebApplicationContext ===== SEVERE [localhost-startStop-1] org.apache.tomcat.jdbc.pool.ConnectionPool.init Unable to create initial connections of pool. java.sql.SQLNonTransientConnectionException: Could not connect to address=(host=localhost)(port=3307)(type=master) : Connection refused: connect

Reason: Joget could not connect to the database, either the database is not running or the datasource values (db name, port, username, password) are wrong in .\wflow\app_datasource*.properties.

SEVERE [localhost-startStop-1] org.apache.tomcat.jdbc.pool.ConnectionPool.init Unable to create initial connections of pool. java.sql.SQLSyntaxErrorException: Could not connect: Access denied for user ''@'localhost' to database 'jwdb'

Reason: The database username is likely wrong.

SEVERE [localhost-startStop-1] org.apache.tomcat.jdbc.pool.ConnectionPool.init Unable to create initial connections of pool. java.sql.SQLInvalidAuthorizationSpecException: Could not connect: Access denied for user 'root'@'localhost' (using password: YES)

Reason: The database password is likely wrong.

SEVERE [localhost-startStop-1] org.apache.tomcat.jdbc.pool.ConnectionPool.init Unable to create initial connections of pool. java.sql.SQLNonTransientConnectionException: Could not connect to address=(host=localhost)(port=3306)(type=master) : Connection refused: connect

Reason: The database port is likely wrong.

SEVERE [localhost-startStop-1] org.apache.tomcat.jdbc.pool.ConnectionPool.init Unable to create initial connections of pool. java.sql.SQLSyntaxErrorException: Could not connect: Unknown database 'jwdb_x'

Reason: The database name is likely wrong.

SEVERE [localhost-startStop-1] org.apache.tomcat.jdbc.pool.ConnectionPool.init Unable to create initial connections of pool. java.sql.SQLException: Driver:com.mysql.jdbc.Driver@1edd5c1 returned null for URL:jdbc:mysqxl://localhost:3307/jwdb_snapshot2?characterEncoding=UTF-8&useSSL=false

Reason: The database driver name is likely wrong.

ERROR org.joget.commons.util.DynamicDataSourceManager - java.io.FileNotFoundException: C:\Users\Andrew\wflow\app_datasource.properties (The system cannot find the path specified) java.io.FileNotFoundException: C:\Users\Andrew\wflow\app_datasource.properties (The system cannot find the path specified)

Reason: The "joget-start.bat" file is missing the "set JAVA_OPTS=-Xmx512M -Dwflow.home=./wflow/ -javaagent:./wflow/aspectjweaver-1.8.5.jar" line. The missing "Dwflow.home=./wflow/" parameter will also cause Joget to think that the database datasource is missing and will present you with the setup database screen.

ERROR org.joget.commons.util.DynamicDataSourceManager - java.io.FileNotFoundException: .\wflowxx\app_datasource.properties (The system cannot find the path specified)

Reason: The "joget-start.bat" file has an incorrect "set JAVA_OPTS=-Dwflow.home=./wflow/" folder name or the folder does not exist or the folder has no read write permission.

Browser: HTTP Status 404 – Not Found Message /jw/... Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.

Reason: There is a problem with the "...\apache-tomcat-8.5.23\webapps\jw\WEB-INF\classes" or "lib" folder. Stop the Tomcat, delete the "...\apache-tomcat-8.5.23\webapps\jw" folder and restart Tomcat.

SEVERE [localhost-startStop-1] org.aspectj.weaver.tools.Jdk14Trace.error register definition failed java.lang.RuntimeException: Cannot register non aspect: org$enhydra$shark$SharkUtilitiesAspect , org.enhydra.shark.SharkUtilitiesAspect at org.aspectj.weaver.bcel.BcelWeaver.addLibraryAspect(BcelWeaver.java:219) SEVERE [localhost-startStop-1] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/jw]] Caused by: java.lang.NoClassDefFoundError: org/springframework/web/bind/MissingServletRequestParameterException Caused by: java.lang.ClassNotFoundException: org.springframework.web.bind.MissingServletRequestParameterException SEVERE [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Error deploying web application archive java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/jw]]

Reason: There is a problem with the "...\apache-tomcat-8.5.23\webapps\jw\WEB-INF\lib" folder. Stop the Tomcat, delete the "...\apache-tomcat-8.5.23\webapps\jw" folder and restart Tomcat.

ERROR UserviewUtil - ubuilder/adminBar.jsp org.apache.jasper.JasperException: /WEB-INF/jsp/console/apps/adminBar.jsp (line: [78], column: [8]) No tag [popupdialog] defined in tag library imported with prefix [ui]

Reason: There is a problem with the "...\apache-tomcat-8.5.23\webapps\jw\WEB-INF\tags" folder. Stop the Tomcat, delete the "...\apache-tomcat-8.5.23\webapps\jw" folder and restart Tomcat.

SEVERE [main] org.apache.coyote.AbstractProtocol.init Failed to initialize end point associated with ProtocolHandler ["http-nio-8080"] java.net.BindException: Address already in use: bind SEVERE [main] org.apache.catalina.core.StandardService.initInternal Failed to initialize connector [Connector[HTTP/1.1-8080]] org.apache.catalina.LifecycleException: Failed to initialize component [Connector[HTTP/1.1-8080]] Caused by: org.apache.catalina.LifecycleException: Protocol handler initialization failed Caused by: java.net.BindException: Address already in use: bind

Reason: You are running two tomcat instances on the same port. The second tomcat instances will fail to run due to port conflict. You can change the port number in "...\apache-tomcat-8.5.23\conf\server.xml" file.

  • No labels