forum.bitel.ru http://forum.bitel.ru/ |
|
[6.0] Ошибка при поиске устройства по адресу http://forum.bitel.ru/viewtopic.php?f=44&t=9612 |
Страница 1 из 1 |
Автор: | barguzin2 [ 26 авг 2014, 12:03 ] |
Заголовок сообщения: | [6.0] Ошибка при поиске устройства по адресу |
После обновления до сборки 1334 от 31.07.2014 (до этого была какая-то июньская) при поиске устройства по адресу стала выскакивать ошибка в клиенте com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'inet_device_tree_11.entityId' in 'on clause' вот полный трэйс. Код: server 08-26/12:16:12 ERROR ["http-bio-/0.0.0.0-443"-exec-2] AbstractEntityAttrDao - SELECT SQL_CALC_FOUND_ROWS invDevice.*, inet_device_tree_11.id as customId, inet_device_tree_11.parentId as customParentId, inet_device_tree_11.identifier as customIdentifier, inet_device_tree_11.deviceTypeId as customDeviceTypeId, inet_device_tree_11.host as customHost, inet_device_tree_11.config as customConfig, inet_device_tree_11.title as customTitle, entity.entitySpecId, entity.title as entityTitle FROM inet_device_tree_11 LEFT JOIN inv_device_11 as invDevice ON invDevice.id=inet_device_tree_11.invDeviceId LEFT JOIN entity ON entity.id=invDevice.entityId INNER JOIN entity_attr_address AS entity_attr_address_1 ON entity_attr_address_1.entityId=inet_device_tree_11.entityId AND entity_attr_address_1.entitySpecAttrId LEFT JOIN address_house AS address_house_1 ON address_house_1.id=entity_attr_address_1.houseId WHERE (? OR invDevice.identifier LIKE ? OR inet_device_tree_11.identifier LIKE ?) AND (? OR invDevice.host LIKE ? OR inet_device_tree_11.host LIKE ?) AND ((? OR (invDevice.dateFrom IS NOT NULL AND invDevice.dateFrom>=?)) AND (? OR (invDevice.dateTo IS NOT NULL AND invDevice.dateTo<=?))) AND ((? OR invDevice.dateFrom IS NULL OR invDevice.dateFrom<=?) AND (? OR invDevice.dateTo IS NULL OR invDevice.dateTo>=?)) AND ((? OR address_house_1.streetid=?) AND (? OR address_house_1.house=?) AND (? OR address_house_1.frac=?) AND (? OR entity_attr_address_1.pod=?) AND (? OR entity_attr_address_1.flat=?) AND (? OR entity_attr_address_1.room=?)) GROUP BY inet_device_tree_11.id server 08-26/12:16:12 ERROR ["http-bio-/0.0.0.0-443"-exec-2] AbstractJaxWsHandler - java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor220.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at ru.bitel.bgbilling.kernel.container.service.server.ServiceInfo.invoke(ServiceInfo.java:102) at ru.bitel.bgbilling.kernel.container.ws.server.AbstractJaxWsHandler.invoke(AbstractJaxWsHandler.java:202) at ru.bitel.bgbilling.kernel.container.ws.server.JaxWsHandler.access$1(JaxWsHandler.java:1) at ru.bitel.bgbilling.kernel.container.ws.server.JaxWsHandler$2.run(JaxWsHandler.java:336) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:396) at ru.bitel.bgbilling.kernel.container.ws.server.JaxWsHandler.invoke(JaxWsHandler.java:330) at ru.bitel.bgbilling.kernel.container.ws.server.AbstractJaxWsHandler$ServiceInstanceResolver$1.invoke(AbstractJaxWsHandler.java:314) at com.sun.xml.ws.server.InvokerTube$2.invoke(InvokerTube.java:150) at com.sun.xml.ws.server.sei.EndpointMethodHandler.invoke(EndpointMethodHandler.java:261) at com.sun.xml.ws.server.sei.SEIInvokerTube.processRequest(SEIInvokerTube.java:100) at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:641) at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:600) at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:585) at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:482) at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:314) at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:608) at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:259) at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:162) at ru.bitel.common.server.JaxWSAdapter.handle(JaxWSAdapter.java:396) at bitel.billing.server.Executer.doPost(Unknown Source) at javax.servlet.http.HttpServlet.service(HttpServlet.java:641) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at bitel.billing.server.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:48) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:563) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:403) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:301) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:162) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:662) Caused by: ru.bitel.bgbilling.common.BGException: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'inet_device_tree_11.entityId' in 'on clause' at ru.bitel.oss.kernel.entity.server.bean.AbstractEntityAttrDao.listImpl(AbstractEntityAttrDao.java:661) at ru.bitel.bgbilling.modules.inet.api.server.bean.InetDeviceDao0.list(InetDeviceDao0.java:252) at ru.bitel.bgbilling.modules.inet.api.server.bean.InetDeviceDao0.list0(InetDeviceDao0.java:185) at ru.bitel.bgbilling.modules.inet.api.server.bean.InetDeviceDao0.root(InetDeviceDao0.java:276) at ru.bitel.bgbilling.modules.inet.api.server.bean.InetDeviceDao.root(InetDeviceDao.java:67) at ru.bitel.bgbilling.modules.inet.api.server.service.InetDeviceServiceImpl.inetDeviceRoot(InetDeviceServiceImpl.java:494) ... 45 more Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'inet_device_tree_11.entityId' in 'on clause' at sun.reflect.GeneratedConstructorAccessor1499.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at com.mysql.jdbc.Util.handleNewInstance(Util.java:411) at com.mysql.jdbc.Util.getInstance(Util.java:386) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1052) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3609) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3541) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2002) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2163) at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2624) at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2127) at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2293) at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96) at ru.bitel.oss.kernel.entity.server.bean.AbstractEntityAttrDao.listImpl(AbstractEntityAttrDao.java:645) ... 50 more Код: mysql> show create table inet_device_tree_11;
inet_device_tree_11 | CREATE TABLE `inet_device_tree_11` ( `id` int(11) NOT NULL auto_increment, `invDeviceId` varchar(45) NOT NULL, `parentId` int(11) NOT NULL, `title` varchar(200) NOT NULL, `deviceTypeId` int(11) NOT NULL default '-1', `identifier` varchar(150) default NULL, `host` varchar(100) default NULL, `config` text NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=1035 DEFAULT CHARSET=cp1251 | |
Автор: | Amir [ 26 авг 2014, 12:21 ] |
Заголовок сообщения: | Re: [6.0] Ошибка при поиске устройства по адресу |
Вроде бы исправили: 1417 05.08.2014 16:58:19 ИСПРАВЛЕНО Inet: Фильтрация устройств в дереве по адресу. |
Страница 1 из 1 | Часовой пояс: UTC + 5 часов [ Летнее время ] |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |