I succeeded to install JBoss AS 4.0.4.CR2 (configured it with ejb3 clustering as "all") with the jar-installer but ends up with the same result as before:
| java.lang.TypeNotPresentException: Type javax.ejb.PostConstruct not present | Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for: javax.ejb.PostConstruct | ...without having done any modifications on the installation when it comes to the EJB3 part. I also checked the /deploy/ejb3.deployer/ directory to confirm that the jboss-ejb3x.jar is in place, and it is. This is a quick structure description of our packaged application: axessity.ear --META-INF ----application.xml ----MANIFEST.MF --axessity-sae.sar ----META-INF ------MANIFEST.MF ------jboss-service.xml ----[packaged service classes] --axessity.sar ----META-INF ------jboss-service.xml ------MANIFEST.MF ----[packaged service classes] --axessity.war ----[directories with web content, jsp files, applets, etc] ----META-INF ------MANIFEST.MF ----WEB-INF ------classes ------lib (containing .jars only for web tier) ------tld ------web.xml --axessity-beans.jar ----META-INF ------MANIFEST.MF ----[packaged EJB Session Beans, application exceptions and util classes] --axessity-citynet.jar ----META-INF ------MANIFEST.MF ------persistence.xml (EntityManager for database #1) ----[packaged Entity Beans] --axessity-portal.jar ----META-INF ------MANIFEST.MF ------persistence.xml (EntityManager for database #2) ----[packaged Entity Beans] Any obvious problems with this packaging? It worked fine with JBoss AS 4.0.3SP1. We have followed the wiki migration guide for EJB's, Hibernate and persistence.xml. We are also depending on xmbeans with attribute persistence so I had to modify the /all/conf/jboss-service.xml to use the AttributePersistenceService. Another thing we depend on is System.properties and we add properties to the system from a properties file residing in /all/conf/ and pointing it out in the properties-service.xml in the /all/deploy/ directory. properties-plugin.jar is also added to /all/lib/ as it holds org.jboss.varia.property.PropertyEditorManagerService. Never been a problem before. Anyone else that have succeeded to migrate to 4.0.4CR2 + EJB3RC6? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3938415#3938415 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3938415 ------------------------------------------------------- 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 [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
