Hello,
                First, I ask for pardon for my English. Secondly I need help to 
deploy Archiva- 2.0.1.war in Jboss 7. I have the next Error:

12:09:10,042 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) 
MSC00001: Failed to start service 
jboss.deployment.unit."archiva-webapp-2.0.1.war".POST_MODULE: 
org.jboss.msc.service.StartException in service 
jboss.deployment.unit."archiva-webapp-2.0.1.war".POST_MODULE: Failed to process 
phase POST_MODULE of deployment "archiva-webapp-2.0.1.war"
                at 
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:119)
 [jboss-as-server-7.1.0.Final.jar:7.1.0.Final]
                at 
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
 [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
                at 
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
 [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
                at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
 [rt.jar:1.6.0_45]
                at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) 
[rt.jar:1.6.0_45]
                at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_45]
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: 
JBAS011093: Could not load component class 
org.apache.archiva.redback.integration.taglib.jsp.IfConfiguredTag
                at 
org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.processComponentConfig(InterceptorAnnotationProcessor.java:113)
                at 
org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.deploy(InterceptorAnnotationProcessor.java:54)
                at 
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113)
 [jboss-as-server-7.1.0.Final.jar:7.1.0.Final]
                ... 5 more
Caused by: java.lang.ClassNotFoundException: 
org.apache.archiva.redback.integration.taglib.jsp.IfConfiguredTag from [Module 
"deployment.archiva-webapp-2.0.1.war:main" from Service Module Loader]
                at 
org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
                at 
org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)
                at 
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)
                at 
org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
                at 
org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)
                at 
org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.processComponentConfig(InterceptorAnnotationProcessor.java:111)
                ... 7 more

12:09:10,071 INFO  [org.jboss.as.server] (HttpManagementService-threads - 2) 
JBAS015870: Deploy of deployment "archiva-webapp-2.0.1.war" was rolled back 
with failure message {"JBAS014671: Failed services" => 
{"jboss.deployment.unit.\"archiva-webapp-2.0.1.war\".POST_MODULE" => 
"org.jboss.msc.service.StartException in service 
jboss.deployment.unit.\"archiva-webapp-2.0.1.war\".POST_MODULE: Failed to 
process phase POST_MODULE of deployment \"archiva-webapp-2.0.1.war\""}}
12:09:10,800 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) 
JBAS015877: Stopped deployment archiva-webapp-2.0.1.war in 728ms
12:09:10,802 INFO  [org.jboss.as.controller] (HttpManagementService-threads - 
2) JBAS014774: Service status report
JBAS014777:   Services which failed to start:      service 
jboss.deployment.unit."archiva-webapp-2.0.1.war".POST_MODULE: 
org.jboss.msc.service.StartException in service 
jboss.deployment.unit."archiva-webapp-2.0.1.war".POST_MODULE: Failed to process 
phase POST_MODULE of deployment "archiva-webapp-2.0.1.war"

I have configured the datasources and mail session in:

<datasource jndi-name="java:/users" pool-name="users" enabled="true" 
use-java-context="true">
                    
<connection-url>jdbc:derby:c:/tomaqtoma;create=true</connection-url>
                    
<driver-class>org.apache.derby.jdbc.EmbeddedDriver</driver-class>
                    <driver>derby</driver>
                    <pool>
                        <min-pool-size>5</min-pool-size>
                        <max-pool-size>20</max-pool-size>
                        <prefill>true</prefill>
                    </pool>
                    <security>
                        <user-name>sa</user-name>
                    </security>
</datasource>
<driver name="derby" module="org.apache.derby"/>

And I have configured jboss-web.xml:
<jboss-web>
<resource-ref>
<res-ref-name>jdbc/users</res-ref-name>
<jndi-name>java:/users</jndi-name>
</resource-ref>
<resource-ref>
<res-ref-name>mail/Session</res-ref-name>
<res-type>javax.mail.Session</res-type>
<jndi-name>java:jboss/mail/Default</jndi-name>
</resource-ref>
</jboss-web>

But not run....I need help.
A lot of thanks.
David.



________________________________
Este correo electrónico y, en su caso, cualquier fichero anexo al mismo, 
contiene información de carácter confidencial exclusivamente dirigida a su 
destinatario o destinatarios. Si no es vd. el destinatario indicado, queda 
notificado que la lectura, utilización, divulgación y/o copia sin autorización 
está prohibida en virtud de la legislación vigente. En el caso de haber 
recibido este correo electrónico por error, se ruega notificar inmediatamente 
esta circunstancia mediante reenvío a la dirección electrónica del remitente.
Evite imprimir este mensaje si no es estrictamente necesario.

This email and any file attached to it (when applicable) contain(s) 
confidential information that is exclusively addressed to its recipient(s). If 
you are not the indicated recipient, you are informed that reading, using, 
disseminating and/or copying it without authorisation is forbidden in 
accordance with the legislation in effect. If you have received this email by 
mistake, please immediately notify the sender of the situation by resending it 
to their email address.
Avoid printing this message if it is not absolutely necessary.

Reply via email to