Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 133484 - Java applets in Konqueror-3.5.2 do not honour manual proxy settings
Summary: Java applets in Konqueror-3.5.2 do not honour manual proxy settings
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-16 06:20 UTC by Alastair Mailer
Modified: 2006-05-17 12:18 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alastair Mailer 2006-05-16 06:20:32 UTC
I have a proxy set up in Konqueror with a manual exception list (I have to use my universities proxy server to access internal sites, but I don't use it otherwise) so it only uses the proxy when accessing two particular sites.

However, whenever I viewed a java applet I always got a ClassNotFoundException in the java console. After a bit of head-scratching I realised that in the boot blurb from the java vm it had a proxy set even though I wasn't viewing a site for which the proxy should be used. My proxy requires a password, so I guessed that the VM wasn't finding the class because it was trying to go through the proxy but being refused a connection for having no credentials.

So I changed the setting from manually specified proxy settings to direct connection and sure enough the applets all work fine. So I guess the problem is that the exception list is being ignored when Konqueror starts the java vm.

I am using the sun-java-1.4.2.10 java VM.

Reproducible: Always
Steps to reproduce:
1. Specify a manual proxy server in Konqueror settings with an inverted exception list (e.g. the "Use proxy only for entries in this list" box is checked). The proxy should require a passphrase.
2. Attempt to view a java applet from a webpage that should not invoke a connection through the proxy. You should see a ClassNotFoundException.
3. Attempt to view the page again but with "Direct connection to Internet" selected in Konqueror settings. The applet should load.

emerge --info:

ortage 2.1_rc1-r2 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.15-gentoo-r1-3 i686)
=================================================================
System uname: 2.6.15-gentoo-r1-3 i686 Intel(R) Pentium(R) 4 CPU 2.66GHz
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk ftp://mirrors.blueyonder.co.uk/mirrors/gentoo http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/"
LANG="en_GB"
LINGUAS="en_GB"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
USE="x86 X aac acpi alsa apache2 apm arts avi bash-completion berkdb bitmap-fonts bzip2 cairo cdr cli crypt cups directfb dlloader dri eds emboss encode ffmpeg foomaticdb fortran ftp fuse gdbm gif glitz gpm gstreamer hal imagemagick imap imlib ipv6 isdnlog java javascript jikes jpeg kde libg++ libwww lm_sensors mad mikmod mime mmx motif mp3 mpeg msn musicbrainz ncurses nls nptl nptlonly nvidia ogg opengl pam pcre pda pdflib perl php pic png pppd python qt quicktime readline reflection samba sdl session sockets socks5 spell spl sse sse2 ssl tcpd truetype truetype-fonts type1-fonts udev visualisation win32codecs xml xml2 xmms xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_en_GB userland_GNU video_cards_nvidia video_cards_nv video_cards_vga"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS

java-config -L:

[sun-jdk-1.4.2.10] "Sun JDK 1.4.2.10" (/etc/env.d/java/20sun-jdk-1.4.2.10) *

[blackdown-jre-1.4.2.03] "Blackdown JRE 1.4.2.03" (/etc/env.d/java/20blackdown-jre-1.4.2.03)
[blackdown-jdk-1.4.2.03] "Blackdown JDK 1.4.2.03" (/etc/env.d/java/20blackdown-jdk-1.4.2.03)
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2006-05-16 13:23:44 UTC
I'd recommend filing this at bugs.kde.org as they're the ones who'll be able to fix this issue.
Comment 2 Alastair Mailer 2006-05-17 12:18:32 UTC
This is a duplicate of a bug already reported at KDE.org, apologies. The answer is to:

** Check the "Use KIO" option in konqueror setting -> Java and Javascript **

Here is the link to the kde bugzilla:

http://bugs.kde.org/show_bug.cgi?id=59961