No output slog2info Journal

I usually used slog2info to ssh to the real device to trace the journal without any problem, a week ago. But this week, even the true device is connected, when I use slog2info - w, there is no output log but it can out put newspaper of the Simulator. Does anyone knows how to fix this? Thank you

A couple of us have seen similar conditions, but I think that in each case one or even two reboots seemed to clear up the problem.

I can also do a "hard reset", well I don't think it makes a difference compared to a power off/power on cycle. If you want to try it, this is accomplished by pressing the power button for 10 seconds, solid, ignoring the LEDs and the response of the screen during this period. I think that on the Dev Alpha it resets itself, while on the Z10 turns off only, but anyway it's going to be a 'clean' start next time.

Tags: BlackBerry Developers

Similar Questions

  • Having a very bad Friday afternoon, no idea how I can eliminate a possible race condition?  I have a working script intermittently :(

    I have a script that seems to work intermittently, usually it fails on the line of characters 1 128 (in bold below) I think that the VC will not return with information and therefore the script fails on the capture...

    on the other

    {

    Write-Host "space is insufficient on the target data store. Please increase the space to continue.

    Write-Output "space is insufficient on the target data store. Please increase the space to continue"> > $logfile

    Write-Host "Exiting with code 1.

    Write-Output "exit with code 1" > > $logfile

    Send-MailMessage-to $From-$To-CC $Cc - subject $Subject '

    -Body $BodyFailure1 - SmtpServer $SMTPServer - port $SMTPPort

    Output 1

    The architect suggested it might be a race condition, can someone with a lot more experience than me (it's pretty anyone) suggests an alteration that may well solve this problem?  I guess I could put breaks in but I'm not 100% where would be the best place to do so or if maybe it's the mickey mouse method?

    Error

    # ==============================================================================================

    # NAME: CloneVMs

    #

    # AUTHOR: Luc

    # DATE: 10/09/2015

    #

    # COMMENT: Creates a clone/backup of virtual machines described in the text and names using the

    # past param.  Virtual MACHINE will be appointed in accordance with the following VM1-12345678 example

    #

    #

    #

    # * Software dependencies: *.

    # - Microsoft PowerShell *.

    # - VMWare PowerCLI *.

    # ==============================================================================================

    # Parameters

    # ==============================================================================================

    # Below is provided by Control-M parameter refers to the prefix point cycle and restoration,

    # the date can be added automatically, however, this feature has been disabled.

    Param ([string] $CYRPYYMMDD)

    # ==============================================================================================

    # Functions

    # ==============================================================================================

    #Function for you to check if a command is responsible

    Function Check-Command ($cmdname)

    {

    return [bool] (Get-Command - Name $cmdname - ErrorAction SilentlyContinue)

    }

    # ==============================================================================================

    # Varibles

    # ==============================================================================================

    # Add the snap of vmware for powershell

    # Add - PSSnapin VMware.VimAutomation.Core

    # Add the snap of vmware for powershell (keeps see you error messages)

    If (control "Connect-VIServer")

    {

    Write-Host "already automation tool for".

    }

    on the other

    {

    #If not already loaded load the snap

    Write-Host "loading automation tools.

    Add-PSSnapin VMware.VimAutomation.Core

    }

    backup of # = true adds date; false creates a clone with the same name.

    $backup = 'True '.

    debugging of #-true: clones not vm. FALSE will clone the virtual machine.

    $debug = "FALSE".

    # Target Datastore

    $targetdatastore = "LUN9_BASIC_MATADM_ONLY".

    Check the #Refers the percentage of free space for space DS

    $freePerc = 10

    # Target location - folder existing in vcenter structure, where the clones will be held

    $targetlocation = "DMAT DNT for Cycles compatibleM BackUp.

    # Set a date

    $datestart = (get-date - uformat %Y %m %d)

    # Name a log file to record the results.

    $logfile = $datestart + "_VMClones_bulk.txt".

    #

    Write-output "new journal ($datestart) - ($logfile)" > > $logfile

    # Gets the list of virtual machines from the file associated with this script

    $VmFileList = get-Content VmsToCloneList.list | Select-Object - jump 3

    #

    $ds = get-Datastore-name $targetdatastore

    #Email varibles

    $From = «»

    $To = «»

    $Cc = «»

    #$Attachment = "C:\temp\Some random file.txt".

    $Subject = «!» DMAT TEST createRP TEST! »

    $BodySuccess = "A DMAT VM has correctly saved to the specified folder of destination organizational data store and inventory in vSphere"

    $BodyFailure1 = "the combined use of VMDK put in service of the virtual machine is greater than the capacity of the destination database or the datstore does not exist, coming out with code 1"

    $BodyFailure2 = "there is not enough space on the target data store, increase the space to continue, exit with code 1"

    $BodyFailure3 = "a virtual machine with the specified name is not found maybe it does not exist? Exit with code 1 "

    $SMTPServer = «»

    $SMTPPort = "25".

    # Connect

    $Creds = get-VICredentialStoreItem-Host 127.0.0.1 - folder C:\Users\matadm\PS_ITC_BAS.xml

    SE connect-VIServer 127.0.0.1-$ username-password Creds.User $Creds.Password

    # Gets the total ProvisionedSpaceGB of VM for all s VM in the list.

    # Ensures whitespace and hashes are effectively ignored

    # create a clean list that calculates / creates the variable required for the validation check 1

    $vmCleanedList = New-Object system. Collections.ArrayList

    # Loop through our VM file list and own is in place, check for incorrectly specified VM

    ForEach ($vmname to $VmFileList)

    {

    If ([string]: IsNullOrWhiteSpace ($vmname) - or $vmname.) StartsWith("#"))

    {

    writing-host("Invalid machine name-$vmname")

    }

    on the other

    {

    #Should trim vmname to ensure that we have no spaces before or the end

    $vm = get - VM $vmname

    $vmCleanedList.Add ($vmname)

    $TotalRequiredGB += $vm. ProvisionedSpaceGB

    }

    Write-Host "Total needed = $TotalRequiredGB.

    }

    # ==============================================================================================

    # Validation checks before launching the clone script

    # ==============================================================================================

    # Updates the prior to storage data store information.

    $ds. ExtensionData.RefreshDatastoreStorageInfo)

    # Validation check 1, check if the combined usage of VMDK put into service of the virtual machine is greater than the capacity of the destination database?

    If (($ds.)) FreeSpaceGB - gt $TotalRequiredGB))

    {

    Write-Host 'continue with your script.

    }

    on the other

    {

    Write-Host "space is insufficient on the target data store. Please increase the space to continue.

    Write-Output "space is insufficient on the target data store. Please increase the space to continue"> > $logfile

    Write-Host "Exiting with code 1.

    Write-Output "exit with code 1" > > $logfile

    Send-MailMessage-to $From-$To-CC $Cc - subject $Subject '

    -Body $BodyFailure1 - SmtpServer $SMTPServer - port $SMTPPort

    Output 1

    }

    $ds = get-Datastore-name $targetdatastore

    # 2 validation control, you have X % datatstorespace free?

    If ((($ds.)) FreeSpaceGB / $ds. CapacityGB) * 100)-ge $freePerc)

    {

    Write-Host 'continue with your script.

    }

    on the other

    {

    Write-Host "there is less than X % of free space on the data store. Please increase the space to continue.

    Write-Output "there less than X % of free space on the data store. Please increase the space to continue"> > $logfile

    Write-Host "Exiting with code 2.

    Write-Output 'output with code 2' > > $logfile

    Send-MailMessage-to $From-$To-CC $Cc - subject $Subject '

    -Body $BodyFailure2 - SmtpServer $SMTPServer - port $SMTPPort

    Output 2

    }

    #Hack + of the duplication of efforts

    #$VmListFile = get-Content VmsToCloneList.list | Select-Object - jump 3

    ForEach ($vmname to $vmCleanedList)

    {

    # The virtual computer object

    $vm = get-VM-name $vmname

    # Target host - use the same host as the current VM (it's faster than the cloning on hosts).

    $targethost = $vm.vmhost.name

    # Target VM name - name if the BACKUP is FALSE

    $vmtarget = $vmname

    #

    $datastore = get-datastore $targetdatastore - vmhost $targethost

    # ==============================================================================================

    # Start the real clone script

    # ==============================================================================================

    If ($vm - no $null)

    {

    Write-Host "a virtual machine named $VM exists. From clone "

    Write-output "a virtual machine named $VM exists. From clone"> > $logfile

    }

    on the other

    {

    Write-Host "a virtual machine with the specified name is not found maybe it does not exist?

    Write-Output "a virtual machine with the specified name is not found there is perhaps no?" > > $logfile

    Write-Host "Exiting with code 3.

    Write-Output "output with code 3" > > $logfile

    Send-MailMessage-to $From-$To-CC $Cc - subject $Subject '

    -Body $BodyFailure3 - SmtpServer $SMTPServer - port $SMTPPort

    exit 3

    }

    If ($backup - eq "TRUE")

    {

    # Clone the virtual machine for backup_vmname_todaysdate

    $vmtarget = $vmtarget + '-' + $CYRPYYMMDD #+ '-' + $datestart

    }

    beautiful colors # if you look at the script runs

    write-host - foregroundcolor green 'cloning $vm to $vmtarget.

    Write-output - foregroundcolor green 'Cloning $vm to $vmtarget' > > $logfile

    new-vm-name $vmtarget - vm $vm vmhost - $targethost - $datastore - $targetlocation location data store - slim DiskStorageFormat

    Send-MailMessage-to $From-$To-CC $Cc - subject $Subject '

    -Body $BodySuccess - SmtpServer $SMTPServer - port $SMTPPort

    }

    Write-Host "complete."

    Exit 0

    # COMPLETED

    Have you ever tried to test if $ds-eq $null before you call the RefreshDatastoreStorageInfo method?

    In the error message, it looks like $ds contains $null, no idea why when the data store 'LUN9_BASIC_MATADM_ONLY' exists in the environment in which you are conencted.

    In fact, you could test immediately after the Get-data store.

    Ah, but wait, you seem to be doing the first Get-Datastore (there are two in the script, but I guess you know) before the connect-VIServer, it won't work.

    Unless I'm missing something here

  • How to monitor the application connects to the journal on the unit or using slog2info w view

    I'm debugging on the device (purchased at Bell, runing 10.0.9.2372) production with the latest version of the SDK (SDK native 10.0.9.2372). I can't monitor connects using the View Log or slog2info w command described here: http://developer.blackberry.com/cascades/documentation/getting_started/tools/debugging.html

    I use QNX Momentics IDE. After you add the view "Journal of the unit", "All" is the only option in "BufferSet" and "Buffer" menu drop-down, and no newspaper appears after starting my application. The status shows "Listening target ' 169.254.0.1", pending the first event... ». Are there any additional installation required to monitor logs in this view?

    I have also tried running a SSH session and used the command 'slog2info w '. The command works on Simulator (Dev Alpha 10.0.10.263), but it returns immediately without any output on my device. The 'slog2info' command works, but it only dumps the log. I need to monitor the output log while I am debugging it. Do I have to activate what anyone on the device to make the command 'slog2info w' work, or I did something wrong here?

    Thank you

    You are following this with a devmode running app, right? In other words, not one signed?

    This has worked for you before, or is this the first attempt?

    Some few people have seen 'slog2info w' stop posting any output. A reboot or two (of the aircraft) usually "fixed."

  • slog2info w expects more to show the output

    I rebooted just my Dev Alpha (A, with 10.0.9.2320) and immediately after, like I always do, I connected via SSH and tried running "slog2info w.

    Normally it export any existing output (which there are none immediately after a reboot), then the blocks, wait as there are no more production that is done in real time (a bit like "tail-f" done on regular files).

    Someone at - he seen this before?

    The output of my apps don't appear correctly if I just use "slog2info" without the - w, but with w it shows nothing and immediately returns to the command prompt. Very strange...

    A second reboot seems to have 'fixed '. Always very funny.

  • Issue during the formatting of the output when printing in Journal

    Hello
    I have problem when you print to the output to a file


    Name ~ desc ~ mark1 ~ mark2
    Test1 ~ testdesc1 ~ 20 ~ 20
    Test2 ~ test ~ desc2 ~ 30 ~ 30

    dbms_output.put_line(Name||) e ~'|| / / DESC | » ~'|| MARK1 | » ~'|| Mark2);

    My description has something like test ~ desc2 (symbol tild inside)

    When I open this XL release with the text as columns separated by ~ symbol
    It deals with the test and desc as two different columns, is there a way to avoid this, when printing so that treats it as
    single word.

    Thank you...

    Hello

    Try enclosing desc in double - quote, is always:

    dbms_output.put_line (  name     || '~"'
                   || desc     || '"~'
                   || mark1     || '~'
                   || mark2
                   );
    

    or when only when desc actually contains a tilde:

    dbms_output.put_line (  name     || '~'
                   || CASE
                       WHEN  desc     LIKE '%~%'
                       THEN  '"' || desc || '"'
                       ELSE      desc
                   END     || '~'
                   || mark1     || '~'
                   || mark2
                   );
    

    The first way guess desc never contains a double quote.
    The second way guess desc never contains a tilde and a double quote.

  • Get the output of the console on Simulator BB10

    Is it possible to access the console (or at least the stderr) output a basic NDK application deployed to the simulator of th?  I tried telnet in the Simulator to run it, but the devuser does not have permissions on the files of the app.

    Or maybe is there a log of debugging as for Android?

    I would like if possible, avoid using the IDE for this.

    You don't actually run the console application, but you can use command line tools to look at the output of the application log.

    Basically SSH into it (it is not really Telnet) and navigate to the folder of the application under the/accounts/1000/appdata /... then run "tail-f newspaper/journal" after the launch of the app, or just "cat/journal of newspapers". If the output you are interested is no longer attend balls/journal because of the new substance slogger2, you would use a variant of 'slog2info w' instead.

    You are quite correct that attempting to run the application from the console did not give him the same environment and except in a very few cases, it serves no real purpose.

  • Where can I find the codes output once run chkdsk when you restart?

    Microsoft Search gives me tons of information on running chkdsk and the different options and the meanings of exit codes. I stumbled today on my D drive with the /f option requiring a reboot. I thought that Windows can display a screen or something after the reboot, showing the exit code, but no luck. None of the MS pages I've seen tells where to find the exit code. I have tried but no luck, the event viewer. Is there a log somewhere?

    Exit codes are transitory in nature and generally are available for the following statement after the statement of chkdsk when included in a script file or .bat.  Event ID has nothing to do with the exit code.  CHKDSK has only four codes of output that are described here:
    "Microsoft Windows XP - Chkdsk"
       <>http://www.Microsoft.com/resources/documentation/Windows/XP/all/proddocs/en-us/chkdsk.mspx?mfr=true >

    It makes sense to use these codes if you write a script that checks the other readers that the drive of Windows OS, like windows in the car is always in use and cannot be verified before Windows (and ergo any script) is executed.  The information that you retrieved from the journal applications you said much more than the c code output.  If you need check the result of a Chkdsk operation powered by programming, you will need a tool such as "psloglist" to empty the log entry and scan from there.

    HTH,
    JW

  • Is there only a list of what CHKDSK output is average?

    I ran CHKDSK on drive C one of my computers.

    I received the following notifications I don't understand

    -large file 967 records processed

    -2 EA records processed

    -76 analysis of cases

    -Compacting the security descriptor stream

    That make those average message?

    Here is an article from Microsoft on CHKDSK and the various commands and an example of the messages it produces - but it does not explain the messages: http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/chkdsk.mspx?mfr=true.

    I found that the following posted on another web site:

    "If chkdsk runs at startup time or the recovery console, it creates the file c:\bootex.log." However you will see this file if boot chkdsk is interrupted or you are using the recovery console. When Windows starts then it copies any c:\bootex.log an entry in the * Application event log *, helpfully titled "WINLOGON". The Bootex.log file is then deleted. To find errors in the areas allocated to the files, the message gives you an "offset", which I consider to be bad disk sector but he said not in bytes, sectors or what, and it tells you the affected file. To find errors in non-affected areas, it tells you nothing (except there was one). "There is also a hexadecimal data block associated with it but no information available to interpret it." so, if you check the event log (start / Control Panel / administrative tools / Event Log) you can find out more information on what chkdsk discovered.  You could also try to find the journal itself in the directory root, just in case they're wrong and there is no here.

    Here is an article which explains, among other things, CHKDSK doing in each different phases - and the results of each step in an output to the screen about what he sees and what he has http://support.microsoft.com/kb/314835/EN-US/#/.  Yet, it does not explain the true meaning of output messages but I reveal a lot about the process itself.

    Unfortunately, after more than an hour searching Bing, Google and the Microsoft Knowledge Base, I was unable to find anything tht explains the results of the chkdsk output other than the newspaper ad entry explained above event viewer.  I don't think this information is available outside Microsoft - and apparently they are not out there.

    Sorry I couldn't give you what you wanted, but it's the best I could come up with, and I hope it helps.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Journal has not created

    Hello

    I have a file of installation command:

    @rem *************************************************************************
    @rem This script is used for the installation of WebLogic Server as a Windows Service.
    @rem
    @rem to create your own script start for your domain, just put the
    name of the @rem to your server SERVER_NAME variable, then call this script from your
    @rem directory of the domain.
    @rem
    @rem This script sets the following variables before installing
    @rem WebLogic Server as a Windows Service:
    @rem
    @rem WL_HOME - the root directory of your WebLogic installation
    @rem JAVA_HOME - location of the version of Java used to start WebLogic
    @rem server. This variable should point to the root of a directory
    installation of JDK @rem and will be set by the installer for you.
    @rem, see Oracle Fusion Middleware System Configurations supported
    @rem (http://www.oracle.com/technology/software/products/ias/files/fusion_certification.html)
    @rem for an updated list of virtual machines supported taken Java.
    @rem PATH - adds the JDK and directories WebLogic to the system path.
    @rem CLASSPATH - adds the JDK and WebLogic jars to the classpath.
    @rem
    @rem other variables that takes of the installSvc are:
    @rem
    @rem WLS_USER - username admin for starting the server
    @rem WLS_PW - password in clear text to the server startup
    @rem ADMIN_URL - if this variable is set, the server has started will be a
    @rem managed server and will turn to the url (i.e.
    @rem                http://localhost:7001 ) as the server admin.
    @rem PRODUCTION_MODE - true for servers in production mode, false for
    @rem development
    @rem JAVA_OPTIONS - Java command line options for the server. (These
    @rem will be marked at the end of the JAVA_VM and MEM_ARGS)
    JAVA_VM - java arg @rem specifying the virtual machine to run.  (i.e. - Server)
    @rem-client, etc.)
    @rem MEM_ARGS - variable to override the standard memory arguments
    @rem to java
    @rem
    @rem
    @rem MAX_CONNECT_RETRIES - number of attempts to make the Windows Service will check
    @rem if you start the Weblogic Server. If this variable
    @rem is specified with the HOST and PORT, the Windows Service will be
    @rem wait for the Weblogic Server is started.
    @rem HOST - the IP address of the Weblogic Server
    @rem PORT - where the WebLogic Server is listening to Port number requests
    @rem
    jDriver for Oracle users @rem: this script assumes that native libraries
    @rem required for jDriver for Oracle have been installed in the right
    @rem location and that your system path variable has been set correctly.
    @rem
    @rem for more information, see "Managing Server Startup and Shutdown for Oracle WebLogic Server"
    @rem (@DOCSWEBROOT/START/overview.htm).
    @rem *************************************************************************

    off @echo
    SETLOCAL

    @rem check if SERVER_NAME is defined
    : check_server_name
    If not set (SERVER_NAME
    @echo you need set before SERVER_NAME
    @echo installation of WebLogic Server as a Windows Service
    output/b 1
    )

    @rem check if DOMAIN_NAME is set
    : check_domain_name
    If not set (domain_name
    @echo you need set before domain_name
    @echo installation of WebLogic Server as a Windows Service
    output/b 1
    )

    @rem check if USERDOMAIN_NAME is set to
    : check_userdomain_home
    If not set (USERDOMAIN_HOME)
    @echo you must set before USERDOMAIN_HOME
    @echo installation of WebLogic Server as a Windows Service
    output/b 1
    )

    @rem check if SERVICE_DESCRIPTION has the value
    : check_server_name
    If not set (SERVICE_DESCRIPTION)
    Set SERVICE_DESCRIPTION = "WebLogicServer.
    )


    Set WL_HOME = C:\Oracle\Middleware\Oracle_Home\wlserver
    Call "% WL_HOME%\common\bin\commEnv.cmd".

    @rem check that the WebLogic classes are where we expect they are
    : checkWLS
    If exist checkJava goto '% WL_HOME%\server\lib\weblogic.jar '.
    ECHO the WebLogic Server not found in the directory % WL_HOME%\server.
    ECHO Please edit your script so that the variable WL_HOME points
    echo to the WebLogic installation directory.
    end goto

    @rem check that java is where we expect it to be
    : checkJava
    If exist runWebLogic goto '% JAVA_HOME%\bin\java.exe '.
    echo the JDK was found in the directory % JAVA_HOME %.
    ECHO Please edit your script so that the variable JAVA_HOME
    echo points to the location of your JDK.
    end goto

    : runWebLogic

    @rem the service load dll file, so the JAVA_VM * must * be correct
    If exist (%JRE_HOME%\bin\client)
    Set JAVA_VM =-customer
    ) ElseIf exist (%JRE_HOME%\bin\server)
    Set JAVA_VM =-Server
    ) ElseIf exist (%JRE_HOME%\bin\jrockit)
    Set JAVA_VM =-jrockit
    )

    : noResetJavaVM
    If not "MEM_ARGS %" == "" goto noResetMemArgs
    MEM_ARGS =-Xms32m-Xmx200m set

    : noResetMemArgs

    @echo we

    set the classpath = % WEBLOGIC_CLASSPATH %; CLASSPATH %

    @echo ***************************************************
    @echo * to start WebLogic Server, use the password *.
    @echo * assigned the user to the system.  The system *.
    @echo * username and password must also be used for *.
    @echo * access the WebLogic Server console from a web *.
    @echo * browser.                                       *
    @echo ***************************************************

    REM * define the command-line for the service runs in created FMV

    off @echo

    If "% ADMIN_URL" == "" goto runAdmin
    @echo we
    CMDLINE = value "%%%d MEM_ARGS JAVA_VM % JAVA_OPTIONS %-classpath \"%CLASSPATH%\ " »-Dweblogic.name=%server_name%-Dweblogic.Management.username=%WLS_USER% - Dweblogic.management.server=\"%ADMIN_URL%\ '- Dweblogic.ProductionModeEnabled=%PRODUCTION_MODE%-Dweblogic. Stdout=C:\Oracle\Middleware\Oracle_Home\user_projects\domains\base_domain\stdout.log

    -Dweblogic.stderr=C:\Oracle\Middleware\Oracle_Home\user_projects\domains\base_domain\stderr.log

    -Djava.Security.policy=\"%WL_HOME%\server\lib\weblogic.Policy\"weblogic. Server '.
    end goto

    : runAdmin
    @echo we
    CMDLINE value = "% JAVA_VM % MEM_ARGS % JAVA_OPTIONS %-classpath \"%CLASSPATH%\ " ' - Dweblogic.Name=%SERVER_NAME%-Dweblogic.management.username=%WLS_USER%-Dweblogic. ProductionModeEnabled = % PRODUCTION_MODE % Dweblogic. Stdout=C:\Oracle\Middleware\Oracle_Home\user_projects\domains\base_domain\stdoutA.log

    -Dweblogic.stderr=C:\Oracle\Middleware\Oracle_Home\user_projects\domains\base_domain\stderrA.log

    -Djava.Security.policy=\"%WL_HOME%\server\lib\weblogic.Policy\"weblogic. Server '.

    : complete
    REM * implemented extrapath for win32 and win64 platform separately
    Set WLSVC_EXE_TO_USE = wlsvcx64
    If '% WL_USE_X86DLL' is 'true')
    Set EXTRAPATH=%WL_HOME%\server\native\win\32;%WL_HOME%\server\bin;%JAVA_HOME%\jre\bin;%JAVA_HOME%\bin;%WL_HOME%\server\native\win\32\oci920_8
    Set WLSVC_EXE_TO_USE = wlsvc
    )

    If '% WL_USE_IA64DLL' is 'true')
    Set EXTRAPATH=%WL_HOME%\server\native\win\64\;%WL_HOME%\server\bin;%JAVA_HOME%\jre\bin;%JAVA_HOME%\bin;%WL_HOME%\server\native\win\64\oci920_8
    Set WLSVC_EXE_TO_USE = wlsvc64
    )

    If '% WL_USE_AMD64DLL' is 'true')
    Set EXTRAPATH=%WL_HOME%\server\native\win\x64\;%WL_HOME%\server\bin;%JAVA_HOME%\jre\bin;%JAVA_HOME%\bin;%WL_HOME%\server\native\win\x64\oci920_8
    Set WLSVC_EXE_TO_USE = wlsvcx64
    )

    REM * install service
    '% WL_HOME%\server\bin\%WLSVC_EXE_TO_USE%' - install - ServiceName: 'wlsvc domain_name % _ % SERVER_NAME %' - delay: 120000 - svcdescription: '% SERVICE_DESCRIPTION' - javahome: 'JAVA_HOME %' - execdir: '% USERDOMAIN_HOME' - maxconnectretries: '% MAX_CONNECT_RETRIES' - host: "%" HOST - port: '%port%' - extrapath: "% EXTRAPATH" - password: "% WLS_PW" - cmdline: CMDLINE %

    ENDLOCAL

    ======================================================================================================================================================

    Then I run the service with the command of the launcher file, but the journal of stdou.log and stderr.log files are not created...

    echo off

    SETLOCAL

    Set DomainName = base_domain

    Set USERDOMAIN_HOME = C:\Oracle\Middleware\Oracle_Home\user_projects\domains\base_domain

    Define SERVER_NAME = SOPSECURITY1

    Set PRODUCTION_MODE = true

    Set JAVA_OPTIONS=-Dweblogic.Stdout="c:\Oracle\Middleware\Oracle_Home\user_projects\domains\base_domain\stdout.txt»-Dweblogic.Stderr="c:\Oracle\Middleware\Oracle Home\user_projects\domains\base_domain\stderr.txt.

    set ADMIN_URL = https://AdminServer:7002

    MEM_ARGS =-Xms40m-Xmx250m set

    call "C:\Oracle\Middleware\Oracle_Home\wlserver\server\bin\installSvc.cmd".

    ENDLOCAL

    Any idea?

    Thank you

    DOM
    ======================================================================================================================================================

    Path includes the space:-Dweblogic. Stderr = "c:\Oracle\Middleware\Oracle Home\user_projects\domains\base_domain\stderr.txt"

  • Redirect the output of the JVM in WLS

    Hello

    Can someone please give me some input on the output redirection FMV to the Weblogic Server log. I wanted to just understand what exactly happens if we allow redirect JVM output?

    1. it keeps the two log .out & .log files and also write JVM on Weblogic journal as well?

    2. it will keep one log (.log) and output all Weblogic & JVM will be recorded in this single Weblogic journal?

    Thank you

    Sicard.

    Hello

    We actually use this flag in our environment, and the .out newspapers are always generated. What happens is, exit JVM is redirected to the .log file, with journal entries that appears as a message of severity of the NOTICE.

    I think you did already, but in case you don't have it, you can see this document for more information > http://docs.oracle.com/cd/E12839_01/web.1111/e13739/config_logs.htm#WLLOG163

    (Although the document does not specify if the .out files could still be generated or not)

    Kind regards

    White

  • Sorting the output of {module_subscriptions}

    Hello

    I use the {module_subscriptions} tag to produce a list of zones that subscribed to a user connected.

    However, I need to sort the list alphabetically by the name of the secure areas. At present, the list seems to be output in the order that the zones have been created, rather than alphabetically by name.

    It does not seem a sort of this tag option in the documentation. Does anyone know of a different way to go about this?

    To give a bit of context, the Web site, we use the {module_subscriptions} tag on sells annual subscriptions to journals in PDF format, with 4 issues per year.

    So, we could have several secure areas, each containing 4 PDF files downloaded and secured through downloads of media in British Colombia, for example called "Journal A - 2015", "Journal A - 2016", "Journal B - 2015" and "Journal B - 2016". ""»»»

    If someone has been subscribed to all of these zones, the list should be displayed in alphabetical order, the following:

    Journal A - 2015

    Journal A - 2016

    Journal No. B - 2015

    Journal No. B - 2016

    rather than present, which is the order in which they were created:

    Journal A - 2015

    Journal No. B - 2015

    Journal A - 2016

    Journal No. B - 2016

    Thank you

    Richard.

    Instead, you can use module_Data as...
    {"{module_data resource ="zonecustomers"version ="v3"fields customer ="Area ID, secureZone, customerId,"skip ="0"limit ="50"where="\{'customer.id':'LOGGEDINCUSTOMERID'\} "order = 'zone ID' collection ="ZoneData"}

    Change the LOGGEDINCUSTOMERID to the id of the connected client and change order = what ever you need it to be.

  • Options output/display the display log are redirecting to browser automatically in Oracle 11i applications

    Hello

    Can someone let me know the what is the option to change the popup options in oracle applications 11i.

    My requirement is when I click on the options output/display the journal should it appear he himself, rather than redirect to the browser.

    Version of the application is: 11.5.10.2

    Thank you

    Govind

    Hello

    Clear the value of the following profile option:

    Viewer: text

    Kind regards

    Bashar

  • Capture the output of a workflow in a different workflow

    I'm calling a WF1 workflow from another workflow WF2. I am able to do and WF1 is running perfectly in the background and the desired output via a return number. Newspapers of WF1 to verify that.

    But I want to capture the output (table/integer) to WF1 by WF2. I can't pass the exit (snapshots) WF2.

    I enclose the code and the journal of WF2. I enclose the code and WF1 journal as well.

    Well, well, you seem to met a strange problem... It was me frustrating because your code resembles a re-work of my code here:

    How to retrieve the details of Workflow

    ... If I run MY library workflow that checks the chips of workflow, the output, but all the variations, I tried to get out of the current token element has ended in the same result as what you had: null.

    So, as executions of audit workflow worked rather than the active token, wait until the workflow has completed, and then loop through the workflow runs until you find the one with the matching id of the token you just ran... once that you find, parse the output.

    Given two workflows you set in the last post, replace your task Scriptable text in the 'test' WF follows him with and run it (feel free to delete the code useless, I left all my code test in place in there something of another case may be useful):

    var inputParameters = new Properties();
    inputParameters.put("name", name);
    System.log("name '" +name);
    System.log("hostResource '" +hostResource);
    var curToken = wf.execute(inputParameters); //,"root","vmware");
    while (curToken.state == "running"){
        System.log(".. still running ..");
        System.sleep(1000);
    }
    var tokens = wf.executions;
    // Each execution is a "workflowToken" object
    for each (token in tokens){
        if (token.id == curToken.id && token.isStillValid){
            System.log("");
            System.log("=============== Checking token ===============");
            System.log("Token ID: "+token.id);
            System.log("Start Date: "+token.startDate);
            if(token.endDate != null){
                System.log("End Date: "+token.endDate);
            }
            System.log("Business State: "+token.businessState); // Indicates the business state as defined by the workflow dev in each of the elements of the workflow (not always specified)
            System.log("State: "+token.state); // Indicates the system state of this workflow
            /* State values are likely to be one of the following:
            waiting <- waiting for user input
            failed <- an exception was thrown to cause the workflow to fail
            completed <- workflow competed running successfully
            canceled <- user right-clicked and canceled the workflow
            running <- workflow is still processing
            */
            System.log("");
            System.log("==== Token Inputs ====");
            var inputParams = token.getInputParameters();
            if (inputParams != null){
                for each (key in inputParams.keys){
                    var value = inputParams.get(key);
                    System.log(key + ": " + value + " ("+System.getObjectType(value)+")");
                }
            }
            System.log("");
            System.log("==== Token Attributes ====");
            var attributes = token.getAttributes();
            if(attributes != null){
                for each (key in attributes.keys){
                    var value = attributes.get(key);
                    System.log(key + ": " + value + " ("+System.getObjectType(value)+")");
                }
            }
    
            System.log("");
            System.log("==== Token Outputs ====");
            var outputParams = token.getOutputParameters();
            if (outputParams != null){
                for each (key in outputParams.keys){
                    var value = outputParams.get(key);
                    System.log(key + ": " + value + " ("+System.getObjectType(value)+")");
                }
            }
    
            System.log("");
            System.log("==== Token Log Events ====");
            var logEvents = new Array();
            logEvents = token.logEvents;
            var eventCount = logEvents.length;
            System.log("Event Count: "+eventCount);
            for (i=eventCount-1; i>-1; i--){
                var logEvent = logEvents[i];
                System.log("");
                System.log(" == EVENT ENTRY "+(eventCount - i)+" == ");
                System.log("logTimeStamp: "+logEvent.logTimeStamp);
                System.log("longDescription: "+logEvent.longDescription);
                System.log("originatorId: "+logEvent.originatorId);
                System.log("originatorUri: "+logEvent.originarorUri);
                System.log("originatorUserName: "+logEvent.originatorUserName);
                System.log("severity: "+logEvent.severity);
                System.log("shortDescription: "+logEvent.shortDescription);
            }
        }
    }
    

    And to get an idea of the output, my tab newspapers looked like this:

    [2014-08-01 16:29:25.632] [I] name 'demo
    [2014-08-01 16:29:25.632] [I] hostResource 'null
    [2014-08-01 16:29:26.351] [I] .. still running ..
    [2014-08-01 16:29:27.365] [I]
    [2014-08-01 16:29:27.365] [I] =============== Checking token ===============
    [2014-08-01 16:29:27.365] [I] Token ID: ff80808146af57140147934349c10567
    [2014-08-01 16:29:27.365] [I] Start Date: 2014-08-01 16:29:26
    [2014-08-01 16:29:27.365] [I] End Date: 2014-08-01 16:29:26
    [2014-08-01 16:29:27.365] [I] Business State: null
    [2014-08-01 16:29:27.367] [I] State: completed
    [2014-08-01 16:29:27.367] [I]
    [2014-08-01 16:29:27.367] [I] ==== Token Inputs ====
    [2014-08-01 16:29:27.371] [I] name: demo (string)
    [2014-08-01 16:29:27.371] [I]
    [2014-08-01 16:29:27.371] [I] ==== Token Attributes ====
    [2014-08-01 16:29:27.374] [I] restOperation: null (null)
    [2014-08-01 16:29:27.374] [I] statusCodeAttribute: null (null)
    [2014-08-01 16:29:27.374] [I] snapshotids: null (null)
    [2014-08-01 16:29:27.374] [I] RESTHost: null (null)
    [2014-08-01 16:29:27.375] [I] hostResource: null (null)
    [2014-08-01 16:29:27.375] [I] errorCode:  (string)
    [2014-08-01 16:29:27.375] [I]
    [2014-08-01 16:29:27.375] [I] ==== Token Outputs ====
    [2014-08-01 16:29:27.378] [I] snapshots: 1966,2262,2555,2927,3272,3586,3895,3903,3909,3987,4041,4430,4734,5048 (Array)
    [2014-08-01 16:29:27.378] [I]
    [2014-08-01 16:29:27.378] [I] ==== Token Log Events ====
    [2014-08-01 16:29:27.423] [I] Event Count: 2
    [2014-08-01 16:29:27.423] [I]
    [2014-08-01 16:29:27.423] [I]  == EVENT ENTRY 1 ==
    [2014-08-01 16:29:27.423] [I] logTimeStamp: 2014-08-01 16:29:26.364
    [2014-08-01 16:29:27.423] [I] longDescription: Workflow has started
    [2014-08-01 16:29:27.423] [I] originatorId: a4e950d3-c575-4ddd-8b7f-dd838cdf7b2e
    [2014-08-01 16:29:27.423] [I] originatorUri: undefined
    [2014-08-01 16:29:27.423] [I] originatorUserName: bazbill
    [2014-08-01 16:29:27.424] [I] severity: 0
    [2014-08-01 16:29:27.424] [I] shortDescription: Workflow has started
    [2014-08-01 16:29:27.424] [I]
    [2014-08-01 16:29:27.424] [I]  == EVENT ENTRY 2 ==
    [2014-08-01 16:29:27.424] [I] logTimeStamp: 2014-08-01 16:29:26.401
    [2014-08-01 16:29:27.424] [I] longDescription: Workflow is completed
    [2014-08-01 16:29:27.424] [I] originatorId: a4e950d3-c575-4ddd-8b7f-dd838cdf7b2e
    [2014-08-01 16:29:27.424] [I] originatorUri: undefined
    [2014-08-01 16:29:27.425] [I] originatorUserName: bazbill
    [2014-08-01 16:29:27.425] [I] severity: 0
    [2014-08-01 16:29:27.425] [I] shortDescription: Workflow is completed
    
  • JOURNAL of COIL RMAN

    Hello

    10.2.0.3 on Win 2003 server.

    When I run the following manually it works well and the output is written to the sppol file:

    JOURNAL of the COIL to "D:\SCRIPTS\Scripts\backup\Test_log_MyDB.txt".

    run

    {

    View all;

    }

    COIL DISCONNECTION;

    But when run from a file of commands like follow the hold file is created but empty:

    =================BATCH=========================

    Define WORK_DIR = % ~ dp0

    Set ORACLE_SID = MYDB

    RMAN nocatalog target / @Test.sql

    = END OF BATCH =.

    Thank you.

    Try

    RMAN nocatalog target / @Test.sql log='D:\SCRIPTS\Scripts\backup\Test_log_MyDB.txt'

    See cmdLine where you can read

    LOG='filename' Specifies the file where RMAN records its output, that is, orders that were processed and their results. If you do not specify this argument, then RMAN writes its file on the standard output message log.

    Note: remove commands of the coil of your file.

  • output of the script in excel

    I have some script online, could you please help me add output in an excel sheet.

    SE connect-VIServer server1

    $report

    # Specifies the location of the output file

    $filemame = 'C:\dir1\ESX_info.xls'

    Get-VMHost | Select name, Version, Build,
    @{N = "Cluster name"; E={($_ | Get - Cluster). Name}},
    Manufacturer, model, ProcessorType,
    @{N = "NumCPU"; E={($_| Get - View). Hardware.CpuInfo.NumCpuPackages}}

    $report| Export-Csv -NoTypeInformation $filemame

    Thank you

    Whenever you copy something on the screen, it goes to the screen. Period (I guess). If you want to redirect the flow to something else, you will need to navigate literally.

    This is why you must use the export-csv. What he does he object transform on the entry in the file in the csv format. It's what he does. If you don't want to use export-csv for a reason, you need to format the output so that it will look like csv, so that for example excel will understand that.

    If you want to have the real Excel file (.xls), you use excel comobject.

    So from my side, I'm not really another way to get a simple CSV to use export-csv.

    'name, first name' > c:\file1.csv

    'cookie monster' > c:\file1.csv

    "elmo, Monster" > c:\file1.csv

    Excel will also include this file when you import with ',' as a delimiter. Is that what you are looking for?

    As mentioned previously, if you want to make real xls file it is more difficult to do so.

    "

    $Oexcel = New-Object - ComObject excel.application
    visible #setting for debugging
    $Oexcel.Visible = $true
    #Opening our xls workbook
    $Oworkbook = $Oexcel.Workbooks.Add)
    Journal of #Adding new week and do appoint good
    $Oworksheet = $Oworkbook.Worksheets.Add)
    Report of $Oworksheet.Name = "Snapshots"
    #Making banner
    $Oworksheet.Cells.Item (1,1) = "report title".
    #Creating labels for table
    $Oworksheet.Cells.Item (2,1) = "name of the virtual machine.

    .....

    .....

    "

    Were looking for management Excel in this way or am I too far with my way of thinking?

    Greg

Maybe you are looking for

  • Where can I find drivers for Windows XP for my Satellite P305D-S8828?

    Hello every1 of Turkey. I want to downgrade my Vista to Windows XP Pro due to some reasons.But on the page of the Toshiba driver, I can't find my laptop and of course the Win XP drivers I bought my laptop in the United States with a great price. It s

  • Cannot install Windows PLUS updates. -Modules Windows Installer has stopped working...

    original title: cannot install MORE Windows updates. Greetings, people. My computer will download, but not install many of the windows updated. I think it's because of 'message "Windows Modules Installer has stopped working and was closed". Is this c

  • suddenly enlarged

    After leaving a game all had expanded.  How do I get back to the default size?

  • Graphics driver and the/3 GB switch on x 61

    Hello I use Windows XP (32 bit) and after I installed an upgrade 2GB bought recently (bringing the total to 4 GB), I added the switch/3 GB to the boot.ini file so that the system to recognize fully the RAM installed. The problem as a result of applyi

  • ASA5520vpn

    So I with a asa 5520 vpn vpn 3 or more in on subnets seprate however users can connect in any of them? even if she does not set p Roper IP range and they can do anything what bothers me suggestions.