How to install RA in existing Jboss installations

Magick
Magick New Altair Community Member
edited November 5 in Community Q&A
Hi

Im wondering if it is possible to deploy RA to an existing JBoss installation?

Ive tried various approaches, such as uploading the rapidanalytics.xxx.ear file, and also putting the various .jar files in the standalone/lib folder, however Im still getting errors.

the log from Jboss is;

02:56:34,484 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) Starting deployment of "RapidAnalytics-CE-1.1.014.ear"
02:56:35,755 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) Starting deployment of "RapidRepositoryEJB.jar"
02:56:35,755 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) Starting deployment of "RapidRepositoryWebService.war"
02:56:35,755 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) Starting deployment of "RapidRepositoryWeb.war"
02:56:36,116 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-3) Class Path entry  in "/content/RapidAnalytics-CE-1.1.014.ear/lib/RapidRepositorySSO.jar" does not point to a valid jar for a Class-Path reference.
02:56:36,117 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-3) Class Path entry  in "/content/RapidAnalytics-CE-1.1.014.ear/lib/RapidRepositoryTools.jar" does not point to a valid jar for a Class-Path reference.
02:56:36,117 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-3) Class Path entry  in "/content/RapidAnalytics-CE-1.1.014.ear/lib/RapidMiner_Vega.jar" does not point to a valid jar for a Class-Path reference.
02:56:36,118 INFO  [org.jboss.jpa] (MSC service thread 1-3) read persistence.xml for RapidRepositoryEntity
02:56:36,262 INFO  [org.jboss.as.jpa] (MSC service thread 1-4) added javax.persistence.api, javaee.api, org.jboss.as.jpa, org.javassist dependencies to RapidAnalytics-CE-1.1.014.ear
02:56:36,263 INFO  [org.jboss.as.jpa] (MSC service thread 1-4) added (default provider) org.hibernate dependency to application deployment (since 1 PU(s) didn't specify jboss.as.jpa.providerModule)
02:56:36,263 INFO  [org.jboss.as.jpa] (MSC service thread 1-4) added org.hibernate dependency to application deployment
02:56:36,264 INFO  [org.jboss.as.jpa] (MSC service thread 1-4) added javax.persistence.api, javaee.api, org.jboss.as.jpa, org.javassist dependencies to RapidRepositoryWeb.war
02:56:36,264 INFO  [org.jboss.as.jpa] (MSC service thread 1-4) added javax.persistence.api, javaee.api, org.jboss.as.jpa, org.javassist dependencies to RapidRepositoryEJB.jar
02:56:36,265 INFO  [org.jboss.as.jpa] (MSC service thread 1-4) added javax.persistence.api, javaee.api, org.jboss.as.jpa, org.javassist dependencies to RapidRepositoryWebService.war
02:56:36,396 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-2) JNDI bindings for session bean named RepositoryEJBImpl in deployment unit subdeployment "RapidRepositoryEJB.jar" of deployment "RapidAnalytics-CE-1.1.014.ear" are as follows:

java:global/RapidAnalytics-CE-1.1.014/RapidRepositoryEJB/RepositoryEJBImpl!de.rapidanalytics.ejb.RepositoryEJB
java:app/RapidRepositoryEJB/RepositoryEJBImpl!de.rapidanalytics.ejb.RepositoryEJB
java:module/RepositoryEJBImpl!de.rapidanalytics.ejb.RepositoryEJB
java:global/RapidAnalytics-CE-1.1.014/RapidRepositoryEJB/RepositoryEJBImpl
java:app/RapidRepositoryEJB/RepositoryEJBImpl
java:module/RepositoryEJBImpl

02:56:36,396 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-2) JNDI bindings for session bean named RapidMinerEJBImpl in deployment unit subdeployment "RapidRepositoryEJB.jar" of deployment "RapidAnalytics-CE-1.1.014.ear" are as follows:

java:global/RapidAnalytics-CE-1.1.014/RapidRepositoryEJB/RapidMinerEJBImpl!de.rapidanalytics.ejb.RapidMinerEJB
java:app/RapidRepositoryEJB/RapidMinerEJBImpl!de.rapidanalytics.ejb.RapidMinerEJB
java:module/RapidMinerEJBImpl!de.rapidanalytics.ejb.RapidMinerEJB
java:global/RapidAnalytics-CE-1.1.014/RapidRepositoryEJB/RapidMinerEJBImpl
java:app/RapidRepositoryEJB/RapidMinerEJBImpl
java:module/RapidMinerEJBImpl

02:56:36,396 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-2) JNDI bindings for session bean named AccessLogEJBImpl in deployment unit subdeployment "RapidRepositoryEJB.jar" of deployment "RapidAnalytics-CE-1.1.014.ear" are as follows:

java:global/RapidAnalytics-CE-1.1.014/RapidRepositoryEJB/AccessLogEJBImpl!de.rapidanalytics.ejb.AccessLogEJB
java:app/RapidRepositoryEJB/AccessLogEJBImpl!de.rapidanalytics.ejb.AccessLogEJB
java:module/AccessLogEJBImpl!de.rapidanalytics.ejb.AccessLogEJB
java:global/RapidAnalytics-CE-1.1.014/RapidRepositoryEJB/AccessLogEJBImpl
java:app/RapidRepositoryEJB/AccessLogEJBImpl
java:module/AccessLogEJBImpl

02:56:36,397 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-2) JNDI bindings for session bean named MigrationEJBImpl in deployment unit subdeployment "RapidRepositoryEJB.jar" of deployment "RapidAnalytics-CE-1.1.014.ear" are as follows:

java:global/RapidAnalytics-CE-1.1.014/RapidRepositoryEJB/MigrationEJBImpl!de.rapidanalytics.ejb.MigrationEJB
java:app/RapidRepositoryEJB/MigrationEJBImpl!de.rapidanalytics.ejb.MigrationEJB
java:module/MigrationEJBImpl!de.rapidanalytics.ejb.MigrationEJB
java:global/RapidAnalytics-CE-1.1.014/RapidRepositoryEJB/MigrationEJBImpl
java:app/RapidRepositoryEJB/MigrationEJBImpl
java:module/MigrationEJBImpl

02:56:36,397 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-2) JNDI bindings for session bean named UserManagementEJBImpl in deployment unit subdeployment "RapidRepositoryEJB.jar" of deployment "RapidAnalytics-CE-1.1.014.ear" are as follows:

java:global/RapidAnalytics-CE-1.1.014/RapidRepositoryEJB/UserManagementEJBImpl!de.rapidanalytics.ejb.UserManagementEJB
java:app/RapidRepositoryEJB/UserManagementEJBImpl!de.rapidanalytics.ejb.UserManagementEJB
java:module/UserManagementEJBImpl!de.rapidanalytics.ejb.UserManagementEJB
java:global/RapidAnalytics-CE-1.1.014/RapidRepositoryEJB/UserManagementEJBImpl
java:app/RapidRepositoryEJB/UserManagementEJBImpl
java:module/UserManagementEJBImpl

02:56:36,397 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-2) JNDI bindings for session bean named ProcessHelperEJBImpl in deployment unit subdeployment "RapidRepositoryEJB.jar" of deployment "RapidAnalytics-CE-1.1.014.ear" are as follows:

java:global/RapidAnalytics-CE-1.1.014/RapidRepositoryEJB/ProcessHelperEJBImpl!de.rapidanalytics.ejb.ProcessHelperEJB
java:app/RapidRepositoryEJB/ProcessHelperEJBImpl!de.rapidanalytics.ejb.ProcessHelperEJB
java:module/ProcessHelperEJBImpl!de.rapidanalytics.ejb.ProcessHelperEJB
java:global/RapidAnalytics-CE-1.1.014/RapidRepositoryEJB/ProcessHelperEJBImpl
java:app/RapidRepositoryEJB/ProcessHelperEJBImpl
java:module/ProcessHelperEJBImpl

02:56:36,397 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-2) JNDI bindings for session bean named ExportedProcessEJBImpl in deployment unit subdeployment "RapidRepositoryEJB.jar" of deployment "RapidAnalytics-CE-1.1.014.ear" are as follows:

java:global/RapidAnalytics-CE-1.1.014/RapidRepositoryEJB/ExportedProcessEJBImpl!de.rapidanalytics.ejb.ExportedProcessEJB
java:app/RapidRepositoryEJB/ExportedProcessEJBImpl!de.rapidanalytics.ejb.ExportedProcessEJB
java:module/ExportedProcessEJBImpl!de.rapidanalytics.ejb.ExportedProcessEJB
java:global/RapidAnalytics-CE-1.1.014/RapidRepositoryEJB/ExportedProcessEJBImpl
java:app/RapidRepositoryEJB/ExportedProcessEJBImpl
java:module/ExportedProcessEJBImpl

02:56:36,397 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-2) JNDI bindings for session bean named TriggerEJBImpl in deployment unit subdeployment "RapidRepositoryEJB.jar" of deployment "RapidAnalytics-CE-1.1.014.ear" are as follows:

java:global/RapidAnalytics-CE-1.1.014/RapidRepositoryEJB/TriggerEJBImpl!de.rapidanalytics.ejb.TriggerEJB
java:app/RapidRepositoryEJB/TriggerEJBImpl!de.rapidanalytics.ejb.TriggerEJB
java:module/TriggerEJBImpl!de.rapidanalytics.ejb.TriggerEJB
java:global/RapidAnalytics-CE-1.1.014/RapidRepositoryEJB/TriggerEJBImpl
java:app/RapidRepositoryEJB/TriggerEJBImpl
java:module/TriggerEJBImpl

02:56:36,398 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-2) JNDI bindings for session bean named RepositoryStorageEJBImpl in deployment unit subdeployment "RapidRepositoryEJB.jar" of deployment "RapidAnalytics-CE-1.1.014.ear" are as follows:

java:global/RapidAnalytics-CE-1.1.014/RapidRepositoryEJB/RepositoryStorageEJBImpl!de.rapidanalytics.ejb.RepositoryStorageEJB
java:app/RapidRepositoryEJB/RepositoryStorageEJBImpl!de.rapidanalytics.ejb.RepositoryStorageEJB
java:module/RepositoryStorageEJBImpl!de.rapidanalytics.ejb.RepositoryStorageEJB
java:global/RapidAnalytics-CE-1.1.014/RapidRepositoryEJB/RepositoryStorageEJBImpl
java:app/RapidRepositoryEJB/RepositoryStorageEJBImpl
java:module/RepositoryStorageEJBImpl

02:56:36,398 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-2) JNDI bindings for session bean named TriggerManagementEJBImpl in deployment unit subdeployment "RapidRepositoryEJB.jar" of deployment "RapidAnalytics-CE-1.1.014.ear" are as follows:

java:global/RapidAnalytics-CE-1.1.014/RapidRepositoryEJB/TriggerManagementEJBImpl!de.rapidanalytics.ejb.TriggerManagementEJB
java:app/RapidRepositoryEJB/TriggerManagementEJBImpl!de.rapidanalytics.ejb.TriggerManagementEJB
java:module/TriggerManagementEJBImpl!de.rapidanalytics.ejb.TriggerManagementEJB
java:global/RapidAnalytics-CE-1.1.014/RapidRepositoryEJB/TriggerManagementEJBImpl
java:app/RapidRepositoryEJB/TriggerManagementEJBImpl
java:module/TriggerManagementEJBImpl

02:56:36,398 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-2) JNDI bindings for session bean named ProcessJobEJBImpl in deployment unit subdeployment "RapidRepositoryEJB.jar" of deployment "RapidAnalytics-CE-1.1.014.ear" are as follows:

java:global/RapidAnalytics-CE-1.1.014/RapidRepositoryEJB/ProcessJobEJBImpl!de.rapidanalytics.ejb.ProcessJobEJB
java:app/RapidRepositoryEJB/ProcessJobEJBImpl!de.rapidanalytics.ejb.ProcessJobEJB
java:module/ProcessJobEJBImpl!de.rapidanalytics.ejb.ProcessJobEJB
java:global/RapidAnalytics-CE-1.1.014/RapidRepositoryEJB/ProcessJobEJBImpl
java:app/RapidRepositoryEJB/ProcessJobEJBImpl
java:module/ProcessJobEJBImpl

02:56:36,398 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-2) JNDI bindings for session bean named SchedulerEJBImpl in deployment unit subdeployment "RapidRepositoryEJB.jar" of deployment "RapidAnalytics-CE-1.1.014.ear" are as follows:

java:global/RapidAnalytics-CE-1.1.014/RapidRepositoryEJB/SchedulerEJBImpl!de.rapidanalytics.ejb.SchedulerEJB
java:app/RapidRepositoryEJB/SchedulerEJBImpl!de.rapidanalytics.ejb.SchedulerEJB
java:module/SchedulerEJBImpl!de.rapidanalytics.ejb.SchedulerEJB
java:global/RapidAnalytics-CE-1.1.014/RapidRepositoryEJB/SchedulerEJBImpl
java:app/RapidRepositoryEJB/SchedulerEJBImpl
java:module/SchedulerEJBImpl

02:56:36,398 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-2) JNDI bindings for session bean named UserCreationEJBImpl in deployment unit subdeployment "RapidRepositoryEJB.jar" of deployment "RapidAnalytics-CE-1.1.014.ear" are as follows:

java:global/RapidAnalytics-CE-1.1.014/RapidRepositoryEJB/UserCreationEJBImpl!de.rapidanalytics.ejb.UserCreationEJB
java:app/RapidRepositoryEJB/UserCreationEJBImpl!de.rapidanalytics.ejb.UserCreationEJB
java:module/UserCreationEJBImpl!de.rapidanalytics.ejb.UserCreationEJB
java:global/RapidAnalytics-CE-1.1.014/RapidRepositoryEJB/UserCreationEJBImpl
java:app/RapidRepositoryEJB/UserCreationEJBImpl
java:module/UserCreationEJBImpl

02:56:36,485 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC00001: Failed to start service jboss.deployment.subunit."RapidAnalytics-CE-1.1.014.ear"."RapidRepositoryWebService.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.subunit."RapidAnalytics-CE-1.1.014.ear"."RapidRepositoryWebService.war".INSTALL: Failed to process phase INSTALL of subdeployment "RapidRepositoryWebService.war" of deployment "RapidAnalytics-CE-1.1.014.ear"
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:121) [jboss-as-server-7.0.2.Final.jar:7.0.2.Final]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_22]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_22]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_22]
Caused by: java.lang.RuntimeException: Failed to load class org.springframework.web.util.Log4jConfigListener
at org.jboss.as.ee.component.deployers.EEClassConfigurationProcessor$1.compute(EEClassConfigurationProcessor.java:141)
at org.jboss.as.ee.component.deployers.EEClassConfigurationProcessor$1.compute(EEClassConfigurationProcessor.java:122)
at org.jboss.as.ee.component.LazyValue.get(LazyValue.java:40)
at org.jboss.as.ee.component.EEApplicationDescription.getClassConfiguration(EEApplicationDescription.java:183)
at org.jboss.as.ee.component.ComponentDescription.createConfiguration(ComponentDescription.java:153)
at org.jboss.as.ee.component.deployers.EEModuleConfigurationProcessor.deploy(EEModuleConfigurationProcessor.java:70)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115) [jboss-as-server-7.0.2.Final.jar:7.0.2.Final]
... 5 more
Caused by: java.lang.ClassNotFoundException: org.springframework.web.util.Log4jConfigListener from [Module "deployment.RapidAnalytics-CE-1.1.014.ear.RapidRepositoryWebService.war:main" from Service Module Loader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:191)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:361)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:333)
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:310)
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:103)
at java.lang.Class.forName0(Native Method) [:1.6.0_22]
at java.lang.Class.forName(Class.java:247) [:1.6.0_22]
at org.jboss.as.ee.component.deployers.EEClassConfigurationProcessor$1.compute(EEClassConfigurationProcessor.java:139)
... 11 more

02:56:36,506 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC00001: Failed to start service jboss.deployment.subunit."RapidAnalytics-CE-1.1.014.ear"."RapidRepositoryWeb.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.subunit."RapidAnalytics-CE-1.1.014.ear"."RapidRepositoryWeb.war".INSTALL: Failed to process phase INSTALL of subdeployment "RapidRepositoryWeb.war" of deployment "RapidAnalytics-CE-1.1.014.ear"
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:121)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_22]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_22]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_22]
Caused by: java.lang.RuntimeException: Failed to load class org.springframework.web.util.Log4jConfigListener
at org.jboss.as.ee.component.deployers.EEClassConfigurationProcessor$1.compute(EEClassConfigurationProcessor.java:141)
at org.jboss.as.ee.component.deployers.EEClassConfigurationProcessor$1.compute(EEClassConfigurationProcessor.java:122)
at org.jboss.as.ee.component.LazyValue.get(LazyValue.java:40)
at org.jboss.as.ee.component.EEApplicationDescription.getClassConfiguration(EEApplicationDescription.java:183)
at org.jboss.as.ee.component.ComponentDescription.createConfiguration(ComponentDescription.java:153)
at org.jboss.as.ee.component.deployers.EEModuleConfigurationProcessor.deploy(EEModuleConfigurationProcessor.java:70)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115)
... 5 more
Caused by: java.lang.ClassNotFoundException: org.springframework.web.util.Log4jConfigListener from [Module "deployment.RapidAnalytics-CE-1.1.014.ear.RapidRepositoryWebService.war:main" from Service Module Loader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:191)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:361)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:333)
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:310)
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:103)
at java.lang.Class.forName0(Native Method) [:1.6.0_22]
at java.lang.Class.forName(Class.java:247) [:1.6.0_22]
at org.jboss.as.ee.component.deployers.EEClassConfigurationProcessor$1.compute(EEClassConfigurationProcessor.java:139)
... 11 more


Answers

  • fischer
    fischer New Altair Community Member
    Hi,

    this should of course be possible. Just follow the instructions in for the manual installation. What JBoss version are you using? JBoss 6.0.0 Final definitely works. JBoss 7 is untested.

    Best,
    Simon