cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco 3.4.d on Jboss 7, Compatible?!

yaziderman
Champ in-the-making
Champ in-the-making
Dear Friends,
I need to know, is it announced that Alfresco 3.4.d works on Jboss 7?!
If not, where to find the compatibility plan, what is the most suitable version of Jboss for the latest version of Alfresco!

On Jboss 7 i got the following results:

  JBoss Bootstrap Environment

  JBOSS_HOME: /usr/local/jboss

  JAVA: /usr/bin/java

  JAVA_OPTS: -server -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4                                     Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=360                                     0000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.modules.system.pkgs=org.jbo                                     ss.byteman

=========================================================================

01:42:14,871 INFO  [org.jboss.modules] JBoss Modules version 1.0.1.GA
01:42:15,265 INFO  [org.jboss.msc] JBoss MSC version 1.0.0.GA
01:42:15,301 INFO  [org.jboss.as] JBoss AS 7.1.0.Alpha1-SNAPSHOT "Lightning" sta                                     rting
01:42:16,241 INFO  [org.jboss.as] creating http management service using network                                      interface (management) port (9990) securePort (-1)
01:42:16,247 INFO  [org.jboss.as.logging] Removing bootstrap log handlers
01:42:16,260 INFO  [org.jboss.as.connector.subsystems.datasources] (Controller B                                     oot Thread) Deploying JDBC-compliant driver class org.h2.Driver (version 1.2)
01:42:16,268 INFO  [org.jboss.as.clustering.infinispan.subsystem] (Controller Bo                                     ot Thread) Activating Infinispan subsystem.
01:42:16,361 INFO  [org.jboss.as.naming] (Controller Boot Thread) Activating Nam                                     ing Subsystem
01:42:16,373 INFO  [org.jboss.as.naming] (MSC service thread 1-1) Starting Namin                                     g Service
01:42:16,376 INFO  [org.jboss.as.osgi] (Controller Boot Thread) Activating OSGi                                      Subsystem
01:42:16,391 INFO  [org.jboss.as.security] (Controller Boot Thread) Activating S                                     ecurity Subsystem
01:42:16,395 INFO  [org.jboss.remoting] (MSC service thread 1-4) JBoss Remoting                                      version 3.2.0.Beta2
01:42:16,440 INFO  [org.xnio] (MSC service thread 1-4) XNIO Version 3.0.0.Beta3
01:42:16,449 INFO  [org.xnio.nio] (MSC service thread 1-4) XNIO NIO Implementati                                     on Version 3.0.0.Beta3
01:42:16,597 INFO  [org.apache.catalina.core.AprLifecycleListener] (MSC service                                      thread 1-1) The Apache Tomcat Native library which allows optimal performance in                                      production environments was not found on the java.library.path: /usr/lib/jvm/ja                                     va-6-sun-1.6.0.07/jre/lib/i386/server:/usr/lib/jvm/java-6-sun-1.6.0.07/jre/lib/i                                     386:/usr/lib/jvm/java-6-sun-1.6.0.07/jre/../lib/i386:/usr/java/packages/lib/i386                                     :/lib:/usr/lib
01:42:16,618 INFO  [org.jboss.as.remoting] (MSC service thread 1-2) Listening on                                      /208.109.126.107:9999
01:42:16,623 INFO  [org.jboss.as.jmx.JMXConnectorService] (MSC service thread 1-                                     4) Starting remote JMX connector
01:42:16,654 INFO  [org.jboss.as.ee] (Controller Boot Thread) Activating EE subs                                     ystem
01:42:16,680 INFO  [org.apache.coyote.http11.Http11Protocol] (MSC service thread                                      1-2) Starting Coyote HTTP/1.1 on http–208.109.126.107-8080
01:42:16,847 INFO  [org.jboss.as.connector] (MSC service thread 1-1) Starting JC                                     A Subsystem (JBoss IronJacamar 1.0.0.Final)
01:42:16,874 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service                                      thread 1-1) Bound data source [java:MySqlDS]
01:42:16,874 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service                                      thread 1-3) Bound data source [java:jboss/datasources/ExampleDS]
01:42:17,183 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) Sta                                     rting deployment of "alfresco.war"
01:42:17,214 INFO  [org.jboss.as.deployment] (MSC service thread 1-4) Started Fi                                     leSystemDeploymentService for directory /usr/local/jboss/standalone/deployments
01:42:32,036 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry avalon-framework-4.2.0 .jar in "/content/alfresco.war/WEB-INF/lib/fop-0.94.jar"  does not point to a valid jar for a Class-Path reference.
01:42:32,036 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry batik-all-1.6.jar in " /content/alfresco.war/WEB-INF/lib/fop-0.94.jar"  does not point to a valid jar for a Class-Path reference.
01:42:32,036 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry commons-io-1.3.1.jar i n "/content/alfresco.war/WEB-INF/lib/fop-0.94.jar"  does not point to a valid jar for a Class-Path reference.
01:42:32,036 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry commons-logging-1.0.4. jar in "/content/alfresco.war/WEB-INF/lib/fop-0.94.jar"  does not point to a valid jar for a Class-Path reference.
01:42:32,036 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry fop-hyph.jar in "/cont ent/alfresco.war/WEB-INF/lib/fop-0.94.jar"  does not point to a valid jar for a Class-Path reference.
01:42:32,036 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry jai_codec.jar in "/con tent/alfresco.war/WEB-INF/lib/fop-0.94.jar"  does not point to a valid jar for a Class-Path reference.
01:42:32,037 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry jai_core.jar in "/cont ent/alfresco.war/WEB-INF/lib/fop-0.94.jar"  does not point to a valid jar for a Class-Path reference.
01:42:32,037 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry jimi.jar in "/content/ alfresco.war/WEB-INF/lib/fop-0.94.jar"  does not point to a valid jar for a Class-Path reference.
01:42:32,037 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry serializer-2.7.0.jar i n "/content/alfresco.war/WEB-INF/lib/fop-0.94.jar"  does not point to a valid jar for a Class-Path reference.
01:42:32,037 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry servlet-2.2.jar in "/c ontent/alfresco.war/WEB-INF/lib/fop-0.94.jar"  does not point to a valid jar for a Class-Path reference.
01:42:32,037 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry xalan-2.7.0.jar in "/c ontent/alfresco.war/WEB-INF/lib/fop-0.94.jar"  does not point to a valid jar for a Class-Path reference.
01:42:32,037 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry xercesImpl-2.7.1.jar i n "/content/alfresco.war/WEB-INF/lib/fop-0.94.jar"  does not point to a valid jar for a Class-Path reference.
01:42:32,037 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry xml-apis-1.3.02.jar in  "/content/alfresco.war/WEB-INF/lib/fop-0.94.jar"  does not point to a valid jar for a Class-Path reference.
01:42:32,037 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry xmlgraphics-commons-1. 2.jar in "/content/alfresco.war/WEB-INF/lib/fop-0.94.jar"  does not point to a valid jar for a Class-Path reference.
01:42:32,037 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry xmlunit1.0.jar in "/co ntent/alfresco.war/WEB-INF/lib/fop-0.94.jar"  does not point to a valid jar for a Class-Path reference.
01:42:32,037 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry gdata-core-1.0.jar in  "/content/alfresco.war/WEB-INF/lib/gdata-client-1.0.jar"  does not point to a valid jar for a Class-Path reference.
01:42:32,037 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry gdata-client-meta-1.0. jar in "/content/alfresco.war/WEB-INF/lib/gdata-client-1.0.jar"  does not point to a valid jar for a Class-Path refe rence.
01:42:32,038 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry gdata-client-1.0.jar i n "/content/alfresco.war/WEB-INF/lib/gdata-docs-3.0.jar"  does not point to a valid jar for a Class-Path reference.
01:42:32,038 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry gdata-media-1.0.jar in  "/content/alfresco.war/WEB-INF/lib/gdata-docs-3.0.jar"  does not point to a valid jar for a Class-Path reference.
01:42:32,038 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry gdata-spreadsheet-3.0. jar in "/content/alfresco.war/WEB-INF/lib/gdata-docs-3.0.jar"  does not point to a valid jar for a Class-Path refere nce.
01:42:32,038 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry gdata-docs-meta-3.0.ja r in "/content/alfresco.war/WEB-INF/lib/gdata-docs-3.0.jar"  does not point to a valid jar for a Class-Path referenc e.
01:42:32,038 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry gdata-client-1.0.jar i n "/content/alfresco.war/WEB-INF/lib/gdata-media-1.0.jar"  does not point to a valid jar for a Class-Path reference.
01:42:32,038 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry jaxb-api.jar in "/cont ent/alfresco.war/WEB-INF/lib/jaxb-impl-2.1.7.jar"  does not point to a valid jar for a Class-Path reference.
01:42:32,038 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry activation.jar in "/co ntent/alfresco.war/WEB-INF/lib/jaxb-impl-2.1.7.jar"  does not point to a valid jar for a Class-Path reference.
01:42:32,038 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry jsr173_1.0_api.jar in  "/content/alfresco.war/WEB-INF/lib/jaxb-impl-2.1.7.jar"  does not point to a valid jar for a Class-Path reference.
01:42:32,038 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry jaxb1-impl.jar in "/co ntent/alfresco.war/WEB-INF/lib/jaxb-impl-2.1.7.jar"  does not point to a valid jar for a Class-Path reference.
01:42:32,039 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry jaxb-api.jar in "/cont ent/alfresco.war/WEB-INF/lib/jaxb-xjc-2.1.7.jar"  does not point to a valid jar for a Class-Path reference.
01:42:32,039 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry jaxb-impl.jar in "/con tent/alfresco.war/WEB-INF/lib/jaxb-xjc-2.1.7.jar"  does not point to a valid jar for a Class-Path reference.
01:42:32,039 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry jsr173_1.0_api.jar in  "/content/alfresco.war/WEB-INF/lib/jaxb-xjc-2.1.7.jar"  does not point to a valid jar for a Class-Path reference.
01:42:32,039 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry activation.jar in "/co ntent/alfresco.war/WEB-INF/lib/jaxb-xjc-2.1.7.jar"  does not point to a valid jar for a Class-Path reference.
01:42:32,039 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry bcel.jar in "/content/ alfresco.war/WEB-INF/lib/jibx-bind.jar"  does not point to a valid jar for a Class-Path reference.
01:42:32,039 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry jibx-run.jar in "/cont ent/alfresco.war/WEB-INF/lib/jibx-bind.jar"  does not point to a valid jar for a Class-Path reference.
01:42:32,039 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry xpp3.jar in "/content/ alfresco.war/WEB-INF/lib/jibx-bind.jar"  does not point to a valid jar for a Class-Path reference.
01:42:32,039 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry stax-api.jar in "/cont ent/alfresco.war/WEB-INF/lib/jibx-bind.jar"  does not point to a valid jar for a Class-Path reference.
01:42:32,039 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry wstx-asl.jar in "/cont ent/alfresco.war/WEB-INF/lib/jibx-bind.jar"  does not point to a valid jar for a Class-Path reference.
01:42:32,039 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry xstream-1.1.3.jar in " /content/alfresco.war/WEB-INF/lib/jooconverter-2.1.0.jar"  does not point to a valid jar for a Class-Path reference.
01:42:32,040 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry commons-logging-1.1.ja r in "/content/alfresco.war/WEB-INF/lib/jooconverter-2.1.0.jar"  does not point to a valid jar for a Class-Path refe rence.
01:42:32,040 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry openoffice-juh-2.0.3.j ar in "/content/alfresco.war/WEB-INF/lib/jooconverter-2.1.0.jar"  does not point to a valid jar for a Class-Path ref erence.
01:42:32,040 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry openoffice-unoil-2.0.3 .jar in "/content/alfresco.war/WEB-INF/lib/jooconverter-2.1.0.jar"  does not point to a valid jar for a Class-Path r eference.
01:42:32,040 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry openoffice-jurt-2.0.3. jar in "/content/alfresco.war/WEB-INF/lib/jooconverter-2.1.0.jar"  does not point to a valid jar for a Class-Path re ference.
01:42:32,040 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry openoffice-ridl-2.0.3. jar in "/content/alfresco.war/WEB-INF/lib/jooconverter-2.1.0.jar"  does not point to a valid jar for a Class-Path re ference.
01:42:32,040 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry commons-io-1.2.jar in  "/content/alfresco.war/WEB-INF/lib/jooconverter-2.1.0.jar"  does not point to a valid jar for a Class-Path reference .
01:42:32,040 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry jcifs.jar in "/content /alfresco.war/WEB-INF/lib/jtds-1.2.5.jar"  does not point to a valid jar for a Class-Path reference.
01:42:32,040 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry ridl.jar in "/content/ alfresco.war/WEB-INF/lib/openoffice-juh-3.1.0.jar"  does not point to a valid jar for a Class-Path reference.
01:42:32,040 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry jurt.jar in "/content/ alfresco.war/WEB-INF/lib/openoffice-juh-3.1.0.jar"  does not point to a valid jar for a Class-Path reference.
01:42:32,040 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry ../../lib/ in "/conten t/alfresco.war/WEB-INF/lib/openoffice-juh-3.1.0.jar"  does not point to a valid jar for a Class-Path reference.
01:42:32,041 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry ../bin/ in "/content/a lfresco.war/WEB-INF/lib/openoffice-juh-3.1.0.jar"  does not point to a valid jar for a Class-Path reference.
01:42:32,041 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry ridl.jar in "/content/ alfresco.war/WEB-INF/lib/openoffice-jurt-3.1.0.jar"  does not point to a valid jar for a Class-Path reference.
01:42:32,041 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry unoloader.jar in "/con tent/alfresco.war/WEB-INF/lib/openoffice-jurt-3.1.0.jar"  does not point to a valid jar for a Class-Path reference.
01:42:32,041 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry ../../lib/ in "/conten t/alfresco.war/WEB-INF/lib/openoffice-jurt-3.1.0.jar"  does not point to a valid jar for a Class-Path reference.
01:42:32,041 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry ../bin/ in "/content/a lfresco.war/WEB-INF/lib/openoffice-jurt-3.1.0.jar"  does not point to a valid jar for a Class-Path reference.
01:42:32,041 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry xbean.jar in "/content /alfresco.war/WEB-INF/lib/rhino-js-1.6R7.jar"  does not point to a valid jar for a Class-Path reference.
01:42:32,041 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry lib/lcrypto-jdk14-130. jar in "/content/alfresco.war/WEB-INF/lib/truezip.jar"  does not point to a valid jar for a Class-Path reference.
01:42:32,183 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC00001: Failed to start service jboss.dep loyment.unit."alfresco.war".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."alfresco.w ar".PARSE: Failed to process phase PARSE of deployment "alfresco.war"
        at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:121)
        at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1765)
        at org.jboss.msc.service.ServiceControllerImpl$ClearTCCLTask.run(ServiceControllerImpl.java:2291)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) [:1.6.0_07]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) [:1.6.0_07]
        at java.lang.Thread.run(Thread.java:619) [:1.6.0_07]
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: Failed to parse "/content/alfresco.war/ WEB-INF/lib/spring-surf-1.0.0.CI-SNAPSHOT.jar/META-INF/tlds/surf.tld"
        at org.jboss.as.web.deployment.TldParsingDeploymentProcessor.parseTLD(TldParsingDeploymentProcessor.java:123 )
        at org.jboss.as.web.deployment.TldParsingDeploymentProcessor.processTlds(TldParsingDeploymentProcessor.java: 102)
        at org.jboss.as.web.deployment.TldParsingDeploymentProcessor.processTlds(TldParsingDeploymentProcessor.java: 104)
        at org.jboss.as.web.deployment.TldParsingDeploymentProcessor.deploy(TldParsingDeploymentProcessor.java:79)
        at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115)
        … 5 more
Caused by: java.lang.IllegalArgumentException: No enum const class org.jboss.metadata.web.spec.BodyContentType.jsp
        at java.lang.Enum.valueOf(Enum.java:196) [:1.6.0_07]
        at org.jboss.metadata.web.spec.BodyContentType.valueOf(BodyContentType.java:30)
        at org.jboss.metadata.parser.jsp.TagMetaDataParser.parse(TagMetaDataParser.java:124)
        at org.jboss.metadata.parser.jsp.TldMetaDataParser.parse(TldMetaDataParser.java:226)
        at org.jboss.as.web.deployment.TldParsingDeploymentProcessor.parseTLD(TldParsingDeploymentProcessor.java:121 )
        … 9 more

01:42:32,570 INFO  [org.jboss.as.server.controller] (Controller Boot Thread) Deployed "alfresco.war"
01:42:32,570 INFO  [org.jboss.as.controller] (Controller Boot Thread) Service status report
  Services which failed to start:
      service jboss.deployment.unit."alfresco.war".PARSE: org.jboss.msc.service.StartException in service jboss.depl oyment.unit."alfresco.war".PARSE: Failed to process phase PARSE of deployment "alfresco.war"

01:42:32,593 ERROR [org.jboss.as] (Controller Boot Thread) JBoss AS 7.1.0.Alpha1-SNAPSHOT "Lightning" started (with  errors) in 17967ms - Started 99 of 155 services (1 services failed or missing dependencies, 55 services are passive  or on-demand)


In addition i haven't found enough documentation for the installation with Jboss in general, if anyone of you have any useful links or tutorials let me know please
8 REPLIES 8

mrogers
Star Contributor
Star Contributor
Here's the guide for Enterprise 3.4.   Jboss is not "supported" for community which is why its not documented, but I'd expect it to run.  http://docs.alfresco.com/3.4/topic/com.alfresco.Enterprise_3_4_0.doc/tasks/alfv3-jboss-install.html
I also note that the supported version for enterprise is JBoss 5. http://www.alfresco.com/services/subscription/supported-platforms/

jett
Champ in-the-making
Champ in-the-making
I am attempting to do the same and am getting the same errors as the original post. It looks like we have to dig in and find out.

jett
Champ in-the-making
Champ in-the-making
I got a little bit further than the TLD error message. What I did was to manually look for the spring-surf-1.0.0.CI-SNAPSHOT.jar in the WEB-INF\lib directory and extracted the contents. I then opened the offending surf.tld file, removed empty lines between the tags, zipped it back to a jar file and copied the jar file. Upon redeployment I am now getting a different error message:



14:11:13,893 WARN  [org.jboss.as.ee.component.ResourceInjectionAnnotationParsingProcessor] (MSC service thread 1-3) Can't handle @Resource for ENC name: org.apache.cxf.transport.ConduitInitiatorManagerImpl/bus on class org.apache.cxf.transport.ConduitInitiatorManagerImpl since it's missing a "lookup" (or "mappedName") value and isn't of any known type
14:11:13,893 WARN  [org.jboss.as.ee.component.ResourceInjectionAnnotationParsingProcessor] (MSC service thread 1-3) Can't handle @Resource for ENC name: cxf on class org.apache.cxf.transport.servlet.ServletTransportFactory since it's missing a "lookup" (or "mappedName") value and isn't of any known type
14:11:13,894 WARN  [org.jboss.as.ee.component.ResourceInjectionAnnotationParsingProcessor] (MSC service thread 1-3) Can't handle @Resource for ENC name: org.apache.cxf.transport.http.QueryHandlerRegistryImpl/bus on class org.apache.cxf.transport.http.QueryHandlerRegistryImpl since it's missing a "lookup" (or "mappedName") value and isn't of any known type
14:11:13,894 WARN  [org.jboss.as.ee.component.ResourceInjectionAnnotationParsingProcessor] (MSC service thread 1-3) Can't handle @Resource for ENC name: cxf on class org.apache.cxf.transport.http.AbstractHTTPTransportFactory since it's missing a "lookup" (or "mappedName") value and isn't of any known type
14:11:13,895 WARN  [org.jboss.as.ee.component.ResourceInjectionAnnotationParsingProcessor] (MSC service thread 1-3) Can't handle @Resource for ENC name: cxf on class org.apache.cxf.transport.local.LocalTransportFactory since it's missing a "lookup" (or "mappedName") value and isn't of any known type
14:11:14,088 ERROR [org.jboss.as.web.jsf] (MSC service thread 1-3) Could not load JSF managed bean class org.alfresco.web.bean.projects.CreateProjectDialog
14:11:14,619 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.deployment.unit."alfresco.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."alfresco.war".INSTALL: Failed to process phase INSTALL of deployment "alfresco.war"
   at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:121)
   at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1765)
   at org.jboss.msc.service.ServiceControllerImpl$ClearTCCLTask.run(ServiceControllerImpl.java:2291)
   at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_23]
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_23]
   at java.lang.Thread.run(Thread.java:662) [:1.6.0_23]
Caused by: java.lang.RuntimeException: Error getting reflective information for class org.apache.cxf.transport.http_jetty.spring.JettyHTTPServerEngineBeanDefinitionParser$SpringJettyHTTPServerEngine
   at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:70)
   at org.jboss.as.ee.component.EEModuleClassDescription$DefaultConfigurator.configure(EEModuleClassDescription.java:144)
   at org.jboss.as.ee.component.EEClassConfigurationProcessor.deploy(EEClassConfigurationProcessor.java:100)
   at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115)
   … 5 more
Caused by: java.lang.NoClassDefFoundError: org/mortbay/jetty/Connector
   at java.lang.Class.getDeclaredFields0(Native Method) [:1.6.0_23]
   at java.lang.Class.privateGetDeclaredFields(Class.java:2291) [:1.6.0_23]
   at java.lang.Class.getDeclaredFields(Class.java:1743) [:1.6.0_23]
   at org.jboss.as.server.deployment.reflect.ClassReflectionIndex.<init>(ClassReflectionIndex.java:57)
   at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:66)
   … 8 more
Caused by: java.lang.ClassNotFoundException: org.mortbay.jetty.Connector from [Module "deployment.alfresco.war:main" from Service Module Loader]
   at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:191)
   at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:358)
   at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:330)
   at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:307)
   at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:101)
   … 13 more

Need to dig more …

yazid
Champ in-the-making
Champ in-the-making
Hey Jett,
What are the reasons behind your changes?!

anyway, to avoid further problems, i have installed JBoss 5.1.0.GA, which is supposed to be the most compatible according to somewhere in the documentation, and Jboss works well without deploing Alfresco-3.4.d, but when deployed i get the related errors in the server.log file:




Aug 8, 2011 11:03:21 AM com.sun.faces.config.ConfigureListener contextInitialized
INFO: Initializing Mojarra (1.2_12-b01-FCS) for context '/admin-console'
11:03:21,377 INFO  [config] Initializing Mojarra (1.2_12-b01-FCS) for context '/admin-console'
11:03:23,163 INFO  [TomcatDeployment] deploy, ctxPath=/
11:03:26,592 INFO  [TomcatDeployment] deploy, ctxPath=/alfresco
11:03:26,642 ERROR [AbstractKernelController] Error installing to Start: name=jboss.web.deployment:war=/alfresco state=Create mode=Manual requiredState=Installed
java.lang.LinkageError: loader constraint violation: when resolving method "org.apache.xerces.util.ParserConfigurationSettings.<init>(Lorg/apache/xerces/xni/parser/XMLComponentManager;)V" the class loader (instance of org/jboss/classloader/spi/base/BaseClassLoader) of the current class, org/apache/xerces/parsers/XML11Configuration, and the class loader (instance of <bootloader>) for resolved class, org/apache/xerces/util/ParserConfigurationSettings, have different Class objects for the type org/apache/xerces/xni/parser/XMLComponentManager used in the signature
        at org.apache.xerces.parsers.XML11Configuration.<init>(Unknown Source)
        at org.apache.xerces.parsers.XIncludeAwareParserConfiguration.<init>(Unknown Source)
        at org.apache.xerces.parsers.XIncludeAwareParserConfiguration.<init>(Unknown Source)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
        at java.lang.Class.newInstance0(Class.java:372)
        at java.lang.Class.newInstance(Class.java:325)
        at org.apache.xerces.parsers.ObjectFactory.newInstance(Unknown Source)
        at org.apache.xerces.parsers.ObjectFactory.createObject(Unknown Source)
        at org.apache.xerces.parsers.ObjectFactory.createObject(Unknown Source)
        at org.apache.xerces.parsers.SAXParser.<init>(Unknown Source)
        at org.apache.xerces.parsers.SAXParser.<init>(Unknown Source)
        at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.<init>(Unknown Source)
        at org.apache.xerces.jaxp.SAXParserImpl.<init>(Unknown Source)
        at org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParser(Unknown Source)
        at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.<init>(SaxJBossXBParser.java:92)
        at org.jboss.xb.binding.UnmarshallerImpl.<init>(UnmarshallerImpl.java:56)
        at org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:96)
        at org.jboss.web.tomcat.service.deployers.JBossContextConfig.processContextConfig(JBossContextConfig.java:549)
        at org.jboss.web.tomcat.service.deployers.JBossContextConfig.init(JBossContextConfig.java:536)
        at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:279)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
        at org.apache.catalina.core.StandardContext.init(StandardContext.java:5436)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4148)
        at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:310)
        at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142)
        at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)
        at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
        at org.jboss.web.deployers.WebModule.start(WebModule.java:97)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
        at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
        at $Proxy38.start(Unknown Source)
        at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
        at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
        at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
        at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
        at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
        at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
        at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
        at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
        at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
        at org.jboss.system.ServiceController.start(ServiceController.java:460)
        at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)
        at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)
        at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
        at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
        at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
        at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
        at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
        at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
        at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
        at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
        at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
        at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
        at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
        at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702)
        at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
        at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)
        at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)
        at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361)
        at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
        at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
        at org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306)
        at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271)
        at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)
        at org.jboss.Main.boot(Main.java:221)
        at org.jboss.Main$1.run(Main.java:556)
        at java.lang.Thread.run(Thread.java:636)
11:03:26,936 ERROR [AbstractKernelController] Error installing to Real: name=vfszip:/alfresco/jboss/server/default/deploy/alfresco.war/ state=PreReal mode=Manual requiredState=Real
org.jboss.deployers.spi.DeploymentException: Error deploying: jboss.web.deployment:war=/alfresco
        at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
        at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:118)
        at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
        at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
        at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
        at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
        at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
        at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
        at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
        at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
        at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
        at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
        at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
        at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702)
        at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
        at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)
        at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)
        at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361)
        at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
        at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
        at org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306)
        at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271)
        at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)
        at org.jboss.Main.boot(Main.java:221)
        at org.jboss.Main$1.run(Main.java:556)
        at java.lang.Thread.run(Thread.java:636)
Caused by: java.lang.LinkageError: loader constraint violation: when resolving method "org.apache.xerces.util.ParserConfigurationSettings.<init>(Lorg/apache/xerces/xni/parser/XMLComponentManager;)V" the class loader (instance of org/jboss/classloader/spi/base/BaseClassLoader) of the current class, org/apache/xerces/parsers/XML11Configuration, and the class loader (instance of <bootloader>) for resolved class, org/apache/xerces/util/ParserConfigurationSettings, have different Class objects for the type org/apache/xerces/xni/parser/XMLComponentManager used in the signature
        at org.apache.xerces.parsers.XML11Configuration.<init>(Unknown Source)
        at org.apache.xerces.parsers.XIncludeAwareParserConfiguration.<init>(Unknown Source)
        at org.apache.xerces.parsers.XIncludeAwareParserConfiguration.<init>(Unknown Source)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
        at java.lang.Class.newInstance0(Class.java:372)
        at java.lang.Class.newInstance(Class.java:325)
        at org.apache.xerces.parsers.ObjectFactory.newInstance(Unknown Source)
        at org.apache.xerces.parsers.ObjectFactory.createObject(Unknown Source)
        at org.apache.xerces.parsers.ObjectFactory.createObject(Unknown Source)
        at org.apache.xerces.parsers.SAXParser.<init>(Unknown Source)
        at org.apache.xerces.parsers.SAXParser.<init>(Unknown Source)
        at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.<init>(Unknown Source)
        at org.apache.xerces.jaxp.SAXParserImpl.<init>(Unknown Source)
        at org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParser(Unknown Source)
        at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.<init>(SaxJBossXBParser.java:92)
        at org.jboss.xb.binding.UnmarshallerImpl.<init>(UnmarshallerImpl.java:56)
        at org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:96)
        at org.jboss.web.tomcat.service.deployers.JBossContextConfig.processContextConfig(JBossContextConfig.java:549)
        at org.jboss.web.tomcat.service.deployers.JBossContextConfig.init(JBossContextConfig.java:536)
        at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:279)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
        at org.apache.catalina.core.StandardContext.init(StandardContext.java:5436)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4148)
        at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:310)
        at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142)
        at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)
        at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
        at org.jboss.web.deployers.WebModule.start(WebModule.java:97)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
        at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
        at $Proxy38.start(Unknown Source)
        at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
        at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
        at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
        at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
        at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
        at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
        at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
        at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
        at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
        at org.jboss.system.ServiceController.start(ServiceController.java:460)
        at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)
        at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)
        … 34 more
11:03:27,012 INFO  [TomcatDeployment] deploy, ctxPath=/jmx-console
11:03:27,136 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

DEPLOYMENTS IN ERROR:
  Deployment "vfszip:/alfresco/jboss/server/default/deploy/alfresco.war/" is in error due to the following reason(s): java.lang.LinkageError: loader constraint violation: when resolving method "org.apache.xerces.util.ParserConfigurationSettings.<init>(Lorg/apache/xerces/xni/parser/XMLComponentManager;)V" the class loader (instance of org/jboss/classloader/spi/base/BaseClassLoader) of the current class, org/apache/xerces/parsers/XML11Configuration, and the class loader (instance of <bootloader>) for resolved class, org/apache/xerces/util/ParserConfigurationSettings, have different Class objects for the type org/apache/xerces/xni/parser/XMLComponentManager used in the signature

11:03:27,159 INFO  [Http11AprProtocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
11:03:27,185 INFO  [AjpAprProtocol] Starting Coyote AJP/1.3 on ajp-0.0.0.0-8009
11:03:27,195 INFO  [ServerImpl] JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221053)] Started in 1m:4s:113ms


and in the boot.log i got:


11:02:27,132 DEBUG [AbstractDeploymentContext] Added component LogBridgeHandler to file:/alfresco/jboss/server/default/conf/bootstrap/logging.xml
11:02:27,133 DEBUG [ProfileServiceBootstrap] Failed to build ManagedDeployment for: AbstractKernelDeployment@20dbd794{name=file:/alfresco/jboss/server/default/conf/bootstrap/logging.xml installed=true beanFactories=[AbstractBeanMetaData@41264666{name=LogBridgeHandler bean=org.jboss.logbridge.LogBridgeHandler properties= constructor=null autowireCandidate=true}]}
org.jboss.deployers.spi.DeploymentException: Error deploying: file:/alfresco/jboss/server/default/conf/bootstrap/logging.xml
        at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
        at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataFactoryVisitor.deploy(BeanMetaDataFactoryVisitor.java:136)
        at org.jboss.system.server.profileservice.ProfileServiceBootstrap.initBootstrapMDs(ProfileServiceBootstrap.java:433)
        at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:250)
        at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)
        at org.jboss.Main.boot(Main.java:221)
        at org.jboss.Main$1.run(Main.java:556)
        at java.lang.Thread.run(Thread.java:636)
Caused by: java.lang.IllegalStateException: ClassLoader has not been set
        at org.jboss.deployers.structure.spi.helpers.AbstractDeploymentUnit.getClassLoader(AbstractDeploymentUnit.java:154)
        at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataFactoryVisitor.addBeanComponent(BeanMetaDataFactoryVisitor.java:60)
        at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataFactoryVisitor.deploy(BeanMetaDataFactoryVisitor.java:126)
        … 6 more
11:02:27,135 DEBUG [AbstractDeploymentContext] Added component VFSCache$realCache#1 to file:/alfresco/jboss/server/default/conf/bootstrap/vfs.xml
11:02:27,135 DEBUG [ProfileServiceBootstrap] Failed to build ManagedDeployment for: AbstractKernelDeployment@71d9d55b{name=file:/alfresco/jboss/server/default/conf/bootstrap/vfs.xml installed=true beanFactories=[AbstractBeanMetaData@144683c2{name=VFSCache bean=null properties=[realCache, permanentRoots] constructor=AbstractConstructorMetaData@2db6235b{parameters=[null] factoryClass=org.jboss.virtual.spi.cache.VFSCacheFactory factoryMethod=getInstance} autowireCandidate=true start=AbstractLifecycleMetaData@10cb42cf{ whenRequired=ControllerState@21743ff4{Start} parameters= }}, AbstractBeanMetaData@5712bd54{name=VfsNamesExceptionHandler bean=org.jboss.virtual.plugins.context.helpers.NamesExceptionHandler properties= constructor=AbstractConstructorMetaData@f4c0275{parameters=[java.lang.String]} autowireCandidate=true}]}
org.jboss.deployers.spi.DeploymentException: Error deploying: file:/alfresco/jboss/server/default/conf/bootstrap/vfs.xml
        at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
        at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataFactoryVisitor.deploy(BeanMetaDataFactoryVisitor.java:136)
        at org.jboss.system.server.profileservice.ProfileServiceBootstrap.initBootstrapMDs(ProfileServiceBootstrap.java:433)
        at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:250)
        at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)
        at org.jboss.Main.boot(Main.java:221)
        at org.jboss.Main$1.run(Main.java:556)
        at java.lang.Thread.run(Thread.java:636)
Caused by: java.lang.IllegalStateException: ClassLoader has not been set
        at org.jboss.deployers.structure.spi.helpers.AbstractDeploymentUnit.getClassLoader(AbstractDeploymentUnit.java:154)
        at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataFactoryVisitor.addBeanComponent(BeanMetaDataFactoryVisitor.java:60)
        at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataFactoryVisitor.deploy(BeanMetaDataFactoryVisitor.java:126)
        … 6 more
11:02:27,136 DEBUG [AbstractDeploymentContext] Added component profile-classloader:0.0.0 to file:/alfresco/jboss/server/default/conf/bootstrap/profile.xml
11:02:27,136 DEBUG [AbstractDeploymentContext] Added component profile-classloader:0.0.0$MODULE to file:/alfresco/jboss/server/default/conf/bootstrap/profile.xml



yaziderman
Champ in-the-making
Champ in-the-making
Thank you mrogers
In fact, i have faced the same problem even with JBoss 5, in addition it has been marked as a bug:
https://issues.alfresco.com/jira/browse/ALFCOM-3310?page=com.atlassian.jira.plugin.system.issuetabpa...
I need your advice in this case, should i ask for an enterprise version, or we have to try again and again?

jett
Champ in-the-making
Champ in-the-making
Hey Jett,
What are the reasons behind your changes?!

The original error that was being thrown had something to do with the routine not being able to parse the surf.tld file:

Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: Failed to parse "/content/alfresco.war/ WEB-INF/lib/spring-surf-1.0.0.CI-SNAPSHOT.jar/META-INF/tlds/surf.tld"

I did a search on the org.jboss.as.web.deployment.TldParsingDeploymentProcessor.parseTLD message and found some link somewhere (not related to Alfresco) that mentioned that it the xml files have to be "trimmed". Each line was properly trimmed so I thought that removing that empty line would do it and it did.

yaziderman
Champ in-the-making
Champ in-the-making
Ok, thank you for the clarification, if you have the experience, could you please explain the following error:

" loader constraint violation"

in the following post:

http://forums.alfresco.com/en/viewtopic.php?f=8&t=40245&p=118000#p118000

yaziderman
Champ in-the-making
Champ in-the-making
For those who are interested, i was able to install Alfresco only on the old version of Jboss, which is 4.3.
I hope that Alfresco community works on newer versions of Jboss as there's even the version 7 to benefit of their advantages.