Getting error while deploying lightblue on WildFly 10.1.0 - java

What is LightBlue?
This is the error I am getting :
10:34:15,886 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001: Failed to start service jboss.module.service."deployment.lightblue-rest-crud-basic-auth-2.10.0-SNAPSHOT.war".main: org.jboss.msc.service.StartException in service jboss.module.service."deployment.lightblue-rest-crud-basic-auth-2.10.0-SNAPSHOT.war".main: WFLYSRV0179: Failed to load module: deployment.lightblue-rest-crud-basic-auth-2.10.0-SNAPSHOT.war:main
at org.jboss.as.server.moduleservice.ModuleLoadService.start(ModuleLoadService.java:91)
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: org.jboss.modules.ModuleNotFoundException: com.redhat.lightblue:main
at org.jboss.modules.Module.addPaths(Module.java:1093)
at org.jboss.modules.Module.link(Module.java:1449)
at org.jboss.modules.Module.relinkIfNecessary(Module.java:1477)
at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:225)
at org.jboss.as.server.moduleservice.ModuleLoadService.start(ModuleLoadService.java:68)
... 5 more
10:34:15,888 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 64) WFLYCTL0013: Operation ("add") failed - address: ([("deployment" => "lightblue-rest-crud-basic-auth-2.10.0-SNAPSHOT.war")]) - failure description: {
"WFLYCTL0080: Failed services" => {"jboss.module.service.\"deployment.lightblue-rest-crud-basic-auth-2.10.0-SNAPSHOT.war\".main" => "org.jboss.msc.service.StartException in service jboss.module.service.\"deployment.lightblue-rest-crud-basic-auth-2.10.0-SNAPSHOT.war\".main: WFLYSRV0179: Failed to load module: deployment.lightblue-rest-crud-basic-auth-2.10.0-SNAPSHOT.war:main
Caused by: org.jboss.modules.ModuleNotFoundException: com.redhat.lightblue:main"},
"WFLYCTL0412: Required services that are not installed:" => ["jboss.module.service.\"deployment.lightblue-rest-crud-basic-auth-2.10.0-SNAPSHOT.war\".main"],
"WFLYCTL0180: Services with missing/unavailable dependencies" => undefined
}
10:34:15,888 ERROR [org.jboss.as.server] (management-handler-thread - 64) WFLYSRV0021: Deploy of deployment "lightblue-rest-crud-basic-auth-2.10.0-SNAPSHOT.war" was rolled back with the following failure message:
{
"WFLYCTL0080: Failed services" => {"jboss.module.service.\"deployment.lightblue-rest-crud-basic-auth-2.10.0-SNAPSHOT.war\".main" => "org.jboss.msc.service.StartException in service jboss.module.service.\"deployment.lightblue-rest-crud-basic-auth-2.10.0-SNAPSHOT.war\".main: WFLYSRV0179: Failed to load module: deployment.lightblue-rest-crud-basic-auth-2.10.0-SNAPSHOT.war:main
Caused by: org.jboss.modules.ModuleNotFoundException: com.redhat.lightblue:main"},
"WFLYCTL0412: Required services that are not installed:" => ["jboss.module.service.\"deployment.lightblue-rest-crud-basic-auth-2.10.0-SNAPSHOT.war\".main"],
"WFLYCTL0180: Services with missing/unavailable dependencies" => undefined
}
I have found some solutions that are telling me to add module.xml but I don't know exactly where to add that and what should be the content of module.xml for light blue.
I am very new in wildfly deployment it will great help if anyone comes up with a solution.
Does anyone with the same error as mine?

Related

Deploying EJB Project to JBoss-AS with Spark dependencies throwing ClassNotFoundException

I'm trying to deploy an EJB project which uses Spark libraries to load to a trained ML model and then make a prediction from there.
When I try to deploy the project on my Wildfly server, it throws the error below.
I cannot figure out why it's throwing that ClassNotFoundException, there is a referenced jar in the project with that package inside:
Any thoughts on why this error is happening/how to fix it?
Error Message:
20:34:13,864 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-6) MSC000001: Failed to start service jboss.deployment.unit."kmeans-ejb.jar".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit."kmeans-ejb.jar".POST_MODULE: WFLYSRV0153: Failed to process phase POST_MODULE of deployment "kmeans-ejb.jar"
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:183)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1739)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1701)
at org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1559)
at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.RuntimeException: WFLYSRV0177: Error getting reflective information for class ec.spark.KMeansStateless with ClassLoader ModuleClassLoader for Module "deployment.kmeans-ejb.jar" from Service Module Loader
at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:78)
at org.jboss.as.ee.metadata.MethodAnnotationAggregator.runtimeAnnotationInformation(MethodAnnotationAggregator.java:57)
at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.handleAnnotations(InterceptorAnnotationProcessor.java:106)
at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.processComponentConfig(InterceptorAnnotationProcessor.java:91)
at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.deploy(InterceptorAnnotationProcessor.java:76)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:176)
... 8 more
Caused by: java.lang.NoClassDefFoundError: org/apache/spark/api/java/function/Function
at java.lang.Class.getDeclaredFields0(Native Method)
at java.lang.Class.privateGetDeclaredFields(Class.java:2583)
at java.lang.Class.getDeclaredFields(Class.java:1916)
at org.jboss.as.server.deployment.reflect.ClassReflectionIndex.<init>(ClassReflectionIndex.java:72)
at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:70)
... 13 more
Caused by: java.lang.ClassNotFoundException: org.apache.spark.api.java.function.Function from [Module "deployment.kmeans-ejb.jar" from Service Module Loader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:255)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:410)
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:116)
... 18 more
20:34:13,866 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 2) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "kmeans-ejb.jar")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"kmeans-ejb.jar\".POST_MODULE" => "WFLYSRV0153: Failed to process phase POST_MODULE of deployment \"kmeans-ejb.jar\"
Caused by: java.lang.RuntimeException: WFLYSRV0177: Error getting reflective information for class ec.spark.KMeansStateless with ClassLoader ModuleClassLoader for Module \"deployment.kmeans-ejb.jar\" from Service Module Loader
Caused by: java.lang.NoClassDefFoundError: org/apache/spark/api/java/function/Function
Caused by: java.lang.ClassNotFoundException: org.apache.spark.api.java.function.Function from [Module \"deployment.kmeans-ejb.jar\" from Service Module Loader]"}}
May be you are NOT bundled required jar in your war files. Extract your war files and see

I try to deploy opencell to wildfly. When I paste my opencell.war to standalone directory wildfly throws error

{
"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"opencell.war\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"opencell.war\".POST_MODULE: WFLYSRV0153: Failed to process phase POST_MODULE of deployment \"opencell.war\"
Caused by: java.lang.NoClassDefFoundError: Failed to link org/meveo/event/monitoring/ClusterEventMonitor (Module \"deployment.opencell.war:main\" from Service Module Loader): javax/jms/MessageListener"},
"WFLYCTL0412: Required services that are not installed:" => ["jboss.deployment.unit.\"opencell.war\".POST_MODULE"],
"WFLYCTL0180: Services with missing/unavailable dependencies" => undefined
}
Unable to find the org/meveo/event/monitoring/ClusterEventMonitor class by the server .

JBAS018733 : Failed to process phase PARSE of subdeployment

Hi I'm using JBOSS EAP 6.4 and JDK java version "1.7.0_79".The deployments are failing due to below error. I tried various solutions available on the web. Can anyone shed some light on this. Any help is much appreciated.
16:59:51,595 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015973: Starting subdeployment (runtime-name: "Project-WAR.war")
16:59:51,596 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015973: Starting subdeployment (runtime-name: "Project.jar")
16:59:52,145 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001: Failed to start service jboss.deployment.subunit."Project-EAR.ear"."Project-0.0.1-SNAPSHOT.jar".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.subunit."Project-EAR.ear"."Project-0.0.1-SNAPSHOT.jar".PARSE: JBAS018733: Failed to process phase PARSE of subdeployment "Project-0.0.1-SNAPSHOT.jar" of deployment "Project-EAR.ear"
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:166) [jboss-as-server-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1980) [jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1913) [jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_79]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_79]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_79]
Caused by: org.jboss.msc.service.ServiceNotFoundException: Service service jboss.ejb.default-resource-adapter-name-service not found
at org.jboss.msc.service.ServiceContainerImpl.getRequiredService(ServiceContainerImpl.java:625) [jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1]
at org.jboss.as.ejb3.deployment.processors.MessageDrivenComponentDescriptionFactory.getDefaultResourceAdapterName(MessageDrivenComponentDescriptionFactory.java:275)
at org.jboss.as.ejb3.deployment.processors.MessageDrivenComponentDescriptionFactory.processMessageBeans(MessageDrivenComponentDescriptionFactory.java:155)
at org.jboss.as.ejb3.deployment.processors.MessageDrivenComponentDescriptionFactory.processAnnotations(MessageDrivenComponentDescriptionFactory.java:82)
at org.jboss.as.ejb3.deployment.processors.AnnotatedEJBComponentDescriptionDeploymentUnitProcessor.processAnnotations(AnnotatedEJBComponentDescriptionDeploymentUnitProcessor.java:58)
at org.jboss.as.ejb3.deployment.processors.AbstractDeploymentUnitProcessor.deploy(AbstractDeploymentUnitProcessor.java:81)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:159) [jboss-as-server-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
... 5 more
16:59:52,228 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 2) JBAS014612: Operation ("deploy") failed - address: ([("deployment" => "Project-EAR.ear")]) - failure description: {"JBAS014671: Failed services" => {"jboss.deployment.subunit.\"Project-EAR.ear\".\"Project-0.0.1-SNAPSHOT.jar\".PARSE" => "org.jboss.msc.service.StartException in service jboss.deployment.subunit.\"Project-EAR.ear\".\"Project-0.0.1-SNAPSHOT.jar\".PARSE: JBAS018733: Failed to process phase PARSE of subdeployment \"Project-0.0.1-SNAPSHOT.jar\" of deployment \"Project-EAR.ear\"
are you using jms in your project? If so, the problem could be that you are not installing the messaging subsytem.. try starting your eap with standalone-full profile (which includes <subsystem xmlns="urn:jboss:domain:messaging:1.1">)
Ran into this issue on jboss-eap-6.1
"JBAS018733 : Failed to process phase PARSE..."
Cause-found duplicate JARs were in the ...WAR/WEB-INF/lib/1.2.X.jar
Solution:
removed older version of the two ..<APPNAME>.WAR/WEB-INF/lib/<APPNAME>1.2.X.jar
cleanout ../tmp/vfs
cleanout ../tmp/work/jboss.web/default-host/<APPNAME>Webservice
restart Jboss

Cant deploy project on Wildfly in standalone Keycloak

I starting standalone Keycloak on Wildfly.
Next i install keycloak-wildfly-adapter in my standalone keycloak folder (inside is include wildfly) with this command:
cd bin
./jboss-cli.sh --file=adapter-install-offline.cli
Then i want to deploy my app on server with this command:
mvn wildfly:deploy
and i get ERROR:
ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 50) MSC000001: Failed to start service jboss.undertow.deployment.default-server.default-host./ldap-portal: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./ldap-portal: java.lang.NoSuchMethodError: org.keycloak.representations.adapters.config.AdapterConfig.getMinTimeBetweenJwksRequests()I
at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:85)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
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)
at org.jboss.threads.JBossThread.run(JBossThread.java:320)
Caused by: java.lang.NoSuchMethodError: org.keycloak.representations.adapters.config.AdapterConfig.getMinTimeBetweenJwksRequests()I
at org.keycloak.adapters.KeycloakDeploymentBuilder.internalBuild(KeycloakDeploymentBuilder.java:107)
at org.keycloak.adapters.KeycloakDeploymentBuilder.build(KeycloakDeploymentBuilder.java:135)
at org.keycloak.adapters.undertow.KeycloakServletExtension.handleDeployment(KeycloakServletExtension.java:135)
at io.undertow.servlet.core.DeploymentManagerImpl.handleExtensions(DeploymentManagerImpl.java:252)
at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:152)
at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:100)
at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:82)
... 6 more
16:11:31,347 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 1) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "ldap-portal.war")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.undertow.deployment.default-server.default-host./ldap-portal" => "org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./ldap-portal: java.lang.NoSuchMethodError: org.keycloak.representations.adapters.config.AdapterConfig.getMinTimeBetweenJwksRequests()I
Caused by: java.lang.NoSuchMethodError: org.keycloak.representations.adapters.config.AdapterConfig.getMinTimeBetweenJwksRequests()I"}}
16:11:31,349 ERROR [org.jboss.as.server] (management-handler-thread - 1) WFLYSRV0021: Deploy of deployment "ldap-portal.war" was rolled back with the following failure message:
{"WFLYCTL0080: Failed services" => {"jboss.undertow.deployment.default-server.default-host./ldap-portal" => "org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./ldap-portal: java.lang.NoSuchMethodError: org.keycloak.representations.adapters.config.AdapterConfig.getMinTimeBetweenJwksRequests()I
Caused by: java.lang.NoSuchMethodError: org.keycloak.representations.adapters.config.AdapterConfig.getMinTimeBetweenJwksRequests()I"}}
Can someone explain me why this happen and how to fix it?

How to add lib into modules in wildfly 8.2 Final?

I'm trying to deploy my jar using appclient but i get this error.
This is my deploy command
C:\wildfly-8.2.0.Final\bin>appclient socket-gateway.jar
16:56:03,155 ERROR [org.jboss.msc.service.fail] (MSC service thread
1-16) MSC000001: Failed to start service
jboss.deployment.unit."socket-gateway.jar".POST_MODULE:
org.jboss.msc.service.StartException in service
jboss.deployment.unit."socket-gateway.jar".POST_MODULE: JBAS018733:
Failed to process phase POST_MODULE ofdeployment "socket-gateway.jar"
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:166)
[wildfly-server-8.2.0.Final.jar:8.2.0.Final]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
[jboss-msc-1.2.2.Final.jar:1.2.2.Final]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
[jboss-msc-1.2.2.Final.jar:1.2.2.Final]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[rt.jar:1.7.0_71]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[rt.jar:1.7.0_71]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_71] Caused by: java.lang.RuntimeException: JBAS014187: Could not load view
com.switching.serverapi.ServiceManagerBeanRemote
at org.jboss.as.ejb3.deployment.processors.EjbRefProcessor.processDescriptorEntries(EjbRefProcessor.java:99)
at org.jboss.as.ee.component.deployers.AbstractDeploymentDescriptorBindingsProcessor.deploy(AbstractDeploymentDescriptorBindingsProcessor.java:95)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:159)
[wildfly-server-8.2.0.Final.jar:8.2.0.Final]
... 5 more Caused by: java.lang.ClassNotFoundException: com.serverapi.ServiceManagerBeanRemote from [Module
"deployment.socket-gateway.jar:main" from Service Module Loader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:213)
[jboss-modules.jar:1.3.3.Final]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:459)
[jboss-modules.jar:1.3.3.Final]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:408)
[jboss-modules.jar:1.3.3.Final]
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:389)
[jboss-modules.jar:1.3.3.Final]
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:134)
[jboss-modules.jar:1.3.3.Final]
at java.lang.Class.forName0(Native Method) [rt.jar:1.7.0_71]
at java.lang.Class.forName(Class.java:274) [rt.jar:1.7.0_71]
at org.jboss.as.server.deployment.reflect.DeploymentClassIndex.classIndex(DeploymentClassIndex.java:54)
[wildfly-server-8.2.0.Final.jar:8.2.0.Final]
at org.jboss.as.ejb3.deployment.processors.EjbRefProcessor.processDescriptorEntries(EjbRefProcessor.java:97)
... 7 more
16:56:03,167 ERROR [org.jboss.as.controller.management-operation]
(Thread-43) JBAS014613: Operation ("deploy") failed - address:
([("deployment" => "socket-gate way.jar")]) - failure description:
{"JBAS014671: Failed services" =>
{"jboss.deployment.unit.\"socket-gateway.jar\".POST_MODULE" =>
"org.jboss.msc.service.Start Exception in service
jboss.deployment.unit.\"socket-gateway.jar\".POST_MODULE: JBAS018733:
Failed to process phase POST_MODULE of deployment
\"socket-gateway.jar\" Caused by: java.lang.RuntimeException:
JBAS014187: Could not load view
com.switching.serverapi.ServiceManagerBeanRemote Caused by:
java.lang.ClassNotFoundException:
com.switching.serverapi.ServiceManagerBeanRemote from [Module
\"deployment.socket-gateway.jar:main\" from Service Module Loader]"}}
16:56:03,170 ERROR [org.jboss.as.server] (Thread-43) JBAS015870:
Deploy of deployment "socket-gateway.jar" was rolled back with the
following failure message: {"JBAS014671: Failed services" =>
{"jboss.deployment.unit.\"socket-gateway.jar\".POST_MODULE" =>
"org.jboss.msc.service.StartException in service jboss.deployme
nt.unit.\"socket-gateway.jar\".POST_MODULE: JBAS018733: Failed to
process phase POST_MODULE of deployment \"socket-gateway.jar\" Caused
by: java.lang.RuntimeException: JBAS014187: Could not load view
com.switching.serverapi.ServiceManagerBeanRemote Caused by:
java.lang.ClassNotFoundException:
com.switching.serverapi.ServiceManagerBeanRemote from [Module
\"deployment.socket-gateway.jar:main\" from Service Module Loader]"}}
16:56:03,197 INFO [org.jboss.as.server.deployment] (MSC service thread
1-9) JBAS015877: Stopped deployment socket-gateway.jar (runtime-name:
socket-gateway.jar ) in 26ms 16:56:03,198 INFO
[org.jboss.as.controller] (Thread-43) JBAS014774: Service status
report JBAS014777: Services which failed to start: service
jboss.deployment.unit ."socket-gateway.jar".POST_MODULE
From that error it clearly said " java.lang.ClassNotFoundException: com.serverapi.ServiceManagerBeanRemote from [Module "deployment.socket-gateway.jar:main" from Service Module Loader]".
And i already read the redhat documentation
using that references , i make folder in "C:\wildfly-8.2.0.Final\modules\com\switching\serverapi" and put the serverapi.jar (this jar where the code for com.serverapi.ServiceManagerBeanRemote )
but i still have same problems. Anyone can help me?
Thank you
i think the folder you have made is not in the right directory. It should be under:
[WidlFly-HOME]\modules\system\layers\base .. \com\switching\serverapi\serverapi.jar

Categories

Resources