facebook

getting errors while running JBOSS EAP 6.0.1 as JBOSS AS v7.x in MyEclipse 2015

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #482434 Reply

    Karthik Gillella
    Participant

    I’m using MyEclipse 2015 and tried to deploy the war files using jboss eap 6.0.1. But I’m getting errors in console. Whereas if I manually copy war files and place them in jboss deployments folder it it working fine.
    Can somebody help me with jboss configuration?

    #482514 Reply

    support-swapna
    Moderator

    Karthik,

    Sorry that you are seeing this issue. I could not find the JBoss EAP 6.0.1 download. The oldest I could find is JBoss EAP 6.1.0 and I see no issues configuring and deploying to it.

    1. Does the server start/stop fine without any errors in the Console? Please remove all deployments and check if the server starts/stops fine. Let us know if you see any errors in the Console.

    2. Can you please share with us the MyEclipse Build Id and Version details from Help > About section?
    Also share with us the error messages you are seeing in the Console during deployment.

    3. Please update to a more recent version of JBoss EAP 6.x and check if the issue persists.

    Let us know how it works.

    –Swapna
    MyEclipse Support

    #482598 Reply

    Karthik Gillella
    Participant

    Whie publishing itself getting a message like file not found. So publish got failed. Can I get Myeclipse 2014 instead of 2015?

    These are MyEclipse details.

    Version: 2015 Stable 2.0
    Build id: 13.0.0-20150518

    #482604 Reply

    support-swapna
    Moderator

    Karthik,

    Thank you for the details.

    You can get MyEclipse 2014 as our licensed users will have access to all the previous versions, but it is recommended to work with latest releases and stay updated with the latest developments.

    Before switching back to the older release, can you please share with us the exact errors you are seeing in the Console to help us resolve the issue ?

    MyEclipse 2015 Stable 3.0 is the latest release in the Stable stream. Please update to Stable 3.0 from Help > Check for Updates and check if the issue persists.

    Let us know how it works for you.

    –Swapna
    MyEclipse Support

    #482617 Reply

    Karthik Gillella
    Participant

    Jboss started with errors in console. I updated the MyEclipse to 2015 Stable 3.0 but still facing the issue.

    MSC000001: Failed to start service jboss.deployment.unit.”X.war”.POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit.”X.war”.POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of deployment “X.war”
    at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:123) [jboss-as-server-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA-redhat-2.jar:1.0.2.GA-redhat-2]
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA-redhat-2.jar:1.0.2.GA-redhat-2]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_25]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_25]
    at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_25]
    Caused by: java.lang.RuntimeException: JBAS018757: Error getting reflective information for class com.demo.ClientGroupMbean with ClassLoader ModuleClassLoader for Module “deployment.X.war:main” from Service Module Loader
    at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:72) [jboss-as-server-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]
    at org.jboss.as.ee.metadata.MethodAnnotationAggregator.runtimeAnnotationInformation(MethodAnnotationAggregator.java:58)
    at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.handleAnnotations(InterceptorAnnotationProcessor.java:85)
    at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.processComponentConfig(InterceptorAnnotationProcessor.java:70)
    at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.deploy(InterceptorAnnotationProcessor.java:55)
    at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:116) [jboss-as-server-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]
    … 5 more
    Caused by: java.lang.NoClassDefFoundError: Lcom/demo/OrgUtilService;
    at java.lang.Class.getDeclaredFields0(Native Method) [rt.jar:1.7.0_25]
    at java.lang.Class.privateGetDeclaredFields(Class.java:2387) [rt.jar:1.7.0_25]
    at java.lang.Class.getDeclaredFields(Class.java:1796) [rt.jar:1.7.0_25]
    at org.jboss.as.server.deployment.reflect.ClassReflectionIndex.<init>(ClassReflectionIndex.java:57) [jboss-as-server-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]
    at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:68) [jboss-as-server-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]
    … 10 more
    Caused by: java.lang.ClassNotFoundException: com.demo.OrgUtilService from [Module “deployment.X.war:main” from Service Module Loader]
    at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190) [jboss-modules.jar:1.1.3.GA-redhat-1]
    at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468) [jboss-modules.jar:1.1.3.GA-redhat-1]
    at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456) [jboss-modules.jar:1.1.3.GA-redhat-1]
    at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398) [jboss-modules.jar:1.1.3.GA-redhat-1]
    at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120) [jboss-modules.jar:1.1.3.GA-redhat-1]
    … 15 more

    I removed all the deployments from server and it is working fine(start/stop).

    #482710 Reply

    support-swapna
    Moderator

    karthik,

    Thank you for the error details. This looks like an issue with a missing dependency for the project to deploy.

    Did you add the JAR file that contains the com.demo.OrgUtilService class to the WEB-INF/lib folder of your WAR file?

    You can also add the jars/resources that needs to be deployed with your project to the project’s Deployment Assembly page (right click on the project > Properties > MyEclipse > Deployment Assembly).

    Here is the FAQ about MyEclipse Deployment Assembly :
    https://www.genuitec.com/products/myeclipse/learning-center/basics/myeclipse-deployment-assembly/

    Please add the dependencies and check if the issue persists.

    Let us know how it works.

    –Swapna
    MyEclipse Support

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: getting errors while running JBOSS EAP 6.0.1 as JBOSS AS v7.x in MyEclipse 2015

You must be logged in to post in the forum log in