Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 58162 invoked from network); 18 Dec 2006 23:03:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Dec 2006 23:03:08 -0000 Received: (qmail 869 invoked by uid 500); 18 Dec 2006 23:03:15 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 645 invoked by uid 500); 18 Dec 2006 23:03:14 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 636 invoked by uid 99); 18 Dec 2006 23:03:14 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Dec 2006 15:03:14 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lists@nabble.com designates 72.21.53.35 as permitted sender) Received: from [72.21.53.35] (HELO talk.nabble.com) (72.21.53.35) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Dec 2006 15:03:03 -0800 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1GwRVK-00050O-VJ for users@jackrabbit.apache.org; Mon, 18 Dec 2006 15:02:42 -0800 Message-ID: <7938397.post@talk.nabble.com> Date: Mon, 18 Dec 2006 15:02:42 -0800 (PST) From: Nopalin To: users@jackrabbit.apache.org Subject: Problems deploying on jboss MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: ivan.perales@gmail.com X-Virus-Checked: Checked by ClamAV on apache.org hi. I am really really noob with jackrabbit and i am having some problems with it under jboss. i use jboss 4.0.3SP, i followed jboss howto from http://wiki.apache.org/jackrabbit/JackrabbitOnJBoss JackrabbitOnJBoss and i cant get jackrabbit working. First i tried with jackrabbit-jca-1.1.1.rar, this is my ds file: jcrDS JCR Adapter jackrabbit-jca-1.1.1.rar javax.jcr.Repository /home/coop/jackrabbit/data true but it throws me an exception: 2006-12-18 21:20:18,497 WARN [org.jboss.system.ServiceController] Problem starting service jboss.jca:service=RARDeployment,name='jackrabbit-jca-1.1.1.rar' java.lang.ClassNotFoundException: No ClassLoaders found for: org.apache.jackrabbit.jca.JCAResourceAdapter at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:198) at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:475) at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:377) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) i found that JCAResourceAdapter is in package org.apache.jackrabbit.jca, but those classes are not in the jars inside jackrabbit-jca-1.1.1.rar. Well i tried to compile from the sources, i checked jackrabbit out the lastest version and i did mvn install, all went good, only 1 test problem : [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] There are test failures. [INFO] ------------------------------------------------------------------------ [INFO] Trace org.apache.maven.BuildFailureException: There are test failures. at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:555) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) at org.apache.maven.cli.MavenCli.main(MavenCli.java:256) 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.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures. at org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:403) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534) ... 16 more however i tried to generate the rar file wit mvn rar:rar and i got the following error: [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to resolve artifact. Missing: ---------- 1) org.apache.jackrabbit:jackrabbit-core:jar:1.2-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.jackrabbit -DartifactId=jackrabbit-core \ -Dversion=1.2-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file Path to dependency: 1) org.apache.jackrabbit:jackrabbit-jca:rar:1.2-SNAPSHOT 2) org.apache.jackrabbit:jackrabbit-core:jar:1.2-SNAPSHOT ---------- 1 required artifact is missing. for artifact: org.apache.jackrabbit:jackrabbit-jca:rar:1.2-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2) I have been searching on the net for about 6 hours about the problem but i cant find any answer. Please i need your help. I know i am noob, but believe me, i already have tried with all the things i could remember or i saw on net. -- View this message in context: http://www.nabble.com/Problems-deploying-on-jboss-tf2842959.html#a7938397 Sent from the Jackrabbit - Users mailing list archive at Nabble.com.