WLS 12.1.3 config.sh + Solaris 10 doesn't work

I've just upgraded from 12.1.1 to 12.1.3 on my Solaris 10 box. I've noticed that quickstart is gone and has been replaced by config.sh. However, config.sh won't work (see stack trace below). Assuming that my X11 configuration is ok and that I can run other X11 applications from the same command line using the same DISPLAY, what do I need to do to make config.sh stop complaining about my DISPLAY? I've tried running it with the -Djava.awt.headless=true option and it does nothing (prompt comes right back with an exit code of 3). How do I get config.sh working? I have no other way of easily setting up a domain.
Here's the stack trace from config.sh. Again, there's nothing wrong with my DISPLAY setting or my X11 configuration. Other X apps don't have any problems.
Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using ':10.0' as the value of the DISPLAY variable.
        at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
        at sun.awt.X11GraphicsEnvironment.access$200(X11GraphicsEnvironment.java:65)
        at sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:110)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:74)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:190)
        at java.awt.GraphicsEnvironment.createGE(GraphicsEnvironment.java:102)
        at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:81)
        at sun.awt.X11.XToolkit.<clinit>(XToolkit.java:120)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:190)
        at java.awt.Toolkit$2.run(Toolkit.java:869)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:861)
        at sun.swing.SwingUtilities2.getSystemMnemonicKeyMask(SwingUtilities2.java:1934)
        at javax.swing.plaf.basic.BasicLookAndFeel.initComponentDefaults(BasicLookAndFeel.java:752)
        at javax.swing.plaf.metal.MetalLookAndFeel.initComponentDefaults(MetalLookAndFeel.java:434)
        at javax.swing.plaf.basic.BasicLookAndFeel.getDefaults(BasicLookAndFeel.java:148)
        at javax.swing.plaf.metal.MetalLookAndFeel.getDefaults(MetalLookAndFeel.java:1589)
        at javax.swing.UIManager.setLookAndFeel(UIManager.java:536)
        at javax.swing.UIManager.setLookAndFeel(UIManager.java:576)
        at javax.swing.UIManager.initializeDefaultLAF(UIManager.java:1345)
        at javax.swing.UIManager.initialize(UIManager.java:1455)
        at javax.swing.UIManager.maybeInitialize(UIManager.java:1422)
        at javax.swing.UIManager.getDefaults(UIManager.java:656)
        at javax.swing.UIManager.put(UIManager.java:985)
        at com.oracle.cie.common.ui.gui.GUIHelper.initPLAF(GUIHelper.java:51)
        at com.oracle.cie.wizard.internal.cont.GUIContext.<clinit>(GUIContext.java:296)
        at com.oracle.cie.wizard.internal.cont.GUITaskContainer.createTaskContext(GUITaskContainer.java:73)
        at com.oracle.cie.wizard.internal.cont.GUITaskContainer.createTaskContext(GUITaskContainer.java:21)
        at com.oracle.cie.wizard.internal.cont.AbstractTaskContainer.init(AbstractTaskContainer.java:32)
        at com.oracle.cie.wizard.internal.cont.GUITaskContainer.init(GUITaskContainer.java:21)
        at com.oracle.cie.wizard.internal.engine.WizardControllerEngine.loadTaskContainer(WizardControllerEngine.java:656)
        at com.oracle.cie.wizard.internal.engine.WizardControllerEngine.configureMode(WizardControllerEngine.java:595)
        at com.oracle.cie.wizard.internal.engine.WizardControllerEngine.init(WizardControllerEngine.java:172)
        at com.oracle.cie.wizard.WizardController.createWizardEnine(WizardController.java:110)
        at com.oracle.cie.wizard.WizardController.<init>(WizardController.java:28)
        at com.oracle.cie.wizard.WizardController.invokeWizardAndWait(WizardController.java:119)
        at com.oracle.cie.wizard.WizardController.main(WizardController.java:67)

Hi Jcecere,
1)Could you please check if the DISPLAY variable has been set properly by executing the below command :-
   echo $DISPLAY
2)Could you please check if there is a firewall which is blocking the Port of DISPLAY.
Regards,
Prakash.

Similar Messages

  • About:config tabs min size doesn't work

    about:config tabs min size doesn't work.

    The about:config settings for setting tab widths have been removed from Firefox 4, to set tab width you can use the Custom Tab Width extension - https://addons.mozilla.org/firefox/addon/custom-tab-width

  • Ssh config : sshd_config and chroot doesn't work

    Hi,
    We tried to customize ssh parameters in sshd_config file in leopard server (in /etc/ssd_config). We need to restrict ssh and sft users' access only in their folders and not go up in parent folders.
    I read that chroot parameter is the right to do this, but it doesn't work with ssh leopard standard version.
    So I installed with macports last openssh and chroot parameter seems to work (ssh service start correctly) but in this case it's impossible to authentificate users : maybe I must use special parameters to use ODM and Kerberos.
    Have you some ideas ?
    Lines added in sshd_config :
    #Match user myuser
    # ForceCommand internal-sftp
    # ChrootDirectory /Volumes/SAN2/Users/myuser
    Chris

    Meyithi wrote:
    Corsair wrote:I uncommented `make nconfig' and commented `yes "" | make config'.  So now my build() looks like this
    I can't see where on that guide it says to comment 'yes "" | make config", I use the same method and I certainly don't do that.
    EDIT/ Here is PKGBUILD I use - http://paste.pocoo.org/show/376935/
    I also tried to not comment that line.  But as expected, that did not change the behavior of nconfig.  Still did not work...

  • Start script for Nagios 3.0.4 on Solaris 10 doesn't work.

    I compiled Nagios 3.0.4 on a Solaris 10 system using the following configure string:
    ./configure prefix=/space/nagios with-gd-lib=/usr/local/lib with-gd-inc=/usr/local/include with-nagios-user=na
    gios with-nagios-group=nagios with-temp-dir=/space/nagios/tmp with-init-dir=/etc/init.d with-lockfile=/space/nagio
    s/var/nagios.lock with-cgiurl=/nagios/cgi-bin with-htmurl=/nagios with-httpd-conf=/var/apache/conf enable-embedded
    -perl --with-mail=/usr/bin/mailx
    I have my Nagios configuration files setup and they are working properly as the command: nagios -v ../etc/nagios.cfg returns no errors.
    If I run the /etc/init.d/nagios script, it will return an exit status of zero stating that it ran successfully, however, there are no nagios processes running. I tried adding my PATH and LD_LIBRARY_PATH strings from my profile to the top of the Nagios start/stop script and it still will not work. The only way I can currently start nagios is by issuing the command:
    nohup /space/nagios/bin/nagios /space/nagios/etc/nagios.cfg &
    By issuing that command, I can see the monitoring in the web interface and can select on the various sections within the interface, etc. with no problems.
    I would like to know why the script will not work from /etc/init.d when I execute it manually. When I do attempt to start Nagios using the start/stop script, the following message is written to the nagios.log file.
    Lockfile '/space/nagios/var/nagios.log' does not contain a valid PID ([122535000)
    I have posted the above question to the Nagios forum and no one there has posted a response. Any help would be greatly appreciated.

    I have used the default (comes with Nagios) script with a few changes:
    @@ -115,7 +115,7 @@
    $NagiosBin -v $NagiosCfgFile > /dev/null 2>&1;
    if [ $? -eq 0 ]; then
    su - $NagiosUser -c "touch $NagiosVarDir/nagios.log \
    $NagiosRetentionFile"
    - rm -f $NagiosCommandFile
    + rm -f $NagiosCommandFile 2>/dev/null > /dev/null
    touch $NagiosRunFile
    chown $NagiosUser:$NagiosGroup $NagiosRunFile
    $NagiosBin -d $NagiosCfgFile
    @@ -138,10 +138,9 @@
    # happen, and then the exiting nagios will remove the
    # new NagiosRunFile, allowing multiple nagios daemons
    # to (sooner or later) run - John Sellens
    - echo -n 'Waiting for nagios to exit .'
    + echo 'Waiting for nagios to exit .'
    for i in 1 2 3 4 5 6 7 8 9 10 ; do
    if status_nagios > /dev/null; then
    - echo -n ' .'
    sleep 1
    Why not use SMF?
    vi /var/svc/manifest/network/nagios.xml (in a global zone, even if Nagios will run in a sparse root non-global zone)
    <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
    <service_bundle type='manifest' name='Nagios'>
    <service
         name='network/nagios'
         type='service'
         version='1'>
         <dependency name='loopback'
              grouping='require_all'
              restart_on='error'
              type='service'>
              <service_fmri value='svc:/network/loopback:default'/>
         </dependency>
         <dependency name='physical'
              grouping='optional_all'
              restart_on='error'
              type='service'>
              <service_fmri value='svc:/network/physical:default'/>
         </dependency>
    <dependency
    name='filesystem'
    grouping='require_all'
    restart_on='none'
    type='service'>
    <service_fmri value='svc:/system/filesystem/local'/>
    </dependency>
         <instance name='default' enabled='false'>
              <exec_method
                   type='method'
                   name='start'
                   exec='/lib/svc/method/nagios start'
                   timeout_seconds='30'>
                   <method_context>
    <method_credential user='nagios' group='nagios'/>
                   <method_environment>
    <envvar name="NAGIOS_HOME" value="/usr/local/nagios"/>
    </method_environment>
                   </method_context>
              </exec_method>
              <exec_method
                   type='method'
                   name='stop'
                   exec='/lib/svc/method/nagios stop'
                   timeout_seconds='60'>
                   <method_context>
    <method_credential user='nagios' group='nagios'/>
                   <method_environment>
    <envvar name="NAGIOS_HOME" value="/usr/local/nagios"/>
    </method_environment>
                   </method_context>
              </exec_method>
         </instance>
         <template>
    <common_name>
    <loctext xml:lang='C'>
    Nagios
    </loctext>
    </common_name>
              <documentation>
                   <doc_link name='nagios.org'
                        uri='http://nagios.org/' />
              </documentation>
    </template>
    </service>
    </service_bundle>
    chown root:sys /var/svc/manifest/network/nagios.xml
    chmod 644 /var/svc/manifest/network/nagios.xml
    Now for the method:
    vi /lib/svc/method/nagios (in a global zone, even if Nagios will run in a sparse root non-global zone)
    Make sure you set prefix in the file below!
    #!/bin/sh
    status_nagios ()
    if test -x $NagiosCGI/daemonchk.cgi; then
    if $NagiosCGI/daemonchk.cgi -l $NagiosRunFile; then
    return 0
    else
    return 1
    fi
    else
    if ps -p $NagiosPID > /dev/null 2>&1; then
    return 0
    else
    return 1
    fi
    fi
    return 1
    printstatus_nagios()
    if status_nagios $1 $2; then
    echo "nagios (pid $NagiosPID) is running..."
    else
    echo "nagios is not running"
    fi
    killproc_nagios ()
    kill $2 $NagiosPID
    pid_nagios ()
    if test ! -f $NagiosRunFile; then
    echo "No lock file found in $NagiosRunFile"
    exit 1
    fi
    NagiosPID=`head -n 1 $NagiosRunFile`
    # Source function library
    # Solaris doesn't have an rc.d directory, so do a test first
    if [ -f /etc/rc.d/init.d/functions ]; then
    . /etc/rc.d/init.d/functions
    elif [ -f /etc/init.d/functions ]; then
    . /etc/init.d/functions
    fi
    prefix=/usr/local/nagios
    exec_prefix=${prefix}
    NagiosBin=${exec_prefix}/bin/nagios
    NagiosCfgFile=${prefix}/etc/nagios.cfg
    NagiosStatusFile=${prefix}/var/status.dat
    NagiosTempFile=${prefix}/var/nagios.tmp
    NagiosRetentionFile=${prefix}/var/retention.dat
    NagiosCommandFile=${prefix}/var/rw/nagios.cmd
    NagiosVarDir=${prefix}/var
    NagiosRunFile=${prefix}/var/nagios.lock
    NagiosLockDir=/var/lock/subsys
    NagiosLockFile=nagios
    NagiosCGIDir=${exec_prefix}/sbin
    NagiosUser=nagios
    NagiosGroup=nagios
    # Check that nagios exists.
    if [ ! -f $NagiosBin ]; then
    echo "Executable file $NagiosBin not found. Exiting."
    exit 1
    fi
    # Check that nagios.cfg exists.
    if [ ! -f $NagiosCfgFile ]; then
    echo "Configuration file $NagiosCfgFile not found. Exiting."
    exit 1
    fi
    # See how we were called.
    case "$1" in
    start)
    echo -n "Starting nagios:"
    $NagiosBin -v $NagiosCfgFile > /dev/null 2>&1;
    if [ $? -eq 0 ]; then
    su - $NagiosUser -c "touch $NagiosVarDir/nagios.log $NagiosRetentionFile"
    rm -f $NagiosCommandFile 2>/dev/null > /dev/null
    touch $NagiosRunFile
    chown $NagiosUser:$NagiosGroup $NagiosRunFile
    $NagiosBin -d $NagiosCfgFile
    if [ -d $NagiosLockDir ]; then touch $NagiosLockDir/$NagiosLockFile; fi
    echo " done."
    exit 0
    else
    echo "CONFIG ERROR! Start aborted. Check your Nagios configuration."
    exit 1
    fi
    stop)
    echo -n "Stopping nagios: "
    pid_nagios
    killproc_nagios nagios
    # now we have to wait for nagios to exit and remove its
    # own NagiosRunFile, otherwise a following "start" could
    # happen, and then the exiting nagios will remove the
    # new NagiosRunFile, allowing multiple nagios daemons
    # to (sooner or later) run - John Sellens
    # echo 'Waiting for nagios to exit .'
    for i in 1 2 3 4 5 6 7 8 9 10 ; do
    if status_nagios > /dev/null; then
    echo '.'
    sleep 1
    else
    break
    fi
    done
    if status_nagios > /dev/null; then
    echo ''
    echo 'Warning - nagios did not exit in a timely manner'
    else
    echo 'done.'
    fi
    rm -f $NagiosStatusFile $NagiosTempFile $NagiosRunFile $NagiosLockDir/$NagiosLockFile $NagiosCommandFile
    status)
    pid_nagios
    printstatus_nagios nagios
    restart)
    printf "Running configuration check..."
    $NagiosBin -v $NagiosCfgFile > /dev/null 2>&1;
    if [ $? -eq 0 ]; then
    echo "done"
    $0 stop
    $0 start
    else
    #$NagiosBin -v $NagiosCfgFile
    echo " FAILED! Restart aborted. Check your Nagios configuration."
    exit 1
    fi
    reload|force-reload)
    printf "Running configuration check..."
    $NagiosBin -v $NagiosCfgFile > /dev/null 2>&1;
    if [ $? -eq 0 ]; then
    echo "done"
    if test ! -f $NagiosRunFile; then
    $0 start
    else
    pid_nagios
    if status_nagios > /dev/null; then
    printf "Reloading nagios configuration..."
    killproc_nagios nagios -HUP
    echo "done"
    else
    $0 stop
    $0 start
    fi
    fi
    else
    #$NagiosBin -v $NagiosCfgFile
    echo " FAILED! Reload aborted. Check your Nagios configuration."
    exit 1
    fi
    echo "Usage: nagios {start|stop|restart|reload|force-reload|status}"
    exit 1
    esac
    # End of this script
    chmod 555 /lib/svc/method/nagios
    chown root:bin /lib/svc/method/nagios
    xmllint /var/svc/manifest/network/nagios.xml (should return the XML file contents)
    svccfg import /var/svc/manifest/network/nagios.xml (in the zone where Nagios will run)
    svcadm enable nagios
    I run /path/to/nagios/bin/nagios -v /path/to/nagios.cfg when making config changes and then svcadm restart nagios

  • Solaris installation doesn't work as expected on both PCs I've tried it on?

    Hi there, I have just tried to my Solaris 10 download on two PCs and it doesn't seem to go the way expected in the installation instructions: No Grub menu appears. It does say Grub at the top of the screen, tells me about base and extended memory, then it gives me a little prompt about being able to press Tab for a list of commands. A list of commands appears when I press Tab but having typed them one after another, it doesn't seem to be working. Is this normal?

    Oops, sorry, my fault. Just checked the download instructions: I didn't concatenate the files. Sorry.

  • FileLock doesn't work in UNIX (solaris)

    Hi all,
    I have a piece of code which writes to xml file and before that locks the file to prevent two users writing in same file in same time.
    This code works perfectly on my windows environment (Eclipse and windows 2000) but as soon as I put jar file in UNIX (SOLARIS) it doesn�t work and two clients can change at same time!
    Anyone has an idea what is going on?
    Note: I put sleep just to be able to make a delay so I can try to have access from second client session to test my lock
    Following is my code:
      public synchronized void commitConfiguration() throws ConfigurationDataException
          try {     
              // Get a file channel for the file
              File file = new File(uri);
              FileOutputStream outputStream = new FileOutputStream(file);
              FileChannel  channel = outputStream.getChannel();
              FileLock lock = fileLock(channel);
              if(lock != null) {
                  try {
                      processCommit(outputStream);
                      Thread.sleep(8000);
                  }finally {
                      Thread.sleep(8000);
                      lock.release();
                      channel.close();
              //reload the configuration
              refreshConfiguration();                            
        } catch (Exception e1) {       
            throw new ConfigurationDataException("Cannot commit file, because: " + e1.getMessage());
      private static FileLock fileLock( FileChannel  channel) throws IOException {
          // Use the file channel to create a lock on the file. This is a share lock not exclusive so
          // other users can still read but not set
          // This method blocks until it can retrieve the lock.
          //FileLock lock = channel.lock(0L, Long.MAX_VALUE, true);
          // Try acquiring the lock without blocking. This method returns
          // null or throws an exception if the file is already locked.
          FileLock lock =null;
          try {
              lock = channel.tryLock();
          } catch (OverlappingFileLockException e) {
              // File is already locked in this thread or virtual machine
          if(lock == null) {
              lock = channel.lock();
          return lock;     
      }Thanks,

    So what should we do to have the file locked?
    The Issue is I have one shared file system which all
    of my servers (it is a HA system which there are two
    from each server) having access to same file and I
    want them to be in synch, so I am trying to lock the
    file so no body even from other JVM (second server)
    cannot edit the file at the same time.
    Is there any way to handle this issue with this
    feature of java I mean FileLock and Channel API?Do the Java programs in the other servers also have the code to try and lock the file? Although unix has advisory locks, from what I have read, they should still work as long as you make sure all the Java programs that access the file attempt to get the lock. If any non-Java programs are using the file then they to would need to try and lock the file (not sure if they would play nice with the Java programs).

  • Does WLS 4.5.1 Run on Solaris 2.7 (x86) ???

    All--
    Does WLS 4.5.1 run on Solaris 2.7 (x86) or does it not? The system in
    question was running Solaris 2.6 (x86) and WLS 4.5.1 ran quite happily
    on that. What is the snag with 2.7? I am using JDK 1.1.7 (and have
    alternated w/ JDK 1.2.1).
    Mainly, WLS keeps looking for (and not finding) 'weblogicunix1' shared
    library file. I have nativeIO disabled but the server insists on this
    behaviour.
    Further, I have seen news postings regarding issues with servers that
    are running on Solaris 2.7 (x86) so it is obvious that it does indeed
    run. What is the trick to getting it working? It seems to trip up when
    attempting to bind to the assigned ports.
    Any tips/advice/suggestions will be greatly appreciated!
    TIA
    Ben

    We have not certified on X86 Solaris, there is no business case for it.
    Having said that I think this library should only load if you are running
    as a priv user and try to switch to nobody status. This library does not
    exist for x86.
    Sorry
    Mark G.
    In article <[email protected]>, [email protected]
    says...
    Sorry. Here's the error message I keep getting:
    Tue Jun 06 09:38:46 EDT 2000:<E> <SSLListenThread> ListenThread:run
    failed:
    Tue Jun 06 09:38:46 EDT 2000:<E> <SSLListenThread>
    java.lang.UnsatisfiedLinkError: no weblogicunix1
    in java.library.path
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Error.<init>(Error.java:50)
    at java.lang.LinkageError.<init>(LinkageError.java:43)
    at
    java.lang.UnsatisfiedLinkError.<init>(UnsatisfiedLinkError.java:42)
    at java.lang.ClassLoader.loadLibrary(Compiled Code)
    at java.lang.Runtime.loadLibrary0(Runtime.java:471)
    at java.lang.System.loadLibrary(System.java:745)
    at <Unloaded Method>
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName0(Compiled Code)
    at java.lang.Class.forName(Compiled Code)
    at
    weblogic.platform.OperatingSystem.getOS(OperatingSystem.java:77)
    at weblogic.t3.srvr.T3Srvr$1.run(T3Srvr.java:1174)
    at weblogic.t3.srvr.Callback.done(Callback.java:37)
    at
    weblogic.t3.srvr.SSLListenThread.newServerSocket(SSLListenThread.java:341)
    at weblogic.t3.srvr.ListenThread.run(Compiled Code)
    Tue Jun 06 09:38:46 EDT 2000:<E> <SSLListenThread> **** The WebLogic
    Server is no longer listening f
    or connections.
    Tue Jun 06 09:38:46 EDT 2000:<E> <SSLListenThread> **** You should
    probably restart it.
    Tue Jun 06 09:38:46 EDT 2000:<I> <WebLogicServer> Server shutdown by
    system
    Tue Jun 06 09:39:44 EDT 2000:<I> <WebLogicServer> WebLogic Server
    started
    Tue Jun 06 09:39:44 EDT 2000:<I> <WebLogicServer> Server shutdown
    commencing NOW
    ==================================================
    NewsGroup Rant
    ==================================================
    Rant 1.
    The less info you provide about your problem means
    the less we can help you. Try to look at the
    problem from an external perspective and provide
    all the data necessary to put your problem in
    perspective.

  • How to fix pam config with solaris-backup-1

    Hi,
    I do an error on pam.d and i don't connect to my solaris.
    I succeed in solaris-backup-1 but it's an archive.
    So how to fix my pam.d config with solaris-backup-1
    Thanks for your help

    I do "beadm activate solaris-backup-1"
    and i obtain with "beadm list" :
    solaris-backup-1 NR / 5.43G static 2014-09-22 11:21
    solaris-backup-1 is a back-up of the installation
    I didn't find my files in /opt
    So i activated/mounted solaris
    beadm activate solaris
    beadm mount solaris /mnt/solaris
    I succeed in modify pam.d
    Thanks

  • View works in Solaris in 1 minute but doesn't work in WIn2003

    We have a view is badly written. Other than the non-searchable conditions like '%*%'. What else is wrong:
    CREATE OR REPLACE FUNCTION anycon_p(neid NUMBER, joinaid VARCHAR2, sdf NUMBER, nodetype NUMBER ) RETURN N
    UMBER IS
    fromid NUMBER :=0;
    BEGIN
    if (nodeType=302 or nodetype = 303 )then
    select count(1) into fromid from JS_CM_TP tp where (tp.ne_id=neid)
    and (tp.tp_joinaid = joinaid) and (tp.tp_sdf = sdf) and (tp.crs_emlkey is not null);
    elsif (nodeType=307)then
    select count(1) into fromid from JS_CM_TP tp where (tp.ne_id=neid)
    and (tp.tp_joinaid = joinaid)and (tp.tp_sdf <= sdf)
    and (tp.tp_sdf+2 >= sdf)and(tp.crs_emlkey is not null);
    elsif (nodeType=308)then
    select count(1) into fromid from JS_CM_TP tp where (tp.ne_id=neid)
    and (tp.tp_joinaid = joinaid) and (tp.tp_sdf <= sdf)
    and (tp.tp_sdf+11 >= sdf)and(tp.crs_emlkey is not null);
    end if;
    RETURN fromid;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    RETURN 0;
    END;
    CREATE OR REPLACE VIEW JS_QUERY_FAC_AVAIL_VW AS
    SELECT
    tp.NE_ID NE_ID,
    ne.NE_NAME NE_NAME,
    tp.SHELFAID shelfaid,
    c.CARD_TYPE cardtype,
    tp.TP_AID tpaid,
    tp.TP_TPTYPE tptype,
    tp.TP_RAWPST tppst,
    tp.TP_JOINAID pmaid,
    c.CARD_RAWPST cardpst,
    tp.TP_TACCID tacc,
    CASE
    WHEN c.CARD_RAWPST LIKE '%OOS%' THEN 'PM-OOS'
    WHEN tp.TP_RAWPST LIKE '%OOS%' THEN 'FAC-OOS'
    WHEN (tp.TP_LPBKCMD IS NOT NULL) AND (tp.TP_LPBKCMD NOT LIKE '%NONE%') THEN 'FAC-LPBK'
    ELSE 'IS-NOT CONNECTED'
    END AS reason,
    tp.TP_FACTYPE AS factype
    FROM
    JS_NM_NE ne,
    JS_CM_CARD c,
    JS_CM_TP tp
    WHERE
    ne.NE_ID = c.NE_ID
    AND c.NE_ID = tp.NE_ID
    AND tp.TP_JOINAID = c.CARD_AID
    AND c.CARD_RAWPST NOT LIKE '%UEQ%'
    AND (tp.TP_DV_NODETYPE='300')
    AND (tp.TP_TPTYPE ='DGR')
    AND (tp.TP_RAWPST LIKE '%OOS%'
    OR c.CARD_RAWPST LIKE '%OOS%'
    OR (tp.TP_LPBKCMD IS NOT NULL AND tp.TP_LPBKCMD NOT LIKE '%NONE%')
    OR tp.CRS_EMLKEY is null)
    AND (tp.TP_TACCID IS NULL OR tp.TP_TACCID LIKE '%0%')
    UNION ALL
    SELECT
    tp.NE_ID NE_ID,
    ne.NE_NAME NE_NAME,
    tp.SHELFAID shelfaid,
    c.CARD_TYPE cardtype,
    tp.TP_AID tpaid,
    tp.TP_TPTYPE tptype,
    tp.TP_RAWPST tppst,
    tp.TP_JOINAID pmaid,
    c.CARD_RAWPST cardpst,
    tp.TP_TACCID tacc,
    CASE
    WHEN c.CARD_RAWPST LIKE '%OOS%' THEN 'PM-OOS'
    WHEN tp.TP_RAWPST LIKE '%OOS%' THEN 'FAC-OOS'
    WHEN (tp.TP_LPBKCMD IS NOT NULL) AND (tp.TP_LPBKCMD NOT LIKE '%NONE%') THEN 'FAC-LPBK'
    ELSE 'IS-NOT CONNECTED'
    END AS reason,
    tp.TP_FACTYPE AS factype
    FROM
    JS_NM_NE ne,
    JS_CM_CARD c,
    JS_CM_TP tp
    WHERE
    ne.NE_ID = c.NE_ID
    AND c.NE_ID = tp.NE_ID
    AND tp.TP_JOINAID = c.CARD_AID
    AND c.CARD_RAWPST NOT LIKE '%UEQ%'
    AND ((tp.TP_DV_NODETYPE='302' AND tp.tp_tptype='DGR'
    AND((tp.tp_rawpst NOT LIKE '%UAS%') OR(tp.tp_joinaid NOT LIKE 'EPMX24%')))
    OR(tp.TP_DV_NODETYPE='303' AND((tp.tp_rawpst NOT LIKE '%UAS%') OR
    (NOT EXISTS ( select null from JS_CM_TP tp1
    where (tp1.ne_id = tp.NE_ID)
    where (tp1.ne_id = tp.NE_ID)
    and (tp1.tp_sdf = tp.tp_sdf)
    and (tp1.tp_dv_nodetype = '302')
    and (tp1.tp_rawpst not like '%UAS') )))))
    AND (tp.TP_RAWPST LIKE '%OOS%'
    OR c.CARD_RAWPST LIKE '%OOS%'
    OR (tp.TP_LPBKCMD IS NOT NULL AND tp.TP_LPBKCMD NOT LIKE '%NONE%')
    OR (NOT EXISTS ( select null from JS_CM_TP tp1
    where (tp1.ne_id = tp.NE_ID)
    and (tp1.tp_joinaid = tp.tp_joinaid)
    and (tp1.tp_sdf = tp.tp_sdf)
    and (tp1.crs_emlkey is not null) ) ) )
    AND (tp.TP_TACCID IS NULL OR tp.TP_TACCID LIKE '%0%')
    UNION ALL
    SELECT
    tp.NE_ID NE_ID,
    ne.NE_NAME NE_NAME,
    tp.SHELFAID shelfaid,
    c.CARD_TYPE cardtype,
    tp.TP_AID tpaid,
    tp.TP_TPTYPE tptype,
    tp.TP_RAWPST tppst,
    tp.TP_JOINAID pmaid,
    c.CARD_RAWPST cardpst,
    tp.TP_TACCID tacc,
    CASE
    WHEN c.CARD_RAWPST LIKE '%OOS%' THEN 'PM-OOS'
    WHEN tp.TP_RAWPST LIKE '%OOS%' THEN 'FAC-OOS'
    WHEN (tp.TP_LPBKCMD IS NOT NULL) AND (tp.TP_LPBKCMD NOT LIKE '%NONE%') THEN 'FAC-LPBK'
    ELSE 'IS-NOT CONNECTED'
    END AS reason,
    tp.TP_FACTYPE AS factype
    FROM
    JS_NM_NE ne,
    JS_CM_CARD c,
    JS_CM_TP tp
    WHERE
    ne.NE_ID = c.NE_ID
    AND c.NE_ID = tp.NE_ID
    AND tp.TP_JOINAID = c.CARD_AID
    AND c.CARD_RAWPST NOT LIKE '%UEQ%'
    AND tp.TP_DV_NODETYPE IN ('307')
    AND (tp.tp_aid not like '%-P-%')
    AND (tp.TP_TACCID IS NULL OR tp.TP_TACCID LIKE '%0%')
    AND (tp.TP_RAWPST LIKE '%OOS%'
    OR c.CARD_RAWPST LIKE '%OOS%'
    OR (tp.TP_LPBKCMD IS NOT NULL AND tp.TP_LPBKCMD NOT LIKE '%NONE%')
    OR (NOT EXISTS (select null from JS_CM_TP tp1
    where (tp1.ne_id = tp.NE_ID)
    and (tp1.tp_joinaid = tp.tp_joinaid)
    and (tp1.tp_sdf <= tp.tp_sdf)
    and (tp1.tp_sdf >= tp.tp_sdf-2)
    and (tp1.crs_emlkey is not null) ) ) )
    UNION ALL
    SELECT
    tp.NE_ID NE_ID,
    ne.NE_NAME NE_NAME,
    tp.SHELFAID shelfaid, c.CARD_TYPE cardtype,
    tp.TP_AID tpaid,
    tp.TP_TPTYPE tptype,
    tp.TP_RAWPST tppst,
    tp.TP_JOINAID pmaid,
    c.CARD_RAWPST cardpst,
    tp.TP_TACCID tacc,
    CASE
    WHEN c.CARD_RAWPST LIKE '%OOS%' THEN 'PM-OOS'
    WHEN tp.TP_RAWPST LIKE '%OOS%' THEN 'FAC-OOS'
    WHEN (tp.TP_LPBKCMD IS NOT NULL) AND (tp.TP_LPBKCMD NOT LIKE '%NONE%') THEN 'FAC-LPBK'
    ELSE 'IS-NOT CONNECTED'
    END AS reason,
    tp.TP_FACTYPE AS factype
    FROM
    JS_NM_NE ne,
    JS_CM_CARD c,
    JS_CM_TP tp
    WHERE
    ne.NE_ID = c.NE_ID
    AND c.NE_ID = tp.NE_ID
    AND tp.TP_JOINAID = c.CARD_AID
    AND c.CARD_RAWPST NOT LIKE '%UEQ%'
    AND tp.TP_DV_NODETYPE = '308'
    AND (tp.tp_aid not like '%-P-%')
    AND (tp.TP_TACCID IS NULL OR tp.TP_TACCID LIKE '%0%')
    AND (tp.TP_RAWPST LIKE '%OOS%'
    OR c.CARD_RAWPST LIKE '%OOS%'
    OR (tp.TP_LPBKCMD IS NOT NULL AND tp.TP_LPBKCMD NOT LIKE '%NONE%')
    OR (NOT EXISTS (select null from JS_CM_TP tp1
    where (tp1.ne_id = tp.ne_id)
    and (tp1.tp_joinaid = tp.tp_joinaid)
    and (tp1.tp_sdf <= tp.tp_sdf)
    and (tp1.tp_sdf >= tp.tp_sdf-11)
    and (tp1.crs_emlkey is not null) ) ) )
    WITH READ ONLY;

    If you think anybody's going to be able to point out flaws in that code you're mistaken. Well, maybe somebody with time on their hands will go through it but I doubt it.
    But given your subject the real point of enquiry ought to be, what is the difference between your Solaris set up and your Windows environment? And what do you mean by
    doesn't work in WIn2003please describe observed behaviour, including error messages if appropriate.
    Cheers, APC

  • Jabber for windows 9.2.1 - InitialPhoneSelection doesn't work if configuration is in custom config file

    Hi,
    my customer wanted set InitialPhoneSelection to deskphone mode, when users firs run Jabber for Windows (ver. 9.2.1).
    I created custom config (configurationfile=jabber-config-deskphone.xml) but it doesn't work.
    Policies>
         <InitialPhoneSelection>deskphone</InitialPhoneSelection>
    </Policies>
    I tested it couple times and at the end I tried put configuration to default jabber-config.xml and ... this functionality start working...
    Could you check guys if you have same problem with custom config file? I think that it is bug. Maybe other option don't work in custom config file.
    Thanks a lot
    Pavel

    Hi Pavel,
    This setting is only when the client is installed and started by the user for the first time. After that the client will save the user preference (what was the phone selection when the user exited the client)  and use it in subsequent logins.
    Having said that, can you please specify in details how exactly you did your tests or maybe test again taking the above into consideration ?
    Thanks,
    Christos

  • When I open up a new tab, I get an "AVG" search result. I already did the about:config reset but it still doesn't work. How can I get a blank tab opened?

    When I open a new tab, this always comes up:
    http://isearch.avg.com/tab?cid={7d7746b8-fb39-4619-86fd-792cbc268005}&mid=72dc207d310ff3c58bd4dbeaeddede3a-fe6a71ecae4eb764a90a5203c991f01a6245f52e&ds=AVG&v=13.2.0.5&lang=es-es&pr=fr&d=2012-06-02%2009%3A32%3A49&sap=nt
    I already did the about:config reset and it doesn't make the new tab blank or go to a specific URL address that I type in. What can I do to get a blank new tab? Thanks.

    I would just like to add to this thread. I have tried everything and every way listed here and found my own solution, for those of you who were having the same issue as me.
    1. Type "'''about:config'''" in your search bar
    2. Click "'''I'll be careful, i promise'''"
    3. Type "'''newtab'''" in the search bar
    4. Find "'''avg.userPreferences.newtabDisabledByUser'''"
    5. Set value to '''true''' by either '''doube clicking''' or '''right click > toggle'''
    This immediately deactivated the AVG new tab feature and reset my browser to it's default settings.
    Hope this helps!

  • Installation & update error : config.msi\PTA9D.tmp doesn't exist

    Hi,
    I have this recurrent error telling me C:\config.msi\PTA9D.tmp doesn't exist, I tried to install the new vesion instead of just updating but it doesn't work.
    My actual version is reader 10.1.2 french installed the 01/13/12
    Thanks a lot

    What is your Windows version?
    Can you try to right-click on the downloaded installer, then select Run as Administrator.
    If that still does not do the trick, can you try downloading the MSI installer (10.1.0, French version) from http://ardownload.adobe.com/pub/adobe/reader/win/10.x/10.1.0/fr_FR/AdbeRdr1010_fr_FR.msi
    then run the update patch http://ardownload.adobe.com/pub/adobe/reader/win/10.x/10.1.3/misc/AdbeRdrUpd1013.msp

  • Change system password doesn't work in WLS 6.1, 7.0

    we have problem with changing the passoword for system. and we check the fileRealm.properties
    file, the new password is not there. it seems the changing password in weblogic
    console doesn't work for 6.1 and 7.0. Any one have idea what's going on with this
    security issue.
    [fileRealm.properties]

    "Ruowei Wu" <[email protected]> wrote:
    ...it seems the changing password in weblogic console
    doesn't work for 6.1 and 7.0Sure it works! Have you followed this document for version 6.1:
    http://edocs.bea.com/wls/docs61/adminguide/cnfgsec.html#1052304
    The procedure is slightly different in 7.0, but not too difficult to figure out.
    Brian

  • Vi.lib\Utility\config.llb doesn't work as expected in 6.1

    I have to modify part of a LV project written in 6.1. I started of writing a patch/VI for the project in 7.1.1, tested it and it worked fine. Then I save it from 7.1.1 > 7.0 > 6.1 and the code doesn't work. I have attached the 6.1 and 7.1.1 code that simply modifies a config data file.
    Run both the VI version on the attached data file (save copies of it beforehand as the VI overwites/modifies the .dat file) and you should see for e.g.
    4.6.2.1 Name=Pass
    Change to
    4.6.2.1 Name="4.6.2.1 Extend Ground Cycle"
    with 7.1.1
    and no change with 6.1
    Attachments:
    Modify Configuration File.zip ‏52 KB

    The problem is at the very end. The 'Close Config Data.vi' changed between 6.1 and 7.0. The input 'Write Configuration File' on 7.0 and higher is default to True, any version before that was default to False. With this set to false, the file is not actually written.
    So on 6.1, you need to connect a boolean constant or control set to True to this termianl to write the file.
    Ed
    Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
    Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.

  • SO_REUSEADDR doesn't work in Solaris?

    Hi, I have a socket problem with Solaris (5.10). I develop a network testing system in C/C++ which listens on some selected TCP ports and the requirement is to be able to send TCP messages from the very same ports on which the program is already listenig. The obvious solution seemed to be to use the SO_REUSEADDR property of the socket:
    sock1 = socket(AF_INET6, SOCK_STREAM, IPPROTO_TCP);
    sock2 = socket(AF_INET6, SOCK_STREAM, IPPROTO_TCP);
    setsockopt(sock1, SOL_SOCKET, SO_REUSEADDR, &ONE, sizeof(ONE));
    setsockopt(sock2, SOL_SOCKET, SO_REUSEADDR, &ONE, sizeof(ONE));
    bind(sock1, (const struct sockaddr *) &addr, sizeof(addr));
    bind(sock2, (const struct sockaddr *) &addr, sizeof(addr));
    and the first socket use for listening and the second one use for sending.
    On Linux this solution works perfectly, but on Solaris SO_REUSEADDR doesn't seem to have any effect as the second bind still returns EADDRINUSE. How to solve this problem? Thanks.

    aaaaaaaaaannnnnnnnnnnndddddddddd....it now works

Maybe you are looking for

  • Tax, Cash and bank balances in PCA

    Dear Experts, How can we transfer Tax, Bank and Cash balances to PCA. Lets say an example document Db Cash - Balance sheet account Cr Bank - Balance sheet account Thanks, Ashok

  • Tell us your story with SAP Cloud for Customer!

    Check out the Bluefin story on their experiences with SAP Cloud for Customer below: Bluefin Solutions was one of the earliest adopters of SAP Cloud for Customer which is used for lead and opportunity management. This presentation will share experienc

  • Buttons bringing in external SWFs

    Hi, I have created a button menu, but now want to program each button to bring in an external SWF of it's own. I also need it to get rid of any previous SWFs that may have been loaded in by the other buttons. Basically what I am trying to achieve is

  • My iMessage still won't work!

    I have tried every answer and my iMessage still won't work!

  • How to push Office 2004 updates with ARD

    I need a method to push the latest Microsoft Office 2004 update with ARD. Can this be done? It looks like the installer is a installerVise package. Is there anyway to remove the files and build a package with Iceberg or Packagemaker? What files are r