jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r698489 - in /jackrabbit/trunk/jackrabbit-webapp/src/main: java/org/apache/jackrabbit/j2ee/RepositoryAccessServlet.java webapp/welcome.jsp
Date Wed, 24 Sep 2008 09:49:43 GMT
Author: jukka
Date: Wed Sep 24 02:49:42 2008
New Revision: 698489

URL: http://svn.apache.org/viewvc?rev=698489&view=rev
Log:
JCR-1737: JSP page compilation errors when depoyed using oc4j

Remove the log statement in welcome.jsp in favor of improved logging in RepositoryAccessServlet.

Modified:
    jackrabbit/trunk/jackrabbit-webapp/src/main/java/org/apache/jackrabbit/j2ee/RepositoryAccessServlet.java
    jackrabbit/trunk/jackrabbit-webapp/src/main/webapp/welcome.jsp

Modified: jackrabbit/trunk/jackrabbit-webapp/src/main/java/org/apache/jackrabbit/j2ee/RepositoryAccessServlet.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-webapp/src/main/java/org/apache/jackrabbit/j2ee/RepositoryAccessServlet.java?rev=698489&r1=698488&r2=698489&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-webapp/src/main/java/org/apache/jackrabbit/j2ee/RepositoryAccessServlet.java
(original)
+++ jackrabbit/trunk/jackrabbit-webapp/src/main/java/org/apache/jackrabbit/j2ee/RepositoryAccessServlet.java
Wed Sep 24 02:49:42 2008
@@ -303,7 +303,9 @@
             }
             return repository;
         } catch (ServletException e) {
-            log.error("The repository is not available. Check config of 'RepositoryAccessServlet'.");
+            log.error(
+                    "The content repository is not available. Please check"
+                    + " RepositoryAccessServlet configuration in web.xml.", e);
             throw new IllegalStateException("The repository is not available.");
         }
     }

Modified: jackrabbit/trunk/jackrabbit-webapp/src/main/webapp/welcome.jsp
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-webapp/src/main/webapp/welcome.jsp?rev=698489&r1=698488&r2=698489&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-webapp/src/main/webapp/welcome.jsp (original)
+++ jackrabbit/trunk/jackrabbit-webapp/src/main/webapp/welcome.jsp Wed Sep 24 02:49:42 2008
@@ -24,7 +24,6 @@
 try {
     rep = RepositoryAccessServlet.getRepository(pageContext.getServletContext());
 } catch (Throwable e) {
-    log("Error accesing the repository", e);
     %><jsp:forward page="bootstrap/missing.jsp"/><%
 }
 



Mime
View raw message