CollabNet Subversion Edge windows版 问题详解

Windows Installation Information#

The Windows installer is a standard MSI-based Windows installer. We are using Advanced Installer by Caphyon to author the installation process. Running the installer is simple, the only option during the wizard is to select the location to install the product. We default the path to C:\csvn. We chose this as the default, as opposed to using C:\Program Files to minimize issues around dealing with paths that have spaces in the name and also to avoid Windows User Account Control (UAC) issues on Vista and later OS. We can test these scenarios and resolve issues in the product but as you start adding hook scripts and other integrations to Subversion it is an issue you are always dealing with. So we chose a default path that avoids some of these problems and makes the overall experience easier for the administrator.

Things we do during the install process#

Here are some of the things we do during the install process, beyond simply copying the bits to your drive.

  1. Check for and install a valid Java 6 runtime. This is handled as an installation pre-requisite automatically. If a JRE is not found, we run the Sun/Oracle installer.
  2. Set/replace the JAVA_HOME environment variable to point to the Java 6 runtime
  3. Install Python 2.5 runtime, including mod_python and Windows extensions
  4. Set/replace the registry entries for Python2.5 to point to the version we install
  5. Set/replace the PYTHONHOME environment variable to point to our Python 2.5 runtime
  6. Add Windows service for the CollabNet Subversion Edge Console
  7. Add Windows service for the CollabNet Subversion Server (Apache)
  8. Add Windows Firewall exceptions for the Apache executable and the default Subversion Edge port (3343)
  9. Create a Start Menu shortcut to open browser to http://localhost:3343/csvn
  10. Add the csvn\bin and csvn\Python25 folders to beginning of PATH

Troubleshooting Problems#

The main issues that customers experience on a new install are related to the services that we install. Either they fail to install at all or they fail to start. This will give you some information on what to look for to resolve any problems you are having.

Server never says it is Ready

After running the install the web page that we bring up to show you the server is starting never says it is Ready. This means that either the service never installed or it did not start. Please do the following:

Check if the service installed

Open the Windows Services control panel and see if there is a CollabNet Subversion Edge service. If you prefer to check from a command line try this:

C:\>sc query CSVNConsole

SERVICE_NAME: CSVNConsole
        TYPE               : 10  WIN32_OWN_PROCESS
        STATE              : 4  RUNNING
                                (STOPPABLE, NOT_PAUSABLE, ACCEPTS_SHUTDOWN)
        WIN32_EXIT_CODE    : 0  (0x0)
        SERVICE_EXIT_CODE  : 0  (0x0)
        CHECKPOINT         : 0x0
        WAIT_HINT          : 0x0

This shows a running service. This is what you would see if the service is not installed:

C:\>sc query CSVNConsole
[SC] EnumQueryServicesStatus:OpenService FAILED 1060:

The specified service does not exist as an installed service.

Service Not Installed

The primary reason we have seen for the service not being installed is that Java is not in your PATH. The Sun/Oracle JRE normally adds java.exe to the Windows system folder, but there have been some users that install the JDK and do not install the JRE so they do not have anything in PATH. To check, just run this command:

C:\>java -version
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) Client VM (build 19.1-b02, mixed mode, sharing)

If you get some output, then it is in your PATH. You can install the service manually by going to the folder C:\csvn\svcwrapper\bat and running the script installService.bat

C:\>cd \csvn\svcwrapper\bat

C:\csvn\svcwrapper\bat>installService.bat

C:\csvn\svcwrapper\bat>if . == . goto skip

Apr 14, 2011 5:37:43 AM org.apache.commons.vfs.VfsLog info
INFO: Using "C:\DOCUME~1\markphip\LOCALS~1\Temp\1\vfs_cache" as temporary files
store.
Service CSVNConsole installed

You should now be able to see the service and start it. You can run the script startService.bat to start it, or you can start it from the Services Control Panel.

Service Exists But Will not Start

The service exists but it fails to start. The main cause of this seems to be that Java is not in PATH. Use the technique shown before to check if it is in PATH. Install the JRE if you do not have Java in your PATH an that should resolve the problem. If it doesn't, there are some logs you can check:

C:\csvn\appserver\wrapper.log.0

This log file shows the output from starting the service. There would not typically be any errors in this log file, but it is worth checking.

C:\csvn\data\logs\console_YYYY_MM_DD.log

This log file has the output from the actual application when it starts. Look for error messages and they should give a clue as to why the app did not start. Mail the log file to our discussion forum if you need help.

Problems we are aware of#

Here are some issues we are aware with the install.

  1. Trying to use ViewVC can give an Internal Server Error - 500. This problem is typically caused because you have conflicting DLL's in your Windows system32 folder. We did not want our installer to mess around with this folder, so we do not try to fix your system. In our own testing, the most common cause of this problem was if you have previously installed ActiveState Python 2.5. Their installer puts some DLL's that begin with "py" in the system32 folder. Moving these to a temp folder immediately solves the problem. We are using the Python distribution from python.org and the DLL's appear to conflict with one another. A similar problem can occur if you have conflicting OpenSSL DLL's in the system32 folder. These are the files (libeay32.dll and ssleay32.dll). Typically, rebooting the server after installing our application resolves this problem because we put our folder first in the PATH. You could also remove the DLL's.
  1. 64-bit Windows. We are providing a native Windows 64-bit installer and we check for and install a native 64-bit JRE. However, the Apache and Subversion native binaries that we are currently providing are still 32-bit. We will be updating these to true 64-bit binaries in the near future. By using the 64-bit installer, you will be connected to the right package repository to receive these updates automatically in the future. We are also fully testing the installer and binaries on 64-bit versions of Windows 2003 and 2008.

http://whxhz.iteye.com/blog/1294253

内容概要:本文系统研究了基于CNN-SVM的卷积神经网络与支持向量机融合的数据分类预测方法,聚焦其在工业故障识别中的应用,提供了完整的Matlab代码实现。通过CNN提取输入数据的深层空间特征,再由SVM进行高精度分类,充分发挥两者优势,有效提升了故障识别的准确性、鲁棒性与泛化能力。该方法特别适用于处理电力系统、机械设备等领域的高维、非线性、强噪声监测数据,在变压器故障诊断、轴承缺陷识别等场景中具有重要应用价值。文档还整合了机器学习、深度学习、图像处理、路径规划、电力系统优化等多个前沿科研方向的技术资源,配套大量Matlab/Simulink仿真案例与Python代码,全面支持科研复现与工程实践。; 适合人群:具备一定编程基础,熟练掌握Matlab或Python语言,从事电气工程、自动化、人工智能、机械故障诊断等相关领域研究的研发人员及高校研究生; 使用场景及目标:① 实现工业设备的状态监测与多类别故障分类;② 深入理解CNN与SVM融合模型的设计原理与工程实现细节;③ 借助所提供的丰富算法案例开展科研复现、模型优化与系统仿真验证; 阅读建议:建议按照文档目录结构系统化学习,结合百度网盘提供的完整代码资源进行动手实践,重点关注CNN特征提取层与SVM分类器之间的数据接口设计与参数调优策略,同时可延伸学习文中涉及的其他智能算法及其在电力系统、信号处理等领域的交叉应用,全面提升科研创新能力。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值