jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Jackrabbit Wiki] Update of "JackrabbitOnJBoss" by eknathkadam
Date Thu, 14 Sep 2006 12:13:23 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jackrabbit Wiki" for change notification.

The following page has been changed by eknathkadam:
http://wiki.apache.org/jackrabbit/JackrabbitOnJBoss

------------------------------------------------------------------------------
   * type "help" to view the available commands.
   * type "help [command name]" for a detailed description of the given command.
  
+ === Jackrabbit on Jboss Installer script ===
+    Download this zip file, change the build.properties as per your setup and run 'dist'
and 'deploy' ant tasks.
+    All above configuration task will be done automatically, all you need to do is just start
your jboss server.
+   Download attachment:jackrabbit_on_jboss.zip
+ 
  === Common problems faced while configuring jackrabbit on jboss ===
  1. I get following exception when configured jca on jboss
      Reason: org.jboss.deployment.DeploymentException: couldn't get oldRarDeployment!
@@ -118, +123 @@

      in rar .....
     Solution: Most probably your jboss doesnt support old rar deployment, you better take
the latest source code from svn and build the rar your own and try it. Above mentioned instructions
work well with jackrabbit-jca-1.1-SNAPSHOT.rar.
  
+ 2. I get following exception when trying to connect remote jackrabbit repository using jnp
port
+     javax.naming.CommunicationException [Root exception is java.rmi.ConnectException: Connection
refused to host: 127.0.0.1; nested    exception is:...........
+ 
+    Solution: Try running your jboss server with following arguments 
+    -Djava.rmi.server.hostname=<server name or ip address>
+ 
+ 3. I am using jackrabbit on jboss 4.x and am getting following exception when jackrabbit-server.war
gets deployed.
+    log4j:ERROR "org.jboss.logging.util.OnlyOnceErrorHandler" was loaded by   [org.jboss.system.server.NoAnnotationURLClassLoader@1888759].
+     ERROR [STDERR] log4j:ERROR Could not create an Appender. Reported error follows.
+     ERROR [STDERR] java.lang.ClassCastException
+     ERROR [STDERR]     at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:165)
+   
+     Solution: There are some classloader issues with jboss, try modifying following attribute
value in  jbossweb-tomcat55.sar/META-INF/jboss-service.xml
+     <attribute name="UseJBossWebLoader">true</attribute>
+     Set it 'to true', default is 'false'.
+ 

Mime
View raw message