Avahi development libs[SOLVED]
Hello. I'm trying to get pulseaudio work with my airport express and have found this:
http://www.pulseaudio.org/ticket/69 . It seems like the avahi development libraries is a dependency. I can't find anything like that. Where can I find themSorry. My misstake
Last edited by jai134 (2009-03-28 13:16:23)
avahi is the package that you want
Similar Messages
-
MongoDB expecting older version of boost-libs [SOLVED]
Trying to run the latest MongoDB (2.0.1-2) on Arch. Pacman successfully installs MongoDB and version 1.48.0-2 of boost-libs.
However, starting MongoDB server produces error:
$ sudo rc.d start mongodb
/usr/bin/mongod: error while loading shared libraries: libboost_system.so.1.47.0: cannot open shared object file: No such file or directory
So Mongo 2.0.1-2 is expecting 1.47.0 of the libboost dependency, while pacman is installing 1.48.0-2. I've verified my mirrorlist is up-to-date.
Has anyone else worked around this or have a sane solution?
Last edited by phoric (2011-12-02 23:59:19)phoric wrote:...and minutes later this appears to be fixed with the release of the 2.0.1-3 build of MongoDB.
Good stuff!
Please mark your topic as solved. -
Why does the application built executable run slower than my developement lib.
The Response given was LabView 5.0.1.f1 specific. Iam however, using LabView 6.i. The Application runs approximatley 3 to 40 times slower than the developement library. Additionally the Write to spreadsheet data is corrupted when using the application executable. Is there a different solution for 6.i ????
Tnx
Len KrausThat does not sound right. I recommend rebuilding your VI. Beore you do, open the top level VI and press contol-shift-run arrow to perform a manual binary recompile. This makes LabVIEW recompile the whole code. Most times you will not see anything happen but occasionally an error will surface. Be sure to save the VI then rebuild it.
You may also need to reinstall the LabVIEW run time engine and/or LabVIEW. I would start with the run time engine first. -
SQL Developer Seems to have messed up SQL Plus & Crystal Connectivity
Hi all,
previously I have been able to connect to a DB via SQL Plus. Also, I have been able to report on it with Crystal Reports XI.
I'm not certain, but I believe this has occurred since installing SQL Developer?!?!? Since once I installed, no need to use SQL Plus anymore and just haven't needed Crystal for a while.
My TNSNames.ora in C:\oracle\product\10.2.0\client_1\NETWORK\ADMIN seems fine (it worked before)
SQLNet.ora has the following in it......
#SQLNET.AUTHENTICATION_SERVICES= (NTS)
NAMES.DIRECTORY_PATH= ( TNSNAMES, EZCONNECT )
A TNSPing returns.....
C:\>TNSPING PVNGDEV1
TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 09-SEP-2
008 17:28:21
Copyright (c) 1997, 2005, Oracle. All rights reserved.
Used parameter files:
C:\oracle\product\10.2.0\client_1\network\admin\sqlnet.ora
TNS-03505: Failed to resolve name
C:\>
When I try and create a connection via Crystal I get....
Crystal Reports
Failed to open the connection.
Details: ORA-12154: TNS:could not resolve the connect identifier specified
[Database Vendor Code: 12154 ]
This is sending me absolutely crazy and have already spent 1/2 day trying to fix it.
Please - any ideas?
Regards
DC
SQL Developer 1.5.1
Oracle Client 10.2
Crystal Developer XIPROBLEM SOLVED - WHAT A MYSTERY and a WASTE OF MY TIME.
APOLOGIES TO SQL Develoepr for being the prime suspect - I still love you!
TNSNAmes.ORA as follows works!!!!!!
pvngdev1 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ********)(PORT = 1521))
(CONNECT_DATA =
(SID = pvngdev1)
However, the following does not
PVODB =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = *******)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = PVODB)
PVOQA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = *******)(PORT = 1521))
(CONNECT_DATA =
(SID = PVOQA)
# - Enterprise Reporting
ERSDEVDB =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = *******)(PORT = 1521))
(CONNECT_DATA =
(SID = sasrpt)
(SERVER = DEDICATED)
# - PVNG
PVNGDEV1 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = *******)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = PVNGDEV1)
PVNGQA1 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = *******)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = PVNGQA1)
DESTDEV1 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = *******)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = DESTDEV1)
Why is this.
I guess I 'll build up TNSNAmes connection by connectuion and test and see how I get on.
Regards all
DC -
How to begin a CAF/CAS development.
Hi All,
I am new to CAF.
For what kind of business senearios CAF is suitable..?
We have developed a Webdynpro application for a scenario which is like:
Through Webdynpro frontend, the data in R/3 system is modified. New data can also be uploaded through mass upload(excel).
Right now we dont have any workflow.The data can be directly uploaded and modified in the backend(R/3).
Help me on the below queries:
1) If I need to develop the same scenario in CAF using CAS(Composite application Service) What are the initial steps for the development, what are the things to be considered, where to start with..
2) I Request for inputs on how to proceed with the development for our scenario using CAS.
3) How does it differ from normal Webdynpro development which we presently have?
4)When the present Webdynpro development is solving our purpose, what advantage do we have if we implement the same in CAS?
Waiting for the inputs and suggestions..
Thanks,
Shilpa.Hi Shilpa,
Check these links first:
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/caf-Core%28ServiceLayer%29
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/bpx/cafGPFAQ
SAP Composite Application Framework - CAF Tutorial Center [original link is broken]
Reward Points if itu2019s helpful. -
[solved] Questions about pacman -Qk and -Qkk output.
I was looking through the pacman manual today to see if there was anything I could add to a some Arch maintenance scripts I've been working on and came across -Qk which, among other things, lists missing files. I ran pacman -Qk in terminal and found a few package installations were missing files. I reinstalled them manually check again and the files were no longer missing. The first package I saw that was missing a file was gnome-command-center for instance.
So I really have two questions.
1) Is it normal for packages to have missing files?
2) Is it a good idea to reinstall these packages to replace the missing files.
I then ran pacman -Qkk, and got even more disturbing information such as modification time mismatches and size mismatches.
$ pacman -Qkk |grep warning
warning: avahi: /etc/avahi/avahi-daemon.conf (Modification time mismatch)
warning: avahi: /etc/avahi/hosts (Modification time mismatch)
warning: avahi: /etc/avahi/services/sftp-ssh.service (Modification time mismatch)
warning: avahi: /etc/avahi/services/ssh.service (Modification time mismatch)
warning: avahi: /usr/lib/avahi/service-types.db (Modification time mismatch)
warning: avahi: /usr/share/avahi/service-types (Modification time mismatch)
warning: bash: /etc/bash.bash_logout (Modification time mismatch)
warning: bash: /etc/bash.bashrc (Modification time mismatch)
warning: bash: /etc/skel/.bash_logout (Modification time mismatch)
warning: bash: /etc/skel/.bash_profile (Modification time mismatch)
warning: bash: /etc/skel/.bashrc (Modification time mismatch)
warning: bluez: /etc/bluetooth/main.conf (Modification time mismatch)
warning: bluez: /etc/dbus-1/system.d/bluetooth.conf (Modification time mismatch)
warning: ca-certificates-java: /etc/default/cacerts (Modification time mismatch)
warning: cdrtools: /etc/default/cdrecord (Modification time mismatch)
warning: cdrtools: /etc/default/rscsi (Modification time mismatch)
warning: chromium: /etc/chromium/default (Modification time mismatch)
warning: chromium: /etc/chromium/default (Size mismatch)
warning: colord: /var/lib/colord (UID mismatch)
warning: colord: /var/lib/colord (GID mismatch)
warning: dhcpcd: /etc/dhcpcd.conf (Modification time mismatch)
warning: e2fsprogs: /etc/mke2fs.conf (Modification time mismatch)
warning: filesystem: /etc/crypttab (Modification time mismatch)
warning: filesystem: /etc/fstab (Modification time mismatch)
warning: filesystem: /etc/fstab (Size mismatch)
warning: filesystem: /etc/group (Modification time mismatch)
warning: filesystem: /etc/group (Size mismatch)
warning: filesystem: /etc/gshadow (Permissions mismatch)
warning: filesystem: /etc/gshadow (Modification time mismatch)
warning: filesystem: /etc/gshadow (Size mismatch)
warning: filesystem: /etc/host.conf (Modification time mismatch)
warning: filesystem: /etc/hosts (Modification time mismatch)
warning: filesystem: /etc/issue (Modification time mismatch)
warning: filesystem: /etc/ld.so.conf (Modification time mismatch)
warning: filesystem: /etc/motd (Modification time mismatch)
warning: filesystem: /etc/mtab (Modification time mismatch)
warning: filesystem: /etc/mtab (Symlink path mismatch)
warning: filesystem: /etc/nsswitch.conf (Modification time mismatch)
warning: filesystem: /etc/passwd (Modification time mismatch)
warning: filesystem: /etc/passwd (Size mismatch)
warning: filesystem: /etc/profile (Modification time mismatch)
warning: filesystem: /etc/resolv.conf (Modification time mismatch)
warning: filesystem: /etc/resolv.conf (Size mismatch)
warning: filesystem: /etc/securetty (Modification time mismatch)
warning: filesystem: /etc/shadow (Permissions mismatch)
warning: filesystem: /etc/shadow (Modification time mismatch)
warning: filesystem: /etc/shadow (Size mismatch)
warning: filesystem: /etc/shells (Modification time mismatch)
warning: flashplugin: /etc/adobe/mms.cfg (Modification time mismatch)
warning: flashplugin: /etc/adobe/mms.cfg (Size mismatch)
warning: glibc: /etc/locale.gen (Modification time mismatch)
warning: glibc: /etc/locale.gen (Size mismatch)
warning: gnome-control-center: /usr/share/polkit-1/rules.d/gnome-control-center.rules (Permission denied)
warning: gnomenu: /usr/share/cairo-dock/plug-ins/Dbus/third-party/GnoMenu/GnoMenu (Modification time mismatch)
warning: gnomenu: /usr/share/cairo-dock/plug-ins/Dbus/third-party/GnoMenu/GnoMenu (Size mismatch)
warning: gnomenu: /usr/share/cairo-dock/plug-ins/Dbus/third-party/GnoMenu/GnoMenu.conf (Modification time mismatch)
warning: gnomenu: /usr/share/cairo-dock/plug-ins/Dbus/third-party/GnoMenu/GnoMenu.conf (Size mismatch)
warning: gnomenu: /usr/share/cairo-dock/plug-ins/Dbus/third-party/GnoMenu/auto-load.conf (Permissions mismatch)
warning: gnomenu: /usr/share/cairo-dock/plug-ins/Dbus/third-party/GnoMenu/auto-load.conf (Modification time mismatch)
warning: gnomenu: /usr/share/cairo-dock/plug-ins/Dbus/third-party/GnoMenu/auto-load.conf (Size mismatch)
warning: gnomenu: /usr/share/cairo-dock/plug-ins/Dbus/third-party/GnoMenu/icon (Modification time mismatch)
warning: gnomenu: /usr/share/cairo-dock/plug-ins/Dbus/third-party/GnoMenu/icon (Size mismatch)
warning: gnomenu: /usr/share/cairo-dock/plug-ins/Dbus/third-party/GnoMenu/preview (Permissions mismatch)
warning: gnomenu: /usr/share/cairo-dock/plug-ins/Dbus/third-party/GnoMenu/preview (Modification time mismatch)
warning: gnomenu: /usr/share/cairo-dock/plug-ins/Dbus/third-party/GnoMenu/preview (Size mismatch)
warning: grub: /boot/grub/grub.cfg (Permissions mismatch)
warning: grub: /boot/grub/grub.cfg (Modification time mismatch)
warning: grub: /boot/grub/grub.cfg (Size mismatch)
warning: iproute2: /etc/iproute2/ematch_map (Modification time mismatch)
warning: iproute2: /etc/iproute2/rt_dsfield (Modification time mismatch)
warning: iproute2: /etc/iproute2/rt_protos (Modification time mismatch)
warning: iproute2: /etc/iproute2/rt_realms (Modification time mismatch)
warning: iproute2: /etc/iproute2/rt_scopes (Modification time mismatch)
warning: iproute2: /etc/iproute2/rt_tables (Modification time mismatch)
warning: jack: /etc/security/limits.d/99-audio.conf (Modification time mismatch)
warning: java-common: /etc/profile.d/jre.csh (Modification time mismatch)
warning: java-common: /etc/profile.d/jre.sh (Modification time mismatch)
warning: jre7-openjdk-headless: /etc/java-7-openjdk/calendars.properties (Modification time mismatch)
warning: jre7-openjdk-headless: /etc/java-7-openjdk/content-types.properties (Modification time mismatch)
warning: jre7-openjdk-headless: /etc/java-7-openjdk/flavormap.properties (Modification time mismatch)
warning: jre7-openjdk-headless: /etc/java-7-openjdk/fontconfig.bfc (Modification time mismatch)
warning: jre7-openjdk-headless: /etc/java-7-openjdk/fontconfig.properties (Modification time mismatch)
warning: jre7-openjdk-headless: /etc/java-7-openjdk/logging.properties (Modification time mismatch)
warning: jre7-openjdk-headless: /etc/java-7-openjdk/net.properties (Modification time mismatch)
warning: jre7-openjdk-headless: /etc/java-7-openjdk/psfont.properties.ja (Modification time mismatch)
warning: jre7-openjdk-headless: /etc/java-7-openjdk/psfontj2d.properties (Modification time mismatch)
warning: jre7-openjdk-headless: /etc/java-7-openjdk/sound.properties (Modification time mismatch)
warning: jre7-openjdk-headless: /etc/java-7-openjdk/tz.properties (Modification time mismatch)
warning: jre7-openjdk-headless: /etc/java-7-openjdk/amd64/jvm.cfg (Modification time mismatch)
warning: jre7-openjdk-headless: /etc/java-7-openjdk/images/cursors/cursors.properties (Modification time mismatch)
warning: jre7-openjdk-headless: /etc/java-7-openjdk/management/jmxremote.access (Modification time mismatch)
warning: jre7-openjdk-headless: /etc/java-7-openjdk/management/jmxremote.password (Modification time mismatch)
warning: jre7-openjdk-headless: /etc/java-7-openjdk/management/management.properties (Modification time mismatch)
warning: jre7-openjdk-headless: /etc/java-7-openjdk/management/snmp.acl (Modification time mismatch)
warning: jre7-openjdk-headless: /etc/java-7-openjdk/security/java.policy (Modification time mismatch)
warning: jre7-openjdk-headless: /etc/java-7-openjdk/security/java.security (Modification time mismatch)
warning: jre7-openjdk-headless: /etc/java-7-openjdk/security/nss.cfg (Modification time mismatch)
warning: krb5: /etc/krb5.conf (Modification time mismatch)
warning: krb5: /var/lib/krb5kdc/kdc.conf (Modification time mismatch)
warning: libcups: /etc/cups/client.conf (Modification time mismatch)
warning: libirman: /etc/irman.conf (Modification time mismatch)
warning: libnl: /etc/libnl/classid (Modification time mismatch)
warning: libnl: /etc/libnl/pktloc (Modification time mismatch)
warning: libreoffice-still-common: /etc/libreoffice/bootstraprc (Modification time mismatch)
warning: libreoffice-still-common: /etc/libreoffice/psprint.conf (Modification time mismatch)
warning: libreoffice-still-common: /etc/libreoffice/sofficerc (Modification time mismatch)
warning: libreoffice-still-common: /etc/profile.d/libreoffice-still-common.csh (Modification time mismatch)
warning: libreoffice-still-common: /etc/profile.d/libreoffice-still-common.sh (Modification time mismatch)
warning: linux: /etc/mkinitcpio.d/linux.preset (Modification time mismatch)
warning: linux: /usr/lib/modules/3.16.2-1-ARCH/modules.alias (Modification time mismatch)
warning: linux: /usr/lib/modules/3.16.2-1-ARCH/modules.alias (Size mismatch)
warning: linux: /usr/lib/modules/3.16.2-1-ARCH/modules.alias.bin (Modification time mismatch)
warning: linux: /usr/lib/modules/3.16.2-1-ARCH/modules.alias.bin (Size mismatch)
warning: linux: /usr/lib/modules/3.16.2-1-ARCH/modules.builtin.bin (Modification time mismatch)
warning: linux: /usr/lib/modules/3.16.2-1-ARCH/modules.dep (Modification time mismatch)
warning: linux: /usr/lib/modules/3.16.2-1-ARCH/modules.dep (Size mismatch)
warning: linux: /usr/lib/modules/3.16.2-1-ARCH/modules.dep.bin (Modification time mismatch)
warning: linux: /usr/lib/modules/3.16.2-1-ARCH/modules.dep.bin (Size mismatch)
warning: linux: /usr/lib/modules/3.16.2-1-ARCH/modules.devname (Modification time mismatch)
warning: linux: /usr/lib/modules/3.16.2-1-ARCH/modules.softdep (Modification time mismatch)
warning: linux: /usr/lib/modules/3.16.2-1-ARCH/modules.symbols (Modification time mismatch)
warning: linux: /usr/lib/modules/3.16.2-1-ARCH/modules.symbols (Size mismatch)
warning: linux: /usr/lib/modules/3.16.2-1-ARCH/modules.symbols.bin (Modification time mismatch)
warning: linux: /usr/lib/modules/3.16.2-1-ARCH/modules.symbols.bin (Size mismatch)
warning: lirc-utils: /etc/lirc/lirc_options.conf (Modification time mismatch)
warning: lirc-utils: /etc/lirc/lircd.conf (Modification time mismatch)
warning: lirc-utils: /etc/lirc/lircmd.conf (Modification time mismatch)
warning: lvm2: /etc/lvm/lvm.conf (Modification time mismatch)
warning: mdadm: /etc/mdadm.conf (Modification time mismatch)
warning: mime-types: /etc/mime.types (Modification time mismatch)
warning: mkinitcpio: /etc/mkinitcpio.conf (Modification time mismatch)
warning: mkinitcpio: /etc/mkinitcpio.conf (Size mismatch)
warning: mplayer: /etc/mplayer/codecs.conf (Modification time mismatch)
warning: mplayer: /etc/mplayer/input.conf (Modification time mismatch)
warning: nano: /etc/nanorc (Modification time mismatch)
warning: networkmanager: /etc/NetworkManager/NetworkManager.conf (Modification time mismatch)
warning: openresolv: /etc/resolvconf.conf (Modification time mismatch)
warning: openssl: /etc/ssl/openssl.cnf (Modification time mismatch)
warning: pacman: /etc/makepkg.conf (Modification time mismatch)
warning: pacman: /etc/makepkg.conf (Size mismatch)
warning: pacman: /etc/pacman.conf (Modification time mismatch)
warning: pacman: /etc/pacman.conf (Size mismatch)
warning: pacman-mirrorlist: /etc/pacman.d/mirrorlist (UID mismatch)
warning: pacman-mirrorlist: /etc/pacman.d/mirrorlist (GID mismatch)
warning: pacman-mirrorlist: /etc/pacman.d/mirrorlist (Modification time mismatch)
warning: pacman-mirrorlist: /etc/pacman.d/mirrorlist (Size mismatch)
warning: pam: /etc/environment (Modification time mismatch)
warning: pam: /etc/default/passwd (Modification time mismatch)
warning: pam: /etc/security/access.conf (Modification time mismatch)
warning: pam: /etc/security/group.conf (Modification time mismatch)
warning: pam: /etc/security/limits.conf (Modification time mismatch)
warning: pam: /etc/security/namespace.conf (Modification time mismatch)
warning: pam: /etc/security/namespace.init (Modification time mismatch)
warning: pam: /etc/security/pam_env.conf (Modification time mismatch)
warning: pam: /etc/security/time.conf (Modification time mismatch)
warning: polkit: /etc/polkit-1/rules.d/50-default.rules (Permission denied)
warning: pulseaudio-alsa: /etc/asound.conf (Modification time mismatch)
warning: rhash: /etc/rhashrc (Modification time mismatch)
warning: rhash: /etc/rhashrc (Size mismatch)
warning: rsync: /etc/rsyncd.conf (Modification time mismatch)
warning: rsync: /etc/xinetd.d/rsync (Modification time mismatch)
warning: samba: /etc/conf.d/samba (Modification time mismatch)
warning: samba: /etc/logrotate.d/samba (Modification time mismatch)
warning: samba: /etc/pam.d/samba (Modification time mismatch)
warning: sudo: /etc/sudoers (Modification time mismatch)
warning: sudo: /etc/sudoers (Size mismatch)
warning: systemd: /etc/dbus-1/system.d/org.freedesktop.hostname1.conf (Modification time mismatch)
warning: systemd: /etc/dbus-1/system.d/org.freedesktop.locale1.conf (Modification time mismatch)
warning: systemd: /etc/dbus-1/system.d/org.freedesktop.login1.conf (Modification time mismatch)
warning: systemd: /etc/dbus-1/system.d/org.freedesktop.machine1.conf (Modification time mismatch)
warning: systemd: /etc/dbus-1/system.d/org.freedesktop.systemd1.conf (Modification time mismatch)
warning: systemd: /etc/dbus-1/system.d/org.freedesktop.timedate1.conf (Modification time mismatch)
warning: systemd: /etc/pam.d/systemd-user (Modification time mismatch)
warning: systemd: /etc/systemd/bootchart.conf (Modification time mismatch)
warning: systemd: /etc/systemd/coredump.conf (Modification time mismatch)
warning: systemd: /etc/systemd/journald.conf (Modification time mismatch)
warning: systemd: /etc/systemd/logind.conf (Modification time mismatch)
warning: systemd: /etc/systemd/resolved.conf (Modification time mismatch)
warning: systemd: /etc/systemd/system.conf (Modification time mismatch)
warning: systemd: /etc/systemd/timesyncd.conf (Modification time mismatch)
warning: systemd: /etc/systemd/timesyncd.conf (Size mismatch)
warning: systemd: /etc/systemd/user.conf (Modification time mismatch)
warning: systemd: /etc/udev/udev.conf (Modification time mismatch)
warning: systemd: /var/log/journal/remote (GID mismatch)
warning: texlive-core: /etc/texmf/web2c/updmap.cfg (Modification time mismatch)
warning: texlive-core: /etc/texmf/web2c/updmap.cfg (Size mismatch)
warning: util-linux: /etc/pam.d/chfn (Modification time mismatch)
warning: util-linux: /etc/pam.d/chsh (Modification time mismatch)
warning: util-linux: /etc/pam.d/login (Modification time mismatch)
warning: util-linux: /etc/pam.d/su (Modification time mismatch)
warning: util-linux: /etc/pam.d/su-l (Modification time mismatch)
warning: vim-runtime: /etc/vimrc (Modification time mismatch)
warning: vlc: /usr/lib/vlc/plugins/plugins.dat (Modification time mismatch)
warning: vlc: /usr/lib/vlc/plugins/plugins.dat (Size mismatch)
warning: xorg-xinit: /etc/X11/xinit/xinitrc (Modification time mismatch)
warning: xorg-xinit: /etc/X11/xinit/xserverrc (Modification time mismatch)
warning: xorg-xinit: /etc/skel/.xinitrc (Modification time mismatch)
warning: xorg-xinit: /etc/skel/.xsession (Modification time mismatch)
warning: xorg-xinit: /etc/skel/.xsession (Size mismatch)
warning: yaourt: /etc/yaourtrc (Modification time mismatch)
I'm assuming all of those are bad. "Warning" rarely sounds friendly, though for those files I've modified myself, such as passwd, shadow, and group, its okay. I assume I can fix msot of these by running # pacman -S {package}?
Last edited by nstgc (2014-09-14 01:26:04)Awk processes the output from pacman, splits it using [white]space[s] as delimiter and prints only first field $1, which is the package name. Those reoccur if several files are involved, so just to be sure, I also used awks sort, maybe that could be skipped or alternatively sort command outside awk used instead. This sorted output gets fed into uniq, which outputs only unique strings coming from input. And that leaves you with the package list.
Edit: I think those are whitespaces actually, which if I recall correctly include space.
Edit2: So this might be better and certainly a little faster:
pacman -S $(pacman -Qkq | awk '{print $1}' | uniq)
# And this should be even faster, since the output pacman
# delivers seems to be sorted anyway. Should you parse
# something else, use my first suggestion instead.
pacman -Qkq | awk 'BEGIN{ y=0; }; {x=$1; if (x == y){ next; }; print $1; y=x;}'
Edit3: Out of curiosity I tested different methods measuring execution time with a input file consisting out of 1443 lines from pacman -Qkkq. Here are the results and the bottom is the test script.
Sun 14 Sep 15:14:26 CEST 2014, Generating input file
Sun 14 Sep 15:15:22 CEST 2014, Loops: 10
0 : /tmp/awk-adv.log
0.01 : /tmp/awk-sort.log
0 : /tmp/awk-sort-outside.log
0.002 : /tmp/awk-uniq.log
Seconds: 0
Sun 14 Sep 15:15:22 CEST 2014, Loops: 20
0.001 : /tmp/awk-adv.log
0.0095 : /tmp/awk-sort.log
0.0005 : /tmp/awk-sort-outside.log
0 : /tmp/awk-uniq.log
Seconds: 1
Sun 14 Sep 15:15:23 CEST 2014, Loops: 50
0 : /tmp/awk-adv.log
0.0096 : /tmp/awk-sort.log
0.0002 : /tmp/awk-sort-outside.log
0 : /tmp/awk-uniq.log
Seconds: 2
Sun 14 Sep 15:15:25 CEST 2014, Loops: 100
0.0003 : /tmp/awk-adv.log
0.0092 : /tmp/awk-sort.log
0 : /tmp/awk-sort-outside.log
0.0003 : /tmp/awk-uniq.log
Seconds: 5
Sun 14 Sep 15:15:30 CEST 2014, Loops: 200
0.00045 : /tmp/awk-adv.log
0.00955 : /tmp/awk-sort.log
0.0001 : /tmp/awk-sort-outside.log
0.0006 : /tmp/awk-uniq.log
Seconds: 8
Sun 14 Sep 15:15:38 CEST 2014, Loops: 500
0.00042 : /tmp/awk-adv.log
0.0094 : /tmp/awk-sort.log
0.0004 : /tmp/awk-sort-outside.log
0.00026 : /tmp/awk-uniq.log
Seconds: 21
Sun 14 Sep 15:15:59 CEST 2014, Loops: 1000
0.00034 : /tmp/awk-adv.log
0.00942 : /tmp/awk-sort.log
0.00042 : /tmp/awk-sort-outside.log
0.00025 : /tmp/awk-uniq.log
Seconds: 42
Sun 14 Sep 15:16:41 CEST 2014, Loops: 2000
0.00038 : /tmp/awk-adv.log
0.009355 : /tmp/awk-sort.log
0.000285 : /tmp/awk-sort-outside.log
0.00042 : /tmp/awk-uniq.log
Seconds: 83
Sun 14 Sep 15:18:04 CEST 2014, Loops: 5000
0.000388 : /tmp/awk-adv.log
0.009274 : /tmp/awk-sort.log
0.00034 : /tmp/awk-sort-outside.log
0.000366 : /tmp/awk-uniq.log
Seconds: 208
Sun 14 Sep 15:21:32 CEST 2014, Loops: 10000
0.00036 : /tmp/awk-adv.log
0.009286 : /tmp/awk-sort.log
0.000346 : /tmp/awk-sort-outside.log
0.000358 : /tmp/awk-uniq.log
Seconds: 419
Sun 14 Sep 15:28:31 CEST 2014, Loops: 20000
0.00029 : /tmp/awk-adv.log
0.009115 : /tmp/awk-sort.log
0.0002725 : /tmp/awk-sort-outside.log
0.000299 : /tmp/awk-uniq.log
Seconds: 828
Sun 14 Sep 15:42:19 CEST 2014, Loops: 50000
0.0003174 : /tmp/awk-adv.log
0.0093014 : /tmp/awk-sort.log
0.0002422 : /tmp/awk-sort-outside.log
0.000292 : /tmp/awk-uniq.log
Seconds: 2171
The awk internal sorting is the slowest method, but it seems it initializes longer, since there appears to be a constant difference between internal and external sorting. Uniq fed by awk is faster with smaller loops, but gets slower if repeated more often, yet overall remain fastest with the unique function I used within awk. It appears the more lines the input has, the slower uniq in comparison uniq in awk gets. Here is the testing script:
#!/bin/bash
LOOPS=('10' '20' '50' '100' '200' '500' '1000' '2000' '5000' '10000' '20000' '50000');
rm /tmp/results*.log
echo $(date), Generating input file;
pacman -Qkkq > /tmp/input.txt
for LOOP in ${LOOPS[@]}; do
START=$(date +%s);
echo $(date), Loops: $LOOP;
for i in $(seq $LOOP); do env TIME='%e:%U:%S' time awk '{print $1 | "sort" }' /tmp/input.txt | uniq; done 2>&1 >/dev/null | grep : > /tmp/awk-sort.log
for i in $(seq $LOOP); do env TIME='%e:%U:%S' time awk '{print $1}' /tmp/input.txt | sort | uniq; done 2>&1 >/dev/null | grep : > /tmp/awk-sort-outside.log
for i in $(seq $LOOP); do env TIME='%e:%U:%S' time awk '{print $1}' /tmp/input.txt | uniq; done 2>&1 >/dev/null | grep : > /tmp/awk-uniq.log
for i in $(seq $LOOP); do env TIME='%e:%U:%S' time awk 'BEGIN{ y=0; }; {x=$1; if (x == y){ next; }; print $1; y=x;}' /tmp/input.txt; done 2>&1 >/dev/null | grep : > /tmp/awk-adv.log
for FILE in /tmp/awk-*.log; do awk 'BEGIN{x=0; y=0; FS=":"}; {x++; y=y+$1;}; END{print "\t"y/x"\t:\t"FILENAME;}' "$FILE"; done | sort >> /tmp/results-sorted.log
for FILE in /tmp/awk-*.log; do awk 'BEGIN{x=0; y=0; FS=":"}; {x++; y=y+$1;}; END{print "\t"y/x"\t:\t"FILENAME;}' "$FILE"; done | tee -a /tmp/results.log
END=$(date +%s);
DIFF=$(( $END - $START ));
echo Seconds: $DIFF;
done | tee /tmp/awk.log
Last edited by emeres (2014-09-14 14:38:18) -
Parser Error In Portlet Startup
We have a portlet application that uses Crystal Reports. It uses the spring framework and runs fine in our development environment (Pluto) but when trying to deploy on the production environment (WebSphere) we get an xml parsing error during the startup. Removing the Crystal Reports jars solves the problem but of course the reports portion of the application won't work. So is there a different set of jars for portal and specifically WebSphere? Or is there xml related functionality in the CR jars and would eliminating them from the lib solve the problem since there may be framework jars that provide the same functionality in the production environment?
Here's a snippet of the error:
Unexpected exception parsing XML document from ServletContext resource [/WEB-INF/sys-cfg/applicationContext.xml]; nested exception is java.lang.VerifyError: javax/xml/parsers/DocumentBuilder.setEntityResolver(Lorg/xml/sax/EntityResolver;)The only officially tested and fully supported product for Crystal Reports on Portal Servers/Portlets are the JSR-168 Portal Integration Kits supplied with BusinessObjects Enterprise or Crystal Reports Servers.
There's currently not a fully tested Portal solution for Crystal Reports Java Reporting Component.
There's no different sets of jars for different Web Application Servers with any Business Objects products.
Are you able to isolate which XML file contains the problematic schema? I'm assuming the error message you have does not show this info.
Other than that, a possible difference is that different XML parsers are being used between your dev and prod web app servers. I've known issues where the XML parser supplied with Crystal was incompatible with the shared default parser supplied with Web App Servers.
Sincerely,
Ted Ueda -
Glassfish and Listener error : HTTP Status 500 - System Unavailable.
Hello,
I 've some problem. When i'm working in workspace and develope my application everything fine, but when i try to run it , i have this :
HTTP Status 500 - System Unavailable. Please try again later.
type Status report
messageSystem Unavailable. Please try again later.
descriptionThe server encountered an internal error (System Unavailable. Please try again later.) that prevented it from fulfilling this request.
Oracle GlassFish Server 3.1
After refreshing, page work fine , but every actions in application have this problem. Well, users can't work normaly with my application.
Please help me with this problem.
I use Oracle 10g , Apex 4.0 , Glassfish 3.1, redhat 5
Sorry for my bad english.
Egor Karmanov.
Edited by: 843328 on 07.06.2011 1:58Hello Egor,
<ol><li>I see one error that seems to occur often on your server:
ORA-20867: ORA-12705: invalid or unknown NLS parameter value specified
ORA-02063: preceding line from WWW
ORA-06512: at "SYS.DBMS_SESSION", line 153
ORA-06512: at "APEX_040000.WWV_FLOW_LANG", line 387
ORA-06512: at "APEX_040000.WWV_FLOW", line 9328
ORA-06512: at "APEX_040000.F", line 267
ORA-06512: at "APEX_040000.F", line 294
ORA-06512: at line 2Probably you have some unsupported language or characterset configured for your application or APEX instance as default, which is not taken when you login to your application builder.
</li>
<li>What I see from your log as well: You still use APEX Listener version : 1.1.0.60.10.38, I'd recommend to update to the current 1.1.2 release.
</li>
<li>I see some other errors and warnings in your log, e.g.
WARNING|oracle-glassfish3.1|org.apache.catalina.connector.Request|_ThreadID=20;_ThreadName=Thread-1;|PWC4011: Unable to set request character encoding to UTF-8 from context /apex, because request parameters have already been read, or ServletRequest.getReader() has already been calledand
SEVERE|oracle-glassfish3.1|org.apache.tomcat.util.digester.Digester|_ThreadID=10;_ThreadName=Thread-1;|Digester.getParser:
javax.xml.parsers.ParserConfigurationException: The XDK supports only namespace-aware parsers.
[...]The warning can easily be ignored. I'd recommend to disable it to make keep your log file smaller and clear. See the [url http://wiki.glassfish.java.net/Wiki.jsp?page=FaqWebAppUnableToSetRequestCharEncoding]GlassFish FAQ for that warning.
The severe error is more interesting. There seems to be a problem concerning the XML parser, probably due to a library conflict. There was a thread on a similar issue concerning Tomcat ({thread:id=2174509}), but possibly such things can happen on GlassFish as well, especially when you have installed some global libraries. As you can see in the Tomcat-Thread, removing xmlparserv2-11.2.0.jar from +\apex\WEB-INF\lib+ solved the problem there.
</li>
</ol>
I hope these points help you to solve your problem. If not, can you post some additional information about your NLS/LC settings in GlassFish/Java/APEX environments?
-Udo -
Automatically updating files on local testing Server
I'm using EasyPHP-5.3.5.0 as a testing server on my local machine (I've use EasyPHP for several years). I set up the Site Definition in DW8 using the testing server root folder (www) as the development area; however, this caused problems when I attempted to upload from within DW to the Remote (production) server. I then modified the Site Definition to use a local folder. other then the Testing Server folder, for development which solved the upload problem. Then in the Site Definition I setup the Testing Server using the "PHP MySQL" model with "Local/Network" access. The Testing Server folder was set to "C:\Program Files\EasyPHP-5.3.5.0\" and the "Refresh Testing file list automatically" box was checked. The URL prefex was set to "http://127.0.0.1:8888/" as defined in the EasyPHP instructions. My problem is that Dreamweaver is not updating the files on the testing server when I save a file in the development folder. The development folder and the Testing Server reside on the same computer. If I copy and paste a file to the testing server everything works fine. I would like the testing server files to be automatically updated when I save a file in the development folder which is what the Site Definition seems to indicate should happen. Any thoughts on what the problem is and how to fix it would be appreciated.
> UPS tools that will only accept POST data coming from an
https page
Oh - I see. I think this will be hard to do. You'd need to
get a local
certificate and all - not sure how to go about that....
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"(_seb_)" <[email protected]> wrote in message
news:ev39uo$pm3$[email protected]..
> Murray *ACE* wrote:
>> Why do you want to do this?
>>
>
> to test locally?... I've been able to test everything
locally so far on my
> virtual testing server, and thought it'd be nice if I
could test the
> shopping cart locally as well. But it uses third party
UPS tools that will
> only accept POST data coming from an https page.
> And yes, I'm pretty sure it's a stupid idea... But as I
said, maybe
> there's a trick I'm not aware of...
>
> --
> seb ( [email protected])
>
http://webtrans1.com | high-end web
design
>
> An Ingenious WebSite Builder:
http://sitelander.com -
Need to get the values from "Signed" field from PDF form.
Hi,
This is Dinesh. I am PHP Developer. My issue is "I am not able to get the value of "signed" field from the PDF form when the form has been submitted.". I want to get the Digital Signature value of that field and i need to store it in the DB.
Please help me here Or Please forward this issue to any of the PHP developer who solved this issue and let me know.
Thanks & Regards
DineshHi Vikas,
you can use this badi MRM_WT_SPLIT_UPDATE, the method will be WHTAX_SPLIT_UPDATE
in this badi please see the importing and exporting parameters, you will get the values of withholding tax code as TE_RBWS in export parameters.
Please search in google or SCN you will get how to use it. -
Is it possible to pass PDF (stored as BLOB) to PDFDocMerger
HI Folks.
Will PDFDocMerger Class allow you to pass in multiple PDF BLOBs as an input Stream Array?
Any pointers appreciated as I need to know if this is a non-starter.
I have many invoice PDFs stored as BLOBs in my database. I need a user to be able to select a bunch of these and have BIP merge them into one document.
Any help greatly appreciated.
Many thanks
DogfighterHello Ike.
I have downloaded the IDE and I am following the installation steps.
I have performed step 3 and I have the following questions.
1) I can see a node in JDeveloper called XMLPublisherDataTemplate.java but not one named format template. Should I be able to? Also, could not find this in the IDE download folders. Where should I be looking.
2) I have executed the 'Run' on the XMLPublisherUtility.java node. The result was...
\j2sdk1.4.2_13\bin\java.exe -jar D:\NGC IT\Software\Oracle\Java Developer\jdev\lib\ojc.jar -source 1.3 -target 1.2 -noquiet -warn -nowarn:320 -nowarn:486 -nowarn:487 -deprecation:self -nowarn:560 -nowarn:704 -nowarn:489 -nowarn:415 -nowarn:909 -nowarn:412 -nowarn:414 -nowarn:561 -nowarn:376 -nowarn:371 -nowarn:558 -nowarn:375 -nowarn:413 -nowarn:377 -nowarn:372 -nowarn:557 -nowarn:556 -nowarn:559 -encoding Cp1252 -g -d C:\BIPublisherIDE\BIPublisherIDE\classes -make C:\BIPublisherIDE\BIPublisherIDE\classes\BIPublisherIDE.cdi -classpath "\j2sdk1.4.2_13\jre\lib\rt.jar;\j2sdk1.4.2_13\jre\lib\i18n.jar;\j2sdk1.4.2_13\jre\lib\sunrsasign.jar;\j2sdk1.4.2_13\jre\lib\jsse.jar;\j2sdk1.4.2_13\jre\lib\jce.jar;\j2sdk1.4.2_13\jre\lib\charsets.jar;\j2sdk1.4.2_13\jre\classes;C:\BIPublisherIDE\BIPublisherIDE\classes;C:\BIPublisherIDE\BIPublisherIDE\lib\collections.jar;C:\BIPublisherIDE\BIPublisherIDE\lib\i18nAPI_v3.jar;C:\BIPublisherIDE\BIPublisherIDE\lib\j5472959_xdo.zip;C:\BIPublisherIDE\BIPublisherIDE\lib\jdom.jar;C:\BIPublisherIDE\BIPublisherIDE\lib\versioninfo.jar;C:\BIPublisherIDE\BIPublisherIDE\lib\xdochartstyles.jar;C:\BIPublisherIDE\BIPublisherIDE\lib\xdoparser.jar;C:\BIPublisherIDE\BIPublisherIDE\lib\xmlparserv2-904.jar;D:\NGC IT\Software\Oracle\Java Developer\jdbc\lib\ojdbc14dms.jar;D:\NGC IT\Software\Oracle\Java Developer\jdbc\lib\orai18n.jar;D:\NGC IT\Software\Oracle\Java Developer\jdbc\lib\ocrs12.jar;D:\NGC IT\Software\Oracle\Java Developer\diagnostics\lib\ojdl.jar;D:\NGC IT\Software\Oracle\Java Developer\lib\dms.jar;D:\NGC IT\Software\Oracle\Java Developer\j2ee\home\lib\activation.jar;D:\NGC IT\Software\Oracle\Java Developer\j2ee\home\lib\ejb.jar;D:\NGC IT\Software\Oracle\Java Developer\j2ee\home\lib\jms.jar;D:\NGC IT\Software\Oracle\Java Developer\j2ee\home\lib\jta.jar;D:\NGC IT\Software\Oracle\Java Developer\j2ee\home\lib\mail.jar;D:\NGC IT\Software\Oracle\Java Developer\j2ee\home\lib\servlet.jar" -sourcepath C:\BIPublisherIDE\BIPublisherIDE\src;\j2sdk1.4.2_13\src.zip C:\BIPublisherIDE\BIPublisherIDE\src\bipublisher\api\XMLPublisherApi.java C:\BIPublisherIDE\BIPublisherIDE\src\bipublisher\api\XMLPublisherDataTemplate.java C:\BIPublisherIDE\BIPublisherIDE\src\bipublisher\api\XMLPublisherDelivery.java C:\BIPublisherIDE\BIPublisherIDE\src\bipublisher\config\XMLPublisherConfig.java C:\BIPublisherIDE\BIPublisherIDE\src\bipublisher\utility\XMLPublisherUtility.java
Error: cannot read: java.lang.Object
[11:07:06] Successful compilation: 0 errors, 0 warnings.
Can you suggest why I get "Error: cannot read: java.lang.Object"
Many thanks
Simon -
Question regarding Authorizations in SAP CRM 7.0
Hello,
The problem is this:
We have a client who will use two ways of accessing SAP CRM 7.0 data -
1. CRM Web UI
2. Mobile devices via standard SAP CRM BAPIs
Now the situation is that the client wishes to control display authorizations based on the Business Role. Certain Business Roles can allow its User to see Accounts where the User is also Employee Responsible and certain other Business Roles can allow its User to see all those Accounts that are associated with that Role. In summary Business Roles control what an User can see.
This has already been implemented for the CRM Web UI using the Access Control Engine (ACE).
Now the questions are:
1. How do we implement this for BAPI Access?
2. Should we recreate what has been achieved by ACE, via PFCG Authorization Profiles?
3. Can we not reuse what has been done by ACE?
4. What are the runtime APIs that allow somebody to use the authorization checks of ACE?
5. Does the standard Function Module CRM_ORDER_CHECK_AUTHORITY_ACE help in this regard?
Any help here will be greatly appreciated. Please let me know if you need any clarifications.
Thanks in advance.
Best regards,
SudhiHello,
Normally, some notes are recommended in addition to the current support package implementation because they were developed to solve any known issues. These known issues occurred as side effect of any note which belongs to the implemented support package.
If you take a look at older release notes, you will see the same.
This is a part of implementation stack.
1345085 SAP SRM 7.0 SP Stack 04 (09/2009):Release & Information Note
1365574 SAP SRM 7.0 SP Stack 05 (12/2009):Release & Information Note
1436687 SAP SRM 7.0 SP Stack 06 (03/2010):Release & Information Note
Kind regards,
Ricardo -
JBoss EAR wont deploy on some machines
Hi,
I am having problems deploying an EAR firl on my production machine.
The EAR works fine on my development machine but will not deply the EJB on the live machine.
I have checked the configs and installed versions of JBoss, JDK and servers but can not find differences (Same versions, etc)
The 'offending' class not found file (customer.xsd2ejb.customerModelEntryForm) is in both the WAR and -EJB.JAR of the EAR
Recompiling the sources on the production ,achine also doesnt help
Any ideas on what JBoss is looking for?
Chris
Here is the stacktrace from the JBoss console log
16:05:17,453 INFO [EJBDeployer] nested deployment: file:/D:/usr/local/share/jboss-3.2.3/server/default/tmp/deploy/tmp2834parner.ear-contents/parner-ejb
.jar-contents/jwsdp-shared/lib/xsdlib.jar
16:05:25,125 WARN [EJBDeployer] Verify failed; continuing
java.lang.NoClassDefFoundError: customer/xsd2ejb/customerModelEntryForm
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:1647)
at java.lang.Class.privateGetPublicMethods(Class.java:1770)
at java.lang.Class.privateGetPublicMethods(Class.java:1786)
at java.lang.Class.getMethods(Class.java:824)
at org.jboss.verifier.strategy.AbstractVerifier.hasEJBCreateMethod(AbstractVerifier.java:688)
at org.jboss.verifier.strategy.EJBVerifier20.verifyCMPEntityBean(EJBVerifier20.java:1903)
at org.jboss.verifier.strategy.EJBVerifier20.checkBmpOrCmp2Entity(EJBVerifier20.java:167)
at org.jboss.verifier.strategy.EJBVerifier20.checkEntity(EJBVerifier20.java:137)
at org.jboss.verifier.BeanVerifier.verify(BeanVerifier.java:154)
at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:475)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:786)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:778)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy6.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:274)
at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:394)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:226)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:589)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:384)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:291)
at org.jboss.Main.boot(Main.java:150)
at org.jboss.Main$1.run(Main.java:395)
at java.lang.Thread.run(Thread.java:534)
16:05:25,125 ERROR [MainDeployer] could not create deployment: file:/D:/usr/local/share/jboss-3.2.3/server/default/tmp/deploy/tmp2834parner.ear-content
s/parner-ejb.jar
org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed, see above for error messages.
at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:491)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:786)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:778)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy6.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:274)
at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:394)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:226)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:589)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:384)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:291)
at org.jboss.Main.boot(Main.java:150)
at org.jboss.Main$1.run(Main.java:395)
at java.lang.Thread.run(Thread.java:534)
16:05:25,171 ERROR [MainDeployer] could not create deployment: file:/D:/usr/local/share/jboss-3.2.3/server/default/deploy/parner.ear
org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed, see above for error messages.
at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:491)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:786)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:778)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy6.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:274)
at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:394)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:226)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:589)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:384)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:291)
at org.jboss.Main.boot(Main.java:150)
at org.jboss.Main$1.run(Main.java:395)
at java.lang.Thread.run(Thread.java:534)
16:05:25,218 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()'
Cause: Incomplete Deployment listing:
Packages waiting for a deployer:
Incompletely deployed packages:
[org.jboss.deployment.DeploymentInfo@3cec5de { url=file:/D:/usr/local/share/jboss-3.2.3/server/default/deploy/parner.ear }
deployer: org.jboss.deployment.EARDeployer@11d2572
status: Deployment FAILED reason: Verification of Enterprise Beans failed, see above for error messages.
state: FAILED
watch: file:/D:/usr/local/share/jboss-3.2.3/server/default/deploy/parner.ear
lastDeployed: 1085061924375
lastModified: 1085061914859
mbeans:
]MBeans waiting for classes:
MBeans waiting for other MBeans:Aha,
Silly me, Seems the real class being looked for is in an included library. THis lib was visible on the development lib path, but not on the production lib path.
Pity the classloader doesnt point to the real class it is looking for.
I guess I should have realised, struts is expert at catching and rethrowing exceptions to hide the real point of error. Really makes debugging a pain. Shouldnt there be a pattern around this, so the developer always gets something meaningful?? -
Error - Install 9i DS r. 9.0.2 on RedHat Linux
I tried to install Dev Suite 9i r. 9.0.2 (release 2) for Linux on RedHat 7.3 and RedHat 8.0. On both versions I get the same error during install:
Error: invoking /usr/oracle/developer/plsql/lib/ins_plsql.mk
This error occurs because the libclntsh.so is not foun as I've seen in the make.log file.
/usr/oracle/developer/bin/genclntsh
/usr/oracle/developer/lib/libgeneric9.a(skgfr.o): In function `skgfrpini':
skgfr.o(.text+0x125): undefined reference to `__cmpdi2'
Created /usr/oracle/developer/lib/libclntst9.a
/usr/oracle/developer/bin/genagtsh /usr/oracle/developer/lib/libagtsh.so 1.0
/usr/bin/make -f ins_plsql.mk install ORACLE_HOME=/usr/oracle/developer
chmod 755 /usr/oracle/developer/bin
rm -f wrap
Linking wrap
gcc -o wrap -L/usr/oracle/developer/plsql/lib/ -L/usr/oracle/developer/lib/ /usr/oracle/developer/plsql/lib/s0plsw.o -lpsa9 -lpls9 -lplp9 -lclntsh `cat /usr/oracle/developer/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnro9 `cat /usr/oracle/developer/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -lwtc9 -lmm -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 `cat /usr/oracle/developer/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnro9 `cat /usr/oracle/developer/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -ltrace9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 `cat /usr/oracle/developer/lib/sysliblist` -ldl -lm /usr/oracle/developer/lib/libplc9.a -lpls9 -lclient9 -lnl9 -lnro9 -ln9 /usr/oracle/developer/rdbms/lib/kpudfo.o -lmm -ltrace9 -lgeneric9 -lcommon9 -lslax9 -lcore9 -lunls9 -lsnls9 -lnls9 -lcore9 -lsql9 `cat /usr/oracle/developer/lib/sysliblist` -Wl,-rpath,/usr/oracle/developer/lib:/lib:/usr/lib -lm `cat /usr/oracle/developer/lib/sysliblist` -ldl -lm
/usr/bin/ld: cannot find -lclntsh
collect2: ld returned 1 exit status
make: *** [wrap] Error 1
I tried the clasical "binutils" downgrade soluntion, removing "-z defs" (the value LD_SELF_CONTAINED from genctlsh script etc. ... And is not working at all.
Does anyone has any ideea how this can be fixed for Developer Suite ? .. all the solutions known are working fine for the database but for Dev Suite ... no !!
Thank you
CalinI tried to install Dev Suite 9i r. 9.0.2 (release 2) for Linux on RedHat 7.3 and RedHat 8.0. On both versions I get the same error during install:
Error: invoking /usr/oracle/developer/plsql/lib/ins_plsql.mk
This error occurs because the libclntsh.so is not foun as I've seen in the make.log file.
/usr/oracle/developer/bin/genclntsh
/usr/oracle/developer/lib/libgeneric9.a(skgfr.o): In function `skgfrpini':
skgfr.o(.text+0x125): undefined reference to `__cmpdi2'
Created /usr/oracle/developer/lib/libclntst9.a
/usr/oracle/developer/bin/genagtsh /usr/oracle/developer/lib/libagtsh.so 1.0
/usr/bin/make -f ins_plsql.mk install ORACLE_HOME=/usr/oracle/developer
chmod 755 /usr/oracle/developer/bin
rm -f wrap
Linking wrap
gcc -o wrap -L/usr/oracle/developer/plsql/lib/ -L/usr/oracle/developer/lib/ /usr/oracle/developer/plsql/lib/s0plsw.o -lpsa9 -lpls9 -lplp9 -lclntsh `cat /usr/oracle/developer/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnro9 `cat /usr/oracle/developer/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -lwtc9 -lmm -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 `cat /usr/oracle/developer/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnro9 `cat /usr/oracle/developer/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -ltrace9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 `cat /usr/oracle/developer/lib/sysliblist` -ldl -lm /usr/oracle/developer/lib/libplc9.a -lpls9 -lclient9 -lnl9 -lnro9 -ln9 /usr/oracle/developer/rdbms/lib/kpudfo.o -lmm -ltrace9 -lgeneric9 -lcommon9 -lslax9 -lcore9 -lunls9 -lsnls9 -lnls9 -lcore9 -lsql9 `cat /usr/oracle/developer/lib/sysliblist` -Wl,-rpath,/usr/oracle/developer/lib:/lib:/usr/lib -lm `cat /usr/oracle/developer/lib/sysliblist` -ldl -lm
/usr/bin/ld: cannot find -lclntsh
collect2: ld returned 1 exit status
make: *** [wrap] Error 1
I tried the clasical "binutils" downgrade soluntion, removing "-z defs" (the value LD_SELF_CONTAINED from genctlsh script etc. ... And is not working at all.
Does anyone has any ideea how this can be fixed for Developer Suite ? .. all the solutions known are working fine for the database but for Dev Suite ... no !!
Thank you
Calin -
Package and Directory Structure
Hello --
I work in a group that supports 3 web sites. (b2b, b2c, b2e)
We're just beginning to develop Java in-house and
currently using Solaris and JDK 1.2.x.
I need to propose a package and directory structure strategy.
The "reverse the domain name" guideline makes sense to me.
My first thoughts are: ("classes" dir could be created anywhere)
classes/com/ppco/b2X/ <--- for .java and .class files (development)
lib/ <--- for b2X JAR files (ready for test or production)
util/ <--- for our utility classes like DBAccessor
lib/ <--- for our JAR files
sun/ <--- for classes like com.sun.mail pkg
lib/ <--- for JAR files like mail.jar
org/ <--- for classes in org.omg.CORBA pkg
lib/ <--- for JAR files
We need to handle 3rd party classes.
Development would be done in the b2X tree and JAR files would
be installed the lib/ dir for testing and release to production.
Does anyone have recommendations or experiences to share ?
Are there some things to avoid ?
Thanks !
AlHello Al,
you are on the right track. A typical convention I follow is:
<project>
bin - for startup scripts, etc. to run your application
build - for build scripts (not necessary if you build using your IDE. See below.)
classes - for my compiled classes
lib - for my 3rd party libraries
src - for my source code
test - for my test code (see http://junit.org/ )
That's the project hierarchy. The src (i.e. the package heirarchy) structure is another story.
As you say, you start with the reverse domain name. This is to give your packages a unique namespace. After that, your best guide is practice. Packages can be larger or smaller, depending on your coding practices. Usually you would have these (exact names may differ), plus others:
com/ppco/client
com/ppco/server
com/ppco/common
com/ppco/db
I think your break down of sun, org, etc. is a bit too much. If you would like to do so, however, I recommend you do the separation under /lib. This way, the top level project directory is not polluted by the different types of libraries in use.
Regards,
Manuel Amago.
From build above: I would suggest you always build your release distribution directly with the JDK, not using any IDE compiler. This is because Sun's JDK is the reference implementation, thus, any compatibility issues are not yours.
An easy way to achieve this is by using ANT (see http://jakarta.apache.ort/ant/ ).
Maybe you are looking for
-
How to enter a multi-line comment in the Info editor?
When entering comments for a song (in Command-I Info), is there an easy way to break the comment into multiple lines? I realize that I can copy-and-paste from a text editor, but (a) it's cumbersome (b) the line breaks don't show in the Comments colum
-
Stateful session bean returns null
Hi, I call a stateful session bean which should return a Long object. Everything works fine while the bean executes and the Long object is returned by the bean. But in the EJB-Client I get a null object. The EJB-Client is a OC4J 10g standalone server
-
Kinda strange! Green vertical lines appeared
Hey everyone! I've had a little search but couldn't find anything as specific as this question but apologies if it is about. Ok well a few moments ago I had this problem. I was running a few apps (iTunes, Safari, Shakespeer) I went to play a quicktim
-
Understanding instances...
-->> I'm trying to understand the instances, but i found something that make feel insecure: the next code works and represents an ouput stream file; however, i don�t see the "new" reserved word in this code in order to create the "out" object. PrintW
-
Hi frnds, Can u explain me about the FORK step . what is the difference between FORK step and SWITCH step.