Announcement

Collapse
No announcement yet.

uberSVN cannot start after update

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    Last edited by aphanuphong; 03-27-2012, 12:28 PM.

  • #2
    Can you please post your PackageTool_out log?

    Comment


    • #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!

      Comment


      • #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!

        Comment


        • #5
          Here is my PackageTool_out.

          Thanks!

          Comment


          • #6
            Oh, I am sorry for duplicating posts

            Comment


            • #7
              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)

              Comment


              • #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)

                Comment


                • #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

                  Comment


                  • #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.

                    Comment


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

                      Comment


                      • #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).

                        Comment


                        • #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.

                          Comment


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

                            Comment


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

                              Comment

                              Working...
                              X