[jboss-user] [Installation, Configuration & DEPLOYMENT] - Exploded EAR deployment problem

tamilsmani do-not-reply at jboss.com
Mon Sep 29 03:59:02 EDT 2008


Hi all,
                       I am trying to deploy an application an exploded format. I have created 3 different projects EAR, JAR (EJB) and WAR. I have configured all 3 different projects in application.xml in EAR project and I referenced in JBOSS server.

The application.xml file entry as follows:

  <display-name>VPS_EAR</display-name>
    
../../../../../../VPS_WORKSPACE\VPS_EJB\classes.jar  // The location where my EJB project is exist
  
    
    
      <web-uri>/../../../../../VPS_WORKSPACE\VPS_WEB\WebContent</web-uri> // The location where my WEB project is exist
      <context-root>/VPS</context-root>
    
   


            I am getting a problem when I started the server and server finds ejb project and start compiling an ejb.  The problem was:

12:40:11,884 INFO  [EARDeployer] Init J2EE application: file:/C:/jboss-4.2.2.GA/server/default/deploy/VPS.ear/
12:40:12,650 WARN  [ServiceController] Problem creating service jboss.j2ee:service=EJB3,module=classes.jar
java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy
            at sun.reflect.annotation.AnnotationParser.parseClassArray(Unknown Source)
            at sun.reflect.annotation.AnnotationParser.parseArray(Unknown Source)
            at sun.reflect.annotation.AnnotationParser.parseMemberValue(Unknown Source)
            at sun.reflect.annotation.AnnotationParser.parseAnnotation(Unknown Source)
            at sun.reflect.annotation.AnnotationParser.parseAnnotations2(Unknown Source)
            at sun.reflect.annotation.AnnotationParser.parseAnnotations(Unknown Source)
            at java.lang.Class.initAnnotationsIfNecessary(Unknown Source)
            at java.lang.Class.getAnnotation(Unknown Source)
            at org.jboss.aop.annotation.AnnotationElement.getVisibleAnnotation(AnnotationElement.java:88)
 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179280#4179280

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179280



More information about the jboss-user mailing list