Gcc errors. Where is asm/page.h?
Hi,
I'm trying to compile some code using gcc. The code does include asm/page.h but I don't have thad header in /usr/include/asm or asm-generic. Linux headers are installed.
x.c:30:22: fatal error: asm/page.h: No such file or directory
#include <asm/page.h>
^
compilation terminated.
Any idea how to fix this?
Last edited by Truc (2014-09-24 14:15:29)
Indeed Marcel-. I edited my post also included error message.
▶ ls /usr/include/asm-generic/
auxvec.h int-ll64.h mman.h sembuf.h signal.h termbits.h
bitsperlong.h ioctl.h msgbuf.h setup.h socket.h termios.h
errno-base.h ioctls.h param.h shmbuf.h sockios.h types.h
errno.h ipcbuf.h poll.h shmparam.h stat.h ucontext.h
fcntl.h kvm_para.h posix_types.h siginfo.h statfs.h unistd.h
int-l64.h mman-common.h resource.h signal-defs.h swab.h
▶ ls /usr/include/asm
a.out.h hyperv.h msr-index.h processor-flags.h socket.h unistd_32.h
auxvec.h ioctl.h msr.h ptrace-abi.h sockios.h unistd_64.h
bitsperlong.h ioctls.h mtrr.h ptrace.h stat.h unistd_x32.h
boot.h ipcbuf.h param.h resource.h statfs.h vm86.h
bootparam.h ist.h perf_regs.h sembuf.h svm.h vmx.h
byteorder.h kvm.h poll.h setup.h swab.h vsyscall.h
debugreg.h kvm_para.h posix_types.h shmbuf.h termbits.h
e820.h ldt.h posix_types_32.h sigcontext.h termios.h
errno.h mce.h posix_types_64.h sigcontext32.h types.h
fcntl.h mman.h posix_types_x32.h siginfo.h ucontext.h
hw_breakpoint.h msgbuf.h prctl.h signal.h unistd.h
Similar Messages
-
[SOLVED] gcc: error: unrecognized command line option '-V'
Hi.. this is my first post but I always read the forum to solve my problem! ;) thank you to all!!!! sorry for my bad english in advanced...
This is my problem:
I have Archlinux x86_64 with Gnome (last version).
I try to install the driver for my printer epson sx218 but when I compile the bash show:
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.
now, I see the config.log file and I see the line:
gcc: error: unrecognized command line option '-V'
my makepkg.conf:
# /etc/makepkg.conf
# SOURCE ACQUISITION
#-- The download utilities that makepkg should use to acquire sources
# Format: 'protocol::agent'
DLAGENTS=('ftp::/usr/bin/curl -fC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u'
'http::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u'
'https::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u'
'rsync::/usr/bin/rsync --no-motd -z %u %o'
'scp::/usr/bin/scp -C %u %o')
# Other common tools:
# /usr/bin/snarf
# /usr/bin/lftpget -c
# /usr/bin/wget
# ARCHITECTURE, COMPILE FLAGS
CARCH="x86_64"
CHOST="x86_64-unknown-linux-gnu"
#-- Compiler and Linker Flags
# -march (or -mcpu) builds exclusively for an architecture
# -mtune optimizes for an architecture, but builds for whole processor family
CPPFLAGS="-D_FORTIFY_SOURCE=2"
CFLAGS="-march=native -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4"
CXXFLAGS="${CFLAGS}"
LDFLAGS="-Wl, -O1,--sort-common,--as-needed,-z,relro"
#-- Make Flags: change this for DistCC/SMP systems
MAKEFLAGS="-j2"
#-- Debugging flags
DEBUG_CFLAGS="-g -fvar-tracking-assignments"
DEBUG_CXXFLAGS="-g -fvar-tracking-assignments"
# BUILD ENVIRONMENT
# Defaults: BUILDENV=(fakeroot !distcc color !ccache check !sign)
# A negated environment option will do the opposite of the comments below.
#-- fakeroot: Allow building packages as a non-root user
#-- distcc: Use the Distributed C/C++/ObjC compiler
#-- color: Colorize output messages
#-- ccache: Use ccache to cache compilation
#-- check: Run the check() function if present in the PKGBUILD
#-- sign: Generate PGP signature file
BUILDENV=(fakeroot !distcc color !ccache check !sign)
#-- If using DistCC, your MAKEFLAGS will also need modification. In addition,
#-- specify a space-delimited list of hosts running in the DistCC cluster.
#DISTCC_HOSTS=""
#-- Specify a directory for package building.
#BUILDDIR=/tmp/makepkg
# GLOBAL PACKAGE OPTIONS
# These are default values for the options=() settings
# Default: OPTIONS=(strip docs libtool staticlibs emptydirs zipman purge !upx !debug)
# A negated option will do the opposite of the comments below.
#-- strip: Strip symbols from binaries/libraries
#-- docs: Save doc directories specified by DOC_DIRS
#-- libtool: Leave libtool (.la) files in packages
#-- staticlibs: Leave static library (.a) files in packages
#-- emptydirs: Leave empty directories in packages
#-- zipman: Compress manual (man and info) pages in MAN_DIRS with gzip
#-- purge: Remove files specified by PURGE_TARGETS
#-- upx: Compress binary executable files using UPX
#-- debug: Add debugging flags as specified in DEBUG_* variables
OPTIONS=(strip docs libtool staticlibs emptydirs zipman purge !upx !debug)
#-- File integrity checks to use. Valid: md5, sha1, sha256, sha384, sha512
INTEGRITY_CHECK=(md5)
#-- Options to be used when stripping binaries. See `man strip' for details.
STRIP_BINARIES="--strip-all"
#-- Options to be used when stripping shared libraries. See `man strip' for details.
STRIP_SHARED="--strip-unneeded"
#-- Options to be used when stripping static libraries. See `man strip' for details.
STRIP_STATIC="--strip-debug"
#-- Manual (man and info) directories to compress (if zipman is specified)
MAN_DIRS=({usr{,/local}{,/share},opt/*}/{man,info})
#-- Doc directories to remove (if !docs is specified)
DOC_DIRS=(usr/{,local/}{,share/}{doc,gtk-doc} opt/*/{doc,gtk-doc})
#-- Files to be removed from all packages (if purge is specified)
PURGE_TARGETS=(usr/{,share}/info/dir .packlist *.pod)
# PACKAGE OUTPUT
# Default: put built package and cached source in build directory
#-- Destination: specify a fixed directory where all packages will be placed
#PKGDEST=/home/packages
#-- Source cache: specify a fixed directory where source files will be cached
#SRCDEST=/home/sources
#-- Source packages: specify a fixed directory where all src packages will be placed
#SRCPKGDEST=/home/srcpackages
#-- Log files: specify a fixed directory where all log files will be placed
#LOGDEST=/home/makepkglogs
#-- Packager: name/email of the person or organization building packages
#PACKAGER="John Doe <[email protected]>"
#-- Specify a key to use for package signing
#GPGKEY=""
# COMPRESSION DEFAULTS
COMPRESSGZ=(gzip -c -f -n)
COMPRESSBZ2=(bzip2 -c -f)
COMPRESSXZ=(xz -c -z -)
COMPRESSLRZ=(lrzip -q)
COMPRESSLZO=(lzop -q)
COMPRESSZ=(compress -c -f)
# EXTENSION DEFAULTS
# WARNING: Do NOT modify these variables unless you know what you are
# doing.
PKGEXT='.pkg.tar.xz'
SRCEXT='.src.tar.gz'
# vim: set ft=sh ts=2 sw=2 et:
this is my full config.log:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by epson-inkjet-printer-filter configure 1.0.0, which was
generated by GNU Autoconf 2.61. Invocation command line was
$ ./configure LDFLAGS=-Wl, -O1,--sort-common,--as-needed,-z,relro -Wl,--no-as-needed --prefix=/opt/epson-inkjet-printer-workforce-320-sx218
## Platform. ##
hostname = localhost
uname -m = x86_64
uname -r = 3.9.3-1-ARCH
uname -s = Linux
uname -v = #1 SMP PREEMPT Sun May 19 22:50:29 CEST 2013
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/local/sbin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/bin/core_perl
## Core tests. ##
configure:1989: checking for a BSD-compatible install
configure:2045: result: /usr/bin/install -c
configure:2056: checking whether build environment is sane
configure:2099: result: yes
configure:2127: checking for a thread-safe mkdir -p
configure:2166: result: /usr/bin/mkdir -p
configure:2179: checking for gawk
configure:2195: found /usr/bin/gawk
configure:2206: result: gawk
configure:2217: checking whether make sets $(MAKE)
configure:2238: result: yes
configure:2480: checking for gcc
configure:2496: found /usr/bin/gcc
configure:2507: result: gcc
configure:2745: checking for C compiler version
configure:2752: gcc --version >&5
gcc (GCC) 4.8.0 20130502 (prerelease)
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:2755: $? = 0
configure:2762: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: /build/src/gcc-4.8-20130502/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --enable-gnu-unique-object --enable-linker-build-id --enable-cloog-backend=isl --disable-cloog-version-check --enable-lto --enable-gold --enable-ld=default --enable-plugin --with-plugin-ld=ld.gold --with-linker-hash-style=gnu --disable-install-libiberty --disable-multilib --disable-libssp --disable-werror --enable-checking=release
Thread model: posix
gcc version 4.8.0 20130502 (prerelease) (GCC)
configure:2765: $? = 0
configure:2772: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:2775: $? = 1
configure:2798: checking for C compiler default output file name
configure:2825: gcc -march=native -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wl, -O1,--sort-common,--as-needed,-z,relro -Wl,--no-as-needed conftest.c >&5
cc1: error: argument to '-O' should be a non-negative integer, 'g', 's' or 'fast'
configure:2828: $? = 1
configure:2866: result:
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "epson-inkjet-printer-filter"
| #define PACKAGE_TARNAME "epson-inkjet-printer-filter"
| #define PACKAGE_VERSION "1.0.0"
| #define PACKAGE_STRING "epson-inkjet-printer-filter 1.0.0"
| #define PACKAGE_BUGREPORT "epson@localdomain"
| #define PACKAGE "epson-inkjet-printer-filter"
| #define VERSION "1.0.0"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2873: error: C compiler cannot create executables
See `config.log' for more details.
## Cache variables. ##
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-march=native -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4'
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value=-D_FORTIFY_SOURCE=2
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=set
ac_cv_env_CXXFLAGS_value='-march=native -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4'
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_F77_set=
ac_cv_env_F77_value=
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value='-Wl, -O1,--sort-common,--as-needed,-z,relro -Wl,--no-as-needed'
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/usr/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes
## Output variables. ##
ACLOCAL='${SHELL} /home/liberato/Scaricati/epson-inkjet-printer-workforce-320-sx218/src/epson-inkjet-printer-filter-1.0.0/missing --run aclocal-1.10'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /home/liberato/Scaricati/epson-inkjet-printer-workforce-320-sx218/src/epson-inkjet-printer-filter-1.0.0/missing --run tar'
AR=''
AUTOCONF='${SHELL} /home/liberato/Scaricati/epson-inkjet-printer-workforce-320-sx218/src/epson-inkjet-printer-filter-1.0.0/missing --run autoconf'
AUTOHEADER='${SHELL} /home/liberato/Scaricati/epson-inkjet-printer-workforce-320-sx218/src/epson-inkjet-printer-filter-1.0.0/missing --run autoheader'
AUTOMAKE='${SHELL} /home/liberato/Scaricati/epson-inkjet-printer-workforce-320-sx218/src/epson-inkjet-printer-filter-1.0.0/missing --run automake-1.10'
AWK='gawk'
CC='gcc'
CCDEPMODE=''
CFLAGS='-march=native -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4'
CORE_LIBRARY_PATH=''
CORE_RESOURCE_PATH=''
CPP=''
CPPFLAGS='-D_FORTIFY_SOURCE=2'
CUPS_IMAGE_LIBS=''
CUPS_LIBS=''
CUPS_SERVER_DIR=''
CXX=''
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS='-march=native -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4'
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
DL_LIBS=''
DSYMUTIL=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
F77=''
FFLAGS=''
GREP=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LDFLAGS='-Wl, -O1,--sort-common,--as-needed,-z,relro -Wl,--no-as-needed'
LIBOBJS=''
LIBS=''
LIBTOOL=''
LN_S=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/liberato/Scaricati/epson-inkjet-printer-workforce-320-sx218/src/epson-inkjet-printer-filter-1.0.0/missing --run makeinfo'
NMEDIT=''
OBJEXT=''
PACKAGE='epson-inkjet-printer-filter'
PACKAGE_BUGREPORT='epson@localdomain'
PACKAGE_NAME='epson-inkjet-printer-filter'
PACKAGE_STRING='epson-inkjet-printer-filter 1.0.0'
PACKAGE_TARNAME='epson-inkjet-printer-filter'
PACKAGE_VERSION='1.0.0'
PATH_SEPARATOR=':'
RANLIB=''
SED=''
SET_MAKE=''
SHELL='/bin/sh'
STDCPP_LIBS=''
STRIP=''
VERSION='1.0.0'
ac_ct_CC='gcc'
ac_ct_CXX=''
ac_ct_F77=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include=''
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='$(SHELL) /home/liberato/Scaricati/epson-inkjet-printer-workforce-320-sx218/src/epson-inkjet-printer-filter-1.0.0/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='/usr/bin/mkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/opt/epson-inkjet-printer-workforce-320-sx218'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## confdefs.h. ##
#define PACKAGE_NAME "epson-inkjet-printer-filter"
#define PACKAGE_TARNAME "epson-inkjet-printer-filter"
#define PACKAGE_VERSION "1.0.0"
#define PACKAGE_STRING "epson-inkjet-printer-filter 1.0.0"
#define PACKAGE_BUGREPORT "epson@localdomain"
#define PACKAGE "epson-inkjet-printer-filter"
#define VERSION "1.0.0"
configure: exit 77
any idea to solve? I searched around but can not find anything.. :'(
Last edited by liberato83 (2013-05-24 13:25:18)Are you using AUR https://aur.archlinux.org/packages/epso … 320-sx218/ ?
I updated the PKGBUILD to remove the line that says 'gcc -V >&5' from the configure file
libtoolize
sed -i 's/gcc -V >&5//' configure
chmod +x configure
but it still doesn't build:
==> Starting build()...
libtoolize: putting auxiliary files in `.'.
libtoolize: linking file `./ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognize dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 1572864
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
(cached) (cached) checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for dlopen in -ldl... yes
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking return type of signal handlers... void
checking for vprintf... yes
checking for _doprnt... no
checking for memset... yes
checking for strdup... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/raster/Makefile
config.status: creating src/raster/blendSource/Makefile
config.status: creating src/memory/Makefile
config.status: creating src/pagemanager/Makefile
config.status: creating src/filteropt/Makefile
config.status: creating config.h
config.status: executing depfiles commands
cd . && /bin/sh /home/karol/test/foo/epson-inkjet-printer-workforce-320-sx218/src/epson-inkjet-printer-filter-1.0.0/missing --run automake-1.10 --gnu
/home/karol/test/foo/epson-inkjet-printer-workforce-320-sx218/src/epson-inkjet-printer-filter-1.0.0/missing: line 54: automake-1.10: command not found
WARNING: `automake-1.10' is missing on your system. You should only need it if
you modified `Makefile.am', `acinclude.m4' or `configure.ac'.
You might want to install the `Automake' and `Perl' packages.
Grab them from any GNU archive site.
cd . && /bin/sh ./config.status Makefile
config.status: creating Makefile
cd . && /bin/sh /home/karol/test/foo/epson-inkjet-printer-workforce-320-sx218/src/epson-inkjet-printer-filter-1.0.0/missing --run autoheader
rm -f stamp-h1
touch config.h.in
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
make all-recursive
make[1]: Entering directory `/home/karol/test/foo/epson-inkjet-printer-workforce-320-sx218/src/epson-inkjet-printer-filter-1.0.0'
Making all in src
make[2]: Entering directory `/home/karol/test/foo/epson-inkjet-printer-workforce-320-sx218/src/epson-inkjet-printer-filter-1.0.0/src'
cd .. && /bin/sh ./config.status src/Makefile depfiles
config.status: creating src/Makefile
config.status: executing depfiles commands
make[2]: Leaving directory `/home/karol/test/foo/epson-inkjet-printer-workforce-320-sx218/src/epson-inkjet-printer-filter-1.0.0/src'
make[2]: Entering directory `/home/karol/test/foo/epson-inkjet-printer-workforce-320-sx218/src/epson-inkjet-printer-filter-1.0.0/src'
Making all in memory
make[3]: Entering directory `/home/karol/test/foo/epson-inkjet-printer-workforce-320-sx218/src/epson-inkjet-printer-filter-1.0.0/src/memory'
cd ../.. && /bin/sh ./config.status src/memory/Makefile depfiles
config.status: creating src/memory/Makefile
config.status: executing depfiles commands
make[3]: Leaving directory `/home/karol/test/foo/epson-inkjet-printer-workforce-320-sx218/src/epson-inkjet-printer-filter-1.0.0/src/memory'
make[3]: Entering directory `/home/karol/test/foo/epson-inkjet-printer-workforce-320-sx218/src/epson-inkjet-printer-filter-1.0.0/src/memory'
/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../ -D_FORTIFY_SOURCE=2 -fsigned-char -O2 -MT memory.lo -MD -MP -MF .deps/memory.Tpo -c -o memory.lo memory.c
../../libtool: line 482: CDPATH: command not found
libtool: Version mismatch error. This is libtool 2.4.2, but the
libtool: definition of this LT_INIT comes from an older release.
libtool: You should recreate aclocal.m4 with macros from libtool 2.4.2
libtool: and run autoconf again.
make[3]: *** [memory.lo] Error 63
make[3]: Leaving directory `/home/karol/test/foo/epson-inkjet-printer-workforce-320-sx218/src/epson-inkjet-printer-filter-1.0.0/src/memory'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/karol/test/foo/epson-inkjet-printer-workforce-320-sx218/src/epson-inkjet-printer-filter-1.0.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/karol/test/foo/epson-inkjet-printer-workforce-320-sx218/src/epson-inkjet-printer-filter-1.0.0'
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting... -
Get error while invoking a page with "create"
I get this error while invoking a page with "create". Also please any one tell me where is the log file is place to see the full story.
]] Root cause of ServletException.
javax.el.PropertyNotFoundException: Target Unreachable, 'Comments' returned null
at com.sun.el.parser.AstValue.getTarget(AstValue.java:88)
at com.sun.el.parser.AstValue.isReadOnly(AstValue.java:126)
at com.sun.el.ValueExpressionImpl.isReadOnly(ValueExpressionImpl.java:230)
at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.getReadOnly(EditableValueRenderer.java:400)
at oracle.adfinternal.view.faces.renderkit.rich.FormElementRenderer.renderAsElement(FormElementRenderer.java:199)
Truncated. see log file for complete stacktrace
If i use a "create button then it does not throw error.
Please help.When you are invoking your page, does your view object has an empty row where data can go and presist?
Create a an empty row in your view object(vo.createRow()) , or use create operation from data control palette.
You can set the log in Tools->Preferences-->Environment-->Log.
Regards,
Vikram -
Here is a ticket regarding our current client web application ( Image data add, edit , delete in folder with form data in MSSQL Database) that using code c#, web form, ajax, VS2008, MSSQL Server2008 , it appears that there is an error where the HTTP
503 error occurs.
. Below is a conversation with Host Server support assistant.Can you take a look at it?
Ben (support) - Hi
Customer - We're having an issue with our windows host
Ben (support) - What's the issue?
Customer - 503 errors
Ben (support) - I am not getting any 503 errors on your site, is there a specific url to duplicate the error?
Customer - no, it comes and goes without any change Customer - could you have access to any logs ?
Ben (support) - Error logs are only available on Linux shared hosting, however with this error it may be related to you reaching your concurrent connections
Ben (support) - You can review more about this at the link \
Customer - probably yes - how can we troubleshoot ?
Ben (support) - http://support.godaddy.com/help/article/3206/how-many-visitors-can-view-my-site-at-once
Ben (support) - This is something you need to review your code and databases to make sure they are closing the connections in a timely manner
Customer - we're low traffic, this is an image DB to show our product details to our customers
Customer - ahhhh, so we could have straying sessions ?
Ben (support) - Correct Customer - any way you could check if it's the case ?
Customer - because it was working previously
Ben (support) - We already know that's the case as you stated the 503 errors don't happen all the time if it were issue on the server the the 503 would stay.
Customer - so our 2/3 max concurrent users can max out the 200 sessions
Customer - correct ?
Customer - is there a timeout ?
Ben (support) - no that's not a time out concurrent connections are a little different then sessions and or connections. Lets say for an example you have 5 images on your site and 5 7 users come to your site this is not 7 concurrent connections but 35. They
do close after awhile hence why the 503 error comes and goes. You can have these connections close sooner using code but this is something you have to research using your favorite search engine
Customer - thank you so much
Customer - I'm surprised that this just started a few weeks ago when we haven't changed anything for months
Customer - any changes from your side ? lowering of the value maybe ?
Customer - I'm trying to understand what I can report as a significant change
Ben (support) - We haven't touched that limit in years
Ben (support) - This could just be more users to your site than normal or even more images
Customer - I was thinking that could be it indeed
Customer - so I need to research how to quickly close connections when not needed
Ben (support) - Correctly
Ben (support) - correct
Customer - thanks !!
Ben (support) - Your welcome
Analysis :
The link provided tells us : All Plesk accounts are limited to 200 simultaneous visitors.
From what Ben (support) says and a little extra research, if those aren't visitors but connections then it's quite easy to max out, especially if the connections aren't closed when finished using. I'd suggest forwarding this to Kasem to see what he thinks.
Cheers,
CustomerHi Md,
Thank you for posting in the MSDN forum.
>>
I want to writte C# code for 503 Service Unavailable error to web application page immediate close connection any page loaded.
Since
Visual Studio General Forum which discuss VS IDE issue, I am afraid that you post the issue in an incorrect forum.
To help you find the correct forum, would you mind letting us know more information about this issue? Which kind of web app you develop using C# language? Is it an ASP.NET Web Application?
If yes, I suggest you could post the issue directly on
ASP.NET forum, it would better support your issue.
Thanks for your understanding.
Best Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey. -
Hi everyone,
I posted this in September: "Over the past week, I have received pdfs from 2 different graphic design contractors that do not open correctly in Acrobat 9 Pro. There is an error in the document and when I scroll to the page where the error is, I get: "An error exists on this page. Acrobat may not display the page correctly. Please contact the person hwo created the PDF document to correct the problem." I did this, and the contractor remade the pdf 3 times, and I still couldn't open it. This contractor is already using CS5. For the problem today, I haven't asked for it to be remade yet--decided to see if I could find out if anyone else is having the same problem. The second contractor is using CS4. The only thing that I have done differently at my end over the past week is upgrade CS4 to CS5. I already had Acrobat Pro 9 so I didn't update it when I updated my CS5 products. Should I have upgraded Acrobat 9 anyway? Somehow, it doesn't feel right that this is the problem. Any info on this would be appreciated."
I got one response from that posting, suggesting that the pdf was corrupted over email. That wasn't the problem.
What I didn't say above is that whenever I got an error message upon opening the pdf and clicked OK, I got another message: "Insufficient data for an image." I found that one or all of the images in the pdf were missing. Upon further investigation, the contractor and I found that sometimes the error message pointed to a specific font used--that being a Helvetica Bold font. Once we substituted it with a Helvetica Neue LT Std Adobe Opentype font, we no longer had an issue.
However, the problem rose it's ugly head today--what, 6 months later! I'm talking about 2 different pdfs this time.
For PDF#1, I got this error message about the font: "Cannot extract the embedded font 'JNAGNS+HelveticaNeueLTStd-Bd'. Some characters may not display or print correctly." When I click OK, I get another: "Insufficient data for an image." The images don't show up in the pdf. What I don't understand about this pdf is that this is one of those that was fixed in September. The only changes made in the document was to paragraph text--none to the text in the images. When I opened the revised pdf today, I am getting the same message again. This makes no sense.
I returned to my September blog to see if any further advice had been posted, but nada--not even anything from Adobe about it. I goggled until I found where someone suggested running a "Report PDF syntax issues" analysis in Preflight. I did that and even though the analysis showed the pdf passed, I checked the fonts in the list and saw that the one pointed to in the error message showed that a long list of glyphs were missing on both pages of the pdf. I have asked my contractor to replace her font with a new one, in case it has gotten corrupted. Haven't a new pdf to open yet.
Then when I opened PDF#2, I got the message: "An error exists on this page. Acrobat may not display the page correctly. Please contact the person hwo created the PDF document to correct the problem." When I ran the "Report PDF syntax issues" analysis in Preflight, I found got this warning: "Invalid operand(s) for operator (1 match on 1 page)". I clicked through and under "Page Description Errors/Invalid operand(s) for operator", it identifies Operator Name, Stream State, Operators Read, and Traversal Path. Under "Trigger Values" is says "Invalid operand(s) for operator: is true". None of this means a thing to me so I can't figure out what the problem is.
Let me say this: Both the contractor and I are using CS5 and Acrobat Pro 9, on Lion. If it helps, the contractor also sent one of the problem pdfs back in September to my boss who is running Acrobat Pro 9 on Windows 7 and she got the same messages.
Does anyone out there have a suggestion for us? PLEASE HELP!!!!Thanks to all for posting suggestions. As it turned out, the contractor who was having a problem reinstalled Acrobat 9. She works from home and is emailing the pdfs to me. Things were running smoothly until this past week, when the problem started again. Whenever I get a pdf that won't open properly or print, I asked her to zip it and it is no longer a problem. Last week, I had the same problem start with a contractor in Florida and she also zips the pdf when there is a problem. Now I am thinking the problem might be at my end. I wonder if something is happening to them when they come through our firewall at work. I asked IT about it before but they didn't have a clue what the problem might be. Right now, zipping is the answer...who knows how long that will continue to work.
-
Getting error during deleting a page in 4.1
I am getting the following error while deleting a page. I don't have any DA in the page.
ORA-04091: table APEX_040100.WWV_FLOW_PAGE_DA_EVENTS is mutating, trigger/function may not see it ORA-06512: at "APEX_040100.WWV_FLOW_PAGE_DA_ACTIONS_T1", line 35 ORA-04088: error during execution of trigger 'APEX_040100.WWV_FLOW_PAGE_DA_ACTIONS_T1'Hi pkpanda,
This has come up a few times now, mostly seems to happen where the page is originally created as a copy of an existing page, that contains a DA, or where a DA references a region. Is there any chance you could send me an export of the application, to the address in my profile? It would really help to see exactly what's going on.
Regards,
Anthony -
When I replace the code given in Apex 4.2 2+Day developer guide, it shows the following error.
Error is :
Error during rendering of page item P3_DEPARTMENT_ID. ORA-06550: line 5, column 1: PLS-00428: an INTO clause is expected in this SELECT statement
is_internal_error: true
apex_error_code: WWV_FLOW_FORM.UNHANDLED_ERROR
ora_sqlcode: -6550
ora_sqlerrm: ORA-06550: line 5, column 1: PLS-00428: an INTO clause is expected in this SELECT statement
component.type: APEX_APPLICATION_PAGE_ITEMS
component.id: 3996015574888943
component.name: P3_DEPARTMENT_ID
error_backtrace: ORA-06512: at "SYS.DBMS_SYS_SQL", line 1249 ORA-06512: at "SYS.WWV_DBMS_SQL", line 1021 ORA-06512: at "SYS.WWV_DBMS_SQL", line 1090 ORA-06512: at "APEX_040200.WWV_FLOW_DYNAMIC_EXEC", line 697 ORA-06512: at "APEX_040200.WWV_FLOW_META_UTIL", line 245 ORA-06512: at "APEX_040200.WWV_FLOW_FORMS", line 989 ORA-06512: at "APEX_040200.WWV_FLOW_FORMS", line 1428
the code of the book 2+Day developer which I used in my edit report region source :
SELECT e.EMPLOYEE_ID,
e.FIRST_NAME,
e.LAST_NAME,
e.HIRE_DATE,
e.SALARY,
e.COMMISSION_PCT,
calc_remuneration(salary, commission_pct) REMUNERATION,
e.DEPARTMENT_ID,
d.DEPARTMENT_NAME
FROM OEHR_EMPLOYEES e,
OEHR_DEPARTMENTS d
WHERE e.DEPARTMENT_ID = d.DEPARTMENT_ID(+) AND
(e.DEPARTMENT_ID = :P3_DEPARTMENT_ID or
(e.DEPARTMENT_ID is null and nvl(:P3_DEPARTMENT_ID,'-1') = '-1'))0e342a31-11d2-4cd7-ac7c-802ef455d578 wrote:
Please update your forum profile with a recognisable username instead of "0e342a31-11d2-4cd7-ac7c-802ef455d578": Video tutorial how to change nickname available
Always include the information detailed in these guidelines when posting a question: how to get answers from forum
When I replace the code given in Apex 4.2 2+Day developer guide, it shows the following error.
When you replace what code? Where? How? Provide the exact steps necessary to reproduce the problem.
Error is :
Error during rendering of page item P3_DEPARTMENT_ID.
ORA-06550: line 5, column 1: PLS-00428: an INTO clause is expected in this SELECT statement
is_internal_error: true
apex_error_code: WWV_FLOW_FORM.UNHANDLED_ERROR
ora_sqlcode: -6550
ora_sqlerrm: ORA-06550: line 5, column 1: PLS-00428: an INTO clause is expected in this SELECT statement
component.type: APEX_APPLICATION_PAGE_ITEMS
component.id: 3996015574888943
component.name: P3_DEPARTMENT_ID
error_backtrace: ORA-06512: at "SYS.DBMS_SYS_SQL", line 1249 ORA-06512: at "SYS.WWV_DBMS_SQL", line 1021 ORA-06512: at "SYS.WWV_DBMS_SQL", line 1090 ORA-06512: at "APEX_040200.WWV_FLOW_DYNAMIC_EXEC", line 697 ORA-06512: at "APEX_040200.WWV_FLOW_META_UTIL", line 245 ORA-06512: at "APEX_040200.WWV_FLOW_FORMS", line 989 ORA-06512: at "APEX_040200.WWV_FLOW_FORMS", line 1428
The error page indicates that the error occurred in rendering the P3_DEPARTMENT_ID page item. What are the Source and Default settings for this item? -
Over the past week, I have received pdfs from 2 different graphic design contractors that do not open correctly in Acrobat 9 Pro. There is an error in the document and when I scroll to the page where the error is, I get: An error exists on this page. Acrobat may not display the page correctly. Please contact the person hwo created the PDF document to correct the problem." I did this, and the contractor remade the pdf 3 times, and I still couldn't open it. This contractor is already using CS5. For the problem today, I haven't asked for it to be remade yet--decided to see if I could find out if anyone else is having the same problem. The second contractor is using CS4. The only thing that I have done differently at my end over the past week is upgrade CS4 to CS5. I already had Acrobat Pro 9 so I didn't update it when I updated my CS5 products. Should I have upgraded Acrobat 9 anyway? Somehow, it doesn't feel right that this is the problem. Any info on this would be appreciated.
Thanks for the quick reply. Would zipping the pdf protect it through email...like I said, this is the first time I've had this problem and I've been getting pdfs though email for years.
-
Error when requesting JSP page
We have just finished getting our environment set up. We are running
WebLogic 4.5.1 sp7 on a Sun server, and are frontending it with IIS 4.0
SP6a using the iisproxy.dll WebLogic plugin.
We can get things working for a while, but eventually, we get the
following error in the NT event log when requesting the first JSP on our
site:
"Out of process application '/LM/W3SVC/1/Root' terminated unexpectedly"
The Web server is still up, it's just when the JSP page is called that
we get "Page can not be displayed" errors. Any HTML pages come up just
fine. To fix the problem, we just stop and restart the Web Publishing
service.
Has anyone seen this error or does anyone know what events cause this
problem?
Thanks,
-MikeThere is a big difference between this;
http://www.mydomain.com/blabla
and this;
http://www.mydomain.com/blah.jsp
blabla - this is the name of the Web application. When you reference this Web application name Tomcat will check the welcom file descriptor and redirect for that web application.
blah.jsp - is the name of a JSP page. When you reference this page the way you did above, you are not stating where the JSP page is located. It would be locatied in the "http://www.mydomain.com/blabla/blah.jsp" location. -
I created an ASM instance manually. Then I created a database using ASM with DBCA. The installation was good, only I ignored a msgbox about user/password of ASM.
When I enter to Oracle Enterprise Manager from browser, it seems to work well, but when I click to link ASM page(general section) appears a Actual status is DOWN. I cant see any info about ASM. I checked the alerts an appers the next message: "Failed to connect to the ASM instance. ORA-12541: TNS:no listener (DBD ERROR: OCIServerAttach)".
If I use sqlplus to connect to ASM instance, it works very good. ALso, I created an tablespace on diskgroup.
Any ideas in order to see the ASM info in the OEM?
******* version
The version of linux database is:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for Linux: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - Production
********listener
[oracle@localhost admin]$ lsnrctl status
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 15-JUL-2009 22:08:20
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost.localdomain)(PORT=1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Start Date 15-JUL-2009 21:26:22
Uptime 0 days 0 hr. 41 min. 57 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/product/10.2.0/db_1/network/admin/listener.ora
Listener Log File /u01/app/oracle/product/10.2.0/db_1/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0)))
Services Summary...
Service "+ASM" has 2 instance(s).
Instance "+ASM", status UNKNOWN, has 1 handler(s) for this service...
Instance "+ASM", status BLOCKED, has 1 handler(s) for this service...
Service "+ASM_XPT" has 1 instance(s).
Instance "+ASM", status BLOCKED, has 1 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "dbsasm" has 1 instance(s).
Instance "dbsasm", status READY, has 1 handler(s) for this service...
Service "dbsasmXDB" has 1 instance(s).
Instance "dbsasm", status READY, has 1 handler(s) for this service...
Service "dbsasm_XPT" has 1 instance(s).
Instance "dbsasm", status READY, has 1 handler(s) for this service...
The command completed successfullyI can't seem to recall now but there is a way out to add the ASM instance as a target in the targets.xml file using emca command. Let me see if I can pull out the notes.
Aman.... -
I tried downloading iTunes to my computer. It gives me an error where it says can not find iTunes Helper. I uninstalled all iTunes, restarted my computer, and then tried again. I keep getting the same error everyime. What can I do?
Apple Application Support was not found. Apple Application Support is required to run iTunes. Please uninstall iTunes, then install iTunes again. Error 2 (Windows error 2).
Many thanks. That issue will be causing the iTuneshelper error message too.
With the Error 2, let's try a standalone Apple Application Support install. It still might not install, but fingers crossed any error messages will give us a better idea of the underlying cause of the issue.
Download and save a copy of the iTunesSetup.exe (or iTunes64setup.exe) installer file to your hard drive:
http://www.apple.com/itunes/download/
Download and install the free trial version of WinRAR suitable for your PC (there's a 32-bit Windows version and a 64-bit Windows version). If the following link takes you to the WinRAR home page rather than the WinRAR downloads page, click the Downloads header in the box at the left of the WinRAR home page to see the trial version downloads:
http://www.rarlab.com/download.htm
Right-click the iTunesSetup.exe (or iTunes64Setup.exe), and select "Extract to iTunesSetup" (or "Extract to iTunes64Setup"). WinRAR will expand the contents of the file into a folder called "iTunesSetup" (or "iTunes64Setup").
Go into the folder and doubleclick the AppleApplicationSupport.msi to do a standalone AAS install.
Does it install properly for you? If so, see if iTunes will launch without the error now.
If instead you get an error message during the install, let us know what it says. (Precise text, please.) -
Error: XSQL-005: XSQL page is not well-formed
I am tring to execute the following simple query:
<?xml version="1.0"?>
<xsql:query connection="rio" xmlns:xsql="urn:oracle-xsql">
select user from dual
</xsql:query>
using XSQL with Sun's JavaWebServer2.0 and am getting the following error:
Oracle XSQL Servlet Page Processor 1.0.4.1 (Production)
XSQL-005: XSQL page is not well-formed.
XML parse error at line 2, char 1
Expected 'EOF'.
Running the XML syntax check in JDeveloper shows no errors. Any ideas of where the configuration may have gone wrong?
Thanks,
Claire
nullSteve,
Actually any file name (even if the file does not exist) is returning the same error.
I tried using Web-to-Go and I am getting the following error:
"WTG-10109: Web-to-go could not locate requested URL
Web-to-go could not locate requested URL /xsql/index.html"
I have my test .xsql files in a c:/xsql/xtest folder and am calling them through http://localhost:8080/xsql/xtest/message.xsql for the JWS and trying http://localhost:7070/xsql/index.html (WTG)to see the index.html, but no joy..
Any other ideas?
Thanks,
Claire
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Steve Muench ([email protected]):
Do you maybe have two versions of this file? One that JDev is checking and the other that the web server is reading?
Try renaming the file you think that the XSQL Servlet is serving, then re-request it through the browser with the OLD name. Do you now get an error like "unable to locate file?" or do you still see the parse error?<HR></BLOCKQUOTE>
null -
Error While Running a page on JDeveloper
Hi All ,
I am getting the following error while running a page in Jdeveloper . Can any body help me?
(AppsContext.java:686) at oracle.apps.fnd.common.WebAppsContext.(WebAppsContext.java:846) at oracle.apps.fnd.framework.server.OAUtility.getWebAppsContext(OAUtility.java:351) at oracle.apps.fnd.framework.CreateIcxSession.getEncryptedSessId(CreateIcxSession.java:144) at oracle.apps.fnd.framework.CreateIcxSession.createSession(CreateIcxSession.java:80) at runregion.jspService(runregion.jsp:96) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797) at java.lang.Thread.run(Thread.java:534) oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = java.sql.SQLException: ORA-00904: "SERVERRESP_ENABLED_FLAG": invalid identifier ; (Could not lookup message because there is no database connection) at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:888) at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:862) at oracle.apps.fnd.framework.server.OAExceptionUtils.processAOLJErrorStack(OAExceptionUtils.java:980) at oracle.apps.fnd.framework.server.OAUtility.getWebAppsContext(OAUtility.java:352) at oracle.apps.fnd.framework.CreateIcxSession.getEncryptedSessId(CreateIcxSession.java:144) at oracle.apps.fnd.framework.CreateIcxSession.createSession(CreateIcxSession.java:80) at runregion.jspService(runregion.jsp:96) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797) at java.lang.Thread.run(Thread.java:534) ## Detail 0 ## java.sql.SQLException: ORA-00904: "SERVERRESP_ENABLED_FLAG": invalid identifier at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134) at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289) at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:583) at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1983) at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1141) at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2487) at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2854) at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:622) at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:550) at oracle.apps.fnd.profiles.Profiles.getProfileOption(Profiles.java:1328) at oracle.apps.fnd.profiles.Profiles.getProfile(Profiles.java:384) at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfileFromDB(ExtendedProfileStore.java:210) at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfile(ExtendedProfileStore.java:169) at oracle.apps.fnd.profiles.ExtendedProfileStore.getMultiSpecificProfileFromDB(ExtendedProfileStore.java:368) at oracle.apps.fnd.common.WebAppsContext.setProfileValues(WebAppsContext.java:4177) at oracle.apps.fnd.common.AppsContext.setDBEnv(AppsContext.java:3407) at oracle.apps.fnd.common.AppsContext.getPrivateConnectionFinal(AppsContext.java:2508) at oracle.apps.fnd.common.AppsContext.getPrivateConnection(AppsContext.java:2398) at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:2257) at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:2072) at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:1976) at oracle.apps.fnd.profiles.Profiles.getConnection(Profiles.java:2494) at oracle.apps.fnd.profiles.Profiles.getProfileOption(Profiles.java:1304) at oracle.apps.fnd.profiles.Profiles.getProfile(Profiles.java:384) at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfileFromDB(ExtendedProfileStore.java:210) at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfile(ExtendedProfileStore.java:169) at oracle.apps.fnd.profiles.ExtendedProfileStore.getProfile(ExtendedProfileStore.java:148) at oracle.apps.fnd.common.logging.DebugEventManager.configureUsingDatabaseValues(DebugEventManager.java:1147) at oracle.apps.fnd.common.logging.DebugEventManager.configureLogging(DebugEventManager.java:1008) at oracle.apps.fnd.common.logging.DebugEventManager.internalReinit(DebugEventManager.java:977) at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:944) at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:931) at oracle.apps.fnd.common.AppsLog.reInitialize(AppsLog.java:570) at oracle.apps.fnd.common.AppsContext.initLog(AppsContext.java:873) at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:858) at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:827) at oracle.apps.fnd.common.AppsContext.(AppsContext.java:686) at oracle.apps.fnd.common.WebAppsContext.(WebAppsContext.java:846) at oracle.apps.fnd.framework.server.OAUtility.getWebAppsContext(OAUtility.java:351) at oracle.apps.fnd.framework.CreateIcxSession.getEncryptedSessId(CreateIcxSession.java:144) at oracle.apps.fnd.framework.CreateIcxSession.createSession(CreateIcxSession.java:80) at runregion.jspService(runregion.jsp:96) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797) at java.lang.Thread.run(Thread.java:534) ">check your DBC file, we have discussed this issue in the forum, search for SERVERRESP_ENABLED_FLAG
-
How can I display XSLT transformer errors on a web page ?
Hi,
I have some JSP pages that access DB, create an XML based on DB data and then transform it into HTML through an XSLT stylesheet. Developing the XSL code it's easy to make mistakes and generate errors on trasformation, but what I receive on the web page is only a "Could not compile stylesheet" TransformerConfigurationException, while the real cause of the error is displayed only on tomcat logs. This is the code for transformation:
static public void applyXSLT(Document docXML, InputStream isXSL, PrintWriter pw) throws TransformerException, Exception {
// instantiate the TransformerFactory.
TransformerFactory tFactory = TransformerFactory.newInstance();
// creates an error listener
XslErrorListener xel = new XslErrorListener();
// sets the error listener for the factory
tFactory.setErrorListener(xel);
// generate the transformer
Transformer transformer = tFactory.newTransformer(new SAXSource(new InputSource(isXSL)));
// transforms the XML Source and sends the output to the HTTP response
transformer.transform(new DOMSource(docXML), new StreamResult(pw));
}If an exception is thrown during the execution of this code, its error message is displayed on the web page.
This is the listener class:
public class XslErrorListener implements ErrorListener {
public XslErrorListener() {
public void warning(TransformerException ex) {
// logs on error log
System.err.println("\n\nWarning on XEL: " + ex.getMessage());
public void error(TransformerException ex) throws TransformerException {
// logs on error log
System.err.println("\n\nError on XEL: " + ex.getMessage());
// and throws it
throw ex;
public void fatalError(TransformerException ex) throws TransformerException {
// logs on error log
System.err.println("\n\nFatal Error on XEL: " + ex.getMessage());
// and throws it
throw ex;
}When I have an error in the XSL stylesheet (for examples a missing closing tag), I can find on tomcat logs the real cause of the error:
[Fatal Error] :59:10: The element type "table" must be terminated by the matching end-tag "</table>".
Error on XEL: The element type "table" must be terminated by the matching end-tag "</table>".but on my web page is reported just the TransformerConfigurationException message that is:
"Could not compile stylesheet".
How can I display the real cause of the error directly on the web page?
Thanks,
AndreaThis code is part of a bigger project that let developers edit XSL stylesheets through a file upload on the system and we can't impose the use of any tool for checking the xsl. So, I need to display the transformer error on the web page.I see. This code is part of an editorial/developmental tool for developers to create and edit XSL stylesheets.
As part of the editorial process, XSL errors during editing can be considered a normal condition. In other words, it is normal to expect that the developers will generate XSL errors as they are developing stylesheets.
In this light, handling the XSL transformation errors is a business requirement that you need to handle. Using the Java Exceptions mechanisms, e.g. try / catch are inappropriate to handle business requirements, in my opinion.
I suggest that you look at how you handle the occurence of XSL errors differently than what you currently have. You need to:
(1) capture the Transformation exception on the server;
(2) extract the message from the exception and put it into a message that can be easily understood by the user;
The current error message that you have going to the web browser is not useful.
And you should not have the Transformation exception sent to the web browser either.
What you are attempting to do with the exception is not appropriate.
Handle the Transformation exception on the Business tier and use it to create a useful message that is then sent to the Presentation tier. In other words, do not send Java exceptions to web browser.
/> -
Getting AADSTS50020 error on microsoft login page when using Azure Active Directory Authentication
We have implemented Azure Ad single sign on using auto generated code from Visual studio 2013 with organization account authentication and its working fine.
The problem is when user is logged in in azure management portal with his live account and in other tab he try to open our app, then he directly gets below error on Microsoft login page.
Additional technical information:
Correlation ID: 78e13474-6f92-40ec-b463-91e36a6dae84
Timestamp: 2015-04-14 12:27:20Z
AADSTS50020:
User account '[email protected]' from external
identity provider 'live.com' is not supported for application
'https://xxxxx.onmicrosoft.com/xxxx'. The account needs to
be added as an external user in the tenant. Please sign out and sign in
again with an Azure Active Directory user account.
It works fine if I log out from management portal. Is there any way to resolve this issue without forcing user to log out from live account(management portal)?I assume you created a web application using VS2013 which uses the WS-Federation protocol.
The behavior that you are seeing is expected Single-sign-on because you are logged in using the live account in the management portal.
For WS-Federation, there is no current way for a caller to specify they want to force a fresh login, so the behavior is always the equivalent of LoginBehavior.Normal.
The user will need to either sign-out or use an in-private session in the browse.
If you switch to openID connect(sample at
https://github.com/AzureADSamples/WebApp-OpenIDConnect-DotNet) and use the “prompt=login” query paramerter in the sign in request, this will force a fresh login.
Maybe you are looking for
-
Hi We have crated an New Internal order and entered the budgeted / planned figures using the KPF6, When we check the report s_alr_87013017, s alr87013018 and s_alr_87012993 does not show committed. We need a report showing committed spend, actual sp
-
BAPI to park G/L Account document with ledger
Hi Experts, I have been looking for BAPI to park G/L account document with ledger (FV50L). Can you please let me know, if you have know about it. I have found the one for posting BAPI_ACC_DOCUMENT_POST, but It should not be used in our case. It is pa
-
Windows 7 Pro, fresh installation, include all updates Premiere Pro CC - actual version Gainward GTX Titan Z - actual firmware and driver SSD Hard Drive Intel i7/ 960/ 3.2GHz/ 32GB RAM Mercury Playback Engine - GPU is activated. Card is known by stan
-
Regd : Interface Development
Hi friends, I have to develop an interface using files from AS (not Idocs). I came across several documents regarding this which made me more confused . I came across tcodes like FILE etc. But what I don't understand is, why do we need to use Logical
-
XML dig. signatures: how to identify the root XML element?
Hello, according to tutorials I need to do these two things to sign a XML document: ref = fac.newReference("#invoice", fac.newDigestMethod(DigestMethod.SHA1, null)); XMLObject obj = fac.newXMLObject(Collections.singletonList(content),