Xvfb unrecognized option: -screen

hi, using solaris 10 and trying to configure Xvfb for Oracle Reports Server.
DISPLAY=<ip address of my laptop>:0.0
export DISPLAY
xclock &
xclock pops up. now when i do the following,
Xvfb :5 -screen 0 1600x1200x32 &
i get a message saying "Unrecognized option: -screen"
i checked the man pages for Xvfb and "-screen" option is there! is there something wrong i'm doing?

hi, this is the article i'm following
http://www.sun.com/bigadmin/content/submitted/virtual_buffer.jsp
and i know it's dated but what i don't get is why Solaris 10 doesn't accept the "-screen" option even though in the man pages it is there.

Similar Messages

  • Windows 7 won't boot on iMac 27". Stuck on OS option screen.

    Hi, I recently installed a full copy of Windows 7 Home Premium, purchased at Office Depot, on my fully upgraded iMac 27" (Core i5, 4GB, Radeon 4850). My intent was to use Snow Leopard as my platform of choice for work and special projects, while booting into Windows for gaming (PC gamer).
    I had an Applecare representative on the phone as I installed the operating system and the process appeared to resolve quite successfully.
    I used the Apple Bootcamp Utility to establish a partition size of 300 GB, and then I placed the Windows 7 32 bit full installation DVD into the drive and proceeded with the installation. I ensured that the Bootcamp partition formatted thoroughly (NTFS) and I set Windows to download all the necessary updates automatically via Windows Update.
    I ensured that the upgraded GPU drivers were included during the installation (to avoid the black screen issue), as well as installing the Snow Leopard disk drivers, the iMac 27"-specific drivers and new Bootcamp 3.1 update for Windows. The partition worked fine and appeared to have been configured successfully after approximately 2 days of booting.
    Soon after, I installed Quake Wars, L4D 1, 2, Mass Effect 2, Need For Speed: Undercover, Mozilla Firefox and Sophos Enterprise AV. Approximately a week after installation, I began to experience malfunctions varying greatly. Sometimes, when I would boot, I would simply reach a black screen with a white, flashing cursor. Other occasions I would load to a black screen, which contained a disk read error (Disk can not be found) and a request to CTRLALTDEL. Yet other times, the computer would simply lock up on the gray, Option bootdisk selection screen. In each of the aforementioned circumstances, the computer would seem permanently stuck, since the computer would not proceed to any operating system, regardless of time allotted (up to 20 minutes provided). On occasion, Windows would boot normally with no problems whatsoever.
    During each of the inexplicable lock ups, I would initiate a hard reboot, and boot off of the Windows 7 HP 32 bit DVD. Often, the DVD would perform a boot check of the operating system. On each of the occasions, the operating system check would list no errors. Because I was using the Apple Wireless Keyboard, I assumed that perhaps the issue remained with an inability to strike CTRLALTDEL and quickly purchased a USB keyboard. While I no longer receive the "Can not find disk" errors that request CTRLALTDEL, I still rarely get the black screen with the flashing cursor and I routinely receive the gray, OS option screen.
    I believed that perhaps booting with an external drive or jump drive attached might be causing the problem but upon removing all of said drives, the boot malfunctions persist. I used the Snow Leopard Disk Utilities to scan the hard drive and it detected no problems. I also utilized Windows hard drive utility to check for bad sectors. After 2 hours of scanning, no bad sectors or hard drive problems were detected. I finally rebooted the system in ChkDsk and upon 1 hour of scanning, ChkDsk confirmed no problems, bad sectors or issues with the hard drive. Because all three utilities appear to be unanimous, operating from two distinct operating systems, I'm inclined to believe the consensus and dismiss the possibility of a defective hard drive.
    While I can always eventually reboot into Windows, I am concerned that the large number of "hard reboots" - reboots done using the power button, which account for 5-6 on bad days, will eventually lead to a diminished lifespan for my iMac's motherboard or power supply. I want to curtail these pointless restarts. Booting with the Windows 7 DVD in the hard drive, yields a clean boot into Windows, however, this is very inconvenient and, moreso, would lead to wear and tear on the DVD that I would rather avoid (as well as not resolving the problems inherent in my Windows boot partition). After running the Windows 7 boot utility, over a dozen times, and receiving no errors at all, I'm at a loss for what the problem can be.
    My biggest problem, currently, is to avoid the wave of hard reboots. This most naturally occurs due to the computer locking up on the gray OS option screen. I'll select Windows and the hard drive will not spin up. I was advised to check my boot ini or use utitilities that provided a hard-mapped boot table for the Windows partition but I'm wary of corrupting or damaging my Windows installation.
    Has anyone experienced these problems with their Macs, 27" or otherwise? And can anyone help me resolve this problem before substantial wear and tear through constant rebooting results? Thank you for any input and thank you for your time.

    HI and Welcome to Apple Discussions...
    *Soon after, I installed Quake Wars, L4D 1, 2, Mass Effect 2, Need For Speed: Undercover, Mozilla Firefox and *Sophos Enterprise AV*. Approximately a week after installation, I began to experience malfunctions varying greatly*
    Macs get grumpy when running anti virus software. Disable or completely uninstall Sophos A/V and see if that makes a difference. A/V software on a Mac will slow the drive down more and more as time goes on.
    Also, check the vendor sites for each 3rd party software you installed to make sure they are compatible with 10.6.x
    The "hard reboots" are a result of the system freezing due to incompatible or outdated software.
    Carolyn
    Message was edited by: Carolyn Samit

  • How to transport a select - option screen in dialogue programme

    hi Techies
    I have Created select-option field in dialogue program ( With the help of SUBSCREEN)
    Now i need to Transport this Select option Field To Live Server ....
    Poblem is select-option field is not updating in Live server ....
    i have changed some logic in the flow logic of select-option screen. (Just added the F4 help in flow logic)
    while transporting it is fetching the standrd select option field & Flow logic...
    not the changed one ..........?????????
    plz suggest me possible way to accomplish my requirment.
    Regards
    Prasad

    HI,
    check these links for sample codes
    Display Select option in module pool screen
    Select-Option Extension box in Module Pool
    http://sample-code-abap.blogspot.com/2008/06/select-option-in-module-pool-screen.html
    Regards,
    Anirban

  • 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

  • I had a power outage, my battery powered surge protector worked.  But now when I turn on my Apple TV, I cannot get beyond the computer and setting screen, and see the Apple TV options screen.  What step am I missing.  Internet is working.

    After the power outage, turned on TV and tried connecting to my Apple TV, but directed to a screen with a computer Icon and a Setting Icon.  Can't get past this screen to my TV options screen.  Internet is connected???  How to I get to my TV options?

    Yes I had already reset my internet connection and had no progress.  However, while I was trying to figure out a solution I used my Apple TV to listen to music from my computer.  Then I went back and tried again and the TV icons appeared - and Apple TV was working

  • Is there a DJ app for the Ipad that will read the "start" and "stop time" setting for each individual song, as they are set in the song Options screen in Itunes?

    Is there a DJ app for the Ipad that will read the "start" and "stop time" setting for each individual song, as they are set in the song Options screen in Itunes? The Ipod Touch, by itself does not allow cross-fading, therefore when the stop time is edited short, the song jusst truncates then goes to the next song. I tried the DJay ap and while it would crossfade, it would NOT read the song settings for the stop marker. So now I want to try and Ipad and see if there is an app that will READ the Itune stop settings within the song. I do NOT want an app that will allow me to DO the stop marker. I want an app that will READ the stop marker from the song as it is set in Itunes.

    Itunes provides the option for setting the Start and Stop times of each music track.  However, the start and stop times do not synchronize to the iPhone.  I don't understand why this option is even available as it doesn't work when listening to music on the phone.  I have not found another application that will support the start and stop time markets.  I have searched quite a bit for this but can't find anything.  I hope we can find something. 

  • [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)

  • Options screen opens so big the top is cut off and cannot use

    This recurs and cannot fix.
    The options screen(box) opens so big the top is cut off and cannot access anything but the general screen?
    I have my resolution set to native 1600x900 100%. Decreasing page (home page) size does not help.
    I am running Windows7 on NEW COMPUTER.

    It does it in safe mode as well. It does it intermittently so I can't trace it to an extension.
    TY

  • Remote profiling on oc4j 10.1.2 on solaris. -ojvm unrecognized option

    Hi I have problems starting OC4J using the -ojvm -XXtimeport4000 parameters on a Solaris box.
    The java runtime complains about unrecognized option. I've tried to find some information how to enable ojvm on the java runtime supplied with IAS 10g 10.1.2.
    Do anyone have any clues?
    /Henrik

    Thanks Luke,
    I changed
    vo.setWhereClause(" USER_NAME=?");
    to
    vo.setWhereClause(" USER_NAME=:0");
    And that particular segment worked as expected.
    Thanks
    David

  • Passing value to select options screen.

    Hi All,
    Can anybody help me how to pass a value to select option screen from another screen?
    It's like a user enters a value in a input field and press a button to navigate to the next screen which contains the select option fields.How can i show the value enterd in the previous screen to be shown in one of teh  input field in the select option screen.

    Hi,
    Store the values that you have to pass in a global variable declared in component controller and
    Use the following piece of code in the second view,
    DATA: lt_range_table TYPE REF TO data,
              rt_range_table TYPE REF TO data,
              read_only TYPE abap_bool,
              typename TYPE string.
    * create a range table that consists of this new data element
      lt_range_table = lo_r_helper_class->create_range_table( i_typename = 'MATNR' ).
    FIELD-SYMBOLS: <tab> TYPE INDEX TABLE,
    <struct> TYPE ANY,
    <wa> TYPE ANY,
    <option> TYPE char2,
    <sign> TYPE char1,
    <high> TYPE ANY,
    <low> TYPE ANY,
    <wa_values> TYPE ANY.
    ASSIGN lt_range_table->* TO <tab>.
    APPEND INITIAL LINE TO <tab> ASSIGNING <wa>.
    ASSIGN COMPONENT 'OPTION' OF STRUCTURE <wa> TO <option>.
    ASSIGN COMPONENT 'HIGH' OF STRUCTURE <wa> TO <high>.
    ASSIGN COMPONENT 'LOW' OF STRUCTURE <wa> TO <low>.
    ASSIGN COMPONENT 'SIGN' OF STRUCTURE <wa> TO <sign>.
    <sign> = 'I'. "Default sign which you want to give
    <option> = 'EQ'. "Default option you want to give
    <low> = 'M-01'." pass your valriable name here
    *<high> = 'High_value'.
    * add a new field to the selection
      lo_r_helper_class->add_selection_field( i_id = 'S_MATNR'
      i_description = 'Material'
      it_result = lt_range_table ).
    Regards,
    Radhika.

  • Cannot enter accounting information in system options screen

    Hi All
    I am trying to make a new organization in an multi-org env.
    While doing the setup I am not able to enter accounting information/ Tax Information etc. using system options screen using receivables manager responsibility.The path for the screen is
    Receivables manager>setup>system>system option.
    Can anyone help
    Lokesh Sharma

    You have created new org.
    Create a new responsibility. Assign Set of Books, New Org to this responsibility. Assign this responsibility to your user id. You this responsibility to setup your AR.

  • Th"advanced installation" option screen never showed up in ASM runInstaller

    I tried to install ASM in it's own home by invoking the oracle/product/10.2.0/db_1/oui/bin/runInstaller.
    This is what happend:
    After the initial OUI welcome screen, click NEXT, it jumped right to "Specify Source Location" screen... yet the "advanced installation" option screen I was expecting has never showed up.
    Anyone know what's wrong and how do I get to that "advanced installation" option screen so that I can check it first?
    G.

    Never mind. Re-downloaded the server software and solved the problem.
    G.

  • 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.

  • 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

Maybe you are looking for

  • Windows File CS Content Crawler - How to change crawl method?

    Hi, I have encountered an odd issue. I am using a Windows File CS Content Crawler to pull in some PDF files from a remote folder. However I noticed the Windows File CS Content Crawler is crawling in the document title rather than the actual PDF filen

  • Win 7 Pro 64-bit / DW CS5 crashes when opening files with external links

    open any html, php, etc with a link to an external file - could be any type dw cs5 crashes this is on a fresh, clean install of win 7 and cs5 suite. hard drive was wiped clean before installing Has anyone experienced this issue also? This is extremel

  • Package name in Solaris 10

    Hi, I try to uninstall the following path: /usr/spool/lp/model/ppd/system/foomatic for all the printer model files. Is there a Solaris 10 Package name associate with these files that I can use pkgrm to do? Thanks!

  • Query execute() API goes for inifinite wait (Hang)

    Hi I am using BDB XML 2.4 in Fedora core-4. when I execute xquery update operation followed by FLWOR get query, the execute() API goes for infinite wait. We have tried setting NOWAIT flags to see if it waits for lock, but the program is in INFINITE w

  • Declaring a cursor

    hi all, is it possible to declare a cursor like this ..??? declare cursor is select ab.col1,cd.col2 from (select a.col1,b.col2 from a,b conditions)ab (select c.col1,d.col2... from c,d conditions..)cd i am getting the following error PL/SQL: ORA-00923