The web application [/jbilling] appears to have started a thread
I am trying to explore this product in my local workstation. But am getting errors when I start the application using "startup.bat"
Need help to resolve the issue.
OS: Windows 7 Pro 64 bit
DB: PostgreSQL version 9.5.19
jbilling version: 4.1.1
I have updated the file "...\jbilling-community-4.1.1\jbilling\jbilling-Config.groovy"
with following values:
dialect = "org.hibernate.dialect.PostgreSQLDialect"
driverClassName = "org.postgresql.Driver"
username = "jbilling"
password = "password"
url = "jdbc:postgresql://localhost:5432/jbilling_test"
Note that I have already created a user with name "jbilling" and a blank database "jbilling_test" on Postgresql server.
1. Some kind of "listenerStart" error and then error like "started a thread named .... and failed to stop it"
The tomcat window shows error as below. Full log file is attached.
07-Feb-2020 12:29:41.027 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal Error listenerStart
07-Feb-2020 12:29:41.027 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal Context [/jbilling] startup failed due to previous errors
07-Feb-2020 12:29:41.040 WARNING [localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The web application [/jbilling] registered the JDBC driver [org.postgresql.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
07-Feb-2020 12:29:41.041 WARNING [localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The web application [/jbilling] registered the JDBC driver [org.hsqldb.jdbc.JDBCDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
07-Feb-2020 12:29:41.042 WARNING [localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [/jbilling] appears to have started a thread named [Timer-2] but has failed to stop it. This is very likely to create a memory leak.
2. No database table is created in the database"jbilling_test".
3. When I try to access the application at url: http://localhost:8080/jbilling , I get 404 (The requested resource is not available.) error.
4. Also, I found that, your online documentation is very old. Refer URL: "http://www.jbilling.com/documentation/users/database-guide".
Version 4.1.1 has be released by your company but document still describes things considering version 3.
Can someone please help me.
|?||Show this help|
|ESC||Blurs the current field|
|r||Focus the comment reply box|
|^ + ↩||Submit the comment|
You can use
Command ⌘ instead of
Control ^ on Mac
1 Posted by pandit_dhirendr... on 31 Dec, 2020 02:33 AM
I am also getting the same issue, i had tried connection with oracle and postgres without any luck. Did you solved this problem by any chance?
2 Posted by vikas bodani on 14 Oct, 2021 07:02 PM
startup.bat works for the zip ball because it includes an h2 file database.
For postgres, check the README file
https://github.com/WebDataConsulting/billing#readme before you change
jbilling-Config and jbilling-DataSource
3 Posted by pandit_dhirendr... on 14 Oct, 2021 07:03 PM
Thanks for your mail.
I am on holiday due to a medical emergency and would not be able to respond to your mail until the end of October. Please consider some delay in my response.