The web application [/jbilling] appears to have started a thread

logicallimit's Avatar

logicallimit

07 Feb, 2020 07:46 AM

Hi,

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.

My environment:
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.

Errors faced:
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.

Regards,
Devanshu

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac