Пользователь
Логин:
Пароль:
Забыли свой пароль?

Поиск по сайту
 

 Расширенный поиск
Реклама

 

Опрос


Погода

Запуск сервера как службы

Форумы
Обновления
Поиск
Пользователи 
Правила
Помощь
Войти

Страницы: 1
Запуск сервера как службы
Коллеги,
Возникла следующая проблема - в организации установлен hp ov service desk в следующей конфигурации:
OS: windows server 2008 x86
app server: SP36
java version "1.6.0_31"
Java™ SE Runtime Environment (build 1.6.0_31-b05)
Java HotSpot™ Client VM (build 20.6-b01, mixed mode, sharing)

При запуске батником от пользователя сервер работает нормально.
При запуске как сервис вылетает с ошибкой в логе windows:
Faulting application sd_serverservice.exe, version 0.0.0.0, time stamp 0x3d295e53, faulting module ntdll.dll, version 6.0.6002.18327, time stamp 0x4cb73436, exception code 0xc0000005, fault offset 0x000670b9, process id 0xdb4, application start time 0x01ccfc68dade80d5.

В логе сервера следующее:

Ср, 07/03/2012 17:47:37 <System> hp OpenView service desk 4.5 (v4.5.0588.3603 (SP36))
Ср, 07/03/2012 17:47:37 <System> Copyright © 2004 Hewlett-Packard Development Company, L.P. All Rights Reserved.
Ср, 07/03/2012 17:47:37 <System> Server settings file: C:\Program Files\Hewlett-Packard\OpenView\service desk 4.5\server\server_settings.xml
Ср, 07/03/2012 17:47:37 <System> Install folder : C:\Program Files\Hewlett-Packard\OpenView\service desk 4.5\server\
Ср, 07/03/2012 17:47:37 <System> Data folder : C:\Program Files\Hewlett-Packard\OpenView\service desk 4.5\server\
Ср, 07/03/2012 17:47:37 <System> Java runtime name : Java™ SE Runtime Environment
Ср, 07/03/2012 17:47:37 <System> Java runtime vendor : Sun Microsystems Inc.
Ср, 07/03/2012 17:47:37 <System> Java runtime version: 20.6-b01
Ср, 07/03/2012 17:47:37 <System> Java runtime home : C:\Program Files\Java\jre6
Ср, 07/03/2012 17:47:37 <System> Servername : sd-ovold.sc.local
Ср, 07/03/2012 17:47:37 <System> IP Address : 10.2.8.3
Ср, 07/03/2012 17:47:37 <System> OS name : Windows Server 2008
Ср, 07/03/2012 17:47:37 <System> OS version : 6.0
Ср, 07/03/2012 17:47:37 <System> OS architecture : x86
Ср, 07/03/2012 17:47:37 <ITP> Started.
Ср, 07/03/2012 17:47:37 <HTTP> Started.
Ср, 07/03/2012 17:47:37 <Agent Manager> Starting agent manager on sd-ovold.sc.local
Ср, 07/03/2012 17:47:37 <Agent Manager> Started.
Ср, 07/03/2012 17:47:37 <Agent Manager> Starting multicast listener.
Ср, 07/03/2012 17:47:38 <Server Health> Started.
Ср, 07/03/2012 17:47:38 <Agent Manager> Job queue monitor starting.
Ср, 07/03/2012 17:47:38 <Agent Manager> Starting monitor for failed or expired jobs.
Ср, 07/03/2012 17:47:38 <Data Access> Initialized Opta SQL Server JDBC Driver DataSource
Ср, 07/03/2012 17:47:38 <Data Access> : [CRYSTAL-DB\CRYSTAL]Changed database context to 'sd-test'., SQL state: 01000
Ср, 07/03/2012 17:47:38 <Data Access> : [CRYSTAL-DB\CRYSTAL]Changed language setting to us_english., SQL state: 01000
Ср, 07/03/2012 17:47:38 <Data Access> Initialized Opta SQL Server JDBC Driver DataSource
Ср, 07/03/2012 17:47:38 <Data Access> : [CRYSTAL-DB\CRYSTAL]Changed database context to 'sd-test'., SQL state: 01000
Ср, 07/03/2012 17:47:38 <Data Access> : [CRYSTAL-DB\CRYSTAL]Changed language setting to us_english., SQL state: 01000
Ср, 07/03/2012 17:47:38 <Data Access> Restart DB Connection Checker
Ср, 07/03/2012 17:47:38 <System> Starting Business Layer.
Ср, 07/03/2012 17:47:38 <System> Getting system information from database.
Ср, 07/03/2012 17:47:38 <System> Running in single server mode.
Ср, 07/03/2012 17:47:41 <Time Zone> The time zone is set to:(UTC+04:00) - Mocow time +4 - MOSCOWTIME4
Ср, 07/03/2012 17:47:43 <System> Business Layer successfully started.
Ср, 07/03/2012 17:47:43 <System> Starting scheduled rule actions queue.
Ср, 07/03/2012 17:47:43 <SMTP> Started.
Ср, 07/03/2012 17:47:43 <System> The socket timeout is set to 1000 milliseconds.
Ср, 07/03/2012 17:47:44 <Data Access> : [CRYSTAL-DB\CRYSTAL]Changed database context to 'sd-test'., SQL state: 01000
Ср, 07/03/2012 17:47:44 <Data Access> : [CRYSTAL-DB\CRYSTAL]Changed language setting to us_english., SQL state: 01000
Ср, 07/03/2012 17:47:44 <Server Status> JDBC Driver name:i-net OPTA 2000
Ср, 07/03/2012 17:47:44 <Data Access> : [CRYSTAL-DB\CRYSTAL]Changed database context to 'sd-test'., SQL state: 01000
Ср, 07/03/2012 17:47:44 <Data Access> : [CRYSTAL-DB\CRYSTAL]Changed language setting to us_english., SQL state: 01000
Ср, 07/03/2012 17:47:44 <Server Status> JDBC Driver version:1.05(4.17)

Почему же не запускается сервис?
installservice.bat:

sd_serverservice.exe -install "hp OpenView service desk 4.5 server" DEFAULT -XX:MaxNewSize=128M -XX:NewSize=128M -Xms768M -Xmx1000M -Djava.class.path="%SD_SERVERHOME%lib\classloader.jar" "-Duser.dir=%SD_SERVERHOME%\" -start com.hp.startup.Bootstrap -params com.hp.ifc.bus.AppServer -stop com.hp.startup.Bootstrap -method shutdown -params com.hp.ifc.bus.AppServer -current "%SD_SERVERHOME%\"
rem sd_serverservice.exe -install "hp OpenView service desk 4.5 server" DEFAULT -Djava.class.path="%SD_SERVERHOME%lib\classloader.jar" "-Duser.dir=%SD_SERVERHOME%\" -start com.hp.startup.Bootstrap -params com.hp.ifc.bus.AppServer -stop com.hp.startup.Bootstrap -method shutdown -params com.hp.ifc.bus.AppServer -current "%SD_SERVERHOME%\"
echo .
if "%1"=="" pause
а мануал к паку читал?
ITSM009828
Service Desk 4.5 Application Server, Agent, Service Event and Service Pages on Windows Server 2008 Enterprise Edition (32-bit) are officially supported since service pack 35.

For installation instruction, please follow the guide for Windows Server 2003 in ITSM006040.

Notes:
1. Please manually add <path to JRE/JDK6>\bin into the value of system environment variable PATH.
2. Please manually copy \doc\itsm009828\sd_serverservice.exe to \server\bin to overwrite old one.
3. Please manually copy \doc\itsm009828\sd_agentservice.exe to \agent\bin to overwrite old one.
4. Please manually copy \doc\itsm009828\sd_servicepagesservice.exe to \service pages\bin to overwrite old one.
Василий, спасибо.
Буду внимательнее читать документацию.
Страницы: 1

Сегодня были (гостей: 455, пользователей: 0, из них скрытых: 0)