[jboss-dev-forums] [Design of the JBoss EJB Container] - Exploded deployment EJB problem

tamilsmani do-not-reply at jboss.com
Mon Sep 29 12:10:22 EDT 2008


Hi anyone,

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>

The above configuration is absolutely fine. No issues with that.


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) 

Thanx in advance.

Regards
Tamil Selvan.

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

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



More information about the jboss-dev-forums mailing list