JSPC Error "Unrecognized option: -v0."
Hii All
I get this Error (shown below) when i try to compile my Jsp using ANT builder.What can be the reason behind this error.
Thankx in advance
Vikash
/////////////////////// Error is shown below ////////////////////////////////.
Buildfile: build.xml
jspc:
compile:
[jspc] Compiling 79 source filesC:\ant\${webapp.path}\dest
[jasperc] error:org.apache.jasper.JasperException: Unrecognized option: -v0.
Use -help for help.
[jasperc] at org.apache.jasper.JspC.setArgs(JspC.java:306)
[jasperc] at org.apache.jasper.JspC.main(JspC.java:230)
all:
BUILD SUCCESSFUL
Total time: 13 seconds
//////////////////////////Build.xml is shown below ////////////////////
<project name="Webapp Precompilation" default="all" basedir=".">
<target name="jspc">
<taskdef classname="org.apache.jasper.JspC" name="jasper2" >
<classpath id="jspc.classpath">
<pathelement location="C:\Program Files\Apache Software Foundation\Tomcat 5.0/../lib/tools.jar"/>
<fileset dir="C:\Program Files\Apache Software Foundation\Tomcat 5.0/bin">
<include name="*.jar"/>
</fileset>
<fileset dir="C:\Program Files\Apache Software Foundation\Tomcat 5.0/server/lib">
<include name="*.jar"/>
</fileset>
<fileset dir="C:\Program Files\Apache Software Foundation\Tomcat 5.0/common/lib">
<include name="*.jar"/>
</fileset>
</classpath>
</taskdef>
<jasper2
validateXml="false"
uriroot="${webapp.path}"
webXmlFragment="${webapp.path}/WEB-INF/generated_web.xml"
outputDir="${webapp.path}/WEB-INF/src" />
</target>
<target name="compile">
<mkdir dir="${webapp.path}/WEB-INF/classes"/>
<mkdir dir="${webapp.path}/WEB-INF/lib"/>
<jspc destdir="${webapp.path}/dest"
srcdir="${webapp.path}/WEB-INF/src"
excludes="**/*.smap">
<classpath>
<pathelement location="${webapp.path}/WEB-INF/classes"/>
<fileset dir="${webapp.path}/WEB-INF/lib">
<include name="*.jar"/>
</fileset>
<pathelement location="C:\Program Files\Apache Software Foundation\Tomcat 5.0/common/classes"/>
<fileset dir="C:\Program Files\Apache Software Foundation\Tomcat 5.0/common/lib">
<include name="*.jar"/>
</fileset>
<pathelement location="C:\Program Files\Apache Software Foundation\Tomcat 5.0/shared/classes"/>
<fileset dir="C:\Program Files\Apache Software Foundation\Tomcat 5.0/shared/lib">
<include name="*.jar"/>
</fileset>
<fileset dir="C:\Program Files\Apache Software Foundation\Tomcat 5.0/bin">
<include name="*.jar"/>
</fileset>
</classpath>
<include name="**" />
<exclude name="tags/**" />
</jspc>
</target>
<target name="all" depends="jspc,compile">
</target>
</project>
Hi,
I've had this problem too. The -v options is meant to set the verbosity of the compilation but it doesn't seem to like it. I tried to see which versions of jasper/ ant were at fault (because an old script of mine broke) but couldn't find it quickly so I simply did a little hack in the ant 1.6.1 source to the file
\apache-ant-1.6.1\src\main\org\apache\tools\ant\taskdefs\optional\jsp\compilers\JasperC.java
where I commented out the line in setupJasperCommand()
private CommandlineJava setupJasperCommand() {
addArg(cmd, "-p", jspc.getPackage());
// addArg(cmd, "-v" + jspc.getVerbose());
addArg(cmd, "-uriroot", jspc.getUriroot());
then rebuilt ant and the problem went away.
Cheers
Evan
Similar Messages
-
Ant error - Unrecognized option option_name
This post is for future generations...
After a couple of months oа quite stable work my Ant script has started to fail with the following error
[javac] Unrecognized option: -J-Xmx256m
[javac] Could not create the Java virtual machine.After digging up through a few links (there were not more then a dozen google could find) asking on a couple of forums for any clues on that mystery I was almost sure I would never find how to rectify that error. But finally I got it myself. The problem was that my build.properties file has this:
javac.executable="C:/j2sdk1.4.2_08/bin/java.exe"
instead of this
javac.executable="C:/j2sdk1.4.2_08/bin/javac.exe" - note javac not java
Well, thats pretty much of my problem that was successfully resolvedHi, thanks.
I uninstalled jdk 1.7 and have 1.5 set in as the path variable. My PATH looks like this, C:\Program Files\Java\jdk1.5.0_22\bin;
Java - version in cmd prompt gives this,
C:\setups>java -version
java version "1.5.0_22"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_22-b03)
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_22-b03, mixed mode)
Now, when i execute the weblogic jar file using this command,C:\setups>java -d64 -jar wls1035_generic.jar , I get the below error.
Unrecognized option: -d64
Could not create the Java virtual machine. -
Starting Web Logic Server - Unrecognized option: -jrockit
Hi,
Im getting the error "Unrecognized option: -jrockit" when I try to start the Web Logic Server as is showed below:
D:\Oracle\Middleware\user_projects\domains\base_domain\bin>startWebLogic.cmd
* To start WebLogic Server, use a username and *
* password assigned to an admin-level user. For *
* server administration, use the WebLogic Server *
* console at http:\\hostname:port\console *
starting weblogic with Java version:
Unrecognized option: -jrockit
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Starting WLS with line:
I already installed the JDK 7 64 (jdk-7u2-windows-x64) and use the generic file to install the Web Logic Server (wls1035_generic)
I got the files from here:
JDK >> http://www.oracle.com/technetwork/java/javase/downloads/jdk-7u2-download-1377129.html
Web Logic >> http://www.oracle.com/technetwork/middleware/weblogic/downloads/wls-main-097127.html
Any help I will appreciate.
Thank You,
Raul.Note that you are using the HotSpot JDK. The option -jrockit is only valid if you are using JRockit.
When you open setDomainEnv.cmd you see something like:
if "%JAVA_VENDOR%"=="Oracle" (
set JAVA_HOME=%BEA_JAVA_HOME%
) else (
if "%JAVA_VENDOR%"=="Sun" (
set JAVA_HOME=%SUN_JAVA_HOME%
) else (
set JAVA_VENDOR=Oracle
set JAVA_HOME=C:\bea\jrockit_160_29_D1.2.0-10
)which selects a certain JDK based on the set JAVA_VENDOR property.
You add the property JAVA_VENDOR above the first if statement, for example,
set SUN_JAVA_HOME=
set JAVA_VENDOR=Sun
if "%JAVA_VENDOR%"=="Oracle" (...)Also see if the SUN_JAVA_HOME property is set to the correct directory.
technical session - http://middlewaremagic.com/weblogic/?p=7831 -
Unrecognized option: -server Could not create the Java virtual machine.
Hi
I'm running JBoss 4.0 with JDK 1.5.0_12 (or could use 1.2.1 or 1.4.2) but when I try run.bat I get the following error
Unrecognized option: -server Could not create the Java virtual machine.
IfI try removing -server I get a different message
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/jboss/Main (Unsupported major.minor version 48.0)
Hope you can help. Really need to get this going ASAP
Thanks
GeriHi all,
Thanks for responding.
This is what I get when I did the following:
$java -version
java version "1.2.2"
Solaris VM (build Solaris_JDK_1.2.2_06, native threads, sunwjit)
$which java
/usr/bin/java
The java version was definitely not what I expected as I had installed the Java(TM) 2 Runtime Environment 1.3.1 and no Java hotspot was found even though I had already installed it. Maybe it because I did not install them correctly.
How do I get rid of the older version and replace it with a newer one?
I noticed that in later versions of J2SE, Hotspot VM was said to have been incorporated in it. But there are no guides on how to get Hotspot up and running, it will be great if anyone of you can guide me on this or point me to a site that can help me.
Please bear with me as I am still very new to this. Thanks! -
Unrecognized option: -server
Hi,
I have problems using J2SE. I had installed JRE 1.3.1 on a Solaris 8 system but everytime I tried to run a Java application, I will get this error:
Unrecognized option: -server
Could not create the Java virtual machine.
I tried installing SDK, and even changed versions of 1.3 and 1.4 but to no avail. I noticed that in all cases, when I run java -? command, I never see the -server or -client options displayed under standard options.
How to resolve this error? How to enable -server option in Java? Does this have anything to do with the installation (I installed it based on the installation guide found on this site)? Do I have to install anything else, eg Hotspot? etc etc etc...
I would really appreciate if anyone could help me on this.Hi all,
Thanks for responding.
This is what I get when I did the following:
$java -version
java version "1.2.2"
Solaris VM (build Solaris_JDK_1.2.2_06, native threads, sunwjit)
$which java
/usr/bin/java
The java version was definitely not what I expected as I had installed the Java(TM) 2 Runtime Environment 1.3.1 and no Java hotspot was found even though I had already installed it. Maybe it because I did not install them correctly.
How do I get rid of the older version and replace it with a newer one?
I noticed that in later versions of J2SE, Hotspot VM was said to have been incorporated in it. But there are no guides on how to get Hotspot up and running, it will be great if anyone of you can guide me on this or point me to a site that can help me.
Please bear with me as I am still very new to this. Thanks! -
[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... -
Cc1plus: error: unrecognized command line option "-m64"
I'm running a build script and getting the error below.. My colleges dont get that error building on ubuntu.. I'm running 64 bit arch..
Could this be a missing package or something?
cc1plus: error: unrecognized command line option "-m64"
make[2]: *** [qlog.o] Error 1
make[1]: *** [sub-common-core-all-ordered] Error 2
make[1]: *** Waiting for unfinished jobs....but I've been trying to look at the build scripts and I cant find where it adds the -m64 option? Could it be that its added automaticaly by the arch build system somewhere?
And the build script will always build 32 bit so I dont get why they would ever add the -m64 option in our script
Last edited by nanook (2012-09-04 12:53:10) -
Running HelloWorld.jsp: Unrecognized option: -d
Hi there.
I'm newbie with jsp's and I'm trying to run the examples.
I have Bea Weblogic Build 5.1.0 Service Pack 6 09/20/2000 21:03:19 #84511 running
under Red Hat Linux 6.2 & Java 1.2.2
My weblogic.properties is as follows (please see below)
Error Message is (since the beggining) (please see below)
My questions are:
1.- What is the -d option?
2.- What am I doing wrong?
Thanks in Advance
Sergio Ríos
****** This is my weblogic.properties (jsp part) ******
weblogic.httpd.register.*.jsp=\
weblogic.servlet.JSPServlet
weblogic.httpd.initArgs.*.jsp=\
pageCheckSeconds=1,\
compileCommand=/usr/local/jdk1.2.2/bin/java,\
workingDir=/home/desa/weblogic/myserver/jspclasses,\
verbose=true
****** This is the terminal outpout ******
Tue Feb 06 13:05:05 CST 2001:<I> <ServletContext-General> file: init
Tue Feb 06 13:05:13 CST 2001:<I> <ServletContext-General> *.jsp: init
Tue Feb 06 13:05:13 CST 2001:<I> <ServletContext-General> *.jsp: param verbose initialized
to: true
Tue Feb 06 13:05:13 CST 2001:<I> <ServletContext-General> *.jsp: param packagePrefix
initialized to: jsp_servlet
Tue Feb 06 13:05:13 CST 2001:<I> <ServletContext-General> *.jsp: param compileCommand
initialized to: /usr/local/jdk1.2.2/bin/java
Tue Feb 06 13:05:13 CST 2001:<I> <ServletContext-General> *.jsp: param srcCompiler
initialized to weblogic.jspc
Tue Feb 06 13:05:13 CST 2001:<I> <ServletContext-General> *.jsp: param superclass
initialized to null
Tue Feb 06 13:05:13 CST 2001:<I> <ServletContext-General> *.jsp: param workingDir
initialized to: /home/desa/weblogic/myserver/jspclasses
Tue Feb 06 13:05:13 CST 2001:<I> <ServletContext-General> *.jsp: param pageCheckSeconds
initialized to: 1
Tue Feb 06 13:05:13 CST 2001:<I> <ServletContext-General> *.jsp: initialization complete
Tue Feb 06 13:05:14 CST 2001:<I> <ServletContext-General> Generated java file: /home/desa/weblogic/myserver/jspclasses/jsp_servlet/_jsp/_HelloWorld.java
Tue Feb 06 13:05:14 CST 2001:<E> <ServletContext-General> Compilation of /home/desa/weblogic/myserver/jspclasses/jsp_servlet/_jsp/_HelloWorld.java
failed:
Unrecognized option: -d
Could not create the Java virtual machine.
java.io.IOException: Compiler failed executable.exec([Ljava.lang.String;[/usr/local/jdk1.2.2/bin/java,
-classpath, /usr/local/jdk1.2.2/jre/lib/rt.jar:/usr/local/jdk1.2.2/jre/lib/i18n.jar:/usr/local/jdk1.2.2/jre/classes:./lib/weblogic510sp6boot.jar:./classes/boot:./eval/cloudscape/lib/cloudscape.jar:./lib/weblogic510sp6.jar:./license:./classes:/usr/local/weblogic/lib/jConnect.jar:./lib/weblogicaux.jar:./myserver/serverclasses:/usr/local/weblogic/myserver/servletclasses:/home/desa/weblogic/myserver/jspclasses,
-d, /home/desa/weblogic/myserver/jspclasses, /home/desa/weblogic/myserver/jspclasses/jsp_servlet/_jsp/_HelloWorld.java])
at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:439)
at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:245)
at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:300)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:180)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:181)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:118)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:141)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:761)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:708)
at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:252)
at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:346)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:246)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:135)
Tue Feb 06 13:05:14 CST 2001:<E> <ServletContext-General> Servlet failed with Exception
java.io.IOException: Compiler failed executable.exec([Ljava.lang.String;[/usr/local/jdk1.2.2/bin/java,
-classpath, /usr/local/jdk1.2.2/jre/lib/rt.jar:/usr/local/jdk1.2.2/jre/lib/i18n.jar:/usr/local/jdk1.2.2/jre/classes:./lib/weblogic510sp6boot.jar:./classes/boot:./eval/cloudscape/lib/cloudscape.jar:./lib/weblogic510sp6.jar:./license:./classes:/usr/local/weblogic/lib/jConnect.jar:./lib/weblogicaux.jar:./myserver/serverclasses:/usr/local/weblogic/myserver/servletclasses:/home/desa/weblogic/myserver/jspclasses,
-d, /home/desa/weblogic/myserver/jspclasses, /home/desa/weblogic/myserver/jspclasses/jsp_servlet/_jsp/_HelloWorld.java])
at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:439)
at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:245)
at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:300)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:180)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:181)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:118)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:141)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:761)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:708)
at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:252)
at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:346)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:246)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:135)
Sorry Guys, my mistake.
I put compileCommand=/usr/local/jdk1.2.2/bin/java,\ instead of
compileCommand=/usr/local/jdk1.2.2/bin/javac,\
Yes, i Know, I deserve a duh!, so please
don't hesitate to say that :-)
Thanks anyway
Sergio Rios
"Sergio Rios" <[email protected]> wrote:
>
>Hi there.
>
>I'm newbie with jsp's and I'm trying to run the examples.
>
>I have Bea Weblogic Build 5.1.0 Service Pack 6 09/20/2000 21:03:19 #84511
>running
>under Red Hat Linux 6.2 & Java 1.2.2
>
>My weblogic.properties is as follows (please see below)
>Error Message is (since the beggining) (please see below)
>
>My questions are:
>1.- What is the -d option?
>2.- What am I doing wrong?
>
>Thanks in Advance
>Sergio Ríos
>
>****** This is my weblogic.properties (jsp part) ******
>weblogic.httpd.register.*.jsp=\
> weblogic.servlet.JSPServlet
>weblogic.httpd.initArgs.*.jsp=\
> pageCheckSeconds=1,\
> compileCommand=/usr/local/jdk1.2.2/bin/java,\
> workingDir=/home/desa/weblogic/myserver/jspclasses,\
> verbose=true
>
>****** This is the terminal outpout ******
>Tue Feb 06 13:05:05 CST 2001:<I> <ServletContext-General> file: init
>Tue Feb 06 13:05:13 CST 2001:<I> <ServletContext-General> *.jsp: init
>Tue Feb 06 13:05:13 CST 2001:<I> <ServletContext-General> *.jsp: param verbose
>initialized
>to: true
>Tue Feb 06 13:05:13 CST 2001:<I> <ServletContext-General> *.jsp: param packagePrefix
>initialized to: jsp_servlet
>Tue Feb 06 13:05:13 CST 2001:<I> <ServletContext-General> *.jsp: param compileCommand
>initialized to: /usr/local/jdk1.2.2/bin/java
>Tue Feb 06 13:05:13 CST 2001:<I> <ServletContext-General> *.jsp: param srcCompiler
>initialized to weblogic.jspc
>Tue Feb 06 13:05:13 CST 2001:<I> <ServletContext-General> *.jsp: param superclass
>initialized to null
>Tue Feb 06 13:05:13 CST 2001:<I> <ServletContext-General> *.jsp: param workingDir
>initialized to: /home/desa/weblogic/myserver/jspclasses
>Tue Feb 06 13:05:13 CST 2001:<I> <ServletContext-General> *.jsp: param pageCheckSeconds
>initialized to: 1
>Tue Feb 06 13:05:13 CST 2001:<I> <ServletContext-General> *.jsp: initialization
>complete
>Tue Feb 06 13:05:14 CST 2001:<I> <ServletContext-General> Generated java
>file: /home/desa/weblogic/myserver/jspclasses/jsp_servlet/_jsp/_HelloWorld.java
>Tue Feb 06 13:05:14 CST 2001:<E> <ServletContext-General> Compilation of
>/home/desa/weblogic/myserver/jspclasses/jsp_servlet/_jsp/_HelloWorld.java
>failed:
>Unrecognized option: -d
>Could not create the Java virtual machine.
>
>java.io.IOException: Compiler failed executable.exec([Ljava.lang.String;[/usr/local/jdk1.2.2/bin/java,
>-classpath, /usr/local/jdk1.2.2/jre/lib/rt.jar:/usr/local/jdk1.2.2/jre/lib/i18n.jar:/usr/local/jdk1.2.2/jre/classes:./lib/weblogic510sp6boot.jar:./classes/boot:./eval/cloudscape/lib/cloudscape.jar:./lib/weblogic510sp6.jar:./license:./classes:/usr/local/weblogic/lib/jConnect.jar:./lib/weblogicaux.jar:./myserver/serverclasses:/usr/local/weblogic/myserver/servletclasses:/home/desa/weblogic/myserver/jspclasses,
>-d, /home/desa/weblogic/myserver/jspclasses, /home/desa/weblogic/myserver/jspclasses/jsp_servlet/_jsp/_HelloWorld.java])
> at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:439)
> at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:245)
> at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:300)
> at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:180)
> at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:181)
> at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:118)
> at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:141)
> at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:761)
> at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:708)
> at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:252)
> at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:346)
> at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:246)
> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:135)
>
>Tue Feb 06 13:05:14 CST 2001:<E> <ServletContext-General> Servlet failed
>with Exception
>java.io.IOException: Compiler failed executable.exec([Ljava.lang.String;[/usr/local/jdk1.2.2/bin/java,
>-classpath, /usr/local/jdk1.2.2/jre/lib/rt.jar:/usr/local/jdk1.2.2/jre/lib/i18n.jar:/usr/local/jdk1.2.2/jre/classes:./lib/weblogic510sp6boot.jar:./classes/boot:./eval/cloudscape/lib/cloudscape.jar:./lib/weblogic510sp6.jar:./license:./classes:/usr/local/weblogic/lib/jConnect.jar:./lib/weblogicaux.jar:./myserver/serverclasses:/usr/local/weblogic/myserver/servletclasses:/home/desa/weblogic/myserver/jspclasses,
>-d, /home/desa/weblogic/myserver/jspclasses, /home/desa/weblogic/myserver/jspclasses/jsp_servlet/_jsp/_HelloWorld.java])
> at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:439)
> at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:245)
> at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:300)
> at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:180)
> at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:181)
> at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:118)
> at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:141)
> at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:761)
> at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:708)
> at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:252)
> at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:346)
> at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:246)
> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:135)
-
[SOLVED] sed: unrecognized option '--follow-symlinks'
I tried to build AUR package linuxcnc-sim and I got this error:
sed: unrecognized option '--follow-symlinks'
I thought that my sed command is outdated, so I tried to update it:
[ziga@Ziga-laptop linuxcnc]$ sudo pacman -Syy
:: Synchronizing package databases...
core 120.1 KiB 125K/s 00:01 [##############################################] 100%
extra 1793.4 KiB 191K/s 00:09 [##############################################] 100%
community 2.5 MiB 384K/s 00:07 [##############################################] 100%
multilib 123.9 KiB 1239K/s 00:00 [##############################################] 100%
[ziga@Ziga-laptop linuxcnc]$ sudo pacman -S sed
warning: sed-4.2.2-3 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (1) sed-4.2.2-3
Total Installed Size: 0.76 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n]
What I discovered was, that my sed command already is the newest version... does anyone have an idea what is wrong?
If I use man sed I get user manual where it says that unrecognized option '--follow-symlinks' is supported:
SED(1) User Commands SED(1)
NAME
sed - stream editor for filtering and transforming text
SYNOPSIS
sed [OPTION]... {script-only-if-no-other-script} [input-file]...
DESCRIPTION
Sed is a stream editor. A stream editor is used to perform basic text transformations on an input stream (a file or input
from a pipeline). While in some ways similar to an editor which permits scripted edits (such as ed), sed works by making
only one pass over the input(s), and is consequently more efficient. But it is sed's ability to filter text in a pipeline
which particularly distinguishes it from other types of editors.
-n, --quiet, --silent
suppress automatic printing of pattern space
-e script, --expression=script
add the script to the commands to be executed
-f script-file, --file=script-file
add the contents of script-file to the commands to be executed
--follow-symlinks
follow symlinks when processing in place
Last edited by 71GA (2015-02-13 07:14:59)This could really be it. And my PATH is really weird - some inputs are doubled:
PATH=/opt/ARM/eldk/usr/bin:/opt/ARM/eldk/bin:/opt/ARM/eldk/usr/bin:/opt/ARM/eldk/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/opt/opencascade/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/opt/ARM/cs_lite/bin:/opt/ARM/unsimgcr:/opt/ARM/ds/bin:/opt/ARM/cs_lite/bin:/opt/ARM/unsimgcr:/opt/ARM/ds/bin
I modify my PATH at startup using ~/.bashrc
# ~/.bashrc
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
alias ls='ls --color=auto'
PS1='[\u@\h \W]\$ '
export PATH=${PATH}:/opt/ARM/cs_lite/bin
export PATH=${PATH}:/opt/ARM/unsimgcr
export PATH=${PATH}:/opt/ARM/ds/bin
source /opt/ARM/eldk/eldk_init arm
What am I doing wrong in the .bashrc ?
Last edited by 71GA (2015-02-13 06:21:23) -
Systemctl start mysqld unrecognized option --ssl-ca=
I have spent most of the last 18 hours reading manuals, searching the web and searching these forums for an answer, but have not found anything that worked or that even matched the issue I am having. So here goes.
Issue: Entering the command:
$ sudo systemctl start mysqld --ssl-ca=/path/to/ca-cert.pem --ssl-cert=/path/to/server-cert.pem --ssl-key=/path/to/server-key.pem
and pressing 'Enter' only gets me this error:
systemctl: unrecognized option '--ssl-ca=/path/to/ca-cert.pem'
OR it will act as though it accepted the command but the server does not start. And they happen with about equal frequency.
Does anyone have any ideas as to what is going on?
Again, I have read the manuals - all of them. I have followed directions found on nearly every single hit that came up on google and bing in the last 18 hours. I've tried with both MySQL 5.6.15 Source distribution from the AUR and with MariaDB. I have added these options to /etc/mysql/my.cnf (there are no other copies on the system):
[client]
ssl-ca=/path/to/ca-cert.pem
ssl-cert=/path/to/client-cert.pem
ssl-key=/path/to/client-key.pem
[mysqld]
ssl-ca=/path/to/ca-cert.pem
ssl-cert=/path/to/server-cert.pem
ssl-key=/path/to/server-key.pem
And still, nothing. I have verified that MySQL is in fact SSL capable, per the directions in the documentation. Still, no dice.
This thing seems intent on keeping me from using SSL.
The pertinents:
mysql --version returns: Ver 14.14 Distrib 5.6.15, for Linux (x86_64) using EditLine wrapper
uname -a returns: Linux [hostname] 3.12.7-2-ARCH #1 SMP PREEMPT Sun Jan 12 13:09:09 CET 2014 x86_64 GNU/Linux
In case it is worth mentioning, Arch is running on a virtual machine. VMware Player ver. 6.0.1 build-1379776 on a Windows 7 Professional host, 64-bit ver. 6.1.7601, SP1.
I could really use some help folks.Spider.007 wrote:
Okay when you are using systemctl you are instructing systemd to do something such as 'start mysqld'. Any options you pass, will be parsed by systemctl (not mysqld). That is the reason systemd complains of an unknown option (systemd doesn't have a ssl-ca option).
The options you put in you my.cnf should be sufficient. However the mysql client doesn't automatically use ssl when connecting; so after starting mysqld (systemctl start mysqld) use the client to see if ssl works:
mysql --ssl-ca=/path/to/ca-cert.pem
If you client connects successful that doesn't mean it's using ssl though, enter '\s' and check if ssl is enabled.
No dice:
$ mysql --ssl-ca=/path/to/ca-cert.pem
Welcome to the MySQL monitor. Commands end with ; or \g
Your MySQL connection id is 4
Server version: 5.6.15 Source distribution
Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trade..../* You get the idea... */
mysql> \s
mysql Ver 14.14 Distrib 5.6.15, for Linux (x86_64) using Editline wrapper
Connection id: 4
Current database:
Current user: user@localhost
SSL: Not in use
/* ......and the rest of the usual... */
mysql>
So. No deal. -
Pptpd / pppd: unrecognized option '[]'
I am having trouble setting up a simple pptpd server on my homeserver.
My server has ip 192.168.0.2
It connects to a router which has ip 192.168.0.1
I'm trying to connect using an iPad 3 from my work.
Output from /var/log/everything when connecting:
May 3 10:52:56 localhost pptpd[26750]: MGR: Launching /usr/sbin/pptpctrl to handle client
May 3 10:52:56 localhost pptpd[26750]: CTRL: local address = 192.168.0.2
May 3 10:52:56 localhost pptpd[26750]: CTRL: remote address = 192.168.0.234
May 3 10:52:56 localhost pptpd[26750]: CTRL: pppd options file = /etc/ppp/options.pptpd
May 3 10:52:56 localhost pptpd[26750]: CTRL: Client XX.XX.XXX.XX control connection started
May 3 10:52:56 localhost pptpd[26750]: CTRL: Received PPTP Control Message (type: 1)
May 3 10:52:56 localhost pptpd[26750]: CTRL: Made a START CTRL CONN RPLY packet
May 3 10:52:56 localhost pptpd[26750]: CTRL: I wrote 156 bytes to the client.
May 3 10:52:56 localhost pptpd[26750]: CTRL: Sent packet to client
May 3 10:52:56 localhost pptpd[26750]: CTRL: Received PPTP Control Message (type: 7)
May 3 10:52:56 localhost pptpd[26750]: CTRL: Set parameters to 100000000 maxbps, 64 window size
May 3 10:52:56 localhost pptpd[26750]: CTRL: Made a OUT CALL RPLY packet
May 3 10:52:56 localhost pptpd[26750]: CTRL: Starting call (launching pppd, opening GRE)
May 3 10:52:56 localhost pptpd[26750]: CTRL: pty_fd = 6
May 3 10:52:56 localhost pptpd[26750]: CTRL: tty_fd = 7
May 3 10:52:56 localhost pptpd[26750]: CTRL: I wrote 32 bytes to the client.
May 3 10:52:56 localhost pptpd[26750]: CTRL: Sent packet to client
May 3 10:52:56 localhost pptpd[26751]: CTRL (PPPD Launcher): program binary = /usr/sbin/pppd
May 3 10:52:56 localhost pptpd[26751]: CTRL (PPPD Launcher): local address = 192.168.0.2
May 3 10:52:56 localhost pptpd[26751]: CTRL (PPPD Launcher): remote address = 192.168.0.234
May 3 10:52:56 localhost pppd[26751]: unrecognized option ''
May 3 10:52:56 localhost pptpd[26750]: GRE: read(fd=6,buffer=6075a0,len=8196) from PTY failed: status = -1 error = Input/output error, usually caused by unexpected termination of pppd, check option syntax and pppd logs
May 3 10:52:56 localhost pptpd[26750]: CTRL: PTY read or GRE write failed (pty,gre)=(6,7)
May 3 10:52:56 localhost pptpd[26750]: CTRL: Reaping child PPP[26751]
May 3 10:52:56 localhost pptpd[26750]: CTRL: Client XX.XX.XXX.XX control connection finished
May 3 10:52:56 localhost pptpd[26750]: CTRL: Exiting now
May 3 10:52:56 localhost pptpd[26747]: MGR: Reaped child 26750
Notice the line unrecognized option '', it has a square between the '' (like '[]')meaning it can't display that char, but I have no idea in which config file that could be...
Output from /var/log/everything when restarting pptpd (rc.d restart pptpd):
May 3 11:01:36 localhost pptpd[26965]: MGR: Maximum of 100 connections reduced to 6, not enough IP addresses given
May 3 11:01:36 localhost pptpd[26966]: MGR: Manager process started
May 3 11:01:36 localhost pptpd[26966]: MGR: Maximum of 6 connections available
My /etc/ppp/options.pptpd
name pptpd
refuse-pap
refuse-chap
refuse-mschap
require-mschap-v2
require-mppe-128
ms-dns 208.67.222.222
ms-dns 208.67.220.220
proxyarp
debug
lock
nobsdcomp
novj
novjccomp
nologfd
My /etc/pptpd.conf
option /etc/ppp/options.pptpd
debug
logwtmp
localip 192.168.0.2
remoteip 192.168.0.234-238,192.168.0.245
I hope someone can help me with this!I met the same problem after upgrading my pptpd. It seems to be a upstream bug, as I find the following code snippet in pptpctrl.c :
if (*pppaddrs[0] || *pppaddrs[1]) {
char pppInterfaceIPs[33];
sprintf(pppInterfaceIPs, "%s:%s", pppaddrs[0], pppaddrs[1]);
pppd_argv[an++] = pppInterfaceIPs;
the pointer to "pppInterfaceIPs" becomes invalid after the if block.
I simply move the "char pppInterfaceIPs[33];" line out of the if block and recompile the package. Then it works again. -
Unable to boot weblogic webserver, Unrecognized option: -jrockit
Hello Experts,
I am configuring first webserver domain in newly installed Peopletools 8.51 and FSCM 9.1 environment.
Below are the details --
Server -- Windows Server 2008R2 (64bit)
Weblogic -- 10.3.6 (64 bit)
JDK -- jdk1.7.0.21 (64 bit)
While installing I took care of spaces and everything and now every variable is pointing to right direction but when I try to start the weblogic domain I get the following error --
C:\FSCNFG\webserv\FSCNFG\bin>set JAVA_HOME=C:\Java\jdk1.7.0_21
C:\FSCNFG\webserv\FSCNFG\bin>set PATH=%JAVA_HOME%/bin;%PATH%
C:\FSCNFG\webserv\FSCNFG\bin>set USER_MEM_ARGS=-Xms32m -Xmx200m -XX:MaxPermSize=350m
C:\FSCNFG\webserv\FSCNFG\bin>startPIA.cmd
Attempting to start WebLogic Server 'PIA'
starting weblogic with Java version:
java version "1.7.0_21"
Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)
java -jrockit -XnoOpt -XXnoJITInline -Xms512m -Xmx512m -Dtoplink.xml.platform=oracle.toplink.platform.xml.jaxp.JAXPPlatform -Djava.util.logging.config.file=C:\FSCNFG\webserv\FSCNFG\
piaconfig\properties\logging.properties -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Dweblogic.Name=PIA -Dps_vault=C:\FSCNFG\webserv\FSCNFG\piaconf
ig\properties\psvault -Djavax.net.ssl.trustStore="C:/FSCNFG\webserv\FSCNFG\piaconfig\keystore\pskey" -Dweblogic.ProductionModeEnabled=true -Djava.security.policy=C:\Oracle\MIDDLE~1\
WLSERV~1.3\server\lib\weblogic.policy -Dssl.debug=false -Dps_home="C:/FSCNFG" weblogic.Server
Unrecognized option: -jrockit
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
WebLogic is no longer running.
I tried google it but there is no resolution found on this one.
Appreciate your help in this regard.
Regards,
RahulI am able to boot the app server by changing in the configuration file -->setENV.cmd.
I put -server instead of -jrockit, i don't know why it is pointing to -jrockit.
Below is the value that I put -->
SET JAVA_OPTIONS_WIN=-server -Xms256m -Xmx256m -XX:CompileThreshold=8000 -XX:MaxPermSize=128m
in place of below value-->
SET JAVA_OPTIONS_WIN=-jrockit -XnoOpt -XXnoJITInline -Xms512m -Xmx512m -Dtoplink.xml.platform=oracle.toplink.platform.xml.jaxp.JAXPPlatform
I am still not able to check the status of the server and shut it down properly.
Any suggestions ?
Regards,
Rahul -
Oracle SOA not starting Unrecognized option: -jrockit
Hi,
I installed Oracle SOA 11.1.1.5 on my windows 7 box. Downloaded the 64 bit JDK also. But when I run startWebLogic.cmd am getting the below error. It keeps complaining about -jrockit option don't know where it's coming from I don't have JRockit installed anywhere on the system so wondering where is this picking from.
starting weblogic with Java version:
Unrecognized option: -jrockit
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Starting WLS with line:
C:\Software\install\Java\JDK17~1.0_1\bin\java -jrockit -Xms768m -Xmx1536m -Dwe
blogic.Name=AdminServer -Djava.security.policy=C:\Software\install\fmw\WLSERV~1.
classpath weblogic.Server
Unrecognized option: -jrockit
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.ThanksHi:
Did u try to remove *"-jrockit"* and start the server? Also what is the JAVA_HOME you have set?
Regards,
RK -
Unrecognized option: -jrockit Could not create the Java virtual machine.
Hi All,
I hv running 64bit Linux RedHat 5 , having Peopletools 8.49.19 installed jdk 1.5. weblogic 9.2 .. Installation of Weblogic and PIA done completely without any error .. but when i m gonna start ( ./startPIA ) it gives an error ..
Attempting to start WebLogic Server PIA
No activity will be logged to this window.
Server activity will be logged to /....../pt849/webserv/peoplesoft/servers/PIA/logs/PIA_*
PID for WebLogic Server PIA is: 5162
PIA_stderr.log report
Unrecognized option: -jrockit
Could not create the Java virtual machine.
can you please guide the solution that can help me to resolve this error ..
Thanx ..Configuring Domains to Use the Latest Version of JRockit
If you are using the JRockit SDK, after you install an upgrade patch or run an Upgrade installer, Oracle recommends that you upgrade your domains to use the latest production version of the JRockit SDK. Although the latest version of the JRockit SDK is installed by the upgrade patch or upgrade installer, your domains are not automatically configured to use it.
To configure your domains to use the latest production version of the JRockit SDK, edit the following file:
For Windows:
MW_HOME\domain_location\domains\domain_name\bin\setDomainEnv.cmd
For UNIX:
MW_HOME/domain_location/domains/domain_name/bin/setDomainEnv.sh
Replace all occurrences of the existing JRockit version with the latest production version of the JRockit SDK.
For example, if you are upgrading from WebLogic Server 10.3.2 to WebLogic Server 10.3.3, replace
jrockit_160_14_R27.6.5-32
with
jrockit_160_20_D1.0.1-2119
You can determine the JRockit SDK version number to use for your WebLogic Server version by looking at the JRockit directory name in MW_HOME. The number to use is identical to the directory name. -
Unrecognized option : jrockit
Hi All,
After the upgrade of jdk 1.6.20 to 1.6.35 version, getting unrecognized option jrockit error while starting the admin server.
Please help me on this.
Thanks,
VaraprasadHave you altered in any way your startWebLogic.sh, commEnv.sh (either one) or setDomainEnv.sh scripts? We had issues with customizations previously made that prevented the scripts from auto-detecting the JVM and choosing appropriate flags.
Another option is to forcefully set JAVA_VENDOR=Sun and export JAVA_VENDOR at the start of your startWebLogic.sh or setDomainEnv.sh scripts, to override the automatic JVM settings. You may then need to additionally set memory settings however.
Maybe you are looking for
-
How to create a bookmark with action to open a file
Hi all, I'm a newbie in javascripting for Adobe Acrobat (I'm running on Acrobat Professional 8) so please don't kill me for my question. I want to run a batch sequence to create a bookmark which opens a specific file in lots of pdf files. The way I'm
-
Combining multiple pages files into one file?
Sorry if this is a dumb question, but I really did try to find the answer both in the Pages documentation and the forums and couldn't find even a similar question! I have a 90+ page document I created that contains many photo's, and other graphic ele
-
Create two clients on one BW server
Hello, Is it possible to create 2 clients on one BW server? I remember that in 3.1 our basis told me that its impossible.... We are now on BW 3.5 Please Advice, David
-
Facetime image orientation?
I held a facetime chat with a friend and was completely unable to cause both phones to properly display horizontal oriented images. Each person saw the other horizontal image as a belt-line horizontal you would see on a vertically oriented iPhone. Wi
-
Has anyone had this issue. I created my song from itunes to garage band, took my iphotos to create a slide show and when I burned to idvd there are several pauses during playback?