Page 1 of 2 12 LastLast
Results 1 to 20 of 21

Thread: uberSVN cannot start after update

  1. #1

    uberSVN cannot start after update

    Hi,


    Please help. I just updated updater, ubersvn and tomcat to the most recent version with uberSVN updater (I could not remember the version number) on Mac OSX Server 10.6.8 but I got java error then uberSVN could not start. I tried to restart the server, but it didn't help. I still got the same java error. Please see the attached log files.

    Thanks,
    Sutha Aphanuphong

    Code:
    % sudo su - ubersvn -c './bin/ubersvncontrol run'
    Running Tomcat
    Using CATALINA_BASE:   /opt/ubersvn/tomcat
    Using CATALINA_HOME:   /opt/ubersvn/tomcat
    Using CATALINA_TMPDIR: /opt/ubersvn/tomcat/temp
    Using JRE_HOME:        /opt/ubersvn/jre
    Using CLASSPATH:       /opt/ubersvn/tomcat/bin/bootstrap.jar
    Using CATALINA_PID:    /opt/ubersvn/data/run/tomcat.pid
    Mar 27, 2012 6:21:45 AM org.apache.catalina.core.AprLifecycleListener init
    INFO: Loaded APR based Apache Tomcat Native library 1.1.22.
    Mar 27, 2012 6:21:45 AM org.apache.catalina.core.AprLifecycleListener init
    INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
    Mar 27, 2012 6:21:45 AM org.apache.catalina.startup.SetAllPropertiesRule begin
    WARNING: [SetAllPropertiesRule]{Server/Service/Connector} Setting property 'clientAuth' to 'false' did not find a matching property.
    Mar 27, 2012 6:21:46 AM org.apache.coyote.http11.Http11AprProtocol init
    INFO: Initializing Coyote HTTP/1.1 on http-9890
    Mar 27, 2012 6:21:46 AM org.apache.coyote.http11.Http11AprProtocol init
    INFO: Initializing Coyote HTTP/1.1 on http-9900
    Mar 27, 2012 6:21:46 AM org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 1081 ms
    Mar 27, 2012 6:21:46 AM org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    Mar 27, 2012 6:21:46 AM org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/6.0.35
    Mar 27, 2012 6:21:46 AM org.apache.catalina.startup.HostConfig deployWAR
    INFO: Deploying web application archive RepositoryBrowser.war
    Mar 27, 2012 6:21:53 AM org.apache.catalina.startup.HostConfig deployWAR
    INFO: Deploying web application archive ubersvn.war
    Mar 27, 2012 6:21:54 AM org.apache.catalina.core.StandardContext addApplicationListener
    INFO: The listener "com.sun.faces.config.ConfigureListener" is already configured for this context. The duplicate definition has been ignored.
    Mar 27, 2012 6:21:55 AM org.apache.catalina.core.StandardContext start
    SEVERE: Error listenerStart
    Mar 27, 2012 6:21:55 AM org.apache.catalina.core.StandardContext start
    SEVERE: Context [/ubersvn] startup failed due to previous errors
    Mar 27, 2012 6:21:55 AM org.apache.catalina.startup.HostConfig deployDirectory
    INFO: Deploying web application directory ROOT
    Mar 27, 2012 6:21:55 AM org.apache.coyote.http11.Http11AprProtocol start
    INFO: Starting Coyote HTTP/1.1 on http-9890
    Mar 27, 2012 6:21:55 AM org.apache.coyote.http11.Http11AprProtocol start
    INFO: Starting Coyote HTTP/1.1 on http-9900
    Mar 27, 2012 6:21:55 AM org.apache.catalina.startup.Catalina start
    INFO: Server startup in 9417 ms
    Attached Files Attached Files
    Last edited by aphanuphong; 03-27-2012 at 04:28 AM.

  2. #2
    Senior Member Site ModeratorSite Admin
    Join Date
    Mar 2011
    Location
    Chesterfield, UK
    Posts
    771
    Can you please post your PackageTool_out log?
    Mat Booth
    Software Engineer
    WANdisco, Inc.

    I joined the blog-o-web-o-sphere! Linux and Coding Blog

    How To Ask Smart Questions

  3. #3
    Code:
    Verifying packages to be updated/installed:
       updater-12.03.9420-2
       ubersvn-12.03.9420-2
       tomcat-6.0.35-1
    Stopping Apache...
    Stopping Tomcat...
    launchctl stop error: No such process
    Services stopped
    Skipping pre-install scriptlet.
    Installing updater
      Installing file: license/updater.txt
      Installing file: bin/pkgtool.jar
      Installing file: bin/pkgtool.sh
      Installing file: lib/commons-compress-1.1.jar
      Installing file: lib/commons-exec-1.1.jar
      Installing file: lib/commons-io-2.0.1.jar
    Finished installing updater
    Skipping post-install scriptlet.
    Cleaning up updater
    Finished cleaning up updater
    Executing pre-install scriptlet.
    +++ dirname /opt/ubersvn/downloads/1332846421060-uberSVN-ubersvn-all-all-12.03.9420-2.tar.bz2/scripts/pre-install.sh
    ++ cd /opt/ubersvn/downloads/1332846421060-uberSVN-ubersvn-all-all-12.03.9420-2.tar.bz2/scripts/../../..
    ++ pwd
    + UBER_HOME=/opt/ubersvn
    + rm -rf /opt/ubersvn/tomcat/webapps/ubersvn
    + rm -rf /opt/ubersvn/tomcat/webapps/RepositoryBrowser
    + '[' '!' -f /opt/ubersvn/conf/db.properties ']'
    + DB_USER=sa
    ++ uname -s
    + '[' Darwin = Darwin ']'
    ++ openssl rand -hex 30
    + DB_PASS=7994b6b48af320624f2b7565a2630d924d4a4ffb8d0f472fd26bd05b1e26
    ++ uname -s
    + '[' Darwin = Darwin ']'
    + sed -i '' -e 's|SA PASSWORD ""|SA PASSWORD "7994b6b48af320624f2b7565a2630d924d4a4ffb8d0f472fd26bd05b1e26"|g' /opt/ubersvn/ubersvn-db/ubersvn-db.script
    + echo hibernate.connection.username=sa
    + echo hibernate.connection.password=7994b6b48af320624f2b7565a2630d924d4a4ffb8d0f472fd26bd05b1e26
    Finished pre-install scriptlet.
    Installing ubersvn
      Installing file: license/ubersvn.txt
      Installing file: bin/pkgtool.jar
      Installing file: bin/pkgtool.sh
      Installing file: tomcat/webapps/ubersvn.war
      Installing file: tomcat/webapps/RepositoryBrowser.war
      Installing file: lib/hooks/commithook.jar
      Installing file: lib/hooks/commons-logging-1.1.1.jar
      Installing file: lib/hooks/httpclient-4.1.2.jar
      Installing file: lib/hooks/httpcore-4.1.2.jar
    Finished installing ubersvn
    Skipping post-install scriptlet.
    Cleaning up ubersvn
    Finished cleaning up ubersvn
    Skipping pre-install scriptlet.
    Installing tomcat
      Installing file: license/tomcat.txt
      Installing file: tomcat/bin/bootstrap.jar
      Installing file: tomcat/bin/catalina-tasks.xml
      Installing file: tomcat/bin/catalina.bat
      Installing file: tomcat/bin/catalina.sh
      Installing file: tomcat/bin/catalina.sh.orig
      Installing file: tomcat/bin/commons-daemon.jar
      Installing file: tomcat/bin/cpappend.bat
      Installing file: tomcat/bin/digest.bat
      Installing file: tomcat/bin/digest.sh
      Installing file: tomcat/bin/service.bat
      Installing file: tomcat/bin/setclasspath.bat
      Installing file: tomcat/bin/setclasspath.sh
      Installing file: tomcat/bin/shutdown.bat
      Installing file: tomcat/bin/shutdown.sh
      Installing file: tomcat/bin/startup.bat
      Installing file: tomcat/bin/startup.sh
      Installing file: tomcat/bin/tomcat-juli.jar
      Installing file: tomcat/bin/tool-wrapper.bat
      Installing file: tomcat/bin/tool-wrapper.sh
      Installing file: tomcat/bin/version.bat
      Installing file: tomcat/bin/version.sh
      Installing file: tomcat/lib/annotations-api.jar
      Installing file: tomcat/lib/catalina-ant.jar
      Installing file: tomcat/lib/catalina-ha.jar
      Installing file: tomcat/lib/catalina-tribes.jar
      Installing file: tomcat/lib/catalina.jar
      Installing file: tomcat/lib/ecj-3.7.jar
      Installing file: tomcat/lib/el-api.jar
      Installing file: tomcat/lib/jasper-el.jar
      Installing file: tomcat/lib/jasper.jar
      Installing file: tomcat/lib/jsp-api.jar
      Installing file: tomcat/lib/servlet-api.jar
      Installing file: tomcat/lib/tomcat-coyote.jar
      Installing file: tomcat/lib/tomcat-i18n-es.jar
      Installing file: tomcat/lib/tomcat-i18n-fr.jar
      Installing file: tomcat/lib/tomcat-i18n-ja.jar
      Installing file: tomcat/temp/safeToDelete.tmp
      Installing file: tomcat/webapps/ROOT/index.jsp
      Installing file: bin/ubersvncontrol
      Installing file: lib/libtcnative-1.0.1.22.dylib
      Installing symlink: lib/libtcnative-1.0.dylib
      Installing symlink: lib/libtcnative-1.dylib
      Installing symlink: lib/libtcnative-1.jnilib
      Installing config file: tomcat/conf/catalina.policy
      Installing config file: tomcat/conf/catalina.properties
      Installing config file: tomcat/conf/logging.properties
      Installing user config file: tomcat/conf/context.xml
      Installing user config file: tomcat/conf/server.xml
      Installing user config file: tomcat/conf/tomcat-users.xml
      Installing user config file: tomcat/conf/web.xml
    Finished installing tomcat
    Skipping post-install scriptlet.
    Cleaning up tomcat
    Finished cleaning up tomcat
    Starting Apache...
    Starting Tomcat...
    Services started

    Thanks!

  4. #4
    Code:
    Verifying packages to be updated/installed:
       updater-12.03.9420-2
       ubersvn-12.03.9420-2
       tomcat-6.0.35-1
    Stopping Apache...
    Stopping Tomcat...
    launchctl stop error: No such process
    Services stopped
    Skipping pre-install scriptlet.
    Installing updater
      Installing file: license/updater.txt
      Installing file: bin/pkgtool.jar
      Installing file: bin/pkgtool.sh
      Installing file: lib/commons-compress-1.1.jar
      Installing file: lib/commons-exec-1.1.jar
      Installing file: lib/commons-io-2.0.1.jar
    Finished installing updater
    Skipping post-install scriptlet.
    Cleaning up updater
    Finished cleaning up updater
    Executing pre-install scriptlet.
    +++ dirname /opt/ubersvn/downloads/1332846421060-uberSVN-ubersvn-all-all-12.03.9420-2.tar.bz2/scripts/pre-install.sh
    ++ cd /opt/ubersvn/downloads/1332846421060-uberSVN-ubersvn-all-all-12.03.9420-2.tar.bz2/scripts/../../..
    ++ pwd
    + UBER_HOME=/opt/ubersvn
    + rm -rf /opt/ubersvn/tomcat/webapps/ubersvn
    + rm -rf /opt/ubersvn/tomcat/webapps/RepositoryBrowser
    + '[' '!' -f /opt/ubersvn/conf/db.properties ']'
    + DB_USER=sa
    ++ uname -s
    + '[' Darwin = Darwin ']'
    ++ openssl rand -hex 30
    + DB_PASS=7994b6b48af320624f2b7565a2630d924d4a4ffb8d0f472fd26bd05b1e26
    ++ uname -s
    + '[' Darwin = Darwin ']'
    + sed -i '' -e 's|SA PASSWORD ""|SA PASSWORD "7994b6b48af320624f2b7565a2630d924d4a4ffb8d0f472fd26bd05b1e26"|g' /opt/ubersvn/ubersvn-db/ubersvn-db.script
    + echo hibernate.connection.username=sa
    + echo hibernate.connection.password=7994b6b48af320624f2b7565a2630d924d4a4ffb8d0f472fd26bd05b1e26
    Finished pre-install scriptlet.
    Installing ubersvn
      Installing file: license/ubersvn.txt
      Installing file: bin/pkgtool.jar
      Installing file: bin/pkgtool.sh
      Installing file: tomcat/webapps/ubersvn.war
      Installing file: tomcat/webapps/RepositoryBrowser.war
      Installing file: lib/hooks/commithook.jar
      Installing file: lib/hooks/commons-logging-1.1.1.jar
      Installing file: lib/hooks/httpclient-4.1.2.jar
      Installing file: lib/hooks/httpcore-4.1.2.jar
    Finished installing ubersvn
    Skipping post-install scriptlet.
    Cleaning up ubersvn
    Finished cleaning up ubersvn
    Skipping pre-install scriptlet.
    Installing tomcat
      Installing file: license/tomcat.txt
      Installing file: tomcat/bin/bootstrap.jar
      Installing file: tomcat/bin/catalina-tasks.xml
      Installing file: tomcat/bin/catalina.bat
      Installing file: tomcat/bin/catalina.sh
      Installing file: tomcat/bin/catalina.sh.orig
      Installing file: tomcat/bin/commons-daemon.jar
      Installing file: tomcat/bin/cpappend.bat
      Installing file: tomcat/bin/digest.bat
      Installing file: tomcat/bin/digest.sh
      Installing file: tomcat/bin/service.bat
      Installing file: tomcat/bin/setclasspath.bat
      Installing file: tomcat/bin/setclasspath.sh
      Installing file: tomcat/bin/shutdown.bat
      Installing file: tomcat/bin/shutdown.sh
      Installing file: tomcat/bin/startup.bat
      Installing file: tomcat/bin/startup.sh
      Installing file: tomcat/bin/tomcat-juli.jar
      Installing file: tomcat/bin/tool-wrapper.bat
      Installing file: tomcat/bin/tool-wrapper.sh
      Installing file: tomcat/bin/version.bat
      Installing file: tomcat/bin/version.sh
      Installing file: tomcat/lib/annotations-api.jar
      Installing file: tomcat/lib/catalina-ant.jar
      Installing file: tomcat/lib/catalina-ha.jar
      Installing file: tomcat/lib/catalina-tribes.jar
      Installing file: tomcat/lib/catalina.jar
      Installing file: tomcat/lib/ecj-3.7.jar
      Installing file: tomcat/lib/el-api.jar
      Installing file: tomcat/lib/jasper-el.jar
      Installing file: tomcat/lib/jasper.jar
      Installing file: tomcat/lib/jsp-api.jar
      Installing file: tomcat/lib/servlet-api.jar
      Installing file: tomcat/lib/tomcat-coyote.jar
      Installing file: tomcat/lib/tomcat-i18n-es.jar
      Installing file: tomcat/lib/tomcat-i18n-fr.jar
      Installing file: tomcat/lib/tomcat-i18n-ja.jar
      Installing file: tomcat/temp/safeToDelete.tmp
      Installing file: tomcat/webapps/ROOT/index.jsp
      Installing file: bin/ubersvncontrol
      Installing file: lib/libtcnative-1.0.1.22.dylib
      Installing symlink: lib/libtcnative-1.0.dylib
      Installing symlink: lib/libtcnative-1.dylib
      Installing symlink: lib/libtcnative-1.jnilib
      Installing config file: tomcat/conf/catalina.policy
      Installing config file: tomcat/conf/catalina.properties
      Installing config file: tomcat/conf/logging.properties
      Installing user config file: tomcat/conf/context.xml
      Installing user config file: tomcat/conf/server.xml
      Installing user config file: tomcat/conf/tomcat-users.xml
      Installing user config file: tomcat/conf/web.xml
    Finished installing tomcat
    Skipping post-install scriptlet.
    Cleaning up tomcat
    Finished cleaning up tomcat
    Starting Apache...
    Starting Tomcat...
    Services started

    Thanks!

  5. #5
    Here is my PackageTool_out.

    Thanks!
    Attached Files Attached Files

  6. #6
    Oh, I am sorry for duplicating posts

  7. #7
    Senior Member Site ModeratorSite Admin
    Join Date
    Mar 2011
    Location
    Chesterfield, UK
    Posts
    771
    It looks like it failed to stop tomcat correctly during the update.

    Can you try killing the running tomcat processes (find them with ps -ef | grep tomcat) and then starting it back up with the correct command sudo su - ubersvn -c './bin/ubersvncontrol start' (note start, not run)
    Mat Booth
    Software Engineer
    WANdisco, Inc.

    I joined the blog-o-web-o-sphere! Linux and Coding Blog

    How To Ask Smart Questions

  8. #8
    I still got the error.

    Code:
      1 Mar 29, 2012 3:22:00 AM org.apache.catalina.core.ApplicationContext log
      2 INFO: Initializing Spring root WebApplicationContext
      3 Mar 29, 2012 3:22:03 AM org.apache.catalina.core.ApplicationContext log
      4 INFO: Initializing Spring FrameworkServlet 'sventon'
      5 Mar 29, 2012 3:22:05 AM org.apache.catalina.core.ApplicationContext log
      6 INFO: Initializing Spring FrameworkServlet 'sventon-old'
      7 Mar 29, 2012 3:22:07 AM org.apache.catalina.core.StandardContext listenerStart
      8 SEVERE: Error configuring application listener of class com.wandisco.ubersvn.init.ServerContextListener
      9 java.lang.NoClassDefFoundError: com/wandisco/ubersvn/b/d/l
     10         at java.lang.Class.getDeclaredConstructors0(Native Method)
     11         at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
     12         at java.lang.Class.getConstructor0(Class.java:2699)
     13         at java.lang.Class.newInstance0(Class.java:326)
     14         at java.lang.Class.newInstance(Class.java:308)
     15         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4150)
     16         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)
     17         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
     18         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
     19         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
     20         at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:943)
     21         at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:778)
     22         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:504)
     23         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
     24         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
     25         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
     26         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
     27         at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
     28         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
     29         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
     30         at org.apache.catalina.core.StandardService.start(StandardService.java:525)
     31         at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
     32         at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
     33         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     34         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     35         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     36         at java.lang.reflect.Method.invoke(Method.java:597)
     37         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
     38         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
     39 Caused by: java.lang.ClassNotFoundException: com.wandisco.ubersvn.b.d.l
     40         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680)
     41         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)
     42         ... 29 more
     43 Mar 29, 2012 3:22:07 AM org.apache.catalina.core.StandardContext listenerStart
     44 SEVERE: Skipped installing application listeners due to previous error(s)
    Attached Images Attached Images

  9. #9
    I have the same issue with not starting after update and I am getting the same error in the browser, but I do not have the same exception in the log file. Did you ever get anywhere with this issue? I am dead in the wat

  10. #10
    Hi,

    I cannot fix those error, so I install the uberSVN in a new directory. After that, I copy tomcat, and lib, installed in the new directory, to replace the old one. Then, I start the uberSVN from the old installation. Everything seems to be working now. Hope this help.

  11. #11
    I will have to try that, thank you. The database was okay after this (nothing lost)?

  12. #12
    Yes, the databases are fine. Do not touch anything in repositories and do not forget to archive everything before replacing tomcat, bin, modules (I forgot to mention this directory in the previous post).

  13. #13
    Hmmm, it will not let me install another copy without removing the current one first. Did you do this on the same computer or did you do the install and copy it from another computer? Maybe the latest version is smarter about updates.

  14. #14
    You need to stop uberSVN, SVNserver, and may be rename the original installation to something else first.

  15. #15
    oh do not forget to kill your httpd bind to port 9890 (default uberSVN), all other ports for your repositories

  16. #16
    Looks like the new installer is too smart. Renamed the directory and killed the services. The installer says I have to remove SVN first. Maybe I will do a parallel install. Thanks for the help.

  17. #17
    Okay, I was not so lucky. I just did a re-install and imported the repository. Bummer was I had to set everything up again. The exported config did not work. Thanks for your help. Lucky I was able to use the repositories!

  18. #18
    Okay, I take that back, all the revisions were reset to 1.

  19. #19

    Question

    I have similar issue here after the update....
    uberSVN-error.jpg
    Members and I can still use the svn function from ssh, but I cannot administrate it from the browser.
    From the PackageToll_out.log it looks like the updater updated v17 before v16, so maybe the server got confused?
    The log file is somehow too long that the forum doesn't want to let me post it.
    Anyway I can resolve this other than reinstall the whole thing?

  20. #20
    uberSVN-error-home.jpg
    If I try to view home, rather than the uberSVN directory, here's the shot.
    Seems to be issues on java?

    [CODE]
    HTTP Status 500 -

    type Exception report

    message

    description The server encountered an internal error () that prevented it from fulfilling this request.

    exception

    javax.servlet.ServletException: java.lang.NoClassDefFoundError: org/apache/jasper/servlet/JspServletWrapper
    org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:26
    javax.servlet.http.HttpServlet.service(HttpServlet .java:717)
    root cause

    java.lang.NoClassDefFoundError: org/apache/jasper/servlet/JspServletWrapper
    org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:305)
    org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:260)
    javax.servlet.http.HttpServlet.service(HttpServlet .java:717)
    root cause

    java.lang.ClassNotFoundException: org.apache.jasper.servlet.JspServletWrapper
    java.net.URLClassLoader$1.run(URLClassLoader.java: 202)
    java.security.AccessController.doPrivileged(Native Method)
    java.net.URLClassLoader.findClass(URLClassLoader.j ava:190)
    java.lang.ClassLoader.loadClass(ClassLoader.java:3 06)
    java.lang.ClassLoader.loadClass(ClassLoader.java:2 47)
    org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:305)
    org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:260)
    javax.servlet.http.HttpServlet.service(HttpServlet .java:717)
    note The full stack trace of the root cause is available in the Apache Tomcat/6.0.33 logs.

    Apache Tomcat/6.0.33
    [\CODE]

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •