Details
-
Bug
-
Resolution: Done
-
Major
-
10.0.0.Final
-
None
Description
The method org.jboss.as.connector.deployers.ds.processors.DriverProcessor.deploy() should catch java.lang.Throwable instead of only java.lang.Exception because class loading can also produce Throwables of type java.lang.Error.
08:29:48,196 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001: Failed to start service jboss.deployment.unit."reporting.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."reporting.war".INSTALL: WFLYSRV0153: Failed to process phase INSTALL of deployment "reporting.war" at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:154) at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948) at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.UnsatisfiedLinkError: Unable to load library 'odbc': Native library (linux-x86/libodbc.so) not found in resource path (/home/andrek/Schreibtisch/wildfly-10.0.0.Final/jboss-modules.jar) at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:277) at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:403) at com.sun.jna.Library$Handler.<init>(Library.java:147) at com.inet.odbc.OdbcLibrary$1.<init>(OdbcLibrary.java:34) at com.inet.odbc.OdbcLibrary.<clinit>(OdbcLibrary.java:34) at com.inet.odbc.OdbcDriver.<clinit>(OdbcDriver.java:21) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:408) at org.jboss.as.connector.deployers.ds.processors.DriverProcessor.deploy(DriverProcessor.java:65) at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:147) ... 5 more 08:29:48,213 ERROR [org.jboss.as.controller.management-operation] (management task-7) WFLYCTL0013: Operation ("add") failed - address: ([("deployment" => "reporting")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"reporting.war\".INSTALL" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"reporting.war\".INSTALL: WFLYSRV0153: Failed to process phase INSTALL of deployment \"reporting.war\" Caused by: java.lang.UnsatisfiedLinkError: Unable to load library 'odbc': Native library (linux-x86/libodbc.so) not found in resource path (/home/andrek/Schreibtisch/wildfly-10.0.0.Final/jboss-modules.jar)"}} 08:29:48,217 ERROR [org.jboss.as.server] (management task-7) WFLYSRV0021: Deploy of deployment "reporting.war" was rolled back with the following failure message: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"reporting.war\".INSTALL" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"reporting.war\".INSTALL: WFLYSRV0153: Failed to process phase INSTALL of deployment \"reporting.war\" Caused by: java.lang.UnsatisfiedLinkError: Unable to load library 'odbc': Native library (linux-x86/libodbc.so) not found in resource path (/home/andrek/Schreibtisch/wildfly-10.0.0.Final/jboss-modules.jar)"}}