cancel
Showing results for 
Search instead for 
Did you mean: 

Problème de compilation des JSPs - tags non trouvés

sebguillomon
Champ in-the-making
Champ in-the-making
Bonjour,

J'ai téléchargé les versions 2.1 et 3.0 d'Alfresco et j'ai essayé de les déployer sur Weblogic 10, soit je choisis de précompiler les JSPs, soit non et de toute façon j'ai cette erreur (soit lors de l'installation en cliquant sur "activate changes", soit au lancement de l'appli) :


    container.jsp:25:5: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file.
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
        ^—-^
    container.jsp:25:5: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file.
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
        ^—-^
    container.jsp:26:5: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file.
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
        ^—-^
    container.jsp:26:5: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file.
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
        ^—-^
    container.jsp:27:5: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file.
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
        ^—-^
    container.jsp:27:5: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file.
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
        ^—-^
    container.jsp:28:5: Invalid tag library.
    <%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
        ^—-^
    container.jsp:28:5: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file.
    <%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
        ^—-^
    container.jsp:28:5: Invalid tag library.
    <%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
        ^—-^
    container.jsp:28:5: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file.
    <%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>

    …etc..

J'ai essayé de déclarer les taglibs dans le fichier web.xml et ça ne change rien du tout !

Quelqu'un a une idée ?

Merci bcp
Sébastien
3 REPLIES 3

sebguillomon
Champ in-the-making
Champ in-the-making
J'ai retesté en mettant mon war en mode éclaté dans un répertoire dont le chemin de contient pas de caractère  espace et le déploiement fonctionne.
Cependant, lors du démarrage de l'application j'ai une nouvelle erreur :

####<12 févr. 2009 15 h 00 CET> <Warning> <Deployer> <C18121> <AdminServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1234447214790> <BEA-149004> <Failures were detected while initiating start task for application 'alfresco'.>
####<12 févr. 2009 15 h 00 CET> <Warning> <Deployer> <C18121> <AdminServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1234447214790> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException:
   at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:311)
   at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
   at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
   at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
   at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
   at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:56)
   at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:46)
   at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)
   at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
   at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
   at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:147)
   at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:61)
   at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:189)
   at weblogic.deploy.internal.targetserver.operations.StartOperation.createAndPrepareContainer(StartOperation.java:88)
   at weblogic.deploy.internal.targetserver.operations.StartOperation.doPrepare(StartOperation.java:99)
   at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
   at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:719)
   at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1186)
   at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:248)
   at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:157)
   at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
   at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
   at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)
   at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:464)
   at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
   at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
java.lang.NullPointerException
   at jsp_servlet._jsp._admin.__avm_45_console.<clinit>(__avm_45_console.java:103)
   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:585)
   at weblogic.servlet.jsp.JspStub.isJSPClassStale(JspStub.java:288)
   at weblogic.servlet.jsp.JavelinxJspPrecompiler.needsCompilation(JavelinxJspPrecompiler.java:148)
   at weblogic.servlet.jsp.JavelinxJspPrecompiler.compileAll(JavelinxJspPrecompiler.java:103)
   at weblogic.servlet.jsp.JavelinxJspPrecompiler.compile(JavelinxJspPrecompiler.java:50)
   at weblogic.servlet.internal.JSPManager.precompileJSPs(JSPManager.java:212)
   at weblogic.servlet.internal.WebAppServletContext.prepareFromDescriptors(WebAppServletContext.java:1184)
   at weblogic.servlet.internal.WebAppServletContext.prepare(WebAppServletContext.java:1103)
   at weblogic.servlet.internal.HttpServer.doPostContextInit(HttpServer.java:437)
   at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:412)
   at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:582)
   at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:298)
   at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
   at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
   at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
   at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
   at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:56)
   at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:46)
   at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)
   at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
   at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
   at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:147)
   at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:61)
   at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:189)
   at weblogic.deploy.internal.targetserver.operations.StartOperation.createAndPrepareContainer(StartOperation.java:88)
   at weblogic.deploy.internal.targetserver.operations.StartOperation.doPrepare(StartOperation.java:99)
   at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
   at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:719)
   at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1186)
   at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:248)
   at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:157)
   at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
   at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
   at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)
   at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:464)
   at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
   at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
>

L'application ne démarre donc pas et Weblogic 10 commence à me déprimer  :x

Une idée ?

Merci bcp

michaelh
Champ on-the-rise
Champ on-the-rise
Bonjour,

L'installation sous WL10 n'est pas simple et à ce jour non-validée.
Un développeur bosse en ce moment même sur le sujet, et une première page de doc est disponible http://wiki.alfresco.com/wiki/Installing_Alfresco_on_Weblogic
Cela dit je pense qu'il faudra attendre pour que la procédure soit à 100 % reproductible.

sebguillomon
Champ in-the-making
Champ in-the-making
J'ai réussi à l'installer en utilisant une documentation sur JIRA Alfresco, cependant je n'ai réussi qu'avec la version 10.3 de Weblogic et la version labs 3 d'Alfresco, avec cette version de Weblogic, il est également relativement facile de faire un portail et des portlets communiquant  avec alfresco via l'api web-service-client.

A part une erreur à la compilation de la jsp avm-console.jsp, tout fonctionne correctement. Ca a mis le temps mais ça fait plaisir  Smiley Tongue
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.