Gnutella Forums  

Go Back   Gnutella Forums > Current Gnutella Client Forums > Phex (Cross-platform) > General Discussion
Register FAQ The Twelve Commandments Members List Calendar Arcade Find the Best VPN Today's Posts

General Discussion For anything which doesn't fit somewhere else (for PHEX users)


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old October 3rd, 2005
Apprentice
 
Join Date: October 3rd, 2005
Posts: 5
phexwes is flying high
Default error when loading

I am trying to run Phex for the first time on Fedora Core 4 and get the following:

[wes@localhost phex_2.6.4.89]$ java -jar phex.jar
Exception in thread "FileRescanRunner-117dea0" java.lang.NoClassDefFoundError: while resolving class: com.sun.xml.bind.util.ProxyListImpl
at java.lang.VMClassLoader.transformException(java.la ng.Class, java.lang.Throwable) (/usr/lib/libgcj.so.6.0.0)
at java.lang.VMClassLoader.resolveClass(java.lang.Cla ss) (/usr/lib/libgcj.so.6.0.0)
at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.6.0.0)
at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.6.0.0)
at phex.xml.impl.XJBSecurityImpl._getIpAccessRuleList () (Unknown Source)
at phex.xml.impl.XJBSecurityImpl.getIpAccessRuleList( ) (Unknown Source)
at phex.security.PhexSecurityManager.loadSecurityRule List() (Unknown Source)
at phex.security.PhexSecurityManager.onPostInitializa tion() (Unknown Source)
at phex.common.Environment.initializeManagers() (Unknown Source)
at phex.Main.main(java.lang.String[]) (Unknown Source)
at gnu.java.lang.MainThread.call_main() (/usr/lib/libgcj.so.6.0.0)
at gnu.java.lang.MainThread.run() (/usr/lib/libgcj.so.6.0.0)
Caused by: java.lang.ClassNotFoundException: com.sun.xml.bind.util.ProxyListImpl$1 not found in gnu.gcj.runtime.SystemClassLoader{urls=[filehex.jar,file:./], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
at java.net.URLClassLoader.findClass(java.lang.String ) (/usr/lib/libgcj.so.6.0.0)
at java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/usr/lib/libgcj.so.6.0.0)
at java.lang.ClassLoader.loadClass(java.lang.String) (/usr/lib/libgcj.so.6.0.0)
at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/libgcj.so.6.0.0)
...11 more





Does anyone know how to fix this? Thanks,
Reply With Quote
  #2 (permalink)  
Old October 4th, 2005
Phex Developer
 
Join Date: May 9th, 2001
Location: Stuttgart, Germany
Posts: 988
GregorK is flying high
Default

Could it be that you are missing jaxb.jar in your Phex directory?
__________________
Reply With Quote
  #3 (permalink)  
Old October 4th, 2005
Apprentice
 
Join Date: October 3rd, 2005
Posts: 5
phexwes is flying high
Default

Thanks for the reply. I checked and i do have the file in the phex dir but i am still having the same errors.
Reply With Quote
  #4 (permalink)  
Old October 5th, 2005
Phex Developer
 
Join Date: May 9th, 2001
Location: Stuttgart, Germany
Posts: 988
GregorK is flying high
Default

Try to start the phex.Main together with listing all jars after a -cp (or -classpath) parameter like this:

java -cp jaxb.jar:forms-1.0.5.jar:looks-1.3.1.jar:commons-logging.jar:commons-httpclient-3.0-rc3.jar:phex.jar phex.Main
__________________
Reply With Quote
  #5 (permalink)  
Old October 6th, 2005
Apprentice
 
Join Date: October 3rd, 2005
Posts: 5
phexwes is flying high
Default

Still getting errors. The splash screen comes up then the errors:

[wes@localhost phex_2.6.4.89]$ java -cp jaxb.jar:forms-1.0.5.jar:looks-1.3.1.jar:commons-logging.jar:commons-httpclient-3.0-rc3.jarhex.jar phex.Main
Exception in thread "FileRescanRunner-f951e0" java.lang.NoClassDefFoundError: com.sun.xml.bind.util.ListImpl
at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.6.0.0)
at phex.xml.impl.XJBSharedLibraryImpl._getSharedFileL ist() (Unknown Source)
at phex.xml.impl.XJBSharedLibraryImpl.getSharedFileLi st() (Unknown Source)
at phex.share.FileRescanRunner.buildSharedFilesCache( ) (Unknown Source)
at phex.share.FileRescanRunner.run() (Unknown Source)
at java.lang.Thread.run() (/usr/lib/libgcj.so.6.0.0)
java.lang.NoClassDefFoundError: while resolving class: com.sun.xml.bind.util.ProxyListImpl
at java.lang.VMClassLoader.transformException(java.la ng.Class, java.lang.Throwable) (/usr/lib/libgcj.so.6.0.0)
at java.lang.VMClassLoader.resolveClass(java.lang.Cla ss) (/usr/lib/libgcj.so.6.0.0)
at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.6.0.0)
at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.6.0.0)
at phex.xml.impl.XJBSecurityImpl._getIpAccessRuleList () (Unknown Source)
at phex.xml.impl.XJBSecurityImpl.getIpAccessRuleList( ) (Unknown Source)
at phex.security.PhexSecurityManager.loadSecurityRule List() (Unknown Source)
at phex.security.PhexSecurityManager.onPostInitializa tion() (Unknown Source)
at phex.common.Environment.initializeManagers() (Unknown Source)
at phex.Main.main(java.lang.String[]) (Unknown Source)
at gnu.java.lang.MainThread.call_main() (/usr/lib/libgcj.so.6.0.0)
at gnu.java.lang.MainThread.run() (/usr/lib/libgcj.so.6.0.0)
Caused by: java.lang.ClassNotFoundException: com.sun.xml.bind.util.ProxyListImpl$1 not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:jaxb.jar,file:./,file:forms-1.0.5.jar,file:looks-1.3.1.jar,file:./,file:commons-logging.jar,file:commons-httpclient-3.0-rc3.jar,file:./,filehex.jar], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
at java.net.URLClassLoader.findClass(java.lang.String ) (/usr/lib/libgcj.so.6.0.0)
at java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/usr/lib/libgcj.so.6.0.0)
at java.lang.ClassLoader.loadClass(java.lang.String) (/usr/lib/libgcj.so.6.0.0)
at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/libgcj.so.6.0.0)
...11 more
[wes@localhost phex_2.6.4.89]$
Reply With Quote
  #6 (permalink)  
Old October 7th, 2005
Phex Developer
 
Join Date: May 9th, 2001
Location: Stuttgart, Germany
Posts: 988
GregorK is flying high
Default

What kind of Java version and vendor are you using??

java -version
__________________
Reply With Quote
  #7 (permalink)  
Old October 7th, 2005
Apprentice
 
Join Date: October 3rd, 2005
Posts: 5
phexwes is flying high
Default

[wes@localhost ~]$ java -version
java version "1.4.2"
gij (GNU libgcj) version 4.0.1 20050727 (Red Hat 4.0.1-5)

Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[wes@localhost ~]$
Reply With Quote
  #8 (permalink)  
Old October 9th, 2005
pawelsz's Avatar
Phex hardcore user
 
Join Date: September 13th, 2005
Location: europe
Posts: 56
pawelsz is flying high
Default

You propably should install JAVA from http://java.sun.com/
because now you are using "java" from GNU that dont work with Phex
Reply With Quote
  #9 (permalink)  
Old October 10th, 2005
Apprentice
 
Join Date: October 3rd, 2005
Posts: 5
phexwes is flying high
Default

It works!!! Thanks so much for the help

-Wes
Reply With Quote
  #10 (permalink)  
Old February 6th, 2006
Novicius
 
Join Date: February 6th, 2006
Posts: 1
BradS is flying high
Default

Thanks pawelsz. I was having the same problem with FC4, but it's working now.
Reply With Quote
Reply


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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
error loading bearshare BS wont open. Animus BearShare Open Discussion 0 October 22nd, 2005 08:31 AM
loading error swann Windows 0 August 14th, 2005 09:02 PM
Error loading Limewire Vasudan General Windows Support 4 October 22nd, 2004 05:14 AM
Error Loading petesdragon Windows 0 March 14th, 2004 09:00 AM
Ikernel.exe error when loading limewire thon General Windows Support 9 August 8th, 2001 12:12 AM


All times are GMT -7. The time now is 08:48 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.