JBoss Wildfly 10 MYSQL Driver install problems - mysql

I am attempting to install a MySQL Driver for WildFly 10.0 bue running into some issues.
I am follwowing these instructions here
I have used Maven to get the driver JAR (This worked fine.)
mvn dependency:copy -Dartifact=mysql:mysql-connector-java:5.1.18 \
-DoutputDirectory=/path/to/SERVER_HOME/modules/com/mysql/jdbc/main/
And am attempting to run this command to setup the MySql driver in JBOSS
./path/to/SERVER_HOME/bin/jboss-cli.sh --file=/path/to/mysql-database-config-wildfly.cli
I get this error:
/apps/wildfly/bin/jboss-cli.sh --file=/home/ec2-user/aerogear-unifiedpush-server-1.1.0.Final/databases/mysql-database-config-wildfly.cli
07:24:48,338 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 4) WFLYCTL0013: Operation ("add") failed - address: ([
("subsystem" => "datasources"),
("jdbc-driver" => "mysqlup")
]) - failure description: "WFLYJCA0041: Failed to load module for driver [com.mysql.jdbc]"
The batch failed with the following error (you are remaining in the batch editing mode to have a chance to correct the error): {"WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-1" => "WFLYJCA0041: Failed to load module for driver [com.mysql.jdbc]"}}
As this is a fresh install Im stumped as to what might be the issue. I haven't used JBoss before so I am hoping someone can help me out and point me in the right direction.

I did not read the full user guide, but you're missing the adding of the module. Simply just copying the dependency to the modules directory will not work. You need to use the module add CLI command. Here's an example for PostgreSQL.

Related

TIBCO BW failing to debug successfully a REST service .I have created a jdbc resource and tested the connection was a success but i have this error

<>#BWEclipseAppNode> 12:12:32.545 INFO [main] com.tibco.thor.frwk.Deployer - Started by BusinessStudio.
12:12:34.970 INFO [main] com.tibco.bw.frwk.engine.BWEngine - TIBCO-BW-FRWK-300002: BW Engine [Main] started successfully.
12:12:35.355 INFO [Framework Event Dispatcher: Equinox Container: 80edabb3-8e47-001c-18c5-90bdbc610de0] com.tibco.thor.frwk.Deployer - TIBCO-THOR-FRWK-300001: Started OSGi Framework of AppNode [BWEclipseAppNode] in AppSpace [BWEclipseAppSpace] of Domain [BWEclipseDomain]
12:12:35.483 INFO [Framework Event Dispatcher: Equinox Container: 80edabb3-8e47-001c-18c5-90bdbc610de0] com.tibco.thor.frwk.Application - TIBCO-THOR-FRWK-300018: Deploying BW Application [RESTservice2.application:1.0].
12:12:40.067 INFO [Framework Event Dispatcher: Equinox Container: 80edabb3-8e47-001c-18c5-90bdbc610de0] com.tibco.thor.frwk.Application - TIBCO-THOR-FRWK-300021: All Application dependencies are resolved for Application [RESTservice2.application:1.0]
12:12:41.431 INFO [Thread-28] com.tibco.thor.frwk.Application - TIBCO-THOR-FRWK-300019: BW Application [RESTservice2.application:1.0] is impaired.
12:12:41.435 INFO [Framework Event Dispatcher: Equinox Container: 80edabb3-8e47-001c-18c5-90bdbc610de0] com.tibco.thor.frwk.Application - Started by BusinessStudio, ignoring .enabled settings.
12:12:41.438 ERROR [CM Configuration Updater (Update: pid=bw.resource.jdbc.916120c9-fbcb-45de-a13c-b22e3edf76ec)] com.tibco.bw.sharedresource.runtime.dependency.ReferenceDependency - TIBCO-BW-SR-FRWK-503000: Unable to start SharedResource [restservice2.JDBCConnectionResource] from Module [RESTservice2:1.0.0.qualifier], DeploymentUnit [RESTservice2.application:1.0]. <Reason>: TIBCO-BW-SR-JDBC-500003: The database driver [com.mysql.jdbc.Driver] is not found. Ensure that DataSourceFactory bundle providing this driver is available in the environment.
so this is the error i am getting as a result i cant run OSGi commands to request endpoint urls and for my rest service even though my code has no errors before debug ,i am getting this during debug ,please help.
In order to use the MySql JDBC driver you need to install it in the BusinessWorks environment of your machine.
This is done by running the command 'bwinstall mysql-driver' from the <TIBCO_HOME>bw/6.X/bin folder.
As Emmanuel suggested, according to the error, you probably missed the required JDBC driver installation.
Once you execute the command, it will start successfully.

SSIS (SQL Server Integration Services) installation failed

installing the Microsoft.DataTools.IntegrationServices.exe
on a Windows 10 PC, with Visual Studio 2019 already installed,
I got this error:
Can anyone help me understand why this happens?
Thanks a lot in advance.
Luis
Here the last part of the log file:
[5CD0:13EC][2021-05-31T19:42:29]i319: Applied execute package: ISVsix,
result: 0x80131500, restart: None
[5CD0:13EC][2021-05-31T19:42:29]e000: Error 0x80131500: Failed to
execute EXE package. [0AEC:278C][2021-05-31T19:42:29]i329: Removed
package dependency provider: ISVsix, package: ISVsix
[0AEC:278C][2021-05-31T19:42:29]i351: Removing cached package: ISVsix,
from path: C:\ProgramData\Package
Cache\15160B731819F56D87A626F9A2777550340022D7
[0AEC:278C][2021-05-31T19:42:29]i326: Removed dependency:
{ab4889d7-79a3-40dc-9c9e-ccbeca99d453} on package provider:
ISVsixPreInstall, package ISVsixPreInstall
[5CD0:13EC][2021-05-31T19:42:29]i000: MainViewModel.OnPackageAction:
Install Started for package Microsoft SQL Server Integration Services
Projects Pre Install (id: ISVsixPreInstall)
[5CD0:13EC][2021-05-31T19:42:29]i000:
MainViewModel.OnPackageActionProgress: Percent completed: 100, Overall
progress: 14 [0AEC:278C][2021-05-31T19:42:29]i301: Applying rollback
package: ISVsixPreInstall, action: Uninstall, path:
C:\ProgramData\Package
Cache\BB952DD82F1ADAE438C26E4EE6C94F84C07CB447\ISVsixPreInstall.exe,
arguments: '"C:\ProgramData\Package
Cache\BB952DD82F1ADAE438C26E4EE6C94F84C07CB447\ISVsixPreInstall.exe"
/instanceIds:"2904af6a,6f5e5ef0"
/log:"C:\Users\Luigi\AppData\Local\Temp\SsdtisSetup\Microsoft.DataTools.IntegrationServices_20210531194052_0_ISVsixPreInstall.log"
/u' [5CD0:13EC][2021-05-31T19:42:29]i000:
MainViewModel.OnPackageAction: Install Completed for package Microsoft
SQL Server Integration Services Projects Pre Install (id:
ISVsixPreInstall) [5CD0:13EC][2021-05-31T19:42:29]i319: Applied
rollback package: ISVsixPreInstall, result: 0x0, restart: None
[0AEC:278C][2021-05-31T19:42:29]i329: Removed package dependency
provider: ISVsixPreInstall, package: ISVsixPreInstall
[0AEC:278C][2021-05-31T19:42:29]i351: Removing cached package:
ISVsixPreInstall, from path: C:\ProgramData\Package
Cache\BB952DD82F1ADAE438C26E4EE6C94F84C07CB447
[5CD0:13EC][2021-05-31T19:42:29]i000:
MainViewModel.OnPackageActionProgress: Percent completed: 100, Overall
progress: 100 [0AEC:278C][2021-05-31T19:42:29]i330: Removed bundle
dependency provider: {ab4889d7-79a3-40dc-9c9e-ccbeca99d453}
[0AEC:278C][2021-05-31T19:42:29]i352: Removing cached bundle:
{ab4889d7-79a3-40dc-9c9e-ccbeca99d453}, from path:
C:\ProgramData\Package Cache{ab4889d7-79a3-40dc-9c9e-ccbeca99d453}
[5CD0:13EC][2021-05-31T19:42:29]e000: MainViewModel.OnBundleAction:
Bundle action failed: Unknown error (0x80131500) (0x80131500)
[5CD0:13EC][2021-05-31T19:42:29]i399: Apply complete, result:
0x80131500, restart: None, ba requested restart: No
[5CD0:4D80][2021-05-31T19:48:12]i000: MainViewModel.OpenUrl: Opening
url:
C:\Users\Luigi\AppData\Local\Temp\SsdtisSetup\Microsoft.DataTools.IntegrationServices_20210531194052.log
[5CD0:4D80][2021-05-31T20:04:01]i000: MainViewModel.OpenUrl: Opening
url:
C:\Users\Luigi\AppData\Local\Temp\SsdtisSetup\Microsoft.DataTools.IntegrationServices_20210531194052.log
And here only the ERROR rows:
[0AEC:278C][2021-05-31T19:42:29]e000: Error 0x80131500: Process
returned error: 0x80131500 [0AEC:278C][2021-05-31T19:42:29]e000: Error
0x80131500: Failed to execute EXE package.
[5CD0:13EC][2021-05-31T19:42:29]e000: Error 0x80131500: Failed to
configure per-machine EXE package. ...
[5CD0:13EC][2021-05-31T19:42:29]e000: Error 0x80131500: Failed to
execute EXE package. ... [5CD0:13EC][2021-05-31T19:42:29]e000:
MainViewModel.OnBundleAction: Bundle action failed: Unknown error
(0x80131500) (0x80131500)
After hours trying to figure out why my installation was failing, I found a post where someone suggested to repair Visual Studio installations via VS Installer, I did it, of course this meant that the enviroment was going to be restored as new, but it solved my issue.
I hope this could help you friend, have a nice day!
For me, the reason of failure was my PC was missing some of the target packs. No need to Repair the installation.
I installed .NET 4, 4.5 and 4.7 targeting packs from VS installation media and the SSIS installation succeeded smoothly.
I solved this problem by following:
Installed all .Net Framework versions 4.X with
Visual Studio Installer
I also tried to install Microsoft.DataTools.IntegrationServices.exe on a Windows 10 PC, with Visual Studio 2019 already installed.
Try running the .exe file with "Administrator" privileges.
My error code was "Unknown error (0xffffffff) (0xFFFFFFFF)

Open-shift-Running Handler [openshift_master : verify API Server] FAILED - RETRYING Verify API Server

I am Trying to Install Openshift 3.9.1 In CentOS 7.5. All the process Done but Below Failed Issue Occurring. If you have any suggestion about it,
( Running Handler [ openshift_master : verify API Server ])
FAILED - RETRYING Verify API Server (120 retries left).
install configuration
problem occurring...
If any proper step by step guideline notice me. thanks

unable to compile apache drill code

I cloned the drill git repository and when I run
mvn clean package -DskipTests
I get this error
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:1.3.1:enforce (validate_java_and_maven_version) on project drill-root: Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed. -> [Help 1]
You need to use JDK 1.7 to build Apache Drill.
The Drill team added maven-enforcer-plugin to the build process to make sure that build gives an error if someone tries to build using an unsupported version of Java or Maven. If you scroll up you will see an earlier error message like the following:
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (validate_java_and_maven_version) # drill-root ---
[WARNING] Rule 1: org.apache.maven.plugins.enforcer.RequireJavaVersion failed with message:
Detected JDK Version: 1.8.0-51 is not in the allowed range [1.7,1.8).
A lot of people want to run Drill using JDK 1.8. There's good news on that front. While you can't build using JDK 1.8, once you've built, you can run Drill with JDK 1.8 just fine.

Getting error in ejabberd when add any module in ODBC mod

I have installed ejabberd to implement my chat application, I have also successfully installed Mysql module and using mysql database in place of mnesia(default of ejabberd).Everything is working fine,Now i am trying to some module for ODBC mod, like mod_muc to mod_muc_odbc, then i am getting error like,
=ERROR REPORT==== 2014-01-20 11:39:08 ===
C(<0.37.0>:gen_mod:75) : Problem starting the module mod_muc_odbc for host "localhost"
options: [{host,"conference.#HOST#"},
{access,muc},
{access_create,muc},
{access_persistent,muc},
{access_admin,muc_admin},
{max_users,500}]
error: undef
=ERROR REPORT==== 2014-01-20 11:39:08 ===
C(<0.37.0>:gen_mod:80) : ejabberd initialization was aborted because a module start failed.
How to fix it ? Another question related with ejabberd is that , Can i see the whole chat record in mysql database, if yes then how ?
I had a same problem. Just another module. This part of log:
{max_users,500}]
error: undef
means that you ejabbered was not compiled with that specific module support.
I am using gentoo linux so it was easy to me to add USE="mymodule" emerge -av ejabered and compile ejjabered with mymodule that was missing.
In your post I can not see what linux distro are you using? But you get a picture from my answer.