AnsweredAssumed Answered

PROBLEMA AL DEPLOYAR JBOSS+ALFRESCO+SHARE

Question asked by krls on Sep 30, 2009
Hola,

Estamos trabajando con la versión Alfresco y Share 3.2 deployandolo en un JBoss 5.1.

Estamos tratando de deployar las dos aplicaciones a la vez, Alfresco y Share en un contenedor de JBoss 5,1  y estamos teniendo muchos problemas.

Hemos tratado de aislar el class-loading, incluyendo un jboss-classloader.xml dentro de los dos archivos war, pero nos siguen apareciendo errores.

Aquí está el contenido de los archivos:

Share.war

<?xml version="1.0" encoding="UTF-8"?>
<classloading xmlns="urn:jboss:classloading:1.0"
   name="share.war"
   domain="DefaultDomain"
   export-all="NON_EMPTY"
   import-all="true">
</classloading>

Alfresco.war

<?xml version="1.0" encoding="UTF-8"?>

<classloading xmlns="urn:jboss:classloading:1.0"
   name="alfresco.war"
   domain="DefaultDomain"
   export-all="NON_EMPTY"
   import-all="true">
</classloading>

Y aquí el error que nos sale:


2009-09-09 12:26:17,770 ERROR [org.springframework.web.context.ContextLoader] (main) Context initialization failed
org.alfresco.web.scripts.WebScriptException: 08090001 Failed to initialise Web Script Store classpath: alfresco/webscripts
   at org.alfresco.web.scripts.ClassPathStore.init(ClassPathStore.java:154)
   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)
   at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49)
   at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:75)
   at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:246)
   at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:617)
   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:355)
   at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)
   at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:189)
   at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
   at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:69)
   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: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:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:592)
   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:595)
Caused by: java.io.IOException: URI scheme is not "file"
   at org.alfresco.config.JBossVFSHelper$VFSResource.getFile(JBossVFSHelper.java:231)
   at org.alfresco.web.scripts.ClassPathStore.init(ClassPathStore.java:140)
   … 82 more
Caused by: java.lang.IllegalArgumentException: URI scheme is not "file"
   at java.io.File.<init>(File.java:338)
   at org.alfresco.config.JBossVFSHelper$VFSResource.getFile(JBossVFSHelper.java:223)
   … 83 more
2009-09-09 12:26:17,770 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/alfresco]] (main) Excepción enviando evento inicializado de contexto a instancia de escuchador de clase org.alfresco.web.app.ContextLoaderListener
org.alfresco.web.scripts.WebScriptException: 08090001 Failed to initialise Web Script Store classpath: alfresco/webscripts
   at org.alfresco.web.scripts.ClassPathStore.init(ClassPathStore.java:154)
   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)
   at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49)
   at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:75)
   at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:246)
   at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:617)
   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:355)
   at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)
   at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:189)
   at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
   at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:69)
   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: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:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:592)
   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:595)
Caused by: java.io.IOException: URI scheme is not "file"
   at org.alfresco.config.JBossVFSHelper$VFSResource.getFile(JBossVFSHelper.java:231)
   at org.alfresco.web.scripts.ClassPathStore.init(ClassPathStore.java:140)
   … 82 more
Caused by: java.lang.IllegalArgumentException: URI scheme is not "file"
   at java.io.File.<init>(File.java:338)
   at org.alfresco.config.JBossVFSHelper$VFSResource.getFile(JBossVFSHelper.java:223)
   … 83 more

Si implementamos la aplicación share.war y esperamos a que termine antes de implementar el alfresco.war, no hay error, y ambas aplicaciones son totalmente funcionales.
   
Si ponemos import-all="true" a falso obtenga una excepción diferente. En este caso, parece que las clases de servlet que debe ser proporcionada por el contenedor (JBoss) no pueden ser localizadas. Aquí está el error:


2009-09-09 12:09:38,840 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (main) Error installing to Real: name=vfszip:/E:/Dvlp/jboss-5.1.0.GA/server/default/deploy/alfresco.war/ state=PreReal mode=Manual requiredState=Real
org.jboss.deployers.spi.DeploymentException: Error during deploy: vfszip:/E:/Dvlp/jboss-5.1.0.GA/server/default/deploy/alfresco.war/
   at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
   at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:177)
   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.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:595)
Caused by: java.lang.NoClassDefFoundError: javax/servlet/Servlet
   at java.lang.ClassLoader.defineClass1(Native Method)
   at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
   at org.jboss.classloader.spi.base.BaseClassLoader.access$200(BaseClassLoader.java:63)
   at org.jboss.classloader.spi.base.BaseClassLoader$2.run(BaseClassLoader.java:572)
   at org.jboss.classloader.spi.base.BaseClassLoader$2.run(BaseClassLoader.java:532)
   at java.security.AccessController.doPrivileged(Native Method)
   at org.jboss.classloader.spi.base.BaseClassLoader.loadClassLocally(BaseClassLoader.java:530)
   at org.jboss.classloader.spi.base.BaseClassLoader.loadClassLocally(BaseClassLoader.java:507)
   at org.jboss.classloader.spi.base.BaseDelegateLoader.loadClass(BaseDelegateLoader.java:134)
   at org.jboss.classloader.spi.base.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:452)
   at org.jboss.classloader.spi.base.ClassLoaderManager.nextTask(ClassLoaderManager.java:251)
   at org.jboss.classloader.spi.base.ClassLoaderManager.process(ClassLoaderManager.java:150)
   at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:265)
   at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:1119)
   at org.jboss.classloader.spi.base.BaseClassLoader.loadClassFromDomain(BaseClassLoader.java:798)
   at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:441)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
   at org.jboss.wsf.container.jboss50.deployer.JAXWSDeployerHookPreJSE.getRelevantServlets(JAXWSDeployerHookPreJSE.java:121)
   at org.jboss.wsf.container.jboss50.deployer.JAXWSDeployerHookPreJSE.isWebServiceDeployment(JAXWSDeployerHookPreJSE.java:97)
   at org.jboss.wsf.container.jboss50.deployer.ArchiveDeployerHook.deploy(ArchiveDeployerHook.java:65)
   at org.jboss.wsf.container.jboss50.deployer.AbstractWebServiceDeployer.internalDeploy(AbstractWebServiceDeployer.java:60)
   at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
   at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
   … 29 more
2009-09-09 12:09:39,278 WARN  [org.jboss.web.jsf.integration.config.JBossJSFConfigureListener] (main) MyFaces JSF implementation found!  This version of JBoss AS ships with the java.net implementation of JSF.  There are known issues when mixing JSF implementations.  This warning does not apply to MyFaces component libraries such as Tomahawk.  However, myfaces-impl.jar and myfaces-api.jar should not be used without disabling the built-in JSF implementation.  See the JBoss wiki for more details.
2009-09-09 12:09:39,309 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (main) Error installing to Real: name=vfszip:/E:/Dvlp/jboss-5.1.0.GA/server/default/deploy/share.war/ state=PreReal mode=Manual requiredState=Real
org.jboss.deployers.spi.DeploymentException: Error during deploy: vfszip:/E:/Dvlp/jboss-5.1.0.GA/server/default/deploy/share.war/
   at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
   at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:177)
   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.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:595)
Caused by: java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet
   at java.lang.ClassLoader.defineClass1(Native Method)
   at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
   at org.jboss.classloader.spi.base.BaseClassLoader.access$200(BaseClassLoader.java:63)
   at org.jboss.classloader.spi.base.BaseClassLoader$2.run(BaseClassLoader.java:572)
   at org.jboss.classloader.spi.base.BaseClassLoader$2.run(BaseClassLoader.java:532)
   at java.security.AccessController.doPrivileged(Native Method)
   at org.jboss.classloader.spi.base.BaseClassLoader.loadClassLocally(BaseClassLoader.java:530)
   at org.jboss.classloader.spi.base.BaseClassLoader.loadClassLocally(BaseClassLoader.java:507)
   at org.jboss.classloader.spi.base.BaseDelegateLoader.loadClass(BaseDelegateLoader.java:134)
   at org.jboss.classloader.spi.base.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:452)
   at org.jboss.classloader.spi.base.ClassLoaderManager.nextTask(ClassLoaderManager.java:251)
   at org.jboss.classloader.spi.base.ClassLoaderManager.process(ClassLoaderManager.java:150)
   at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:265)
   at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:1119)
   at org.jboss.classloader.spi.base.BaseClassLoader.loadClassFromDomain(BaseClassLoader.java:798)
   at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:441)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
   at org.jboss.wsf.container.jboss50.deployer.JAXWSDeployerHookPreJSE.getRelevantServlets(JAXWSDeployerHookPreJSE.java:121)
   at org.jboss.wsf.container.jboss50.deployer.JAXWSDeployerHookPreJSE.isWebServiceDeployment(JAXWSDeployerHookPreJSE.java:97)
   at org.jboss.wsf.container.jboss50.deployer.ArchiveDeployerHook.deploy(ArchiveDeployerHook.java:65)
   at org.jboss.wsf.container.jboss50.deployer.AbstractWebServiceDeployer.internalDeploy(AbstractWebServiceDeployer.java:60)
   at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
   at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
   … 29 more
2009-09-09 12:09:39,387 ERROR [org.jboss.system.server.profileservice.ProfileServiceBootstrap] (main) Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

DEPLOYMENTS IN ERROR:
  Deployment "vfszip:/E:/Dvlp/jboss-5.1.0.GA/server/default/deploy/share.war/" is in error due to the following reason(s): java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet
  Deployment "vfszip:/E:/Dvlp/jboss-5.1.0.GA/server/default/deploy/alfresco.war/" is in error due to the following reason(s): java.lang.NoClassDefFoundError: javax/servlet/Servlet

La quistión es que necesitamos deployar las dos aplicaciones a la vez y no podemos. Hemos hecho diferentes pruebas y nada. ¿Alguien nos podría ayudar, o se ha encontrado con semejante problema?

Outcomes