12 Replies Latest reply: Mar 18, 2009 2:05 AM by eswar rao RSS

Alfresco labs War3 stable on Jboss-5.0.0.GA

Frederic Hornain Newbie

Dear *,

Indeed, this is what I did :

Installation of Jboss-5.0.0.GA on Fedora 10 in following the "Installation_And_Getting_Started_Guide.pdf" recommendations.
Installation of Alfresco Labs War3 stable on it following old instruction - Jboss 4.x.x. URL -> http://wiki.alfresco.com/wiki/Alfresco_on_JBoss or http://wiki.alfresco.com/w/image/0/0b/Install_Configure_Alfresco_Lab3Stable.pdf


and this is what I got :

Caused by: LifecycleException: Error initializaing : javax.management.ReflectionException: Cannot find method addChild with this signature


BTW, a post already exists on the Alfresco Forum and you can download Alfresco Labs 3.0 at http://process.alfresco.com/ccdl/?file=release/labs/build-1526/alfresco-labs-war-3Stable.tar.gz&a=y&s=n&t=y

Thanks in advance for you help.

BR
Frederic

////////////////////////////////////////////////////////////////////////////////////////////////////////////
// FYI, this is the Ouput of what I have got when I started Jboss
/////////////////////////////////////////////////////////////////////////////////////////////////////////////

./run.sh JAVA_OPTS="-Xms512m -Xmx1G -XX:MaxPermSize=128m"
=========================================================================

JBoss Bootstrap Environment

JBOSS_HOME: /opt/myjboss1/jboss-5.0.0.GA

JAVA: /usr/java/latest/bin/java

JAVA_OPTS: -Dprogram.name=run.sh -server -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true

CLASSPATH: /opt/myjboss1/jboss-5.0.0.GA/bin/run.jar:/usr/java/latest/lib/tools.jar

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

run.sh: unused non-option argument: JAVA_OPTS=-Xms512m -Xmx1G -XX:MaxPermSize=128m
15:13:06,446 INFO [ServerImpl] Starting JBoss (Microcontainer)...
15:13:06,447 INFO [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.GA (build: SVNTag=JBoss_5_0_0_GA date=200812042120)
15:13:06,447 INFO [ServerImpl] Bootstrap URL: null
15:13:06,448 INFO [ServerImpl] Home Dir: /opt/myjboss1/jboss-5.0.0.GA
15:13:06,448 INFO [ServerImpl] Home URL: file:/opt/myjboss1/jboss-5.0.0.GA/
15:13:06,448 INFO [ServerImpl] Library URL: file:/opt/myjboss1/jboss-5.0.0.GA/lib/
15:13:06,449 INFO [ServerImpl] Patch URL: null
15:13:06,449 INFO [ServerImpl] Common Base URL: file:/opt/myjboss1/jboss-5.0.0.GA/common/
15:13:06,449 INFO [ServerImpl] Common Library URL: file:/opt/myjboss1/jboss-5.0.0.GA/common/lib/
15:13:06,449 INFO [ServerImpl] Server Name: default
15:13:06,449 INFO [ServerImpl] Server Base Dir: /opt/myjboss1/jboss-5.0.0.GA/server
15:13:06,450 INFO [ServerImpl] Server Base URL: file:/opt/myjboss1/jboss-5.0.0.GA/server/
15:13:06,450 INFO [ServerImpl] Server Config URL: file:/opt/myjboss1/jboss-5.0.0.GA/server/default/conf/
15:13:06,450 INFO [ServerImpl] Server Home Dir: /opt/myjboss1/jboss-5.0.0.GA/server/default
15:13:06,450 INFO [ServerImpl] Server Home URL: file:/opt/myjboss1/jboss-5.0.0.GA/server/default/
15:13:06,450 INFO [ServerImpl] Server Data Dir: /opt/myjboss1/jboss-5.0.0.GA/server/default/data
15:13:06,450 INFO [ServerImpl] Server Library URL: file:/opt/myjboss1/jboss-5.0.0.GA/server/default/lib/
15:13:06,451 INFO [ServerImpl] Server Log Dir: /opt/myjboss1/jboss-5.0.0.GA/server/default/log
15:13:06,451 INFO [ServerImpl] Server Native Dir: /opt/myjboss1/jboss-5.0.0.GA/server/default/tmp/native
15:13:06,451 INFO [ServerImpl] Server Temp Dir: /opt/myjboss1/jboss-5.0.0.GA/server/default/tmp
15:13:06,451 INFO [ServerImpl] Server Temp Deploy Dir: /opt/myjboss1/jboss-5.0.0.GA/server/default/tmp/deploy
15:13:07,163 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/opt/myjboss1/jboss-5.0.0.GA/server/default/conf/bootstrap.xml
15:13:07,732 INFO [VFSCacheFactory] Initializing VFSCache [org.jboss.virtual.plugins.cache.IterableTimedVFSCache]
15:13:07,741 INFO [VFSCacheFactory] Using VFSCache [IterableTimedVFSCache{lifetime=1800, resolution=60}]
15:13:08,072 INFO [CopyMechanism] VFS temp dir: /opt/myjboss1/jboss-5.0.0.GA/server/default/tmp
15:13:08,073 INFO [ZipEntryContext] VFS force nested jars copy-mode is enabled.
15:13:09,552 INFO [ServerInfo] Java version: 1.6.0_12,Sun Microsystems Inc.
15:13:09,553 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 11.2-b01,Sun Microsystems Inc.
15:13:09,553 INFO [ServerInfo] OS-System: Linux 2.6.27.15-170.2.24.fc10.i686,i386
15:13:09,617 INFO [JMXKernel] Legacy JMX core initialized
15:13:12,957 INFO [ProfileServiceImpl] Loading profile: default from: org.jboss.system.server.profileservice.repository.SerializableDeploymentRepository@1332b63(root=/opt/myjboss1/jboss-5.0.0.GA/server, key=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,name=default])
15:13:12,959 INFO [ProfileImpl] Using repository:org.jboss.system.server.profileservice.repository.SerializableDeploymentRepository@1332b63(root=/opt/myjboss1/jboss-5.0.0.GA/server, key=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,name=default])
15:13:12,959 INFO [ProfileServiceImpl] Loaded profile: ProfileImpl@10c276{key=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,name=default]}
15:13:16,169 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/
15:13:24,419 INFO [NativeServerConfig] JBoss Web Services - Stack Native Core
15:13:24,419 INFO [NativeServerConfig] 3.0.4.SP1
15:14:02,948 INFO [JMXConnectorServerService] JMX Connector server: service:jmx:rmi://127.0.0.1/jndi/rmi://127.0.0.1:1090/jmxconnector
15:14:03,279 INFO [MailService] Mail Service bound to java:/Mail
15:14:06,600 WARN [JBossASSecurityMetadataStore] WARNING! POTENTIAL SECURITY RISK. It has been detected that the MessageSucker component which sucks messages from one node to another has not had its password changed from the installation default. Please see the JBoss Messaging user guide for instructions on how to do this.
15:14:06,628 WARN [AnnotationCreator] No ClassLoader provided, using TCCL: org.jboss.managed.api.annotation.ManagementComponent
15:14:06,857 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc.
15:14:06,857 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer
15:14:07,285 INFO [TransactionManagerService] Initializing recovery manager
15:14:07,562 INFO [TransactionManagerService] Recovery manager configured
15:14:07,562 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference
15:14:07,611 INFO [TransactionManagerService] Starting transaction recovery manager
15:14:08,426 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0.1-8080
15:14:08,427 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-8009
15:14:08,427 INFO [StandardService] Starting service jboss.web
15:14:08,431 INFO [StandardEngine] Starting Servlet Engine: JBoss Web/2.1.1.GA
15:14:08,504 INFO [Catalina] Server startup in 163 ms
15:14:08,527 INFO [TomcatDeployment] deploy, ctxPath=/invoker, vfsUrl=http-invoker.sar/invoker.war
15:14:10,815 INFO [TomcatDeployment] deploy, ctxPath=/web-console, vfsUrl=management/console-mgr.sar/web-console.war
15:14:11,296 INFO [TomcatDeployment] deploy, ctxPath=/jbossws, vfsUrl=jbossws.sar/jbossws-management.war
15:14:11,461 INFO [RARDeployment] Required license terms exist, view vfszip:/opt/myjboss1/jboss-5.0.0.GA/server/default/deploy/jboss-local-jdbc.rar/META-INF/ra.xml
15:14:11,543 INFO [RARDeployment] Required license terms exist, view vfszip:/opt/myjboss1/jboss-5.0.0.GA/server/default/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml
15:14:11,590 INFO [RARDeployment] Required license terms exist, view vfszip:/opt/myjboss1/jboss-5.0.0.GA/server/default/deploy/jms-ra.rar/META-INF/ra.xml
15:14:11,642 INFO [RARDeployment] Required license terms exist, view vfszip:/opt/myjboss1/jboss-5.0.0.GA/server/default/deploy/mail-ra.rar/META-INF/ra.xml
15:14:11,677 INFO [RARDeployment] Required license terms exist, view vfszip:/opt/myjboss1/jboss-5.0.0.GA/server/default/deploy/quartz-ra.rar/META-INF/ra.xml
15:14:11,843 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main
15:14:11,881 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
15:14:11,934 INFO [RAMJobStore] RAMJobStore initialized.
15:14:11,934 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
15:14:11,934 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
15:14:11,935 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
15:14:12,872 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
15:14:13,308 WARN [QuartzTimerServiceFactory] sql failed: CREATE TABLE QRTZ_JOB_DETAILS(JOB_NAME VARCHAR(80) NOT NULL, JOB_GROUP VARCHAR(80) NOT NULL, DESCRIPTION VARCHAR(120) NULL, JOB_CLASS_NAME VARCHAR(128) NOT NULL, IS_DURABLE VARCHAR(1) NOT NULL, IS_VOLATILE VARCHAR(1) NOT NULL, IS_STATEFUL VARCHAR(1) NOT NULL, REQUESTS_RECOVERY VARCHAR(1) NOT NULL, JOB_DATA BINARY NULL, PRIMARY KEY (JOB_NAME,JOB_GROUP))
15:14:13,375 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main
15:14:13,378 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
15:14:13,403 INFO [JobStoreCMT] Using db table-based data access locking (synchronization).
15:14:13,465 INFO [JobStoreCMT] Removed 0 Volatile Trigger(s).
15:14:13,466 INFO [JobStoreCMT] Removed 0 Volatile Job(s).
15:14:13,466 INFO [JobStoreCMT] JobStoreCMT initialized.
15:14:13,466 INFO [StdSchedulerFactory] Quartz scheduler 'JBossEJB3QuartzScheduler' initialized from an externally provided properties instance.
15:14:13,467 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
15:14:13,555 INFO [JobStoreCMT] Freed 0 triggers from 'acquired' / 'blocked' state.
15:14:13,557 INFO [JobStoreCMT] Recovering 0 jobs that were in-progress at the time of the last shut-down.
15:14:13,557 INFO [JobStoreCMT] Recovery complete.
15:14:13,557 INFO [JobStoreCMT] Removed 0 'complete' triggers.
15:14:13,558 INFO [JobStoreCMT] Removed 0 stale fired job entries.
15:14:13,560 INFO [QuartzScheduler] Scheduler JBossEJB3QuartzScheduler_$_NON_CLUSTERED started.
15:14:14,862 INFO [ServerPeer] JBoss Messaging 1.4.1.GA server [0] started
15:14:15,094 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
15:14:15,094 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@11d6c3a started
15:14:15,096 WARN [ConnectionFactoryJNDIMapper] supportsFailover attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non clustered. So connection factory will *not* support failover
15:14:15,096 WARN [ConnectionFactoryJNDIMapper] supportsLoadBalancing attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non clustered. So connection factory will *not* support load balancing
15:14:15,099 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
15:14:15,099 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@ea7545 started
15:14:15,100 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
15:14:15,100 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@134e5d started
15:14:15,130 INFO [QueueService] Queue[/queue/DLQ] started, fullSize=200000, pageSize=2000, downCacheSize=2000
15:14:15,133 INFO [QueueService] Queue[/queue/ExpiryQueue] started, fullSize=200000, pageSize=2000, downCacheSize=2000
15:14:15,308 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
15:14:15,331 INFO [TomcatDeployment] deploy, ctxPath=/, vfsUrl=ROOT.war
15:14:34,997 INFO [TomcatDeployment] deploy, ctxPath=/alfresco, vfsUrl=alfresco.war
15:14:35,595 ERROR [AbstractKernelController] Error installing to Start: name=jboss.web.deployment:war=/alfresco state=Create mode=Manual requiredState=Installed
org.jboss.deployers.spi.DeploymentException: URL file:/opt/myjboss1/jboss-5.0.0.GA/server/default/tmp/deploy/alfresco5789188317627945293-exp.war/ deployment failed
at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:373)
at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:146)
at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:460)
at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
at org.jboss.web.deployers.WebModule.start(WebModule.java:96)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
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 $Proxy36.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:1598)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
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:146)
at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:104)
at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:45)
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:1598)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
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:545)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:304)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205)
at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)
at org.jboss.Main.boot(Main.java:209)
at org.jboss.Main$1.run(Main.java:547)
at java.lang.Thread.run(Thread.java:619)
Caused by: LifecycleException: Error initializaing : javax.management.ReflectionException: Cannot find method addChild with this signature
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4150)
at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:367)
... 55 more
15:14:35,891 ERROR [AbstractKernelController] Error installing to Real: name=vfszip:/opt/myjboss1/jboss-5.0.0.GA/server/default/deploy/alfresco.war state=PreReal mode=Manual requiredState=Real
org.jboss.deployers.spi.DeploymentException: URL file:/opt/myjboss1/jboss-5.0.0.GA/server/default/tmp/deploy/alfresco5789188317627945293-exp.war/ deployment failed
at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:373)
at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:146)
at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:460)
at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
at org.jboss.web.deployers.WebModule.start(WebModule.java:96)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
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 $Proxy36.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:1598)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
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:146)
at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:104)
at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:45)
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:1598)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
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:545)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:304)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205)
at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)
at org.jboss.Main.boot(Main.java:209)
at org.jboss.Main$1.run(Main.java:547)
at java.lang.Thread.run(Thread.java:619)
Caused by: LifecycleException: Error initializaing : javax.management.ReflectionException: Cannot find method addChild with this signature
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4150)
at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:367)
... 55 more
15:14:35,973 INFO [TomcatDeployment] deploy, ctxPath=/jmx-console, vfsUrl=jmx-console.war
15:14:36,102 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

*** CONTEXTS IN ERROR: Name -> Error

vfszip:/opt/myjboss1/jboss-5.0.0.GA/server/default/deploy/alfresco.war -> LifecycleException: Error initializaing : javax.management.ReflectionException: Cannot find method addChild with this signature


15:14:36,166 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
15:14:36,231 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
15:14:36,253 INFO [ServerImpl] JBoss (Microcontainer) [5.0.0.GA (build: SVNTag=JBoss_5_0_0_GA date=200812042120)] Started in 1m:29s:800ms







  • 1. Re: Alfresco labs War3 stable on Jboss-5.0.0.GA
    jaikiran pai Master

    I have seen users reporting this error with various war files (alfresco is one of them) on 5.0 GA. I haven't yet been able to completely look at this, but from what i see, the issue is probably because of packaging jars like commons-logging*.jar, log4j*.jar, catalina.jar and various other jars that are packaged within the application (WEB-INF/lib). I would recommed removing such jars especially the catalina.jar from the package and see if it works.

  • 2. Re: Alfresco labs War3 stable on Jboss-5.0.0.GA
    Frederic Hornain Newbie

    Dear jaikiran,

    Unfortunately, removing these files did not fix the problem.
    Thanks for your help.

    BR
    Fred

  • 3. Re: Alfresco labs War3 stable on Jboss-5.0.0.GA
    jaikiran pai Master

    I had to minimally atleast these jars from the WEB-INF/lib to get past that error (though there were some other app specific errors later on):

    catalina.jar
    tomcat-coyote.jar
    xercesImpl-2.8.0.jar
    xmlrpc.jar
    commons-logging-1.1.jar
    tomcat-util.jar
    xml-apis.jar
    


    P.S: That application is 70 MB huge (even when zipped) and packages almost all kinds of jars.


  • 4. Re: Alfresco labs War3 stable on Jboss-5.0.0.GA
    Frederic Hornain Newbie

    Dear Jaikiran,

    Thanks a lot for your answer.
    Sorry for the delay.

    Well, for my part I decided to go back to Jboss 4.2.3 for support reasons.
    Apparently with that release Alfresco Labs 3 is working correctly.

    Nonetheless as I did, my boss tried Alfresco 3.0 on Jboss 5.0.1.GA and followed your advices.
    After talking with him, it seems that removing the listed packages fix the problem.

    However, he had a new problem with the MySQL Database connection this time.
    it seems Alfresco is unable to find its patches path

    Anyway, I am going to suggest him to post his comment after that one asap.

    Thanks again for your great help Jaikiran.

    BR
    Fred


  • 5. Re: Alfresco labs War3 stable on Jboss-5.0.0.GA
    eswar rao Newbie

    Hi ..
    i am also facing same problem with jboss5 stable version .my error lod is

    ERROR [ContextLoader] Context initialization failed
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'schemaBootstrap' defined in class path resource [alfresco/bootstrap-context.xml]: Cannot resolve reference to bean 'patch.schemaUpdateScript-V1.4-1' while setting bean property 'preUpdateScriptPatches' with key [0]; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'patch.schemaUpdateScript-V1.4-1' is defined
    Caused by:
    org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'patch.schemaUpdateScript-V1.4-1' is defined
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:356)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedBeanDefinition(AbstractBeanFactory.java:916)



    if you got success ...can you share with us?

    thanks in advance

  • 6. Re: Alfresco labs War3 stable on Jboss-5.0.0.GA
    jaikiran pai Master

     

    Nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'patch.schemaUpdateScript-V1.4-1'


    Is this a file or is this some bean configuration in the xml? In any case, (at this point) this looks very specific to the application rather than some issue with the server.

  • 7. Re: Alfresco labs War3 stable on Jboss-5.0.0.GA
    Eddy Neuret Newbie

    ok, I'm brand new in the JBoss world so ...

    sorry for the very late reply but here are my findings:

    it was not - yet - MySql connection.
    What I had was the exact same message posted just above by sangireddi:

    ERROR [ContextLoader] Context initialization failed
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'schemaBootstrap' defined in class path resource [alfresco/bootstrap-context.xml]: Cannot resolve reference to bean 'patch.schemaUpdateScript-V1.4-1' while setting bean property 'preUpdateScriptPatches' with key [0]; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'patch.schemaUpdateScript-V1.4-1' is defined
    Caused by:
    org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'patch.schemaUpdateScript-V1.4-1' is defined
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:356)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedBeanDefinition(AbstractBeanFactory.java:916)
    

    The springframework seems to not parse correctly a ANT-style path with the resource location, i.e.:

    <import resource="classpath*:alfresco/patch/*-context.xml" />
    

    in jboss-5.0.1.GA/server/default/deploy/alfresco.war/WEB-INF/classes/alfresco

    I've fixed the path to
    <import resource="classpath*:alfresco/patch/patch-services-context.xml" />
    


    It fixes the problem mentionned above but hand on another one (not yet corrected the path) about the "domain":

    2009-03-10 00:56:23,361 DEBUG [org.springframework.web.context.support.ServletContextResourcePatternResolver] (main) Cannot search for matching files underneath URL [vfsfile:/usr/local/jboss/jboss-5.0.1.GA/server/default/deploy/alfresco.war/WEB-INF/classes/alfresco/domain/] because it does not correspond to a directory in the file system


    with import resource stiil defined as:
    <import resource="classpath*:alfresco/domain/*-context.xml" />
    



    I haven't done the changes for the others path (not had the time yet) but this should solve the bean definitions hoping that it will start correctly.
    I will try that this evening and will keep you posted ....

    I've also found another post here
    http://n2.nabble.com/-JBoss-Spring-Integration----Re:-Spring-Component-Auto-Detection-td2390679.html
    which seems related to that problem.


    HTH,

    Eddy

  • 8. Re: Alfresco labs War3 stable on Jboss-5.0.0.GA
    jaikiran pai Master

     

    "eneuret" wrote:

    The springframework seems to not parse correctly a ANT-style path with the resource location, i.e.:

    <import resource="classpath*:alfresco/patch/*-context.xml" />
    


    Hmm, so the classpath issue which was discussed sometime back related to Spring and JBossAS5 (am not finding that thread right now).


    "eneuret" wrote:

    I've fixed the path to
    <import resource="classpath*:alfresco/patch/patch-services-context.xml" />
    


    It fixes the problem mentionned above

    Probably a workaround, but other -context.xml file will not be added to the classpath then.


    "eneuret" wrote:

    2009-03-10 00:56:23,361 DEBUG [org.springframework.web.context.support.ServletContextResourcePatternResolver] (main) Cannot search for matching files underneath URL [vfsfile:/usr/local/jboss/jboss-5.0.1.GA/server/default/deploy/alfresco.war/WEB-INF/classes/alfresco/domain/] because it does not correspond to a directory in the file system




    Is /usr/local/jboss/jboss-5.0.1.GA/server/default/deploy/alfresco.war/WEB-INF/classes/alfresco/domain/ a directory? And are you deploying the application (.war file) in archived form or in exploded form?



  • 9. Re: Alfresco labs War3 stable on Jboss-5.0.0.GA
    Eddy Neuret Newbie

    missed the xml file where the import resources are located:

    in jboss-5.0.1.GA/server/default/deploy/alfresco.war/WEB-INF/classes/alfrescoapplication-context.xml

    HTH,

    Eddy

  • 10. Re: Alfresco labs War3 stable on Jboss-5.0.0.GA
    Eddy Neuret Newbie

    for ease of use - and remember I'm total noob in JBoss - I've exploded the war.

    And my mistake, it's indeed a workaround.

    But same error message being archived or exploded deployment.

    Eddy

  • 11. Re: Alfresco labs War3 stable on Jboss-5.0.0.GA
    Eddy Neuret Newbie

    and the "domain" is indeed a directory:

    in jboss-5.0.1.GA/server/default/deploy/alfresco.war/WEB-INF/classes/alfresco/domain/
    Files in that directory:
    cache-strategies.properties
    hibernate-cfg.properties
    quartz.properties
    transaction.properties

    => no xml here but the message is about the directory ...

    and the error message is:

    2009-03-10 00:56:23,361 DEBUG [org.springframework.web.context.support.ServletContextResourcePatternResolver] (main) Cannot search for matching files underneath URL [vfsfile:/usr/local/jboss/jboss-5.0.1.GA/server/default/deploy/alfresco.war/WEB-INF/classes/alfresco/domain/] because it does not correspond to a directory in the file system
    java.io.FileNotFoundException: URL [vfsfile:/usr/local/jboss/jboss-5.0.1.GA/server/default/deploy/alfresco.war/WEB-INF/classes/alfresco/domain/] cannot be resolved to absolute file path because it does not reside in the file system: vfsfile:/usr/local/jboss/jboss-5.0.1.GA/server/default/deploy/alfresco.war/WEB-INF/classes/alfresco/domain/
    at org.springframework.util.ResourceUtils.getFile(ResourceUtils.java:194)
    at org.springframework.core.io.UrlResource.getFile(UrlResource.java:119)
    at org.springframework.core.io.support.PathMatchingResourcePatternResolver.doFindPathMatchingFileResources(PathMatchingResourcePatternResolver.java:457)
    at org.springframework.web.context.support.ServletContextResourcePatternResolver.doFindPathMatchingFileResources(ServletContextResourcePatternResolver.java:88)
    at org.springframework.core.io.support.PathMatchingResourcePatternResolver.findPathMatchingResources(PathMatchingResourcePatternResolver.java:323)
    at org.springframework.core.io.support.PathMatchingResourcePatternResolver.getResources(PathMatchingResourcePatternResolver.java:244)
    at org.springframework.context.support.AbstractApplicationContext.getResources(AbstractApplicationContext.java:867)
    at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:146)
    at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.importBeanDefinitionResource(DefaultBeanDefinitionDocumentReader.java:171)
    at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseDefaultElement(DefaultBeanDefinitionDocumentReader.java:145)
    at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:130)
    at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:90)
    at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:458)
    at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:353)
    at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:303)
    at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:280)
    at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:131)
    at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:147)
    at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124)
    at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:92)
    at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:101)
    at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:389)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:324)
    at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:244)
    at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:187)
    at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3910)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4393)
    at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:312
    ....



  • 12. Re: Alfresco labs War3 stable on Jboss-5.0.0.GA
    eswar rao Newbie

    Hi Thank you for your reply .
    i also solved that issue but now i am getting below exception ..
    can you share if you have had this experience ..


    Context initialization failed
    org.alfresco.web.scripts.WebScriptException: Web Script Store classpath:alfresco/templates/webscripts must exist; it was not found
    at org.alfresco.web.scripts.ClassPathStore.init(ClassPathStore.java:136)
    at org.alfresco.web.scripts.SearchPath$ProcessorLifecycle.onBootstrap(SearchPath.java:86)
    at org.alfresco.util.AbstractLifecycleBean.onApplicationEvent(AbstractLifecycleBean.java:62)
    at org.alfresco.web.scripts.SearchPath.onApplicationEvent(SearchPath.java:73)
    at org.springframework.context.event.SimpleApplicationEventMulticaster$1.run(SimpleApplicationEventMulticaster.java:77)