cancel
Showing results for 
Search instead for 
Did you mean: 

Ver 3 WAR only download - what now?

arnieaustin
Champ in-the-making
Champ in-the-making
I am really sorry to be asking this, but I have a functioning JBoss/MySQL setup and I wanted to download/customize/deploy the DM 3.x war to my test box so I can check out Alfresco.

But - I am totally confused about what to DO with it! I can see the files in the ./extensions/extension directory and following the 2.2 installation document (is that my problem?) I updated all the requisite files….but they are not INSIDE the .war file and I'm at a loss how I am supposed to rebuild it.

Can someone supply me a link to a document that covers this?
1 REPLY 1

arnieaustin
Champ in-the-making
Champ in-the-making
As a test, I followed the articles regarding JAS 4.0 and 4.2. I'm on 4.3.0.ga_cp02 (oy!) and Alfresco was the only application to deploy.

Well, it started to deploy - even got as far as creating the tables in the database (interesting, since I hadn't changed any of the config files in the .war file) - but there were errors everywhere.

Eventually, it got to a point where there were missing classes and the deployment had "failed". I had downloaded the Enterprise 3.x version war.

Is the .war missing some .jar files?

15:51:46,953 INFO  [STDOUT] 15:51:46,937  ERROR [myfaces.config.FacesConfigurator] failed to configure class org.apache.myfaces.custom.selectOneLanguage.SelectOneLanguageRenderer
java.lang.ClassCastException: org.apache.myfaces.custom.selectOneLanguage.SelectOneLanguageRenderer

15:51:47,000 INFO  [STDOUT] 15:51:47,000  ERROR [myfaces.config.FacesConfigurator] failed to configure class org.apache.myfaces.custom.stylesheet.StylesheetRenderer
java.lang.ClassCastException: org.apache.myfaces.custom.stylesheet.StylesheetRenderer

15:51:47,281 INFO  [STDOUT] 15:51:47,281  ERROR [myfaces.config.FacesConfigurator] failed to configure class org.apache.myfaces.custom.schedule.renderer.ScheduleDelegatingRenderer
java.lang.ClassCastException: org.apache.myfaces.custom.schedule.renderer.ScheduleDelegatingRenderer

15:52:43,343 INFO  [STDOUT] 15:52:43,328  ERROR [web.context.ContextLoader] Context initialization failed
org.alfresco.error.AlfrescoRuntimeException: Bootstrap failed
   at org.alfresco.repo.importer.ImporterBootstrap.bootstrap(ImporterBootstrap.java:336)

Caused by: java.lang.IllegalArgumentExceptio
15:52:43,343 INFO  [STDOUT] n: class org.alfresco.repo.domain.Node_$$_javassist_184 is not an enhanced class
   at net.sf.cglib.proxy.Enhancer.setCallbacksHelper(Enhancer.java:618)

15:52:43,343 ERROR [ContainerBase] Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.alfresco.error.AlfrescoRuntimeException: Bootstrap failed
   at org.alfresco.repo.importer.ImporterBootstrap.bootstrap(ImporterBootstrap.java:336)

Caused by: java.lang.IllegalArgumentException: class org.alfresco.repo.domain.Node_$$_javassist_184 is not an enhanced class

15:52:43,359 ERROR [ContainerBase] Exception sending context initialized event to listener instance of class org.alfresco.web.app.ContextListener
org.alfresco.error.AlfrescoRuntimeException: Bootstrap failed
   at org.alfresco.repo.importer.ImporterBootstrap.bootstrap(ImporterBootstrap.java:336)

Caused by: java.lang.IllegalArgumentException: class org.alfresco.repo.domain.Node_$$_javassist_184 is not an enhanced class
   at net.sf.cglib.proxy.Enhancer.setCallbacksHelper(Enhancer.java:618)

15:52:43,359 ERROR [StandardContext] Error listenerStart
15:52:43,359 ERROR [StandardContext] Context [/alfresco] startup failed due to previous errors
15:52:43,375 INFO  [ContainerBase] Closing Spring root WebApplicationContext
15:52:43,375 INFO  [ContainerBase] Shutting down Log4J
15:52:43,375 ERROR [ContainerBase] Exception sending context destroyed event to listener instance of class org.jboss.web.jsf.integration.config.JBossJSFConfigureListener
java.lang.NullPointerException
   at com.sun.faces.application.WebappLifecycleListener.contextDestroyed(WebappLifecycleListener.java:278)
   at com.sun.faces.config.ConfigureListener.contextDestroyed(ConfigureListener.java:212)

15:52:43,687 ERROR [STDERR] log4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository.
15:52:46,031 WARN  [ServiceController] Problem starting service jboss.web.deployment:war=alfresco.war,id=-362319290
org.jboss.deployment.DeploymentException: URL file:/C:/Dev/jbdevstudio/jboss-eap/jboss-as/server/default/tmp/deploy/tmp809alfresco-exp.war/ deployment failed
   at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:386)