по не понятным для нас ....
пропали с диска ява и activemq, восстановил. но сейчас не запускается биллинг

... логи
Код:
Bill:/usr/apache-activemq-5.4.2/data # cat activemq.log
2014-03-19 16:14:39,602 | INFO | Refreshing org.apache.activemq.xbean.XBeanBrokerFactory$1@1197f50: startup date [Wed Mar 19 16:14:39 GMT+06:00 2014]; root of context hierarchy | org.apache.activemq.xbean.XBeanBrokerFactory$1 | WrapperSimpleAppMain
2014-03-19 16:14:42,518 | WARN | destroyApplicationContextOnStop parameter is deprecated, please use shutdown hooks instead | org.apache.activemq.xbean.XBeanBrokerService | WrapperSimpleAppMain
2014-03-19 16:14:42,537 | INFO | PListStore:../../data/activeMQ/tmp_storage started | org.apache.activemq.store.kahadb.plist.PListStore | WrapperSimpleAppMain
2014-03-19 16:14:42,609 | INFO | Using Persistence Adapter: KahaDBPersistenceAdapter[../../data/kahadb] | org.apache.activemq.broker.BrokerService | WrapperSimpleAppMain
2014-03-19 16:15:25,355 | INFO | KahaDB is version 3 | org.apache.activemq.store.kahadb.MessageDatabase | WrapperSimpleAppMain
2014-03-19 16:15:25,531 | INFO | Recovering from the journal ... | org.apache.activemq.store.kahadb.MessageDatabase | WrapperSimpleAppMain
2014-03-19 16:15:25,532 | INFO | Recovery replayed 1 operations from the journal in 0.147 seconds. | org.apache.activemq.store.kahadb.MessageDatabase | WrapperSimpleAppMain
2014-03-19 16:15:25,574 | INFO | ActiveMQ 5.4.2 JMS Message Broker (activeMQ) is starting | org.apache.activemq.broker.BrokerService | WrapperSimpleAppMain
2014-03-19 16:15:25,574 | INFO | For help or more information please see: http://activemq.apache.org/ | org.apache.activemq.broker.BrokerService | WrapperSimpleAppMain
2014-03-19 16:15:25,810 | INFO | Installing Discarding Dead Letter Queue broker plugin[dropAll=true; dropTemporaryTopics=true; dropTemporaryQueues=true; dropOnly=null; reportInterval=1000] | org.apache.activemq.plugin.DiscardingDLQBrokerPlugin | WrapperSimpleAppMain
2014-03-19 16:15:25,951 | INFO | Listening for connections at: nio://localhost:61616 | org.apache.activemq.transport.TransportServerThreadSupport | WrapperSimpleAppMain
2014-03-19 16:15:25,951 | INFO | Connector nio Started | org.apache.activemq.broker.TransportConnector | WrapperSimpleAppMain
2014-03-19 16:15:25,954 | INFO | ActiveMQ JMS Message Broker (activeMQ, ID:Bill-40387-1395224125666-0:1) started | org.apache.activemq.broker.BrokerService | WrapperSimpleAppMain
2014-03-19 16:18:11,517 | INFO | ActiveMQ Message Broker (activeMQ, ID:Bill-40387-1395224125666-0:1) is shutting down | org.apache.activemq.broker.BrokerService | Thread-2
2014-03-19 16:18:11,518 | INFO | ActiveMQ Message Broker (activeMQ, ID:Bill-40387-1395224125666-0:1) is shutting down | org.apache.activemq.broker.BrokerService | ActiveMQ ShutdownHook
2014-03-19 16:18:11,540 | INFO | Connector nio Stopped | org.apache.activemq.broker.TransportConnector | ActiveMQ ShutdownHook
2014-03-19 16:18:11,552 | INFO | PListStore:../../data/activeMQ/tmp_storage stopped | org.apache.activemq.store.kahadb.plist.PListStore | ActiveMQ ShutdownHook
2014-03-19 16:18:11,552 | INFO | Stopping async queue tasks | org.apache.activemq.store.kahadb.KahaDBStore | ActiveMQ ShutdownHook
2014-03-19 16:18:11,552 | INFO | Stopping async topic tasks | org.apache.activemq.store.kahadb.KahaDBStore | ActiveMQ ShutdownHook
2014-03-19 16:18:11,552 | INFO | Stopped KahaDB | org.apache.activemq.store.kahadb.KahaDBStore | ActiveMQ ShutdownHook
2014-03-19 16:18:11,579 | INFO | Connector nio Stopped | org.apache.activemq.broker.TransportConnector | Thread-2
2014-03-19 16:18:11,591 | INFO | ActiveMQ JMS Message Broker (activeMQ, ID:Bill-40387-1395224125666-0:1) stopped | org.apache.activemq.broker.BrokerService | Thread-2
2014-03-19 16:18:11,976 | INFO | ActiveMQ JMS Message Broker (activeMQ, ID:Bill-40387-1395224125666-0:1) stopped | org.apache.activemq.broker.BrokerService | ActiveMQ ShutdownHook
Bill:/usr/apache-activemq-5.4.2/data #
Код:
Bill:/usr/apache-activemq-5.4.2/data # cat ./wrapper.log
STATUS | wrapper | 2014/03/19 16:14:37 | --> Wrapper Started as Daemon
STATUS | wrapper | 2014/03/19 16:14:38 | Launching a JVM...
INFO | jvm 1 | 2014/03/19 16:14:38 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
INFO | jvm 1 | 2014/03/19 16:14:38 | Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.
INFO | jvm 1 | 2014/03/19 16:14:38 |
INFO | jvm 1 | 2014/03/19 16:14:38 | Java Runtime: Free Software Foundation, Inc. 1.5.0 /usr/lib/jvm/java-1.5.0-gcj-4.7-1.5.0.0/jre
INFO | jvm 1 | 2014/03/19 16:14:38 | Heap sizes: current=8700k free=3548k max=9007199254740991k
INFO | jvm 1 | 2014/03/19 16:14:38 | JVM args: -Dactivemq.home=../.. -Dactivemq.base=../.. -Djavax.net.ssl.keyStorePassword=password -Djavax.net.ssl.trustStorePassword=password -Djavax.net.ssl.keyStore=../../conf/broker.ks -Djavax.net.ssl.trustStore=../../conf/broker.ts -Dcom.sun.management.jmxremote -Dorg.apache.activemq.UseDedicatedTaskRunner=true -Djava.util.logging.config.file=logging.properties -Xmx256m -Djava.library.path=../../bin/linux/ -Djava.class.path=../../bin/wrapper.jar:../../bin/run.jar -Dwrapper.key=rAnxQv31Ozc0kpEr -Dwrapper.port=32000 -Dwrapper.jvm.port.min=31000 -Dwrapper.jvm.port.max=31999 -Dwrapper.pid=3477 -Dwrapper.version=3.2.3 -Dwrapper.native_library=wrapper -Dwrapper.service=TRUE -Dwrapper.cpu.timeout=10 -Dwrapper.jvmid=1
INFO | jvm 1 | 2014/03/19 16:14:38 | ACTIVEMQ_HOME: ../..
INFO | jvm 1 | 2014/03/19 16:14:38 | ACTIVEMQ_BASE: ../..
INFO | jvm 1 | 2014/03/19 16:14:39 | Loading message broker from: xbean:activemq.xml
INFO | jvm 1 | 2014/03/19 16:14:39 | INFO | Refreshing org.apache.activemq.xbean.XBeanBrokerFactory$1@1197f50: startup date [Wed Mar 19 16:14:39 GMT+06:00 2014]; root of context hierarchy
INFO | jvm 1 | 2014/03/19 16:14:42 | WARN | destroyApplicationContextOnStop parameter is deprecated, please use shutdown hooks instead
INFO | jvm 1 | 2014/03/19 16:14:42 | INFO | PListStore:../../data/activeMQ/tmp_storage started
INFO | jvm 1 | 2014/03/19 16:14:42 | INFO | Using Persistence Adapter: KahaDBPersistenceAdapter[../../data/kahadb]
INFO | jvm 1 | 2014/03/19 16:15:25 | INFO | KahaDB is version 3
INFO | jvm 1 | 2014/03/19 16:15:25 | INFO | Recovering from the journal ...
INFO | jvm 1 | 2014/03/19 16:15:25 | INFO | Recovery replayed 1 operations from the journal in 0.147 seconds.
INFO | jvm 1 | 2014/03/19 16:15:25 | INFO | ActiveMQ 5.4.2 JMS Message Broker (activeMQ) is starting
INFO | jvm 1 | 2014/03/19 16:15:25 | INFO | For help or more information please see: http://activemq.apache.org/
INFO | jvm 1 | 2014/03/19 16:15:25 | INFO | Installing Discarding Dead Letter Queue broker plugin[dropAll=true; dropTemporaryTopics=true; dropTemporaryQueues=true; dropOnly=null; reportInterval=1000]
INFO | jvm 1 | 2014/03/19 16:15:26 | INFO | Listening for connections at: nio://localhost:61616
INFO | jvm 1 | 2014/03/19 16:15:26 | INFO | Connector nio Started
INFO | jvm 1 | 2014/03/19 16:15:26 | INFO | ActiveMQ JMS Message Broker (activeMQ, ID:Bill-40387-1395224125666-0:1) started
INFO | jvm 1 | 2014/03/19 16:18:11 | INFO | ActiveMQ Message Broker (activeMQ, ID:Bill-40387-1395224125666-0:1) is shutting down
INFO | jvm 1 | 2014/03/19 16:18:11 | INFO | ActiveMQ Message Broker (activeMQ, ID:Bill-40387-1395224125666-0:1) is shutting down
INFO | jvm 1 | 2014/03/19 16:18:11 | INFO | Connector nio Stopped
INFO | jvm 1 | 2014/03/19 16:18:11 | INFO | PListStore:../../data/activeMQ/tmp_storage stopped
INFO | jvm 1 | 2014/03/19 16:18:11 | INFO | Stopping async queue tasks
INFO | jvm 1 | 2014/03/19 16:18:11 | INFO | Stopping async topic tasks
INFO | jvm 1 | 2014/03/19 16:18:11 | INFO | Stopped KahaDB
INFO | jvm 1 | 2014/03/19 16:18:11 | INFO | Connector nio Stopped
INFO | jvm 1 | 2014/03/19 16:18:11 | INFO | ActiveMQ JMS Message Broker (activeMQ, ID:Bill-40387-1395224125666-0:1) stopped
INFO | jvm 1 | 2014/03/19 16:18:11 | INFO | ActiveMQ JMS Message Broker (activeMQ, ID:Bill-40387-1395224125666-0:1) stopped
STATUS | wrapper | 2014/03/19 16:18:12 | <-- Wrapper Stopped
Bill:/usr/apache-activemq-5.4.2/data #
Код:
Bill:/usr/local/BGBillingServer/log # cat server.mq.log
03-19/16:18:09 INFO [EventProcessor-init] EventProcessor - Init EventProcessor MQ connection factory...
03-19/16:18:09 INFO [ActiveMQ Task] FailoverTransport - Successfully connected to nio://127.0.0.1:61616?socketBufferSize=1000000
Bill:/usr/local/BGBillingServer/log #
Код:
Bill:/usr/local/BGBillingServer/log # cat server.log
03-19/16:18:08 INFO [main] DefaultServerSetup - Binding javax.jms.ConnectionFactory[org.apache.activemq.ActiveMQConnectionFactory@3e162d] to java:comp/env/mq/connectionFactory
03-19/16:18:08 INFO [main] DefaultServerSetup - Init DB connection pools
03-19/16:18:08 INFO [main] DefaultServerSetup - Binding JDBC pool "master" to java:comp/env/jdbc/master
03-19/16:18:08 ERROR [main] DefaultServerSetup - Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
.........................
03-19/16:18:08 INFO [main] DefaultServerSetup - Init trash pools..
03-19/16:18:10 ERROR [main] LoggingPrintStream - java.lang.NullPointerException
03-19/16:18:10 ERROR [main] LoggingPrintStream - at ru.bitel.bgbilling.kernel.module.server.bean.UserManager.getUsersMap(UserManager.java:119)
03-19/16:18:10 ERROR [main] LoggingPrintStream - at ru.bitel.bgbilling.server.util.UserMap.initUserMap(UserMap.java:44)
03-19/16:18:10 ERROR [main] LoggingPrintStream - at ru.bitel.bgbilling.server.util.UserMap.initUserMap(UserMap.java:30)
03-19/16:18:10 ERROR [main] LoggingPrintStream - at bitel.billing.server.Server.initSetup(Server.java:331)
03-19/16:18:10 ERROR [main] LoggingPrintStream - at bitel.billing.server.Server.<init>(Server.java:405)
03-19/16:18:10 ERROR [main] LoggingPrintStream - at bitel.billing.server.Server.main(Server.java:312)
03-19/16:18:10 ERROR [main] LoggingPrintStream - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
03-19/16:18:10 ERROR [main] LoggingPrintStream - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
03-19/16:18:10 ERROR [main] LoggingPrintStream - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
03-19/16:18:10 ERROR [main] LoggingPrintStream - at java.lang.reflect.Method.invoke(Method.java:601)
03-19/16:18:10 ERROR [main] LoggingPrintStream - at ru.bitel.common.bootstrap.Boot.boot(Boot.java:129)
03-19/16:18:10 ERROR [main] LoggingPrintStream - at ru.bitel.common.bootstrap.Boot.main(Boot.java:178)
03-19/16:18:10 ERROR [main] LoggingPrintStream - java.lang.reflect.InvocationTargetException
03-19/16:18:10 ERROR [main] LoggingPrintStream - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
03-19/16:18:10 ERROR [main] LoggingPrintStream - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
03-19/16:18:10 ERROR [main] LoggingPrintStream - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
03-19/16:18:10 ERROR [main] LoggingPrintStream - at java.lang.reflect.Method.invoke(Method.java:601)
03-19/16:18:10 ERROR [main] LoggingPrintStream - at ru.bitel.common.bootstrap.Boot.boot(Boot.java:129)
03-19/16:18:10 ERROR [main] LoggingPrintStream - at ru.bitel.common.bootstrap.Boot.main(Boot.java:178)
03-19/16:18:10 ERROR [main] LoggingPrintStream - Caused by: java.lang.NullPointerException
03-19/16:18:10 ERROR [main] LoggingPrintStream - at bitel.billing.server.Update.<init>(Update.java:20)
03-19/16:18:10 ERROR [main] LoggingPrintStream - at bitel.billing.server.Server.<init>(Server.java:407)
03-19/16:18:10 ERROR [main] LoggingPrintStream - at bitel.billing.server.Server.main(Server.java:312)
03-19/16:18:10 ERROR [main] LoggingPrintStream - ... 6 more
03-19/16:18:10 INFO [Thread-5] EventProcessor - Shutdown EventProcessor...
в какую сторону рыть?