Hello,

I just installed JBoss AS 4.0.4 GA (on my Win XP box with jdk1.5.0_04) from the 
GUI Installer choosing the EJB3 configuration 

After installation completed, the server starts successfully as shown below:

anonymous wrote : 
  | C:\Programs\jboss-4.0.4.GA\bin>run -c EJB3
  | 
===============================================================================
  | .
  |   JBoss Bootstrap Environment
  | .
  |   JBOSS_HOME: C:\Programs\jboss-4.0.4.GA\bin\\..
  | .
  |   JAVA: C:\Programs\Java\jdk1.5.0_02\bin\java
  | .
  |   JAVA_OPTS:  -Dprogram.name=run.bat -Xms128m -Xmx512m 
-Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
  | .
  |   
CLASSPATH:C:\Programs\Java\jdk1.5.0_02\lib\tools.jar;C:\Programs\jboss-4.0.4.GA\bin\\run.jar
  | .
  | 
===============================================================================
  | .
  | 09:51:55,484 INFO  [Server] Starting JBoss (MX MicroKernel)...
  | 09:51:55,484 INFO  [Server] Release ID: JBoss [Zion] 4.0.4.GA (build: 
CVSTag=JBoss_4_0_4_GA date=200605151000)
  | 09:51:55,484 INFO  [Server] Home Dir: C:\Programs\jboss-4.0.4.GA
  | 09:51:55,484 INFO  [Server] Home URL: file:/C:/Programs/jboss-4.0.4.GA/
  | 09:51:55,484 INFO  [Server] Patch URL: null
  | 09:51:55,500 INFO  [Server] Server Name: EJB3
  | 09:51:55,500 INFO  [Server] Server Home Dir: 
C:\Programs\jboss-4.0.4.GA\server\EJB3
  | 09:51:55,500 INFO  [Server] Server Home URL: 
file:/C:/Programs/jboss-4.0.4.GA/server/EJB3/
  | 09:51:55,500 INFO  [Server] Server Log Dir: 
C:\Programs\jboss-4.0.4.GA\server\EJB3\log
  | 09:51:55,500 INFO  [Server] Server Temp Dir: 
C:\Programs\jboss-4.0.4.GA\server\EJB3\tmp
  | 09:51:55,500 INFO  [Server] Root Deployment Filename: jboss-service.xml
  | 09:51:55,843 INFO  [ServerInfo] Java version: 1.5.0_02,Sun Microsystems Inc.
  | 09:51:55,843 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Client VM 
1.5.0_02-b09
  | ,Sun Microsystems Inc.
  | ...
  | ...
  | ...
  | 09:52:12,578 INFO  [Server] JBoss (MX MicroKernel) [4.0.4.GA 
(build:CVSTag=JBoss_4_0_4_GA date=200605151000)] Started in 17s:78ms
  | 

I the put the EJB3trail.ear in the deployment directory and I get the following 
warnings on the JBoss Console (after a few info messages):

anonymous wrote : 
  | 09:54:07,562 INFO  [EARDeployer] Init J2EE application: 
file:/C:/Programs/jboss-4.0.4.GA/server/EJB3/deploy/EJB3Trail.ear
  | 09:54:10,000 INFO  [Ejb3Deployment] EJB3 deployment time took: 954
  | 09:54:10,015 INFO  [JmxKernelAbstraction] installing MBean: 
persistence.units:ear=EJB3Trail.ear,jar=beans.jar,unitName=ejb3trail with 
dependencies:
  | 09:54:10,015 INFO  [JmxKernelAbstraction]       
jboss.jca:name=DefaultDS,service=ManagedConnectionFactory
  | 09:54:10,046 INFO  [Version] Hibernate EntityManager 3.2.0.CR1
  | 09:54:10,078 INFO  [Version] Hibernate Annotations 3.2.0.CR1
  | 09:54:10,078 INFO  [Environment] Hibernate 3.2 cr2
  | 09:54:10,093 INFO  [Environment] hibernate.properties not found
  | 09:54:10,093 INFO  [Environment] Bytecode provider name : cglib
  | 09:54:10,093 INFO  [Environment] using JDK 1.4 java.sql.Timestamp handling
  | 09:54:10,250 INFO  [Ejb3Configuration] found EJB3 Entity bean: 
trail.entity.beans.Fund
  | ...
  | ...
  | ...
  | 
  | 09:54:11,937 WARN  [ServiceController] Problem starting service 
jboss.j2ee:service=EJB3,module=beans.jar
  | java.lang.TypeNotPresentException: Type javax.ejb.EJB not present
  |         at 
sun.reflect.generics.factory.CoreReflectionFactory.makeNamedType(CoreReflectionFactory.java:98)
  |         at 
sun.reflect.generics.visitor.Reifier.visitClassTypeSignature(Reifier.java:107)
  |         at 
sun.reflect.generics.tree.ClassTypeSignature.accept(ClassTypeSignature.java:31)
  |         at 
sun.reflect.annotation.AnnotationParser.parseSig(AnnotationParser.java:351)
  |         at 
sun.reflect.annotation.AnnotationParser.parseAnnotation(AnnotationParser.java:175)
  |         at 
sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:69)
  |         at 
sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:52)
  |         at java.lang.reflect.Field.declaredAnnotations(Field.java:1002)
  |         at java.lang.reflect.Field.getAnnotation(Field.java:989)
  |         at 
org.jboss.aop.annotation.AnnotationElement.getVisibleAnnotation(AnnotationElement.java:75)
  |         at org.jboss.aop.Advisor.resolveAnnotation(Advisor.java:388)
  |         at 
org.jboss.ejb3.injection.InjectionUtil.getAnnotation(InjectionUtil.java:124)
  |         at 
org.jboss.ejb3.injection.PersistenceContextHandler.loadFieldDependencies(PersistenceContextHandler.java:335)
  |         at 
org.jboss.ejb3.injection.PersistenceContextHandler.loadDependencies(PersistenceContextHandler.java:410)
  |         at 
org.jboss.ejb3.EJBContainer.processMetadata(EJBContainer.java:236)
  | ...
  | ...
  | Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for: 
javax.ejb.EJB at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:306)
  |         at 
org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:511)
  |         at 
org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:405)
  |         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
  |         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
  |         at java.lang.Class.forName0(Native Method)
  |         at java.lang.Class.forName(Class.java:242)
  |         at 
sun.reflect.generics.factory.CoreReflectionFactory.makeNamedType(CoreReflectionFactory.java:95)
  |         ... 82 more
  | 

Any idea about what is missing in my configuration ?

Thank you very much in advance
Xavier

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

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

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to