Virtualbox-modules cannot resolve dependecies
resolving dependencies...
error: cannot resolve "kernel26<2.6.26", a dependency of "virtualbox-modules"
error: failed to prepare transaction (could not satisfy dependencies)
:: virtualbox-modules: requires kernel26<2.6.26
this is because the vm* pkg theoretically has o support for the newer kernel yet
o either rebuild it and see if it works against the new one
find a patch for the new kernel and rebuild
or if you don't use it currently you could force the upgrade
pacman -Syud (d to ignore the dependency)
this way you can continue to test the new pkgs
you may wanna check the bug tracker a more permanent fix(patch) may have been submitted there
if there exists a bug report
Similar Messages
-
Warning: cannot resolve "linux =3.5", a dependency of "virtualbox-modu
sudo pacman -S virtualbox-modules
resolving dependencies...
warning: cannot resolve "linux>=3.5", a dependency of "virtualbox-modules"
:: The following package cannot be upgraded due to unresolvable dependencies:
virtualbox-modules
Do you want to skip the above package for this upgrade? [y/N] y
looking for inter-conflicts...
there is nothing to do
This is propably the problem while I have also problems with installation glibc....
How to solve it?Seems like you have community-testing (repo containing (newer) virtualbox-modules) enabled but not testing (containing (newer) linux), which strikes me as odd. Edit: or you need to refresh databases first...
Last edited by Raynman (2012-08-04 22:58:56) -
Cannot install virtualbox "Cannot resolve Kernel26 2.6.29"
Hello,
I'm trying to get virtualbox running but it doesn't want to install.
This is what I get:
[root@Baldr werner]# pacman -S virtualbox
warning: provider package was selected (virtualbox-ose provides virtualbox)
resolving dependencies...
error: cannot resolve "kernel26<2.6.29", a dependency of "virtualbox-modules"
error: failed to prepare transaction (could not satisfy dependencies)
:: virtualbox-modules: requires kernel26<2.6.29
Upgraded everything to the latest version with pacman -Syu so that couldn't be the problem.
uname says i'm running kernel 2.6.29-ARCH so I really don't know what to do..
Someone who can help me ?
Last edited by WernerL (2009-04-14 18:49:29)kfgz wrote:Or install virtualbox_bin from http://repo.archlinux.fr
I tried to install the version in this repository but pacman can't install it? :S
[root@Baldr Downloads]# pacman -U virtualbox_bin-2.1.4-2-i686.pkg.tar.bz2
loading package data...
error: error while reading package virtualbox_bin-2.1.4-2-i686.pkg.tar.bz2: Truncated input file (need to skip 1522590 bytes)
error: 'virtualbox_bin-2.1.4-2-i686.pkg.tar.bz2': libarchive error
Ark opens the package fine though... -
Cannot update: virtualbox modules need a lower kernel
Today I did pacman -Syu and got:
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...
error: failed to prepare transaction (could not satisfy dependencies)
:: virtualbox-modules: requires kernel26<2.6.28
So do I need to wait until virtualbox is updated or I have to force update and recompile virtualbox modules?here's a patch for the virtualbox-modules PKGBUILD from ABS:
--- /var/abs/community/modules/virtualbox-modules/PKGBUILD 2008-11-12 06:47:12.000000000 +0100
+++ PKGBUILD 2009-01-21 13:46:08.000000000 +0100
@@ -6,14 +6,14 @@
# Contributor: Ingmar Steen
pkgname=virtualbox-modules
-_kernver=2.6.27-ARCH
-pkgver=2.0.4
+_kernver=`uname -r`
+pkgver=2.1.0
pkgrel=1
pkgdesc="Kernel modules for VirtualBox (vboxdrv)"
arch=('i686')
url="http://www.virtualbox.org"
license=('GPL')
-depends=('kernel26>=2.6.27' 'kernel26<2.6.28')
+depends=('kernel26>=2.6.27')
makedepends=('bin86' 'dev86' 'iasl' 'libstdc++5' 'qt3' 'sdl_ttf' 'libxt'
'libgl' 'alsa-lib' 'pulseaudio' 'gcc34' 'libxcursor' 'libidl2' 'libxslt'
'xalan-c' 'pth' 'libxml2' 'libidl2' 'libpng')
@@ -41,4 +41,4 @@
install -D -m644 vboxdrv.ko "$pkgdir/lib/modules/${_kernver}/misc/vboxdrv.ko"
sed -i -e "s/KERNEL_VERSION='.*'/KERNEL_VERSION='${_kernver}'/" "$startdir/virtualbox-modules.install"
-md5sums=('89db3f4a227f97c1e080035fbadd10c8')
+md5sums=('4d8f857c9ead892607387656a9e895bb')
and this is for virtualbox-ose:
--- /var/abs/community/emulators/virtualbox-ose/PKGBUILD 2008-11-12 06:30:45.000000000 +0100
+++ PKGBUILD 2009-01-21 14:43:57.000000000 +0100
@@ -4,7 +4,7 @@
# Contributor: Michal Krenek <[email protected]>
# Contributor: niQo
pkgname=virtualbox-ose
-pkgver=2.0.4
+pkgver=2.1.0
pkgrel=1
pkgdesc="Powerful x86 virtualization for enterprise as well as home use (Open Source Edition)"
url="http://www.virtualbox.org"
@@ -70,5 +70,5 @@
install -D -m644 "$srcdir/60-virtualbox.rules" \
"$pkgdir/etc/udev/rules.d/60-virtualbox.rules"
-md5sums=('89db3f4a227f97c1e080035fbadd10c8'
- '519d32d8c2408e0ed9d643f412117644')
+md5sums=('4d8f857c9ead892607387656a9e895bb'
+ '519d32d8c2408e0ed9d643f412117644')
by the way, there's still a warning at compile time "hardening is disabled, you shouldn't build vbox for distributions without hardening". anybody know the right way to fix this without breaking vbox?
Last edited by schuay (2009-01-21 14:13:14) -
Cannot resolve "python", a dependency of "python-distutils-extra"
Attempting to perform a full system upgrade on 32 bit archbang 2012.05, and when I `pacman -Syu`: this occurs
Anyone know how to deal with this issue?
$ sudo pacmatic -Syu
Recent ML chatter:
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
:: Starting full system upgrade...
:: Replace libusb with core/libusbx? [Y/n] y
:: Replace procps with core/procps-ng? [Y/n] y
:: Replace udev with core/systemd-tools? [Y/n] y
resolving dependencies...
warning: cannot resolve "python", a dependency of "python-distutils-extra"
:: The following package cannot be upgraded due to unresolvable dependencies:
python-distutils-extra
Do you want to skip the above package for this upgrade? [y/N] y
warning: dependency cycle detected:
warning: util-linux will be installed before its systemd-tools dependency
looking for inter-conflicts...
Targets (71): acl-2.2.51-2 arandr-0.1.6-1 attr-2.4.46-2 automake-1.12.1-1
bash-4.2.029-1 binutils-2.22-7 bzip2-1.0.6-4 coreutils-8.17-1
cryptsetup-1.4.2-2 curl-7.26.0-1 db-5.3.21-1 deadbeef-0.5.4-2
device-mapper-2.02.95-6 dnsutils-9.9.1-1 e2fsprogs-1.42.3-1
filesystem-2012.2-5 gcc-4.7.0-6 gcc-libs-4.7.0-6
glib2-2.32.3-1 gmp-5.0.5-1 gpm-1.20.6-8 hwids-20120512-1
initscripts-2012.05.1-3 isl-0.09-2 kmod-8-2 krb5-1.10.1-3
libcap-2.22-3 libevent-2.0.19-1 libldap-2.4.31-2 libnl-3.2.9-1
libpipeline-1.2.1-1 libssh2-1.4.2-1 libusb-1.0.9-1 [removal]
libusb-compat-0.1.4-1 libusbx-1.0.11-2 linux-3.3.7-1
linux-firmware-20120227-2 lvm2-2.02.95-6 lxappearance-0.5.2-1
lxinput-0.3.2-2 lxterminal-0.1.11-2 man-pages-3.41-1
mdadm-3.2.5-2 menu-cache-0.3.3-1 mkinitcpio-0.9.1-1
mkinitcpio-busybox-1.20.1-1 mpfr-3.1.0.p10-1 oblogout-0.2-11
openbox-3.5.0-7 openssl-1.0.1.c-1 pam-1.1.5-3 pciutils-3.1.9-2
perl-5.16.0-2 pinentry-0.8.1-4 procps-3.2.8-5 [removal]
procps-ng-3.3.3-1 python2-distutils-extra-2.32-1
run-parts-4.3.1-1 shotwell-0.12.3-1 sudo-1.8.5.p2-1
sysfsutils-2.1.0-8 syslog-ng-3.3.5-1 systemd-tools-184-2
udev-182-1 [removal] usbutils-005-2 util-linux-2.21.2-1
virtualbox-archlinux-additions-4.1.16-1
virtualbox-archlinux-modules-4.1.16-1 volumeicon-0.4.6-4
xfsprogs-3.1.8-2 zlib-1.2.7-1
Total Installed Size: 390.46 MiB
Net Upgrade Size: 3.42 MiB
Proceed with installation? [Y/n] y
(68/68) checking package integrity [----------------------] 100%
(68/68) loading package files [----------------------] 100%
(68/68) checking for file conflicts [----------------------] 100%
error: failed to commit transaction (conflicting files)
python2-distutils-extra: /usr/lib/python2.7/site-packages/DistUtilsExtra/__init__.py exists in filesystem
python2-distutils-extra: /usr/lib/python2.7/site-packages/DistUtilsExtra/__init__.pyc exists in filesystem
python2-distutils-extra: /usr/lib/python2.7/site-packages/DistUtilsExtra/auto.py exists in filesystem
python2-distutils-extra: /usr/lib/python2.7/site-packages/DistUtilsExtra/auto.pyc exists in filesystem
python2-distutils-extra: /usr/lib/python2.7/site-packages/DistUtilsExtra/command/__init__.py exists in filesystem
python2-distutils-extra: /usr/lib/python2.7/site-packages/DistUtilsExtra/command/__init__.pyc exists in filesystem
python2-distutils-extra: /usr/lib/python2.7/site-packages/DistUtilsExtra/command/build_extra.py exists in filesystem
python2-distutils-extra: /usr/lib/python2.7/site-packages/DistUtilsExtra/command/build_extra.pyc exists in filesystem
python2-distutils-extra: /usr/lib/python2.7/site-packages/DistUtilsExtra/command/build_help.py exists in filesystem
python2-distutils-extra: /usr/lib/python2.7/site-packages/DistUtilsExtra/command/build_help.pyc exists in filesystem
python2-distutils-extra: /usr/lib/python2.7/site-packages/DistUtilsExtra/command/build_i18n.py exists in filesystem
python2-distutils-extra: /usr/lib/python2.7/site-packages/DistUtilsExtra/command/build_i18n.pyc exists in filesystem
python2-distutils-extra: /usr/lib/python2.7/site-packages/DistUtilsExtra/command/build_icons.py exists in filesystem
python2-distutils-extra: /usr/lib/python2.7/site-packages/DistUtilsExtra/command/build_icons.pyc exists in filesystem
python2-distutils-extra: /usr/lib/python2.7/site-packages/DistUtilsExtra/command/clean_i18n.py exists in filesystem
python2-distutils-extra: /usr/lib/python2.7/site-packages/DistUtilsExtra/command/clean_i18n.pyc exists in filesystem
python2-distutils-extra: /usr/lib/python2.7/site-packages/DistUtilsExtra/command/pylint.py exists in filesystem
python2-distutils-extra: /usr/lib/python2.7/site-packages/DistUtilsExtra/command/pylint.pyc exists in filesystem
Errors occurred, no packages were upgraded.
No pacnew files to update.I do not thing archbang is officially archlinux distributions (you are on an archlinux forum). This error does not appear on the current archlinux distribution. My guess is that here is a confusion between python / python2 / python3. Just run pacman -Si to know (or the equivalent of pacman for archbang).
I would suggest you to use the official archlinux instead of this fork, archlinux has much more support and users and I do not quite understand what archbang has to offer: Their homepage said that it is archlinux combined with openbox, but you can just do
pacman -S openbox
on arch; it does not seems to justify a fork (but please correct me if I am wrong).
Last edited by olive (2012-06-17 22:00:23) -
Could not complete your request because the tile-format module cannot parse the file
Hi Friends,
I have using PS CS6, when i try to open JP2 file it says error message as "could not complete your request because the tile-format module cannot parse the file". But the same JP2 file is opening in PS CS5 version. Anyone guide me to resolve this.
Regards
PasumalaiHi Kelly,
I'm using below configured systems.
And Photoshop is up to date, refer the below information.
Adobe Photoshop Version: 13.0.1 (13.0.1.3 20131024.r.34 2013/10/24:21:00:00) x64
Operating System: Windows NT
Version: 6.2
System architecture: Intel CPU Family:6, Model:10, Stepping:9 with MMX, SSE Integer, SSE FP, SSE2, SSE3, SSE4.1, SSE4.2, HyperThreading
Physical processor count: 2
Logical processor count: 4
Processor speed: 2594 MHz
Built-in memory: 3976 MB
Free memory: 2392 MB
Memory available to Photoshop: 3356 MB
Memory used by Photoshop: 60 %
Image tile size: 128K
Image cache levels: 4
OpenGL Drawing: Enabled.
OpenGL Drawing Mode: Advanced
OpenGL Allow Normal Mode: True.
OpenGL Allow Advanced Mode: True.
OpenGL Allow Old GPUs: Not Detected.
Video Card Vendor: Intel
Video Card Renderer: Intel(R) HD Graphics 4000
Display: 1
Display Bounds:= top: 0, left: 0, bottom: 768, right: 1366
Video Card Number: 1
Video Card: Intel(R) HD Graphics 4000
OpenCL Version:
Driver Version: 9.17.10.2843
Driver Date: 20120821000000.000000-000
Video Card Driver: igdumd64.dll,igd10umd64.dll,igd10umd64.dll,igdumd32,igd10umd32,igd10umd32
Video Mode: 1366 x 768 x 4294967296 colors
Video Card Caption: Intel(R) HD Graphics 4000
Video Card Memory: 1796 MB
Video Rect Texture Size: 8192
Serial number: 95478172340525566612
Application folder: C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\
Temporary file path: C:\Users\1187\AppData\Local\Temp\
Photoshop scratch has async I/O enabled
Scratch volume(s):
C:\, 102.5G, 65.5G free
Required Plug-ins folder: C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\Required\
Primary Plug-ins folder: C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\Plug-ins\
Additional Plug-ins folder: C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\Required\Plug-Ins\
Installed components:
A3DLIBS.dll A3DLIB Dynamic Link Library 9.2.0.112
ACE.dll ACE 2012/06/05-15:16:32 66.507768 66.507768
adbeape.dll Adobe APE 2012/01/25-10:04:55 66.1025012 66.1025012
AdobeLinguistic.dll Adobe Linguisitc Library 6.0.0
AdobeOwl.dll Adobe Owl 2012/06/26-12:17:19 4.0.95 66.510504
AdobePDFL.dll PDFL 2011/12/12-16:12:37 66.419471 66.419471
AdobePIP.dll Adobe Product Improvement Program 6.0.0.1654
AdobeXMP.dll Adobe XMP Core 2012/02/06-14:56:27 66.145661 66.145661
AdobeXMPFiles.dll Adobe XMP Files 2012/02/06-14:56:27 66.145661 66.145661
AdobeXMPScript.dll Adobe XMP Script 2012/02/06-14:56:27 66.145661 66.145661
adobe_caps.dll Adobe CAPS 6,0,29,0
AGM.dll AGM 2012/06/05-15:16:32 66.507768 66.507768
ahclient.dll
AdobeHelp Dynamic Link Library 1,7,0,56
aif_core.dll AIF 3.0 62.490293
aif_ocl.dll AIF 3.0 62.490293
aif_ogl.dll AIF 3.0 62.490293
amtlib.dll AMTLib (64 Bit) 6.0.0.75 (BuildVersion: 6.0; BuildDate: Mon Jan 16 2012 18:00:00) 1.000000
ARE.dll ARE 2012/06/05-15:16:32 66.507768 66.507768
AXE8SharedExpat.dll AXE8SharedExpat 2011/12/16-15:10:49 66.26830 66.26830
AXEDOMCore.dll AXEDOMCore 2011/12/16-15:10:49 66.26830 66.26830
Bib.dll BIB 2012/06/05-15:16:32 66.507768 66.507768
BIBUtils.dll BIBUtils 2012/06/05-15:16:32 66.507768 66.507768
boost_date_time.dll DVA Product 6.0.0
boost_signals.dll DVA Product 6.0.0
boost_system.dll DVA Product 6.0.0
boost_threads.dll DVA Product 6.0.0
cg.dll NVIDIA Cg Runtime 3.0.00007
cgGL.dll NVIDIA Cg Runtime 3.0.00007
CIT.dll Adobe CIT 2.0.5.19287 2.0.5.19287
CoolType.dll CoolType 2012/06/05-15:16:32 66.507768 66.507768
data_flow.dll AIF 3.0 62.490293
dvaaudiodevice.dll DVA Product 6.0.0
dvacore.dll DVA Product 6.0.0
dvamarshal.dll DVA Product 6.0.0
dvamediatypes.dll DVA Product 6.0.0
dvaplayer.dll DVA Product 6.0.0
dvatransport.dll DVA Product 6.0.0
dvaunittesting.dll DVA Product 6.0.0
dynamiclink.dll DVA Product 6.0.0
ExtendScript.dll ExtendScript 2011/12/14-15:08:46 66.490082 66.490082
FileInfo.dll Adobe XMP FileInfo 2012/01/17-15:11:19 66.145433 66.145433
filter_graph.dll AIF 3.0 62.490293
hydra_filters.dll AIF 3.0 62.490293
icucnv40.dll International Components for Unicode 2011/11/15-16:30:22
Build gtlib_3.0.16615
icudt40.dll International Components for Unicode 2011/11/15-16:30:22
Build gtlib_3.0.16615
image_compiler.dll AIF 3.0 62.490293
image_flow.dll AIF 3.0 62.490293
image_runtime.dll AIF 3.0 62.490293
JP2KLib.dll JP2KLib 2011/12/12-16:12:37 66.236923 66.236923
libifcoremd.dll Intel(r) Visual Fortran Compiler 10.0 (Update A)
libmmd.dll Intel(r) C Compiler, Intel(r) C++ Compiler, Intel(r) Fortran Compiler 10.0
LogSession.dll LogSession 2.1.2.1640
mediacoreif.dll DVA Product 6.0.0
MPS.dll MPS 2012/02/03-10:33:13 66.495174 66.495174
msvcm80.dll Microsoft® Visual Studio® 2005 8.00.50727.8428
msvcm90.dll Microsoft® Visual Studio® 2008 9.00.30729.1
msvcp100.dll Microsoft® Visual Studio® 2010 10.00.40219.1
msvcp80.dll Microsoft® Visual Studio® 2005 8.00.50727.8428
msvcp90.dll Microsoft® Visual Studio® 2008 9.00.30729.1
msvcr100.dll Microsoft® Visual Studio® 2010 10.00.40219.1
msvcr80.dll Microsoft® Visual Studio® 2005 8.00.50727.8428
msvcr90.dll Microsoft® Visual Studio® 2008 9.00.30729.1
pdfsettings.dll Adobe PDFSettings 1.04
Photoshop.dll Adobe Photoshop CS6 CS6
Plugin.dll Adobe Photoshop CS6 CS6
PlugPlug.dll Adobe(R) CSXS PlugPlug Standard Dll (64 bit) 3.0.0.383
PSArt.dll Adobe Photoshop CS6 CS6
PSViews.dll Adobe Photoshop CS6 CS6
SCCore.dll ScCore 2011/12/14-15:08:46 66.490082 66.490082
ScriptUIFlex.dll ScriptUIFlex 2011/12/14-15:08:46 66.490082 66.490082
tbb.dll Intel(R) Threading Building Blocks for Windows 3, 0, 2010, 0406
tbbmalloc.dll Intel(R) Threading Building Blocks for Windows 3, 0, 2010, 0406
TfFontMgr.dll FontMgr 9.3.0.113
TfKernel.dll Kernel 9.3.0.113
TFKGEOM.dll Kernel Geom 9.3.0.113
TFUGEOM.dll Adobe, UGeom© 9.3.0.113
updaternotifications.dll Adobe Updater Notifications Library 6.0.0.24 (BuildVersion: 1.0; BuildDate: BUILDDATETIME) 6.0.0.24
WRServices.dll WRServices Friday January 27 2012 13:22:12 Build 0.17112 0.17112
wu3d.dll U3D Writer 9.3.0.113
Required plug-ins:
Accented Edges 13.0
Adaptive Wide Angle 13.0
ADM 3.11x01
Angled Strokes 13.0
Average 13.0.1 (13.0.1.3 x001)
Bas Relief 13.0
BMP 13.0
Camera Raw 8.6
Camera Raw Filter 8.6
Chalk & Charcoal 13.0
Charcoal 13.0
Chrome 13.0
Cineon 13.0.1 (13.0.1.3 x001)
Clouds 13.0.1 (13.0.1.3 x001)
Collada 13.0.1 (13.0.1.3 x001)
Color Halftone 13.0
Colored Pencil 13.0
CompuServe GIF 13.0
Conté Crayon 13.0
Craquelure 13.0
Crop and Straighten Photos 13.0.1 (13.0.1.3 x001)
Crop and Straighten Photos Filter 13.0
Crosshatch 13.0
Crystallize 13.0
Cutout 13.0
Dark Strokes 13.0
De-Interlace 13.0
Difference Clouds 13.0.1 (13.0.1.3 x001)
Diffuse Glow 13.0
Displace 13.0
Dry Brush 13.0
Eazel Acquire 13.0.1 (13.0.1.3 x001)
Embed Watermark 4.0
Extrude 13.0
FastCore Routines 13.0.1 (13.0.1.3 x001)
Fibers 13.0
Film Grain 13.0
Filter Gallery 13.0
Fresco 13.0
Glass 13.0
Glowing Edges 13.0
Grain 13.0
Graphic Pen 13.0
Halftone Pattern 13.0
HDRMergeUI 13.0
IFF Format 13.0
Ink Outlines 13.0
JPEG 2000 13.0
Lens Blur 13.0
Lens Correction 13.0
Lens Flare 13.0
Liquify 13.0
Matlab Operation 13.0.1 (13.0.1.3 x001)
Measurement Core 13.0.1 (13.0.1.3 x001)
Mezzotint 13.0
MMXCore Routines 13.0.1 (13.0.1.3 x001)
Mosaic Tiles 13.0
Multiprocessor Support 13.0.1 (13.0.1.3 x001)
Neon Glow 13.0
Note Paper 13.0
Ocean Ripple 13.0
Oil Paint 13.0
OpenEXR 13.0
Paint Daubs 13.0
Palette Knife 13.0
Patchwork 13.0
Paths to Illustrator 13.0
PCX 13.0.1 (13.0.1.3 x001)
Photocopy 13.0
Photoshop 3D Engine 13.0.1 (13.0.1.3 x001)
Picture Package Filter 13.0.1 (13.0.1.3 x001)
Pinch 13.0
Pixar 13.0.1 (13.0.1.3 x001)
Plaster 13.0
Plastic Wrap 13.0
PNG 13.0
Pointillize 13.0
Polar Coordinates 13.0
Portable Bit Map 13.0.1 (13.0.1.3 x001)
Poster Edges 13.0
Radial Blur 13.0
Radiance 13.0.1 (13.0.1.3 x001)
Read Watermark 4.0
Reticulation 13.0
Ripple 13.0
Rough Pastels 13.0
Save for Web 13.0
ScriptingSupport 13.0.1
Shear 13.0
Smart Blur 13.0
Smudge Stick 13.0
Solarize 13.0.1 (13.0.1.3 x001)
Spatter 13.0
Spherize 13.0
Sponge 13.0
Sprayed Strokes 13.0
Stained Glass 13.0
Stamp 13.0
Sumi-e 13.0
Targa 13.0
Texturizer 13.0
Tiles 13.0
Torn Edges 13.0
Twirl 13.0
Underpainting 13.0
Vanishing Point 13.0
Variations 13.0.1 (13.0.1.3 x001)
Water Paper 13.0
Watercolor 13.0
Wave 13.0
WIA Support 13.0.1 (13.0.1.3 x001)
Wind 13.0
Wireless Bitmap 13.0.1 (13.0.1.3 x001)
ZigZag 13.0
Optional and third party plug-ins:
NTSC Colors 13.0.1 (13.0.1.3 x001)
Plug-ins that failed to load: NONE
Flash:
Mini Bridge
Kuler
Installed TWAIN devices: NONE
Kindly let me know what i do next?
Thanks & Regards,
Pasumalai J. -
Solaris Deployment Failure for cannot resolve symbol on PersistentContainer
Hello, I'm having trouble diagnosing the following deployment failure.
What are some common causes of this? My server was created using an
Express Integration domain with some custom JMS destinations added
afterwards via the console. I am deploying an application built with
Workshop (straight from workshop). I copied over an application from
Windows to Solaris, deleted the .workshop directory and .beabuild.txt
and rebuilt the application to deploy.
I get this error a few times.
####<Aug 21, 2003 10:48:19 AM EDT> <Info> <EJB> <rhino> <cgServer>
<ExecuteThread: '1' for queue: 'weblogic.kernel.System'> <<WLS Kernel>>
<> <BEA-012033> <Compiling generated EJB classes produced the following
Java compiler output:
/export/data/ident/bea/user_projects/domains/ident1Server.conf/./cgServer/.wlnotdelete/EJBCompilerCache/-7dxi2hv35mro/com/bea/wlwgen/PersistentContainer_3fq3ar_Impl.java:143:
cannot resolve symbol
symbol : class BMPContainerBean$DuplicateKeyRemoteException
location: package bean
perchance you meant 'BMPContainerBean.DuplicateKeyRemoteException'
throws
com.bea.wlw.runtime.core.bean.BMPContainerBean$DuplicateKeyRemoteException
^
1 error
This then causes other errors repeating that the deployment failed (let
me know if you need more to diagnose this):
Exception:weblogic.management.ApplicationException: prepare failed for
.workshop/myApp/EJB/myProc_1trtqtoxcz4uv
Module: .workshop/myApp/EJB/myProc_1trtqtoxcz4uv Error:
Exception preparing module:
EJBModule(.workshop/myApp/EJB/myProc_1trtqtoxcz4uv,status=NEW)
Unable to deploy EJB: .workshop/myApp/EJB/myProc_1trtqtoxcz4uv from
.workshop/myApp/EJB/myProc_1trtqtoxcz4uv:
Compiler failed executable.execBut by default WLS8.1 comes with jdk141_02 ...correct ?
AND what i understand is that...the bug you posted is related to a bug in jdk1.4.2
....correct ??
correct me if i wrong.
-sangita
Steven Ostrowski <[email protected]> wrote:
It looks like this is a bug in the BEA-generated code that is then
compiled by WLS. The generated code was using the Class1$Class2 notation
to reference the class, but since $ is a valid character in the class
name, this does not behave as intended. This used to be a bug in
pre-1.4.2 but is now fixed in 1.4.2 (look at bug 4635044, and this is
also mentioned in the 1.4.2 release notes and the Java Developer forums).
The generated code should be:
com.bea.wlw.runtime.core.bean.BMPContainerBean.DuplicateKeyRemoteException
not
com.bea.wlw.runtime.core.bean.BMPContainerBean$DuplicateKeyRemoteException
Thanks again for the good response. I'll send this in to BEA support.
Steven Ostrowski wrote:
One other thing to add, this was fixed by changing the JAVA_HOME
variable inside of the startWeblogic.sh script. Setting it in workshop
did not change anything.
Steven Ostrowski wrote:
Wow, you hit it right on target! I was using 1.4.2 then tried it on
1.4.1_03 and it deployed fine.
Is this a bug in BEA or in the JDK? In either case, where should I
report this bug?
Thanks again
Rob Woollen wrote:
What version of the JDK are you using? I believe they changed the
inner class naming conventions in 1.4.2, and it's breaking lots of
people.
-- Rob
Steven Ostrowski wrote:
Hello, I'm having trouble diagnosing the following deployment
failure. What are some common causes of this? My server was created
using an Express Integration domain with some custom JMS
destinations added afterwards via the console. I am deploying an
application built with Workshop (straight from workshop). I copied
over an application from Windows to Solaris, deleted the .workshop
directory and .beabuild.txt and rebuilt the application to deploy.
I get this error a few times.
####<Aug 21, 2003 10:48:19 AM EDT> <Info> <EJB> <rhino> <cgServer>
<ExecuteThread: '1' for queue: 'weblogic.kernel.System'> <<WLS
Kernel>> <> <BEA-012033> <Compiling generated EJB classes produced
the following Java compiler output:
/export/data/ident/bea/user_projects/domains/ident1Server.conf/./cgServer/.wlnotdelete/EJBCompilerCache/-7dxi2hv35mro/com/bea/wlwgen/PersistentContainer_3fq3ar_Impl.java:143:
cannot resolve symbol
symbol : class BMPContainerBean$DuplicateKeyRemoteException
location: package bean
perchance you meant 'BMPContainerBean.DuplicateKeyRemoteException'
throws
com.bea.wlw.runtime.core.bean.BMPContainerBean$DuplicateKeyRemoteException
^
1 error
This then causes other errors repeating that the deployment failed
(let me know if you need more to diagnose this):
Exception:weblogic.management.ApplicationException: prepare failed
for .workshop/myApp/EJB/myProc_1trtqtoxcz4uv
Module: .workshop/myApp/EJB/myProc_1trtqtoxcz4uv Error:
Exception preparing module:
EJBModule(.workshop/myApp/EJB/myProc_1trtqtoxcz4uv,status=NEW)
Unable to deploy EJB: .workshop/myApp/EJB/myProc_1trtqtoxcz4uv from
.workshop/myApp/EJB/myProc_1trtqtoxcz4uv:
Compiler failed executable.exec -
Virtualbox modules compilation from virtualbox-source no longer works
Since virtualbox-source dropped /usr/bin/vboxbuild and started depending on dkms, I can no longer compile VirtualBox modules for my kernel.
I use:
thar@myhost ~> uname -a
Linux myhost 3.4.6-1-ck #1 SMP PREEMPT Sun Jul 22 09:37:50 EDT 2012 x86_64 GNU/Linux
virtualbox, virtualbox-source and dkms in newest versions. Module compilation and instalation with dkms is seemingly fine:
thar@myhost ~> sudo dkms install vboxhost/4.1.18
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area....
make KERNELRELEASE=3.4.6-1-ck -C /usr/lib/modules/3.4.6-1-ck/build M=/var/lib/dkms/vboxhost/4.1.18/build..............
cleaning build area....
DKMS: build completed.
vboxdrv.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /usr/lib/modules/3.4.6-1-ck/kernel/misc/
vboxnetflt.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /usr/lib/modules/3.4.6-1-ck/kernel/misc/
vboxnetadp.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /usr/lib/modules/3.4.6-1-ck/kernel/misc/
vboxpci.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /usr/lib/modules/3.4.6-1-ck/kernel/misc/
depmod......
DKMS: install completed.
But then:
thar@myhost ~> sudo modprobe vboxdrv
ERROR: could not insert 'vboxdrv': Exec format error
I have seen similar topic on Chakra support forums. The advice was not to use dkms. Because in Arch virtualbox-source package has a dependency on it, it is not applicable (and anyways, virtualbox-source doesn't have vboxbuild anymore).None of the previous mentioned methods worked for me:
I'm still using the stock kernel 3.3.4 because of the high load problems since 3.3.5.
$ uname -a
Linux zeus 3.3.4-2-ARCH #1 SMP PREEMPT Wed May 2 18:28:42 CEST 2012 x86_64 GNU/Linux
linux-headers are installed:
$ yaourt -Qs linux-headers
core/linux-headers 3.3.4-2
Header files and scripts for building modules for linux kernel
vboxbuild doesn't work...
$ sudo /usr/lib/vboxbuild
sudo: /usr/lib/vboxbuild: command not found
dkms also...
$ sudo rc.d start dkms
:: Starting Dynamic Kernel Module System [BUSY]
Error! echo
Your kernel headers for kernel 3.3.4-2-ARCH cannot be found at
/usr/lib/modules/3.3.4-2-ARCH/build or /usr/lib/modules/3.3.4-2-ARCH/source. [DONE]
$ sudo dkms install vboxhost/4.1.18 -k 3.3.4-2-ARCH/x86_64
Error! echo
Your kernel headers for kernel 3.3.4-2-ARCH cannot be found at
/usr/lib/modules/3.3.4-2-ARCH/build or /usr/lib/modules/3.3.4-2-ARCH/source.
BUT:
/usr/lib/modules/3.3.4-2-ARCH/build exists and contains a symlink to the correct headers under /usr/src/linux-3.3.4-2-ARCH:
ls -l /lib/modules/3.3.4-2-ARCH/build
lrwxrwxrwx 1 root root 35 Mai 2 18:39 /lib/modules/3.3.4-2-ARCH/build -> ../../../usr/src/linux-3.3.4-2-ARCH
What can I still do to get virtualbox working?
Thanks! -
Just received this error, it seems the '< should have been '<='?
This results in a system which I cannot update, even ignoring open-vm-tools-modules makes pacman stop with an error.
Ah, I now know what is wrong, the community repo was updated seconds after the core repo, resulting in multiple errors, first the old `open-vm-tools-modules` not being compatible with the new `linux` package, so I ignored `open-vm-tools-modules`, and ran -Syu again (where the `community` repo was updated), resulting in the same problem, which was actually already fixed
Running Syu without any ignores gives me new `linux` and new `open-vm-tools-modules` package, which work fine together
Last edited by Spider.007 (2012-08-28 08:49:03)Seems like you have community-testing (repo containing (newer) virtualbox-modules) enabled but not testing (containing (newer) linux), which strikes me as odd. Edit: or you need to refresh databases first...
Last edited by Raynman (2012-08-04 22:58:56) -
Problem upgrading and installing virtualbox-modules
Have some problems upgrading and installing virtualbox-modules
[elgringo@compjotr Desktop]$ sudo pacman -S community/virtualbox-modules
resolving dependencies...
looking for inter-conflicts...
error: failed to prepare transaction (could not satisfy dependencies)
:: lirc: requires kernel26>=2.6.26-1
:: nvidia: requires kernel26>=2.6.26-1
Had to uninstall lirc nvidia and virtualbox-modules before I could upgrade the kernel and now I can't install the virtualbox-modules.
Anyone else who experienced the same problems?virtualbox-modules depends on the kernel in core. If you want to use the kernel in testing, you'll need to rebuild the virtualbox-modules against it.
Virtualbox-modules will be fixed when kernel 2.6.26 will be moved in core. So you can wait if you prefer. -
Kernel 25 but no virtualbox-modules
dear all,
since there is 2.6.25 the virtualbox-modules compile but cannot be loaded
any help appreciated:
sudo modprobe vboxdrv
FATAL: Error inserting vboxdrv (/lib/modules/2.6.25-ARCH/misc/vboxdrv.ko): Unknown symbol in module, or unknown parameter (see dmesg)
dmesg | tail
vboxdrv: Unknown symbol change_page_attrzyghom wrote:
dear all,
since there is 2.6.25 the virtualbox-modules compile but cannot be loaded
any help appreciated:
sudo modprobe vboxdrv
FATAL: Error inserting vboxdrv (/lib/modules/2.6.25-ARCH/misc/vboxdrv.ko): Unknown symbol in module, or unknown parameter (see dmesg)
dmesg | tail
vboxdrv: Unknown symbol change_page_attr
Already answered you in the announcement thread, but here it is again:
http://users.archlinux.de/~pierre/packa … x/vboxdrv/ -
Problem with DNS - ping/Safari cannot resolve, but host/dig work OK
Hi All,
Have a weird problem with DNS which is a bit similar to the following ones:
http://discussions.info.apple.com/thread.jspa?threadID=2190208
http://forums.macrumors.com/showthread.php?t=337942
I connect with remote internal network via OpenVPN and from time to time (yes, intermittent problem :)) internal DNS names cannot be resolved.
When it happens I can still resolve names using host or dig utilities, but applications (like Safari) and ping cannot resolve them.
resolv.conf has proper DNS server set:
*$ cat /etc/resolv.conf*
*# Mac OS X Notice*
*# This file is not used by the host name and address resolution*
*# or the DNS query routing mechanisms used by most processes on*
*# this Mac OS X system.*
*# This file is automatically generated.*
*domain openvpn*
*search openvpn*
*nameserver 10.0.0.1*
More than that - it can resolve those internal names when queried directly, for example using host:
*$ host YYY.XXX.ru 10.0.0.1*
*Using domain server:*
*Name: 10.0.0.1*
*Address: 10.0.0.1#53*
Aliases:
*YYY.XXX.ru has address 192.168.x.y*
but at the same time ping reports "*Unknown host*":
*$ ping YYY.XXX.ru*
*ping: cannot resolve YYY.XXX.ru: Unknown host*
I tried "*dscacheutil -flushcache*" and it did not help. Also tried to comment out domain and search directives in resolv.conf and it did not help as well (and actually it should not matter).
Any ideas why this can happen and what else can I check when it happens again?
Thanks!I have the same issue. It cropped up after I installed updates to MS Office 2008 and Firefox in which I also saw issues with the icons disappearing in the dock of the applications that were open when I started the Office update. I rebooted to try to get them back, but ended up deleting them and restoring from the Applications folder. I don't know if that's a red herring or not, but I generally try to figure out what has recently changed that may cause something to suddenly start failing.
I'd been working successfully all morning before it started acting up. Switching from wifi to cat5 had no effect.
@realaaa, were you able to resolve without a major undertaking, like reinstalling your OS?
pnmbp:~ pn$ dig goo.gl
; <<>> DiG 9.6.0-APPLE-P2 <<>> goo.gl
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 40996
;; flags: qr rd ra; QUERY: 1, ANSWER: 6, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;goo.gl. IN A
;; ANSWER SECTION:
goo.gl. 140 IN A 74.125.45.139
goo.gl. 140 IN A 74.125.45.102
goo.gl. 140 IN A 74.125.45.113
goo.gl. 140 IN A 74.125.45.138
goo.gl. 140 IN A 74.125.45.101
goo.gl. 140 IN A 74.125.45.100
;; Query time: 27 msec
;; SERVER: 192.168.2.1#53(192.168.2.1)
;; WHEN: Mon Dec 13 16:59:34 2010
;; MSG SIZE rcvd: 120
pnmbp:~ pn$ ping goo.gl
ping: cannot resolve goo.gl: Unknown host
pnmbp:~ pn$ curl <a class="jive-link-external-small" href="http://">http://goo.gl
curl: (6) Couldn't resolve host 'goo.gl'
pnmbp:~ pn$ host goo.gl
goo.gl has address 74.125.45.100
goo.gl has address 74.125.45.101
goo.gl has address 74.125.45.138
goo.gl has address 74.125.45.113
goo.gl has address 74.125.45.102
goo.gl has address 74.125.45.139
pnmbp:~ pn$ -
Visual Studio 2012 cannot resolve symbol or Errors control is not a member of class
Visual Studio 2012 Web Site Project (Note not a Web application, so there are not Designer.vb files) > Site works perfectly fine and using IIS and attaching to IIS to debug code.
However, if I try to build the site inside of Visual Studio I am getting lots of Errors ‘pnlName’ is not a member of ‘Page_Name’ In the code behind I am getting errors ‘Cannot resolve symbol ‘pnlName’
.ascx Page
<li style="margin-right:0;" id="pnlName" runat="server"><a href="/cart" title="Checkout" class="global-checkout">Checkout</a></li>
.ascx.vb page
Me.pnlName.Attributes.Remove("style")
I have cleaned, rebuild and nothing gets rid of these errors, but again the site works as designed, but I would like to launch and debug inside of Visual Studio.
Moojjoo MCP, MCTS
MCP Virtual Business Card
http://moojjoo.blogspot.comCor,
What I am stating is this is a solution using the Web Site Project instead of a
Web Application Project.
Web Site projects do not require Designer.vb files, Web Application Projects add Designer.vb files in the solution.
Background: I have been hired to support a very successful e-commerce site that was built by a 3rd party vendor (I had no input on the contract or specification, because I would have went with
MVC). The site works 100% correctly, however from my 2003 - 2015 experience with Visual Studio and Web Development being in Web Forms and MVC I have always built ASP.NET Solutions using the Web Application Project Templates, which compiles the code down
to .dlls.
A Web Site project does not compile the code, but simply uses the .vb files and they have to be migrated to the server with the .aspx files. http://msdn.microsoft.com/en-us/library/dd547590%28v=vs.110%29.aspx
Currently the only way I can debug this Solution is to attach to the w3wp.exe process running locally on my work station.
The Solution is comprised of two Web Sites, which I cannot get it to compile because of the following errors -
'webServerControlName' is not a member of '(Protected Code Behind Class Name)' I am reaching out to the MSDN community to see if anyone has experienced this issue with
Web Site Projects.
I hope that clears up the Project Type question.
Moojjoo MCP, MCTS
MCP Virtual Business Card
http://moojjoo.blogspot.com -
Invoking a web service - cannot resolve method parameter
I am getting a failure trying to invoking a method called sl_Access on a web service.
(Same code worked in Workshop 7.1, but fails in Workshop 8.0. The WDSL has not
changed.) WLW is not able to revolve a method parameter called piCustNo. The service
call works in WLW 7.1, but not 8.0.
Any insight on how to fix this problem?
The service call
private AnonType_sl_AccessResponse response = null;
nlastid = response.piLastId;
the service definition from wsdlControl.jcx ----
* @jc:protocol form-post="false" form-get="false" http-soap="true"
public AnonType_sl_AccessResponse sl_Access (int piCustno);
console error output -----
Submitted at Wednesday, October 8, 2003 2:15:22 PM EDT
Exception in sl_Access
com.bea.control.ServiceControlException:
SOAP-ENV:Client
An error was detected in the Web Service request. (10894)
Cannot resolve method sl_Access parameter ns:piCustno (10933)e91a6247e9b693c3:-1b6d127:f811fed2db:-8000#17
at com.bea.wlw.runtime.core.control.ServiceControlImpl.invoke(ServiceControlImpl.jcs:846)
at com.bea.wlw.runtime.core.dispatcher.DispMethod.invoke(DispMethod.java:359)
at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:420)
at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:393)
at com.bea.wlw.runtime.jcs.container.JcsProxy.invoke(JcsProxy.java:387)
at $Proxy11.sl_Access(Unknown Source)
at com.ovid.service.AccessService.getRepl(AccessService.java:93)
at com.ovid.service.AccessService.processBatch(AccessService.java:71)
at Controller.runAccess(Controller.jws:399)see:
http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=article&group=weblogic.developer.interest.workshop&item=1730
Joe Smith wrote:
>
I am getting a failure trying to invoking a method called sl_Access on a web service.
(Same code worked in Workshop 7.1, but fails in Workshop 8.0. The WDSL has not
changed.) WLW is not able to revolve a method parameter called piCustNo. The service
call works in WLW 7.1, but not 8.0.
Any insight on how to fix this problem?
The service call
private AnonType_sl_AccessResponse response = null;
nlastid = response.piLastId;
the service definition from wsdlControl.jcx ----
* @jc:protocol form-post="false" form-get="false" http-soap="true"
public AnonType_sl_AccessResponse sl_Access (int piCustno);
console error output -----
Submitted at Wednesday, October 8, 2003 2:15:22 PM EDT
Exception in sl_Access
com.bea.control.ServiceControlException:
SOAP-ENV:Client
An error was detected in the Web Service request. (10894)
Cannot resolve method sl_Access parameter ns:piCustno (10933)e91a6247e9b693c3:-1b6d127:f811fed2db:-8000#17
at com.bea.wlw.runtime.core.control.ServiceControlImpl.invoke(ServiceControlImpl.jcs:846)
at com.bea.wlw.runtime.core.dispatcher.DispMethod.invoke(DispMethod.java:359)
at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:420)
at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:393)
at com.bea.wlw.runtime.jcs.container.JcsProxy.invoke(JcsProxy.java:387)
at $Proxy11.sl_Access(Unknown Source)
at com.ovid.service.AccessService.getRepl(AccessService.java:93)
at com.ovid.service.AccessService.processBatch(AccessService.java:71)
at Controller.runAccess(Controller.jws:399) -
Getting error message Cannot Resolve Symbol when trying to compile a class
Hello All -
I am getting an error message cannot resolve symbol while trying to compile a java class that calls another java class in the same package. The called class compiles fine, but the calling class generates
the following error message:
D:\Apache Tomcat 4.0\webapps\examples\WEB-INF\classes\cal>javac
ConnectionPool.java
ConnectionPool.java:158: cannot resolve symbol
symbol : class PooledConnection
location: class cal.ConnectionPool
private void addConnection(PooledConnection value) {
^
ConnectionPool.java:144: cannot resolve symbol
symbol : class PooledConnection
location: class cal.ConnectionPool
PooledConnection pcon = new PooledConnection(con);
^
ConnectionPool.java:144: cannot resolve symbol
symbol : class PooledConnection
location: class cal.ConnectionPool
PooledConnection pcon = new PooledConnection(con);
The code is listed as follows for PooledConnection.java (it compiles fine)
package cal;
import java.sql.*;
public class PooledConnection {
// Real JDBC Connection
private Connection connection = null;
// boolean flag used to determine if connection is in use
private boolean inuse = false;
// Constructor that takes the passed in JDBC Connection
// and stores it in the connection attribute.
public PooledConnection(Connection value) {
if ( value != null ) {
connection = value;
// Returns a reference to the JDBC Connection
public Connection getConnection() {
// get the JDBC Connection
return connection;
// Set the status of the PooledConnection.
public void setInUse(boolean value) {
inuse = value;
// Returns the current status of the PooledConnection.
public boolean inUse() {
return inuse;
// Close the real JDBC Connection
public void close() {
try {
connection.close();
catch (SQLException sqle) {
System.err.println(sqle.getMessage());
Now the code for ConnectionPool.java class that gives the cannot
resolve symbol error
package cal;
import java.sql.*;
import java.util.*;
public class ConnectionPool {
// JDBC Driver Name
private String driver = null;
// URL of database
private String url = null;
// Initial number of connections.
private int size = 0;
// Username
private String username = new String("");
// Password
private String password = new String("");
// Vector of JDBC Connections
private Vector pool = null;
public ConnectionPool() {
// Set the value of the JDBC Driver
public void setDriver(String value) {
if ( value != null ) {
driver = value;
// Get the value of the JDBC Driver
public String getDriver() {
return driver;
// Set the URL Pointing to the Datasource
public void setURL(String value ) {
if ( value != null ) {
url = value;
// Get the URL Pointing to the Datasource
public String getURL() {
return url;
// Set the initial number of connections
public void setSize(int value) {
if ( value > 1 ) {
size = value;
// Get the initial number of connections
public int getSize() {
return size;
// Set the username
public void setUsername(String value) {
if ( value != null ) {
username = value;
// Get the username
public String getUserName() {
return username;
// Set the password
public void setPassword(String value) {
if ( value != null ) {
password = value;
// Get the password
public String getPassword() {
return password;
// Creates and returns a connection
private Connection createConnection() throws Exception {
Connection con = null;
// Create a Connection
con = DriverManager.getConnection(url,
username, password);
return con;
// Initialize the pool
public synchronized void initializePool() throws Exception {
// Check our initial values
if ( driver == null ) {
throw new Exception("No Driver Name Specified!");
if ( url == null ) {
throw new Exception("No URL Specified!");
if ( size < 1 ) {
throw new Exception("Pool size is less than 1!");
// Create the Connections
try {
// Load the Driver class file
Class.forName(driver);
// Create Connections based on the size member
for ( int x = 0; x < size; x++ ) {
Connection con = createConnection();
if ( con != null ) {
// Create a PooledConnection to encapsulate the
// real JDBC Connection
PooledConnection pcon = new PooledConnection(con);
// Add the Connection to the pool.
addConnection(pcon);
catch (Exception e) {
System.err.println(e.getMessage());
throw new Exception(e.getMessage());
// Adds the PooledConnection to the pool
private void addConnection(PooledConnection value) {
// If the pool is null, create a new vector
// with the initial size of "size"
if ( pool == null ) {
pool = new Vector(size);
// Add the PooledConnection Object to the vector
pool.addElement(value);
public synchronized void releaseConnection(Connection con) {
// find the PooledConnection Object
for ( int x = 0; x < pool.size(); x++ ) {
PooledConnection pcon =
(PooledConnection)pool.elementAt(x);
// Check for correct Connection
if ( pcon.getConnection() == con ) {
System.err.println("Releasing Connection " + x);
// Set its inuse attribute to false, which
// releases it for use
pcon.setInUse(false);
break;
// Find an available connection
public synchronized Connection getConnection()
throws Exception {
PooledConnection pcon = null;
// find a connection not in use
for ( int x = 0; x < pool.size(); x++ ) {
pcon = (PooledConnection)pool.elementAt(x);
// Check to see if the Connection is in use
if ( pcon.inUse() == false ) {
// Mark it as in use
pcon.setInUse(true);
// return the JDBC Connection stored in the
// PooledConnection object
return pcon.getConnection();
// Could not find a free connection,
// create and add a new one
try {
// Create a new JDBC Connection
Connection con = createConnection();
// Create a new PooledConnection, passing it the JDBC
// Connection
pcon = new PooledConnection(con);
// Mark the connection as in use
pcon.setInUse(true);
// Add the new PooledConnection object to the pool
pool.addElement(pcon);
catch (Exception e) {
System.err.println(e.getMessage());
throw new Exception(e.getMessage());
// return the new Connection
return pcon.getConnection();
// When shutting down the pool, you need to first empty it.
public synchronized void emptyPool() {
// Iterate over the entire pool closing the
// JDBC Connections.
for ( int x = 0; x < pool.size(); x++ ) {
System.err.println("Closing JDBC Connection " + x);
PooledConnection pcon =
(PooledConnection)pool.elementAt(x);
// If the PooledConnection is not in use, close it
if ( pcon.inUse() == false ) {
pcon.close();
else {
// If it is still in use, sleep for 30 seconds and
// force close.
try {
java.lang.Thread.sleep(30000);
pcon.close();
catch (InterruptedException ie) {
System.err.println(ie.getMessage());
I am using Sun JDK Version 1.3.0_02" and Apache/Tomcat 4.0. Both the calling and the called class are in the same directory.
Any help would be greatly appreciated.
tnx..
addiIs ConnectionPool in this "cal" package as well as PooledConnection? From the directory you are compiling from it appears that it is. If it is, then you are compiling it incorrectly. To compile ConnectionPool (and PooledConnection similarly), you must change the current directory to the one that contains cal and type
javac cal/ConnectionPool.
Maybe you are looking for
-
Problem in BAPI_REQUISITION_CREATE
Dear All, I am facing problem during Purchase requisition create with the help of BAPI BAPI_REQUISITION_CREATE.When I take material in file text format like(SANDERKOKS) then it will pick and it gives appropriate result. But when I take alphanumeric m
-
Sap Guru I m facing problem in RFQ i put all the vendor quotations thorugh RFQ ME47 and also all the terms and conditions, tax, VAT etc... i put 5 vendor quotation having tax code 2O - 5% VAT inclusive Excise out of 5 only one vendor displays the tax
-
Views entries not reflecting in KSSKAUSP
Hi, I am inserting values into AUSP, KSSK in z program.I use Commit work also the insert. Now when I go to SE11 & check AUSP & KSSK I am able to see the values but when I go to the view KSSKAUSP whcih is based on these two tables AUSP & KSSK, I
-
In the game I'm doing, the character can move in six directions by pressing the individual individual arrow keys, or press two at a time for the intermidiate direction. When you're not pressing any keys, the character stays still, facing the directio
-
What are exit code 6 and exit code 7
Since the event this afternoon, I have been trying to update the products in CC to 2014. I keep getting an error without being able to finish installation and get either of the exit codes 6 or 7. I have tried to troubleshoot by changing to IE (my d