2016-01-28 1 views
0

J'essaie d'exécuter jbilling 4.4.1. Cependant, je continue d'obtenir l'erreur suivante:JBilling ActiveMQ Scheduler Exception

Exception in thread "ActiveMQ Scheduler" java.lang.IllegalStateException: Can't overwrite cause with java.lang.IllegalStateException: Illegal access: this web application instance has been stopped already. Could not load org.apache.activemq.broker.region.Queue$8. The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact. 
at java.lang.Throwable.initCause(Throwable.java:457) 
at org.apache.catalina.loader.WebappClassLoaderBase.checkStateForClassLo 
ading(WebappClassLoaderBase.java:1304) 
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClas 
sLoaderBase.java:1184) 
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClas 
sLoaderBase.java:1145) 
at org.apache.activemq.broker.region.Queue.expireMessages(Queue.java:614 
at org.apache.activemq.broker.region.Queue.access$100(Queue.java:89) 
at org.apache.activemq.broker.region.Queue$2.run(Queue.java:122) 
at org.apache.activemq.thread.SchedulerTimerTask.run(SchedulerTimerTask. 
java:33) 
at java.util.TimerThread.mainLoop(Timer.java:555) 
at java.util.TimerThread.run(Timer.java:505) 
Caused by: java.lang.ClassNotFoundException 
at org.apache.catalina.loader.WebappClassLoaderBase.checkStateForClassLo ading(WebappClassLoaderBase.java:1303) 
     ... 8 more 

Comment puis-je résoudre ce problème sans modifier le code source? Toute aide serait grandement appréciée.

Répondre

0

J'ai eu le même problème, se révèle le problème dans la base de données (postgreSQL) ...

Caused by: org.postgresql.util.PSQLException: ERROR: relation  "reseller_entityid_map" does not exist 
    Position: 449 
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.ja va:2198) 

Le « reseller_entityid_map » table était manquante, une fois créé, remis en marche tomcat et l'exception en fil " ActiveMQ Scheduler "erreur est parti.

Vous devez vérifier le fichier journal suivant:

jbilling-community-4.1.1/bin/logs/jbilling-stacktrace.log 

C'est là que je trouve ces erreurs:

grep -i PSQLException ./jbilling-community-4.1.1/bin/logs/jbilling-stacktrace.log 
0

Il ressemble à la cause racine est une classe java introuvable. Si vous pouvez coller plus de journaux, de préférence des journaux de démarrage complets, c'est-à-dire tomcat/logs/catalina.out + tomcat/bin/logs/jbilling.log, il serait plus facile à déterminer.