I just downloaded the jforum-2.6.2.war, unzipped it and changed the driver to com.mysql.cj.jdbc.Driver in jforum-2.6.2/WEB-INF/config/database/mysql/mysql.properties.
I am just deploying jforum, no other application code was added.
I realized that there was no
weblogic-application.xml so I added a simple one at the META-INF folder (see below).
<?xml version="1.0" encoding="ISO-8859-1"?>
<weblogic-application
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.bea.com/ns/weblogic/weblogic-application"
xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-application
http://www.bea.com/ns/weblogic/weblogic-application/1.1/weblogic-application.xsd">
<application-param>
<param-name>webapp.encoding.default</param-name>
<param-value>UTF-8</param-value>
</application-param>
</weblogic-application>
The deployment is still throwing an exception.
<02-Oct-2019 00:21:15,639 o'clock CEST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID "5345721252939" for task "8" on [partition-name: DOMAIN]. Error is: "weblogic.application.ModuleException: java.lang.ClassNotFoundException: "
weblogic.application.ModuleException: java.lang.ClassNotFoundException:
at weblogic.j2eeclient.AppClientModule.loadDescriptors(AppClientModule.java:300)
at weblogic.j2eeclient.AppClientModule.init(AppClientModule.java:244)
at weblogic.j2eeclient.AppClientModule.init(AppClientModule.java:128)
at weblogic.application.internal.ExtensibleModuleWrapper.init(ExtensibleModuleWrapper.java:98)
at weblogic.application.internal.flow.ModuleListenerInvoker.init(ModuleListenerInvoker.java:84)
Truncated. see log file for complete stacktrace
Caused By: java.lang.ClassNotFoundException:
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:1029)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:990)
at weblogic.utils.classloaders.GenericClassLoader.doFindClass(GenericClassLoader.java:611)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:543)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:496)
Truncated. see log file for complete stacktrace
>
<02-Oct-2019 00:21:15,644 o'clock CEST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application "jforum".>
<02-Oct-2019 00:21:15,644 o'clock CEST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException: java.lang.ClassNotFoundException:
at weblogic.j2eeclient.AppClientModule.loadDescriptors(AppClientModule.java:300)
at weblogic.j2eeclient.AppClientModule.init(AppClientModule.java:244)
at weblogic.j2eeclient.AppClientModule.init(AppClientModule.java:128)
at weblogic.application.internal.ExtensibleModuleWrapper.init(ExtensibleModuleWrapper.java:98)
at weblogic.application.internal.flow.ModuleListenerInvoker.init(ModuleListenerInvoker.java:84)
Truncated. see log file for complete stacktrace
Caused By: java.lang.ClassNotFoundException:
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:1029)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:990)
at weblogic.utils.classloaders.GenericClassLoader.doFindClass(GenericClassLoader.java:611)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:543)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:496)