Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   General Discussion (https://www.gnutellaforums.com/general-discussion/)
-   -   error when loading (https://www.gnutellaforums.com/general-discussion/46143-error-when-loading.html)

phexwes October 3rd, 2005 04:21 PM

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=[file:phex.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,

GregorK October 4th, 2005 12:30 AM

Could it be that you are missing jaxb.jar in your Phex directory?

phexwes October 4th, 2005 03:35 PM

Thanks for the reply. I checked and i do have the file in the phex dir but i am still having the same errors.

GregorK October 5th, 2005 12:08 AM

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

phexwes October 6th, 2005 03:40 PM

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.jar:phex.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:./,file:phex.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]$

GregorK October 7th, 2005 12:03 AM

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

java -version

phexwes October 7th, 2005 04:33 PM

[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 ~]$

pawelsz October 9th, 2005 07:30 PM

You propably should install JAVA from http://java.sun.com/
because now you are using "java" from GNU that dont work with Phex :(

phexwes October 10th, 2005 03:20 PM

It works!!! Thanks so much for the help

-Wes

BradS February 6th, 2006 03:02 PM

Thanks pawelsz. I was having the same problem with FC4, but it's working now. :)


All times are GMT -7. The time now is 01:10 PM.

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

Copyright © 2020 Gnutella Forums.
All Rights Reserved.