Alternative to com.sun class
by Orion Poplawski
I've got a package that is trying to use:
com.sun.org.apache.xerces.internal.impl.dv.util.Base64
Is there an alternative that is in the Fedora java implementation?
--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA/CoRA Division FAX: 303-415-9702
3380 Mitchell Lane orion(a)cora.nwra.com
Boulder, CO 80301 http://www.cora.nwra.com
15 years, 4 months
Re: [fedora-java] Fedora 9: NoClassDefFoundError (LogFactory)
by Greg Johnson
Thanks Andrew. Someone on FedoraForum.org is starting to help shed a little light on the problem. He noticed a problem in the manifest of tomcat5's bootstrap.jar file.
In the manifest he noticed this line:
Class-Path: jmx.jar commons-daemon.jar commons-logging-api-1.1.1.jar tomcat-juli.jar
As a workaround, he executed this:
ln -s commons-logging-api.jar commons-logging-api-1.1.1.jar
This workaround is less involved than combining the contents of two jar files.
I went looking for the same problem in tomcat6. However the manifest in bootstrap.jar doesn't even have a Class-Path element.
In your previous message you suggested filing a bug with the tomcat package and/or contacting the JPackage project. Does this new information narrow down where I should go next?
I could also use a little help pointing me to where I should file a bug report. Is this where I'd file it for Tomcat?
https://issues.apache.org/bugzilla/index.cgi
And is this where I'd shoot the JPackage email?
https://www.zarb.org/mailman/listinfo/jpackage-discuss
Thanks.
15 years, 4 months
Resend3: Cannot proceed with JavaHelp
by Jaroslav Tulach
Dne Monday 19 May 2008 20:02:20 Jaroslav Tulach napsal(a):
> Dne Monday 12 May 2008 20:48:07 Jaroslav Tulach napsal(a):
> > Hello guys,
> > I need help with fedora-cvs, it yields:
> >
> > Error: Permission denied (publickey,keyboard-interactive).
> > cvs [checkout aborted]: end of file from server (consult above messages
> > if any)
> >
> > I guess that will be because missing .ssh directory, but when following
> > the page
> > http://fedoraproject.org/wiki/PackageMaintainers/Join
> > there was no instruction to create .ssh/id_dsa! Or is it there and I am
> > just too blind to find it?
>
> Please advice.
> -jst
15 years, 4 months
Fedora 9: NoClassDefFoundError (LogFactory) starting Tomcat from Fedora Eclipse
by Greg Johnson
I apologize. I already cross posted this message on FedoraForum.org but didn't generate any responses. And then I found THIS list. If this list isn't the appropriate one for this question then please slap me down. I'll take my licks. ;-)
I feel silly asking this question. I'm not totally a Tomcat/Eclipse/Java noob...but I feel like one asking this question. And Google's even my BFF...but I can't figure this one out...yet.
I have a brand new clean installation of Fedora 9.
I let the installer automagically install Fedora Eclipse, Tomcat and Java for me.
I'm fully patched (yum update).
Then I installed the Sysdeo Tomcat plugin. From the plugin I pointed to Tomcat base: /usr/share/tomcat5
When I launch Tomcat from Fedora Eclipse, I get the following error:
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
at org.apache.catalina.startup.Bootstrap.<clinit>(Bootstrap.java:54)
Caused by: java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory
at java.net.URLClassLoader$1.run(URLClassLoader.java: 217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 23)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 68)
at java.lang.ClassLoader.loadClassInternal(ClassLoade r.java:336)
... 1 more
Here is the output from the instructions listed on this page:
http://fedoraproject.org/wiki/DebuggingEclipseProblems
# for f in `rpm -aq | egrep "eclipse|swt"`; do rpm -qV $f; done
# which java
/usr/bin/java
# readlink -f `which java`
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/bin/java
# which javac
/usr/bin/javac
# readlink -f `which javac`
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/bin/javac
# java -version
java version "1.6.0"
OpenJDK Runtime Environment (build 1.6.0-b09)
OpenJDK Client VM (build 1.6.0-b09, mixed mode)
Now here's where it got really interesting. Since it was complaining about LogFactory, I located it inside /usr/share/tomcat5/bin/commons-logging-api.jar
So, just for grins, I unjar'ed the contents of:
/usr/share/tomcat5/bin/bootstrap.jar
and
/usr/share/tomcat5/bin/commons-logging-api.jar
Then I jar'ed all of the contents of those two jar files back into:
/usr/share/tomcat5/bin/bootstrap.jar
And now I can launch Tomcat from Fedora Eclipse just fine.
This is obviously a classpath issue....but whose? Is this a Fedora configuration problem? I don't even know how to proceed from here to clean up this mess. I'd really like to not launch Tomcat using jar files that I've hacked together...just to get it to run.
Oh, by the way, I also installed tomcat6 and had the same problem...except I now located the missing LogFactory class in tomcat-juli.jar
15 years, 4 months
java group
by Colin Walters
Hi,
What would you guys think about having a subset of Java packages be
owned by a Java group? I'm mostly thinking of random libraries; jna,
maven-*, etc. The idea would be that anyone in this group would get
email about bugs, have permission to do patches/uploads, etc.
If there's interest in this, according to
http://www.redhat.com/archives/rhl-devel-list/2008-May/msg00627.html
Toshio can create it for us and help migrate ownership of existing
packages.
Call it say java-maint(a)fedoraproject.org?
15 years, 4 months
rawhide failure
by Lillian Angel
Hi,
I am having problems building the latest java-1.6.0-openjdk package
into rawhide. Does anyone know why I might be seeing this error?
http://koji.fedoraproject.org/koji/getfile?taskID=596036&name=root.log
Thanks,
Lillian
DEBUG backend.py:490: /usr/bin/yum --installroot
/var/lib/mock/dist-f10-build-184356-32533/root/ resolvedep
'libX11-devel' 'pkgconfig >= 0.9.0' 'libXinerama-devel'
'java-1.6.0-openjdk-devel' 'gtk2-devel' 'libXt-devel' 'lesstif-devel'
'ant' 'desktop-file-utils' 'xerces-j2' 'gecko-devel' 'fontconfig'
'cups-devel' 'libXtst-devel' 'libbonobo-devel' 'glib2-devel'
'alsa-lib-devel' 'at-spi-devel' 'gawk' 'xorg-x11-fonts-Type1' 'wget'
'xalan-j2' 'giflib-devel' 'xorg-x11-fonts-misc' 'xorg-x11-utils'
'freetype-devel >= 2.2.0' 'libjpeg-devel' 'mercurial'
'xorg-x11-proto-devel' 'libXi-devel' 'libpng-devel'
'xorg-x11-server-Xvfb' 'libXp-devel'
DEBUG util.py:272: Executing command: /usr/bin/yum --installroot
/var/lib/mock/dist-f10-build-184356-32533/root/ resolvedep
'libX11-devel' 'pkgconfig >= 0.9.0' 'libXinerama-devel'
'java-1.6.0-openjdk-devel' 'gtk2-devel' 'libXt-devel' 'lesstif-devel'
'ant' 'desktop-file-utils' 'xerces-j2' 'gecko-devel' 'fontconfig'
'cups-devel' 'libXtst-devel' 'libbonobo-devel' 'glib2-devel'
'alsa-lib-devel' 'at-spi-devel' 'gawk' 'xorg-x11-fonts-Type1' 'wget'
'xalan-j2' 'giflib-devel' 'xorg-x11-fonts-misc' 'xorg-x11-utils'
'freetype-devel >= 2.2.0' 'libjpeg-devel' 'mercurial'
'xorg-x11-proto-devel' 'libXi-devel' 'libpng-devel'
'xorg-x11-server-Xvfb' 'libXp-devel'
DEBUG util.py:250: 0:libX11-devel-1.1.4-1.fc9.i386
DEBUG util.py:250: 1:pkgconfig-0.23-2.fc9.i386
DEBUG util.py:250: 0:libXinerama-devel-1.0.3-1.fc9.i386
DEBUG util.py:250: 1:java-1.6.0-openjdk-devel-1.6.0.0-0.10.b09.fc9.i386
DEBUG util.py:250: 0:gtk2-devel-2.13.0-2.fc10.i386
DEBUG util.py:250: 0:libXt-devel-1.0.4-5.fc9.i386
DEBUG util.py:250: 0:lesstif-devel-0.95.0-23.fc9.i386
DEBUG util.py:250: 0:ant-1.7.0-1jpp.4.fc9.i386
DEBUG util.py:250: 0:desktop-file-utils-0.15-3.fc10.i386
DEBUG util.py:250: 0:xerces-j2-2.7.1-10jpp.1.fc9.i386
DEBUG util.py:250: 0:xulrunner-devel-1.9-0.60.cvs20080414.fc10.i386
DEBUG util.py:250: 0:fontconfig-2.5.0-2.fc9.i386
DEBUG util.py:250: 1:cups-devel-1.3.7-1.fc9.i386
DEBUG util.py:250: 0:libXtst-devel-1.0.3-3.fc9.i386
DEBUG util.py:250: 0:libbonobo-devel-2.22.0-2.fc10.i386
DEBUG util.py:250: 0:glib2-devel-2.16.3-5.fc10.i386
DEBUG util.py:250: 0:alsa-lib-devel-1.0.16-3.fc9.i386
DEBUG util.py:250: 0:at-spi-devel-1.22.1-1.fc9.i386
DEBUG util.py:250: 0:gawk-3.1.5-17.fc9.i386
DEBUG util.py:250: 0:xorg-x11-fonts-Type1-7.2-6.fc9.noarch
DEBUG util.py:250: 0:wget-1.11.1-1.fc9.i386
DEBUG util.py:250: 0:xalan-j2-2.7.0-7jpp.2.fc9.i386
DEBUG util.py:250: 0:giflib-devel-4.1.3-9.i386
DEBUG util.py:250: 0:xorg-x11-fonts-misc-7.2-6.fc9.noarch
DEBUG util.py:250: 0:xorg-x11-utils-7.3-3.fc9.i386
DEBUG util.py:250: 0:freetype-devel-2.3.5-4.fc9.i386
DEBUG util.py:250: 0:libjpeg-devel-6b-41.fc9.i386
DEBUG util.py:250: 0:mercurial-1.0-4.fc9.i386
DEBUG util.py:250: 0:xorg-x11-proto-devel-7.3-12.fc9.noarch
DEBUG util.py:250: 0:libXi-devel-1.1.3-4.fc9.i386
DEBUG util.py:250: 2:libpng-devel-1.2.24-1.fc9.i386
DEBUG util.py:250: 0:xorg-x11-server-Xvfb-1.4.99.901-26.20080415.fc9.i386
DEBUG util.py:250: 0:libXp-devel-1.0.0-11.fc9.i386
DEBUG backend.py:490: /usr/bin/yum --installroot
/var/lib/mock/dist-f10-build-184356-32533/root/ install
'libX11-devel' 'pkgconfig >= 0.9.0' 'libXinerama-devel'
'java-1.6.0-openjdk-devel' 'gtk2-devel' 'libXt-devel' 'lesstif-devel'
'ant' 'desktop-file-utils' 'xerces-j2' 'gecko-devel' 'fontconfig'
'cups-devel' 'libXtst-devel' 'libbonobo-devel' 'glib2-devel'
'alsa-lib-devel' 'at-spi-devel' 'gawk' 'xorg-x11-fonts-Type1' 'wget'
'xalan-j2' 'giflib-devel' 'xorg-x11-fonts-misc' 'xorg-x11-utils'
'freetype-devel >= 2.2.0' 'libjpeg-devel' 'mercurial'
'xorg-x11-proto-devel' 'libXi-devel' 'libpng-devel'
'xorg-x11-server-Xvfb' 'libXp-devel'
DEBUG util.py:272: Executing command: /usr/bin/yum --installroot
/var/lib/mock/dist-f10-build-184356-32533/root/ install
'libX11-devel' 'pkgconfig >= 0.9.0' 'libXinerama-devel'
'java-1.6.0-openjdk-devel' 'gtk2-devel' 'libXt-devel' 'lesstif-devel'
'ant' 'desktop-file-utils' 'xerces-j2' 'gecko-devel' 'fontconfig'
'cups-devel' 'libXtst-devel' 'libbonobo-devel' 'glib2-devel'
'alsa-lib-devel' 'at-spi-devel' 'gawk' 'xorg-x11-fonts-Type1' 'wget'
'xalan-j2' 'giflib-devel' 'xorg-x11-fonts-misc' 'xorg-x11-utils'
'freetype-devel >= 2.2.0' 'libjpeg-devel' 'mercurial'
'xorg-x11-proto-devel' 'libXi-devel' 'libpng-devel'
'xorg-x11-server-Xvfb' 'libXp-devel'
DEBUG util.py:250: Error: Missing Dependency: libhunspell.so.1 is
needed by package xulrunner
DEBUG backend.py:478: umount -n
/var/lib/mock/dist-f10-build-184356-32533/root/proc
DEBUG util.py:272: Executing command: umount -n
/var/lib/mock/dist-f10-build-184356-32533/root/proc
DEBUG backend.py:478: umount -n
/var/lib/mock/dist-f10-build-184356-32533/root/sys
DEBUG util.py:272: Executing command: umount -n
/var/lib/mock/dist-f10-build-184356-32533/root/sys
DEBUG backend.py:478: umount -n
/var/lib/mock/dist-f10-build-184356-32533/root/dev/pts
DEBUG util.py:272: Executing command: umount -n
/var/lib/mock/dist-f10-build-184356-32533/root/dev/pts
DEBUG util.py:98: kill orphans
15 years, 5 months
Koji build failure of eclipse-epic
by Mat Booth
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi all,
My build of eclipse-epic failed in Koji:
http://koji.fedoraproject.org/koji/taskinfo?taskID=594051
And the error is confusing me:
Error: Missing Dependency: libhunspell.so.1()(64bit) is needed by
package xulrunner
It's confusing me because eclipse-epic doesn't depend on xulrunner.
I'm a newbie with package management, so I'm not sure what to do to
resolve this.
Is anyone able to offer any hints?
Regards,
Mat
- --
Mat Booth
www.matbooth.co.uk
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: http://getfiregpg.org
iD8DBQFIHE+EKfdzh3zDrvARAjNIAKCNRVlBIXAnHMzOO0/XmSY/faZIZACgm6Ah
4CPA84JXhxreuRbEXfUaBKs=
=uoqM
-----END PGP SIGNATURE-----
15 years, 5 months