Обсуждение статьи Установка HelpDesk SysAid
Добавлено: 2010-03-19 16:30:49
Статья пока не видна, доступна по адресу http://www.lissyara.su/?id=2089. Прошу высказываться.
Добрым словом и кулаком, добьёшься больше чем одним добрым словом.
https://forum.lissyara.su/
Код: Выделить всё
Checking connection....
Error while checking connection: Exception while checking configuration: Communications link failure due to underlying exception:
** BEGIN NESTED EXCEPTION **
java.net.ConnectException
MESSAGE: Connection refused
STACKTRACE:
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:519)
at java.net.Socket.connect(Socket.java:469)
at java.net.Socket.<init>(Socket.java:366)
at java.net.Socket.<init>(Socket.java:209)
at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:256)
at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:271)
at com.mysql.jdbc.Connection.createNewIO(Connection.java:2771)
at com.mysql.jdbc.Connection.<init>(Connection.java:1555)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:285)
at java.sql.DriverManager.getConnection(DriverManager.java:582)
at java.sql.DriverManager.getConnection(DriverManager.java:185)
at com.bitmechanic.sql.ConnectionPool.createDriverConnection(Unknown Source)
at com.bitmechanic.sql.ConnectionPool.getConnection(Unknown Source)
at com.bitmechanic.sql.ConnectionPoolManager.connect(Unknown Source)
at java.sql.DriverManager.getConnection(DriverManager.java:582)
at java.sql.DriverManager.getConnection(DriverManager.java:185)
at com.ilient.server.DBConnection.getConn(Unknown Source)
at com.ilient.server.DBConnection.getConn(Unknown Source)
at com.ilient.server.CheckConf.setAndCheckConf(Unknown Source)
at com.ilient.server.CheckConf.main(Unknown Source)
** END NESTED EXCEPTION **
Last packet sent to the server was 0 ms ago.
Please enter the host name or IP address of the MySQL server [localhost]:
Код: Выделить всё
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: Could not initialize class com.ilient.server.DBConnection
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:294)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:218)
root cause
java.lang.NoClassDefFoundError: Could not initialize class com.ilient.server.DBConnection
com.ilient.server.LoginFilter.doFilter(Unknown Source)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:616)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.Subject.doAsPrivileged(Subject.java:537)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:218)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5 logs.
Apache Tomcat/5.5
либа jdbc есть?oren писал(а):при попытке зайти на страницу tomcat выдает ошибку:Можеь кто сталкивался с этим?Код: Выделить всё
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: Could not initialize class com.ilient.server.DBConnection org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:294) org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:218) root cause java.lang.NoClassDefFoundError: Could not initialize class com.ilient.server.DBConnection com.ilient.server.LoginFilter.doFilter(Unknown Source) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:616) org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244) java.security.AccessController.doPrivileged(Native Method) javax.security.auth.Subject.doAsPrivileged(Subject.java:537) org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276) org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:218) note The full stack trace of the root cause is available in the Apache Tomcat/5.5 logs. Apache Tomcat/5.5
Код: Выделить всё
#tail /usr/local/apache-tomcat-6.0/logs/stdout.log
log4j:WARN Please initialize the log4j system properly.
Error on defining audit appender logger.java.io.FileNotFoundException: /usr/local/apache-tomcat-6.0/webapps/sysaid/./WEB-INF/conf/DiscoveryService.properties (No such file or directory)
log4j:WARN No appenders could be found for logger (org.quartz.simpl.SimpleThreadPool).
log4j:WARN Please initialize the log4j system properly.
Error on defining audit appender logger.java.io.FileNotFoundException: /usr/local/apache-tomcat-6.0/webapps/sysaid/./WEB-INF/conf/DiscoveryService.properties (No such file or directory)
log4j:WARN No appenders could be found for logger (org.quartz.simpl.SimpleThreadPool).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN No appenders could be found for logger (org.quartz.simpl.SimpleThreadPool).
log4j:WARN Please initialize the log4j system properly.
Error on defining audit appender logger.java.io.FileNotFoundException: /usr/local/apache-tomcat-6.0/webapps/sysaid/./WEB-INF/conf/DiscoveryService.properties (No such file or directory)
Код: Выделить всё
log4j:WARN No appenders could be found for logger (org.quartz.simpl.SimpleThreadPool).
log4j:WARN Please initialize the log4j system properly.
Error on defining audit appender logger.java.io.FileNotFoundException: /usr/local/apache-tomcat-6.0/webapps/sysaid/./WEB-INF/conf/DiscoveryService.properties
PANIC : error configuring SimpleLog4JLogSystem : java.io.FileNotFoundException: velocity.log (Permission denied)
PANIC : error configuring SimpleLog4JLogSystem : java.io.FileNotFoundException: velocity.log (Permission denied)
log4j:WARN No appenders could be found for logger (com.ilient).
log4j:WARN Please initialize the log4j system properly.
Код: Выделить всё
Apr 6, 2011 11:58:11 AM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/local/diablo-jdk1.6.0/jre/lib/amd64/server:/usr/local/diablo-jdk1.6.0/jre/lib/amd64:/usr/local/diablo-jdk1.6.0/jre/../lib/amd64:/usr/java/packages/lib/amd64:/lib:/usr/lib:/usr/local/lib
Apr 6, 2011 11:58:11 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8180
Apr 6, 2011 11:58:11 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 517 ms
Apr 6, 2011 11:58:11 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Apr 6, 2011 11:58:11 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.30
Apr 6, 2011 11:58:11 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
Apr 6, 2011 11:58:11 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory docs
Apr 6, 2011 11:58:11 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory examples
Apr 6, 2011 11:58:12 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Apr 6, 2011 11:58:12 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Apr 6, 2011 11:58:12 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory host-manager
Apr 6, 2011 11:58:12 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory manager
Apr 6, 2011 11:58:12 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8180
Apr 6, 2011 11:58:12 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Apr 6, 2011 11:58:12 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/13 config=null
Apr 6, 2011 11:58:12 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 604 ms
Apr 6, 2011 12:19:52 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive sysaid.war
Apr 6, 2011 12:19:56 PM org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(/usr/local/apache-tomcat-6.0/webapps/sysaid/WEB-INF/lib/servlet-api.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
Apr 6, 2011 12:20:05 PM org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8180
Apr 6, 2011 12:20:06 PM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
Apr 6, 2011 12:20:11 PM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextDestroyed()
Apr 6, 2011 12:20:11 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextDestroyed()
Apr 6, 2011 12:20:12 PM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
SEVERE: The web application [/sysaid] registered the JDBC driver [org.apache.derby.jdbc.ClientDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
Apr 6, 2011 12:20:12 PM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
SEVERE: The web application [/sysaid] registered the JDBC driver [org.apache.derby.jdbc.AutoloadedDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
Apr 6, 2011 12:20:12 PM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
SEVERE: The web application [/sysaid] registered the JDBC driver [com.bitmechanic.sql.ConnectionPoolManager] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
Apr 6, 2011 12:20:12 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/sysaid] appears to have started a thread named [ConnectionPoolManager] but has failed to stop it. This is very likely to create a memory leak.
Apr 6, 2011 12:20:12 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/sysaid] appears to have started a thread named [Image Fetcher 0] but has failed to stop it. This is very likely to create a memory leak.
Apr 6, 2011 12:20:12 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/sysaid] appears to have started a thread named [Image Fetcher 1] but has failed to stop it. This is very likely to create a memory leak.
Apr 6, 2011 12:20:12 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/sysaid] appears to have started a thread named [Image Fetcher 2] but has failed to stop it. This is very likely to create a memory leak.
Apr 6, 2011 12:20:12 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/sysaid] appears to have started a thread named [Thread-11] but has failed to stop it. This is very likely to create a memory leak.
Apr 6, 2011 12:20:12 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/sysaid] appears to have started a thread named [Timer-1] but has failed to stop it. This is very likely to create a memory leak.
Apr 6, 2011 12:20:12 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/sysaid] appears to have started a thread named [Thread-13] but has failed to stop it. This is very likely to create a memory leak.
Apr 6, 2011 12:20:12 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/sysaid] appears to have started a thread named [Thread-14] but has failed to stop it. This is very likely to create a memory leak.
Apr 6, 2011 12:20:12 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/sysaid] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@cabe02e]) and a value of type [org.apache.derby.iapi.services.context.ContextManager] (value [org.apache.derby.iapi.services.context.ContextManager@743c86e9]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Apr 6, 2011 12:20:13 PM org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8180
Apr 6, 2011 12:25:29 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/local/diablo-jdk1.6.0/jre/lib/amd64/server:/usr/local/diablo-jdk1.6.0/jre/lib/amd64:/usr/local/diablo-jdk1.6.0/jre/../lib/amd64:/usr/java/packages/lib/amd64:/lib:/usr/lib:/usr/local/lib
Apr 6, 2011 12:25:29 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8180
Apr 6, 2011 12:25:29 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 545 ms
Apr 6, 2011 12:25:29 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Apr 6, 2011 12:25:29 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.30
Apr 6, 2011 12:25:29 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor host-manager.xml
Apr 6, 2011 12:25:29 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor manager.xml
Apr 6, 2011 12:25:29 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive sysaid.war
Apr 6, 2011 12:25:29 PM org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(/usr/local/apache-tomcat-6.0/webapps/sysaid/WEB-INF/lib/servlet-api.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
Код: Выделить всё
statistiks# uname -v
FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:36:49 UTC 2010 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
Код: Выделить всё
statistiks# pkg_info | grep mysql
mysql-client-5.1.56 Multithreaded SQL database (client)
mysql-server-5.1.56 Multithreaded SQL database (server)
Код: Выделить всё
statistiks# pkg_info | grep tomcat
tomcat-6.0.30 Open-source Java web server by Apache, 6.x branch
Код: Выделить всё
HTTP Status 404 -
type Status report
message
description The requested resource () is not available.
Apache Tomcat/5.5.31
Код: Выделить всё
server# ls
ChatHeader.html css
FormChek.js displayNews.html
HelpDesk.xml download
HistoryButtons.html errorInSignUp.htm
LeftMenuPanelEnduser.html frameHeader.html
Reports help
SRQuickAccess.html icons
SysAidCalendarGui.html ilient.css
SysAidCalendarLogic.html ilient_b.css
WEB-INF ilient_m.css
applets images
blank.html img
calendar.html leftPanelMenu
calendar1.js lib
calendar2.js m
calendar3.js mobile
calendar4.js portal
calendarDHTML1.js sounds
calendarDHTML2.js tigra_cal
changedPass.html tigra_calendar
charts web2cal
Код: Выделить всё
java.lang.UnsupportedOperationException: Thread CPU time measurement is not supported
sun.management.ThreadImpl.isThreadCpuTimeEnabled(ThreadImpl.java:80)
com.ilient.server.ah.<init>(Unknown Source)
com.ilient.server.z.a(Unknown Source)
com.ilient.server.z.a(Unknown Source)
com.ilient.server.LoginFilter.doFilter(Unknown Source)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.32 logs.
kharkov_max писал(а):Попробовал поставить последнюю версию 8.0
Freebsd 8.2
Mysql 5.1
Tomcat 6.0..
JDK16
War распаковался нормально скрипт init-sysaid.sh тоже отработал нормально. Поправил права на лог и tomcat60 тоже запустился, но при попытке зайти на сайт ошибка:По данному проблеме под freebsd есть пост на сайте разработчиков - но к сожалению пока без ответа.Код: Выделить всё
java.lang.UnsupportedOperationException: Thread CPU time measurement is not supported sun.management.ThreadImpl.isThreadCpuTimeEnabled(ThreadImpl.java:80) com.ilient.server.ah.<init>(Unknown Source) com.ilient.server.z.a(Unknown Source) com.ilient.server.z.a(Unknown Source) com.ilient.server.LoginFilter.doFilter(Unknown Source) note The full stack trace of the root cause is available in the Apache Tomcat/6.0.32 logs.
Может кто чем тут сможет помочь ...