После обновления с 5.2 версии сервера до 6.0 сервер перестал запускаться если параметрах указать https
в data.proprties раскомментируем https
Код:
connector.http=*:8080
[b]connector.https=*:443[/b]
port.admin=2005
db.driver=com.mysql.jdbc.Driver
db.url=jdbc:mysql://127.0.0.1/bgbilling?useUnicode=true&characterEncoding=Cp1251&allowUrlInLocalInfile=true&zeroDateTimeBehavior=convertToNull&jdbcCompliantTruncation=false&elideSetAutoCommits=true&cachePrepStmts=true&useCursorFetch=true&queryTimeoutKillsConnection=true&connectTimeout=1000.
db.user=**
db.pswd=***
db.maxIdle=20
db.maxActive=300
db.validationTimeout=10
mq.url=failover:(nio://127.0.0.1:61616?socketBufferSize=1000000)
mq.user=***
mq.pswd=***
context.path=/bgbilling
В логи выплевывает:
Код:
06-05/01:08:46 INFO [main] DefaultServerSetup - Binding javax.jms.ConnectionFactory[org.apache.activemq.ActiveMQConnectionFactory@6094cae2] to java:comp/env/mq/connectionFactory
06-05/01:08:46 INFO [main] DefaultServerSetup - Init DB connection pools
06-05/01:08:46 INFO [main] DefaultServerSetup - Binding JDBC pool "master" to java:comp/env/jdbc/master
06-05/01:08:46 INFO [main] AnnotatedMBean - Register MBean ru.bitel.bgbilling.server.util:type=DatabaseConnectionPool,name=master
06-05/01:08:46 INFO [main] DefaultServerSetup - Init trash pools..
06-05/01:08:47 INFO [main] Server - Starting BGBillingServer..
06-05/01:08:47 INFO [main] Server - HTTP Connector: *:8080
06-05/01:08:47 INFO [main] Server - Starting HTTP connector...
06-05/01:08:47 INFO [main] Server - HTTPS Connector: *:443
06-05/01:08:47 INFO [main] Server - Starting HTTPS connector..
06-05/01:08:47 INFO [main] Server - Browsing installed modules and plugins...
06-05/01:08:47 INFO [main] Server - card v.6.0 build 230 from 09.02.2015 18:40:44
06-05/01:08:47 INFO [main] Server - dba v.6.0 build 169 from 09.02.2015 18:41:17
06-05/01:08:47 INFO [main] Server - dialup v.6.0 build 408 from 13.02.2015 20:00:06
06-05/01:08:47 INFO [main] Server - inet v.6.0 build 1502 from 14.05.2015 18:56:13
06-05/01:08:47 INFO [main] Server - ipn v.6.0 build 278 from 09.02.2015 18:41:13
06-05/01:08:47 INFO [main] Server - mps v.6.0 build 227 from 22.04.2015 14:30:54
06-05/01:08:47 INFO [main] Server - npay v.6.0 build 233 from 14.05.2015 13:24:27
06-05/01:08:47 INFO [main] Server - phone v.6.0 build 306 from 14.05.2015 13:24:29
06-05/01:08:47 INFO [main] Server - reports v.6.0 build 224 from 30.03.2015 19:04:18
06-05/01:08:47 INFO [main] Server - yamoney v.6.0 build 82 from 09.02.2015 18:41:44
06-05/01:08:47 INFO [main] CardActivateWorker - Starting CardActivateWorker
06-05/01:08:47 INFO [main] Server - Add servlet for modules and plugins...
06-05/01:08:47 INFO [main] Server - Add mapping: bitel.billing.server.card.DealerExecuter to /dealer
06-05/01:08:47 INFO [main] Server - Add mapping: bitel.billing.server.card.idealer.IDealerExecuter to /idealer
06-05/01:08:47 INFO [main] Server - Add mapping: ru.bitel.bgbilling.modules.mps.server.MPSExecuter to /mpsexecuter/*
06-05/01:08:47 INFO [main] Server - Add mapping: ru.bitel.bgbilling.modules.yamoney.server.YaExecuter to /yaexecuter/* with filters: SetEncodingFilter,MultipartFilter
06-05/01:08:47 INFO [main] Server - Add mapping: ru.bitel.bgbilling.modules.yamoney.server.YaExecuter3 to /yaexecuter3/* with filters: SetEncodingFilter,MultipartFilter
06-05/01:08:47 INFO [main] Server - Add custom servlet from setup...
06-05/01:08:47 INFO [main] Server - Custom.servlet.keys => []
06-05/01:08:48 INFO [main] Server - Creating installed modules map...
06-05/01:08:51 INFO [main] TariffOptionWorker - Starting TariffOptionWorker
06-05/01:08:51 INFO [main] AdminPortListener - Starting listen admin port 2005
06-05/01:08:52 ERROR [main] Server - HTTP server start alarm: Failed to initialize connector [Connector[HTTP/1.1-443]] exiting..
06-05/01:08:52 ERROR [main] LoggingPrintStream - org.apache.catalina.LifecycleException: Failed to initialize connector [Connector[HTTP/1.1-443]]
06-05/01:08:52 ERROR [main] LoggingPrintStream - at org.apache.catalina.core.StandardService.initInternal(StandardService.java:566)
06-05/01:08:52 ERROR [main] LoggingPrintStream - at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:101)
06-05/01:08:52 ERROR [main] LoggingPrintStream - at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:781)
06-05/01:08:52 ERROR [main] LoggingPrintStream - at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:101)
06-05/01:08:52 ERROR [main] LoggingPrintStream - at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:136)
06-05/01:08:52 ERROR [main] LoggingPrintStream - at org.apache.catalina.startup.Tomcat.start(Tomcat.java:305)
06-05/01:08:52 ERROR [main] LoggingPrintStream - at bitel.billing.server.Server.<init>(Server.java:564)
06-05/01:08:52 ERROR [main] LoggingPrintStream - at bitel.billing.server.Server.main(Server.java:346)
06-05/01:08:52 ERROR [main] LoggingPrintStream - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
06-05/01:08:52 ERROR [main] LoggingPrintStream - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
06-05/01:08:52 ERROR [main] LoggingPrintStream - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
06-05/01:08:52 ERROR [main] LoggingPrintStream - at java.lang.reflect.Method.invoke(Method.java:601)
06-05/01:08:52 ERROR [main] LoggingPrintStream - at ru.bitel.common.bootstrap.Boot.boot(Boot.java:129)
06-05/01:08:52 ERROR [main] LoggingPrintStream - at ru.bitel.common.bootstrap.Boot.main(Boot.java:178)
06-05/01:08:52 INFO [Thread-6] EventProcessor - Shutdown EventProcessor...
Если https закоменчено все робит.
Что не правильно обновил?