JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 03.03.2009, 03:23
blues-man
Guest
 
Posts: n/a
Default Can't save settings on linux

Hi,
I've downloaded JDownloader 0.4.761, I'm on Kubuntu Linux Jaunty 2.6.28 with Sun Java build 1.6.0_12-b04 JRE ( and JDK ). I've seen that JDownloader doesn't save settings after closing and I have to setup it anytime.
This is the debug log
Code:
luesman@ray:~/Apps/JDownloader$ java -jar JDownloader.jar                                         
2-mar-2009 20.19.40 - INFO [jd.config.DatabaseConnector(<init>)] -> Loading database               
2-mar-2009 20.19.40 - INFO [jd.config.DatabaseConnector(checkDatabaseHeader)] -> Checking database 
2-mar-2009 20.19.40 - GRAVE [jd.utils.JDUtilities$4(write)] -> java.lang.NullPointerException      
2-mar-2009 20.19.40 - GRAVE [jd.utils.JDUtilities$4(write)] ->  at jd.config.DatabaseConnector.checkDatabaseHeader(Unknown Source)                                                                                                          
2-mar-2009 20.19.40 - GRAVE [jd.utils.JDUtilities$4(write)] ->  at jd.config.DatabaseConnector.<init>(Unknown Source) 
2-mar-2009 20.19.40 - GRAVE [jd.utils.JDUtilities$4(write)] ->  at jd.utils.JDUtilities.getDatabaseConnector(Unknown Source)                                                                                                                
2-mar-2009 20.19.40 - GRAVE [jd.utils.JDUtilities$4(write)] ->  at jd.config.SubConfiguration.<init>(Unknown Source)  
2-mar-2009 20.19.40 - GRAVE [jd.utils.JDUtilities$4(write)] ->  at jd.utils.JDUtilities.getSubConfig(Unknown Source)  
2-mar-2009 20.19.40 - GRAVE [jd.utils.JDUtilities$4(write)] ->  at jd.utils.JDLocale.getLocaleString(Unknown Source)  
2-mar-2009 20.19.40 - GRAVE [jd.utils.JDUtilities$4(write)] ->  at jd.utils.JDLocale.L(Unknown Source)                
2-mar-2009 20.19.40 - GRAVE [jd.utils.JDUtilities$4(write)] ->  at jd.controlling.interaction.Interaction.initTriggers(Unknown Source)                                                                                                      
2-mar-2009 20.19.40 - GRAVE [jd.utils.JDUtilities$4(write)] ->  at jd.Main.main(Unknown Source)                       
2-mar-2009 20.19.40 - GRAVE [jd.config.DatabaseConnector(<init>)] -> Database broken! Creating fresh Database         
2-mar-2009 20.19.41 - GRAVE [jd.utils.JDUtilities$4(write)] -> java.sql.SQLException: Utente non trovato: SA          
2-mar-2009 20.19.41 - GRAVE [jd.utils.JDUtilities$4(write)] ->  at org.hsqldb.jdbc.Util.sqlException(Unknown Source)  
2-mar-2009 20.19.41 - GRAVE [jd.utils.JDUtilities$4(write)] ->  at org.hsqldb.jdbc.jdbcConnection.<init>(Unknown Source)                                                                                                                    
2-mar-2009 20.19.41 - GRAVE [jd.utils.JDUtilities$4(write)] ->  at org.hsqldb.jdbcDriver.getConnection(Unknown Source)
2-mar-2009 20.19.41 - GRAVE [jd.utils.JDUtilities$4(write)] ->  at org.hsqldb.jdbcDriver.connect(Unknown Source)      
2-mar-2009 20.19.41 - GRAVE [jd.utils.JDUtilities$4(write)] ->  at java.sql.DriverManager.getConnection(DriverManager.java:582)                                                                                                             
2-mar-2009 20.19.41 - GRAVE [jd.utils.JDUtilities$4(write)] ->  at java.sql.DriverManager.getConnection(DriverManager.java:185)                                                                                                             
2-mar-2009 20.19.41 - GRAVE [jd.utils.JDUtilities$4(write)] ->  at jd.config.DatabaseConnector.<init>(Unknown Source) 
2-mar-2009 20.19.41 - GRAVE [jd.utils.JDUtilities$4(write)] ->  at jd.utils.JDUtilities.getDatabaseConnector(Unknown Source)                                                                                                                
2-mar-2009 20.19.41 - GRAVE [jd.utils.JDUtilities$4(write)] ->  at jd.config.SubConfiguration.<init>(Unknown Source)  
2-mar-2009 20.19.41 - GRAVE [jd.utils.JDUtilities$4(write)] ->  at jd.utils.JDUtilities.getSubConfig(Unknown Source)  
2-mar-2009 20.19.41 - GRAVE [jd.utils.JDUtilities$4(write)] ->  at jd.utils.JDLocale.getLocaleString(Unknown Source)  
2-mar-2009 20.19.41 - GRAVE [jd.utils.JDUtilities$4(write)] ->  at jd.utils.JDLocale.L(Unknown Source)                
2-mar-2009 20.19.41 - GRAVE [jd.utils.JDUtilities$4(write)] ->  at jd.controlling.interaction.Interaction.initTriggers(Unknown Source)                                                                                                      
2-mar-2009 20.19.41 - GRAVE [jd.utils.JDUtilities$4(write)] ->  at jd.Main.main(Unknown Source)                       
2-mar-2009 20.19.41 - GRAVE [jd.utils.JDUtilities$4(write)] -> java.lang.NullPointerException                         
2-mar-2009 20.19.41 - GRAVE [jd.utils.JDUtilities$4(write)] ->  at jd.config.DatabaseConnector.saveConfiguration(Unknown Source)                                                                                                            
2-mar-2009 20.19.41 - GRAVE [jd.utils.JDUtilities$4(write)] ->  at jd.config.SubConfiguration.save(Unknown Source)    
2-mar-2009 20.19.41 - GRAVE [jd.utils.JDUtilities$4(write)] ->  at jd.utils.JDUtilities.getSubConfig(Unknown Source)  
2-mar-2009 20.19.41 - GRAVE [jd.utils.JDUtilities$4(write)] ->  at jd.utils.JDLocale.getLocaleString(Unknown Source)  
2-mar-2009 20.19.41 - GRAVE [jd.utils.JDUtilities$4(write)] ->  at jd.utils.JDLocale.L(Unknown Source)                
2-mar-2009 20.19.41 - GRAVE [jd.utils.JDUtilities$4(write)] ->  at jd.controlling.interaction.Interaction.initTriggers(Unknown Source)                                                                                                      
2-mar-2009 20.19.41 - GRAVE [jd.utils.JDUtilities$4(write)] ->  at jd.Main.main(Unknown Source)                       
2-mar-2009 20.19.41 - INFO [jd.utils.JDUtilities(getJDClassLoader)] -> Create Classloader: for: /home/bluesman/Apps/JDownloader                                                                                                             
2-mar-2009 20.19.41 - FINE [jd.JDClassLoader(<init>)] -> rootDir:/home/bluesman/Apps/JDownloader                      
2-mar-2009 20.19.41 - MOLTO FINE [jd.JDClassLoader(<init>)] -> Jar file loaded: /home/bluesman/Apps/JDownloader/plugins/JDUnrar.jar                                                                                                         
2-mar-2009 20.19.41 - MOLTO FINE [jd.JDClassLoader(<init>)] -> Jar file loaded: /home/bluesman/Apps/JDownloader/plugins/JDHJMerge.jar                                                                                                       
2-mar-2009 20.19.41 - MOLTO FINE [jd.JDClassLoader(<init>)] -> Jar file loaded: /home/bluesman/Apps/JDownloader/JDownloader.jar                                                                                                             
2-mar-2009 20.19.41 - MOLTO FINE [jd.JDClassLoader(<init>)] -> Jar file loaded: /home/bluesman/Apps/JDownloader/restore.jar                                                                                                                 
2-mar-2009 20.19.41 - INFO [jd.utils.JDSounds(setSoundTheme)] -> SoundTheme default loaded                            
2-mar-2009 20.19.41 - FINISSIMO [jd.nutils.Executer(run)] -> Execute: java -Xmx512m -jar JDownloader.jar  in /home/bluesman/Apps/JDownloader                                                                                                
2-mar-2009 20.19.41 - INFO [jd.utils.JDUtilities(restartJD)] ->
so I thought that it uses HSQL and I've installed hsql-server but , even if I don't get all this error debug, I can't see my settings and I have to reconfigure anytime and from freenode chat I knew that it doesn't use a DBMS..what's wrong? was this a know bug?I haven't found it out from forum search and bug list
Bye
Reply With Quote
  #2  
Old 20.03.2009, 01:18
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 73,499
Default

Is the bug still present ?
If so please respond!
Reply With Quote
  #3  
Old 30.03.2009, 16:47
resiii
Guest
 
Posts: n/a
Default

I have got the same problem, JDownloader doesn't saves the settings.
- JDownloader 0.4.936
- Ubuntu 8.10 Intrepid Ibex
Reply With Quote
  #4  
Old 30.03.2009, 20:59
kiko0165
Guest
 
Posts: n/a
Default

Hi!

I have the same problem:
  • jDownloader 0.4.936
  • Ubuntu 8.10
  • java version "1.6.0_13" (problem is the same with 1.5)

Regards!
Reply With Quote
  #5  
Old 31.03.2009, 07:12
pardu
Guest
 
Posts: n/a
Thumbs down

Hi all,

Same issue here with:

OS: Ubuntu Intrepid Ibex 8.10
JDownloader: 0.4.936
Jave version: 6

More info (extended):
pardu@john:~$ sudo update-java-alternatives -l
ia32-java-6-sun 63 /usr/lib/jvm/ia32-java-6-sun
java-6-sun 63 /usr/lib/jvm/java-6-sun
pardu@john:~$ uname -a
Linux john 2.6.27-11-generic #1 SMP Thu Jan 29 19:28:32 UTC 2009 x86_64 GNU/Linux

Nick
Reply With Quote
  #6  
Old 31.03.2009, 13:59
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 81,301
Default

please be sure you have the right folder/user rights set!
and try to delete the config folder (all settings will be lost) and try again
__________________
JD-Dev & Server-Admin
Reply With Quote
  #7  
Old 03.04.2009, 22:53
kiko0165
Guest
 
Posts: n/a
Default

Hi,

I deleted my config dir and set read/write permissions in all JDownloader files and directories:

Code:
kiko@neo:~/jDownloader$ rm -rf config/
kiko@neo:~/jDownloader$ chmod -R +rw *
kiko@neo:~/jDownloader$ java -jar JDownloader.jar
The first time I start JDownloader I set configuration, and later executions I get the same error:

Code:
$ java -jar JDownloader.jar 
JAR
03-abr-2009 21:46:34 - INFO [jd.config.DatabaseConnector(<init>)] -> Loading database
03-abr-2009 21:46:34 - INFO [jd.config.DatabaseConnector(checkDatabaseHeader)] -> Checking database
03-abr-2009 21:46:34 - GRAVE [jd.utils.JDUtilities$4(write)] -> java.lang.NullPointerException
03-abr-2009 21:46:34 - GRAVE [jd.utils.JDUtilities$4(write)] -> 	at jd.config.DatabaseConnector.checkDatabaseHeader(Unknown Source)
03-abr-2009 21:46:34 - GRAVE [jd.utils.JDUtilities$4(write)] -> 	at jd.config.DatabaseConnector.<init>(Unknown Source)
03-abr-2009 21:46:34 - GRAVE [jd.utils.JDUtilities$4(write)] -> 	at jd.utils.JDUtilities.getDatabaseConnector(Unknown Source)
03-abr-2009 21:46:34 - GRAVE [jd.utils.JDUtilities$4(write)] -> 	at jd.config.SubConfiguration.<init>(Unknown Source)
03-abr-2009 21:46:34 - GRAVE [jd.utils.JDUtilities$4(write)] -> 	at jd.utils.JDUtilities.getSubConfig(Unknown Source)
03-abr-2009 21:46:34 - GRAVE [jd.utils.JDUtilities$4(write)] -> 	at jd.utils.JDLocale.getLocaleString(Unknown Source)
03-abr-2009 21:46:34 - GRAVE [jd.utils.JDUtilities$4(write)] -> 	at jd.utils.JDLocale.L(Unknown Source)
03-abr-2009 21:46:34 - GRAVE [jd.utils.JDUtilities$4(write)] -> 	at jd.controlling.interaction.Interaction.initTriggers(Unknown Source)
03-abr-2009 21:46:34 - GRAVE [jd.utils.JDUtilities$4(write)] -> 	at jd.Main.main(Unknown Source)
03-abr-2009 21:46:34 - GRAVE [jd.config.DatabaseConnector(<init>)] -> Database broken! Creating fresh Database
03-abr-2009 21:46:34 - GRAVE [jd.utils.JDUtilities$4(write)] -> java.sql.SQLException: User not found: SA
03-abr-2009 21:46:34 - GRAVE [jd.utils.JDUtilities$4(write)] -> 	at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
03-abr-2009 21:46:34 - GRAVE [jd.utils.JDUtilities$4(write)] -> 	at org.hsqldb.jdbc.jdbcConnection.<init>(Unknown Source)
03-abr-2009 21:46:34 - GRAVE [jd.utils.JDUtilities$4(write)] -> 	at org.hsqldb.jdbcDriver.getConnection(Unknown Source)
03-abr-2009 21:46:34 - GRAVE [jd.utils.JDUtilities$4(write)] -> 	at org.hsqldb.jdbcDriver.connect(Unknown Source)
03-abr-2009 21:46:34 - GRAVE [jd.utils.JDUtilities$4(write)] -> 	at java.sql.DriverManager.getConnection(DriverManager.java:582)
03-abr-2009 21:46:34 - GRAVE [jd.utils.JDUtilities$4(write)] -> 	at java.sql.DriverManager.getConnection(DriverManager.java:185)
03-abr-2009 21:46:34 - GRAVE [jd.utils.JDUtilities$4(write)] -> 	at jd.config.DatabaseConnector.<init>(Unknown Source)
03-abr-2009 21:46:34 - GRAVE [jd.utils.JDUtilities$4(write)] -> 	at jd.utils.JDUtilities.getDatabaseConnector(Unknown Source)
03-abr-2009 21:46:34 - GRAVE [jd.utils.JDUtilities$4(write)] -> 	at jd.config.SubConfiguration.<init>(Unknown Source)
03-abr-2009 21:46:34 - GRAVE [jd.utils.JDUtilities$4(write)] -> 	at jd.utils.JDUtilities.getSubConfig(Unknown Source)
03-abr-2009 21:46:34 - GRAVE [jd.utils.JDUtilities$4(write)] -> 	at jd.utils.JDLocale.getLocaleString(Unknown Source)
03-abr-2009 21:46:34 - GRAVE [jd.utils.JDUtilities$4(write)] -> 	at jd.utils.JDLocale.L(Unknown Source)
03-abr-2009 21:46:34 - GRAVE [jd.utils.JDUtilities$4(write)] -> 	at jd.controlling.interaction.Interaction.initTriggers(Unknown Source)
03-abr-2009 21:46:34 - GRAVE [jd.utils.JDUtilities$4(write)] -> 	at jd.Main.main(Unknown Source)
03-abr-2009 21:46:34 - GRAVE [jd.utils.JDUtilities$4(write)] -> java.lang.NullPointerException
03-abr-2009 21:46:34 - GRAVE [jd.utils.JDUtilities$4(write)] -> 	at jd.config.DatabaseConnector.getData(Unknown Source)
03-abr-2009 21:46:34 - GRAVE [jd.utils.JDUtilities$4(write)] -> 	at jd.config.SubConfiguration.<init>(Unknown Source)
03-abr-2009 21:46:34 - GRAVE [jd.utils.JDUtilities$4(write)] -> 	at jd.utils.JDUtilities.getSubConfig(Unknown Source)
03-abr-2009 21:46:34 - GRAVE [jd.utils.JDUtilities$4(write)] -> 	at jd.utils.JDLocale.getLocaleString(Unknown Source)
03-abr-2009 21:46:34 - GRAVE [jd.utils.JDUtilities$4(write)] -> 	at jd.utils.JDLocale.L(Unknown Source)
03-abr-2009 21:46:34 - GRAVE [jd.utils.JDUtilities$4(write)] -> 	at jd.controlling.interaction.Interaction.initTriggers(Unknown Source)
03-abr-2009 21:46:34 - GRAVE [jd.utils.JDUtilities$4(write)] -> 	at jd.Main.main(Unknown Source)
03-abr-2009 21:46:34 - GRAVE [jd.utils.JDUtilities$4(write)] -> java.lang.NullPointerException
03-abr-2009 21:46:34 - GRAVE [jd.utils.JDUtilities$4(write)] -> 	at jd.config.DatabaseConnector.saveConfiguration(Unknown Source)
03-abr-2009 21:46:34 - GRAVE [jd.utils.JDUtilities$4(write)] -> 	at jd.config.SubConfiguration.save(Unknown Source)
03-abr-2009 21:46:34 - GRAVE [jd.utils.JDUtilities$4(write)] -> 	at jd.utils.JDUtilities.getSubConfig(Unknown Source)
03-abr-2009 21:46:34 - GRAVE [jd.utils.JDUtilities$4(write)] -> 	at jd.utils.JDLocale.getLocaleString(Unknown Source)
03-abr-2009 21:46:34 - GRAVE [jd.utils.JDUtilities$4(write)] -> 	at jd.utils.JDLocale.L(Unknown Source)
03-abr-2009 21:46:34 - GRAVE [jd.utils.JDUtilities$4(write)] -> 	at jd.controlling.interaction.Interaction.initTriggers(Unknown Source)
03-abr-2009 21:46:34 - GRAVE [jd.utils.JDUtilities$4(write)] -> 	at jd.Main.main(Unknown Source)
03-abr-2009 21:46:34 - INFO [jd.utils.JDUtilities(getJDClassLoader)] -> Create Classloader: for: /home/kiko/jDownloader
03-abr-2009 21:46:34 - FINA [jd.JDClassLoader(<init>)] -> rootDir:/home/kiko/jDownloader
/home/kiko/jDownloader
 file:/home/kiko/jDownloader/jd
03-abr-2009 21:46:34 - MÁS FINA [jd.JDClassLoader(<init>)] -> Jar file loaded: /home/kiko/jDownloader/plugins/JDHJMerge.jar
03-abr-2009 21:46:34 - MÁS FINA [jd.JDClassLoader(<init>)] -> Jar file loaded: /home/kiko/jDownloader/plugins/JDUnrar.jar
03-abr-2009 21:46:34 - MÁS FINA [jd.JDClassLoader(<init>)] -> Jar file loaded: /home/kiko/jDownloader/JDownloader.jar
03-abr-2009 21:46:35 - INFO [jd.utils.JDSounds(setSoundTheme)] -> SoundTheme default loaded
03-abr-2009 21:46:35 - LA MÁS FINA [jd.nutils.Executer(run)] -> Execute: java -Xmx512m -jar JDownloader.jar  in /home/kiko/jDownloader
03-abr-2009 21:46:35 - INFO [jd.utils.JDUtilities(restartJD)] ->
Regards,
KiKo.
Reply With Quote
  #8  
Old 04.04.2009, 12:43
kiko0165
Guest
 
Posts: n/a
Default

More info (maybe it is related with this bug thread):

I get some permissions problems:



but i'm sure that I have write privileges:

Code:
$ ls -l
total 5204
-rw-r--r-- 1 kiko kiko 5314401 2009-04-03 21:59 JDTrayIcon_2009-02-11_v4.jdu
[Edit]: I had some problems with image attachment.
Reply With Quote
  #9  
Old 04.04.2009, 18:11
D4rKr0W
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by Jiaz View Post
please be sure you have the right folder/user rights set!
and try to delete the config folder (all settings will be lost) and try again
Was my post deleted?

Anyway, the config issue was resolved doing a clean install from the zip you provide, but updates still wont work. Once all the files are downloaded the JDUpdate window is not able to restart JD itself.
This is the last line that appears on the JDUpdate window after a clean install from the zip you provide in the downloads.

Code:
Local: /home/darkrow/bin/JDownloaderStart java -jar -Xmx512m JDownloader.jar in /home/darkrow/bin/JDownloaderERORR null

Last edited by D4rKr0W; 04.04.2009 at 18:31.
Reply With Quote
  #10  
Old 05.04.2009, 14:24
kiko0165
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by D4rKr0W View Post
Was my post deleted?

Anyway, the config issue was resolved doing a clean install from the zip you provide, but updates still wont work. Once all the files are downloaded the JDUpdate window is not able to restart JD itself.
This is the last line that appears on the JDUpdate window after a clean install from the zip you provide in the downloads.

Code:
Local: /home/darkrow/bin/JDownloaderStart java -jar -Xmx512m JDownloader.jar in /home/darkrow/bin/JDownloaderERORR null
Yeah, it happens to me too.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 22:07.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.