Defined by the user exception handling

Hello

version Oracle 11.1.0.7

Question 1:
I just want to know what is the difference between the methods for using user-defined exceptions.

Method 1: don't need initialization exception
create or replace procedure p1
as
exc_p1 exception;
begin
 do something .... 
 -- fails
 Raise exc_p1;
 exception when exc_p1 then
 raise;
 end;
 
Method 2: use initialization exception
 create or replace procedure p2
 as
exc_p2 exception;
prgma exception_init(exc_p2,-20999);
begin 
p1;
exception
when exc_p2 then 
raise;
end;
Question2

Please let me know when and where to use these user-defined functions and I read the comments of Tom kyte on the use then than others, then raise or raise_application_error
exception management. Rather than use the raise or raise_application_error can I use "dbms_output.put_line (dbms_utility.format_error_backtrace); dbms_output.put_line (dbms_utility.format_error_stack)) 'or can I do the exceptions as handler below.
" when others then 
raise_application_error(-20001,'error in p1  '||dbms_utility.format_error_backtrace ||dbms_utility.format_error_stack); " 
Thank you
Mike

Mike wrote:
Hello

version Oracle 11.1.0.7

Question 1:
I just want to know what is the difference between the methods for using user-defined exceptions.

Method 1: don't need initialization exception

create or replace procedure p1
as
exc_p1 exception;
begin
do something ....
-- fails
Raise exc_p1;
exception when exc_p1 then
raise;
end;

Method 2: use initialization exception

create or replace procedure p2
as
exc_p2 exception;
prgma exception_init(exc_p2,-20999);
begin
p1;
exception
when exc_p2 then
raise;
end;

The first method is used when you plan to raise user-defined errors by using the name, and user-defined errors are raised in the procedure you capture them.

The second method is used when you want to capture a specific error number, it's an error specific oracle (one that has not already been appointed) or a user defined error. In your example procedures, if we show what exceptions occur by putting in the debugging...

SQL> ed
Wrote file afiedt.buf

  1  create or replace procedure p1 as
  2    exc_p1 exception;
  3  begin
  4    Raise exc_p1;
  5  exception when exc_p1 then
  6    dbms_output.put_line('P1:exc_p1');
  7    raise;
  8* end;
SQL> /

Procedure created.

SQL>
SQL> create or replace procedure p2 as
  2    exc_p2 exception;
  3    pragma exception_init(exc_p2,-20999);
  4  begin
  5    p1;
  6  exception
  7    when exc_p2 then
  8      dbms_output.put_line('P2:exc_p2');
  9      raise;
 10    when others then
 11      dbms_output.put_line('Other exception');
 12      raise;
 13  end;
 14  /

Procedure created.

SQL> set serverout on
SQL> exec p2;
P1:exc_p1
Other exception
BEGIN p2; END;

*
ERROR at line 1:
ORA-06510: PL/SQL: unhandled user-defined exception
ORA-06512: at "SCOTT.P2", line 12
ORA-06512: at line 1

... we can see that the captured P1 procedure an exception defined by the user by his name, but procedure P2 could only recognize as being a mistake 'OTHERS '.

But if P1 were to raise a specific error number...

SQL> create or replace procedure p1 as
  2    exc_p1 exception;
  3  begin
  4    Raise exc_p1;
  5  exception when exc_p1 then
  6    dbms_output.put_line('P1:exc_p1');
  7    raise_application_error(-20999,'Procudure 1 error raised',true);
  8  end;
  9  /

Procedure created.

SQL> exec p2;
P1:exc_p1
P2:exc_p2
BEGIN p2; END;

*
ERROR at line 1:
ORA-20999: Procudure 1 error raised
ORA-06512: at "SCOTT.P1", line 7
ORA-06510: PL/SQL: unhandled user-defined exception
ORA-06512: at "SCOTT.P2", line 9
ORA-06512: at line 1

SQL>

... then because P2 is looking for this under his own name of exp_p2 error number, he seized the exception thrown by P1 as is exp_p2 exception.

Now, just to complete the example...

SQL> create or replace procedure p1 as
  2    exc_p1 exception;
  3    pragma exception_init(exc_p1,-20999);
  4  begin
  5    Raise exc_p1;
  6  exception when exc_p1 then
  7    dbms_output.put_line('P1:exc_p1');
  8    raise;
  9  end;
 10  /

Procedure created.

SQL> exec p2;
P1:exc_p1
P2:exc_p2
BEGIN p2; END;

*
ERROR at line 1:
ORA-20999:
ORA-06512: at "SCOTT.P2", line 9
ORA-06512: at line 1

... P1 has now associated with error number 20999 is exc_p1 exception, when he simply raises this exception is triggered 20999 error number. P2 is unable to capture under the name of exc_p1 because this exception name does exist in the process of P1, but because P2 seeks 20999 under his own name of exc_p2 exception, it manages to capture him.

So, to summarize, the name of the exception without the pragma is allowed to handle exceptions as part of the same name, but if you need capture outside the scope, you use the pragma to assign a number to it-specific exception.

Question2

Please let me know when and where to use these user-defined functions and I read the comments of Tom kyte on the use then than others, then raise or raise_application_error

User-defined exceptions are used mainly to treat logic errors. The key is the word "handful." If you can handle an exception (i.e. to do something) you should capture it and do what needs doing. If you can't handle it then, you have to trigger it.
Using a then "than others' exception should be a last resort. In general, you only manage exceptions that you plan to arrive. One then "than others' captures all exceptions that have not already been dealt with. If you have an exception "while others" and you do not throw the exception upward once again, then effectively hide you any errors to get noticed (errors are still happening, but you are not aware of them except for the fact that your "code does not work" or "data is not correct"). The only time you would really use one then "than others' exception would be if you need to connect all the errors in a table, but then after the cut, which should continue to be the exception to the calling code.

exception management. Rather than use the raise or raise_application_error can I use "dbms_output.put_line (dbms_utility.format_error_backtrace); dbms_output.put_line (dbms_utility.format_error_stack)) 'or can I do the exceptions as handler below.

" when others then
raise_application_error(-20001,'error in p1  '||dbms_utility.format_error_backtrace ||dbms_utility.format_error_stack); " 

You should not use dbms_output.put_line, except for the purpose of debugging. To use that assumes that the output of the server is catches or displayed, which, if it is a backend process, it won't. The correct way to error log is a table, or at worst a file on the server.

If you need generate an application error and you want to keep the stack error, you just need the third parameter set to TRUE.

raise_application_error({errornumber},{message},true);

Tags: Database

Similar Questions

  • Question about the use of subtypes (define a subtype of w / constraint defined by the user)

    Hi guys,.

    I am a newbie to PL/SQL.
    I really appreciate it if save you a little of your time to respond to this message.

    According to paragraph reference 10 g Release 2 (10.2) and Guide the user to the PL/SQL in Oracle® database labeled using subtypes, I found that the constraint of the subtype defined by the user can be overridden when you declare variables.

    Questions:

    1. Why does PL/SQL compel user-defined subtype substitution? Or is this an unexpected bug that exist in PL/SQL?

    2. is it arrive at Oracle subtypes as INTEGER, CHARACTER, etc.. ?

    I have reproduced this problem using the PL/SQL code following against Oracle9i 9.2.0.1, which produced any error or exception whatsoever.

    TO ELIMINATE ANY CONFUSION, THE ISSUE IS HIGHLIGHTED IN BOLD

    -THE SAMPLE CODE TO REPRODUCE THE PROBLEM
    DECLARE
    -a user-defined (Xtype) subtype is defined with a precision and scale force;
    Subtype Xtype IS NUMBER (1.0);
    -However, Xtype is overridden when you declare the variable "var_num".
    Xtype var_num (2,0);
    BEGIN
    var_num: = 10;
    DBMS_OUTPUT. Put_line ('var_num =' |) To_char (var_num));
    EXCEPTION
    WHILE OTHERS THEN
    DBMS_OUTPUT. PUT_LINE ("ERR: ' |") SQLERRM);
    END;
    /

    -HERE IS THE RESULT
    SQL > @D:\LocalWork\dummy.sql
    var_num = 10

    Edited by: HappyJay 05/09/2010 01:48

    Send me on email offline (remove the spaces) damorgan11g @ gmail.com and I will convey that to the person who is just that kind of decision regarding Oracle 12 currently.

  • Functions defined by the user with several parameters

    I set features three following user using "Define."

    UF1 takes a single patameter;

    UF2 takes two parameters;

    and UFX takes two parameters - with the second is 'X' in the definition.

    Œuvres F1.  F2 is the EVAL of F1 version and it works too.  User functions only seem to work fine.

    F3, a function of two user settings, produces a graph of NaN.

    F4 is the EVAL of F3 version.  Note that 'B 'is not replaced by 1'.  Also produces a NaN chart.

    F5 produces a graph of NaN.

    F6 is EVAL of F5.  The 'X' is not replaced (even with the ' B' above), and even if it looks like 'X * X', it also produces a graph of NaN.

    Is it possible to get defined by the user, with several parameters, features work by tracing the curve?

    Hi!, Fortin:

    If you download and install the ultimate Firmware with the version of the software: 2015 6 17 (8151), with the number of Version: 1.1.2 - 11, you can trace your examples of definition of the function, with curves and values, without NaN.

  • Variables, FPGA, defined by the user and SoftMotion 2012 + NOR 9505

    Hello

    To http://forums.ni.com/t5/Motion-Control-and-Motor-Drives/Softmotion-and-NI-950X-Module-Compatibility/... Nathan says:

    NathanK wrote:

    The glue code that connects Softmotion on FPGA LV code RT is called 'the axis interface. The version of the interface of the 2011 Softmotion axis necessary creation screw RT that exposes certain capabilities to Softmotion.

    ....

    Improvements have been made in 2012 Softmotion who has removed the requirement to write RT live. Disclosure for the FPGA happens rather on the Variables (UDVs) user-defined. It is also possible to create a kind of axis 9501 for configuration of the module as well as an axis UDV generic for other completely custom 950 x modules or axes. It is not a specific example for the 9505 yet.

    This caught my attention, as I'm trying to develop a system using LabVIEW SoftMotion 2012 and the NI 9505. I'm curious to see if there are alternative methods to write my application.

    Where can I find more information on this 'generic UDV axis' and how to implement a? Nathan says "is not a specific example for the 9505 yet", but there are examples for the other modules - how similar/different are these modules from the 9505, and it involves a lot of effort to bring examples of the 9505?

    Thank you!

    Hi JKSH,

    I have some relevant information that it is request that may be useful:

    Working with Axes Variable defined by the user (NI SoftMotion Module)

    Resource binding dialog box (NI SoftMotion)

    Configuration OR SoftMotion Axes (OR SoftMotion Module)

    Example that mentions of Nathan is the drive Stepper (9501) .lvproj (material Input and Output"Motion Control" NI SoftMotion"Device Specific" NI 950 x"OR 9501), I would take a peek at this on use of the UDVs.

  • Alarming - alarms defined by the user not appearing is not in history

    Hello

    I use the DSC module to create alarms.  I can successfully configure an alarm for a shared variable.  I use the alarms.vi of reading to read the current alarms.   I am able to recognize and to disappear which removes them from the list.  I also see a history of them when using the "alarm and event Query.vi.  Now, I do the same with user-defined alarms.  I have created alarm using the "user defined Alarm.vi value.  The alarm are displayed in the list (read alarms.vi).  I can acknowledge the alarm and it disappears from the list.  Now when I use the 'alarm & Query.vi' the user defined alarm does not appear in the list.  Only shared variable alarms are displayed.  Is this correct?  Is there a good example of what I'm doing?  The example of "User defined DSC alarms Demo.vi" does not give an example of reading historical alarms defined by the user of the database.

    Thank you

    Matt

    I removed the DSC module and re-installed which includes SQL Server.  That did the trick.

    Thanks for your help Caleb

  • How can I score points defined by the user in amplitude / frequency diagram?

    I have a table of frequencies and amplitudes. I need these values to display frequency values on the x axis and axis is amplitude. a default fixed parcel must be constantly visible in the graph, and then I want to score a few points defined by the user in the same graph, save these two plots in the same graph and then make a mark on the chart.

    Help kindly it's about my master of engineering project where I am trying to biuld an audiometer (to test hearing sensitivity) and I'll interface with microcontroller ardiuno labview and my hardware devices.

    so kindly help.

    Thank you.

    rich

    The points defined by the user might just be another plot.  You can add annotations to a conspiracy, but it's a lot of work.

  • Display multiple lines of data collection defined by the user in an e-mail message

    I created a collection defined by the user that displays several lines of data. I created a custom rule and have linked this collection set by the user to this rule and configure an e-mail action. Variable Seveity, I have defined it in the rule to contain the column values. But it will only contain the first line of data. How can I display multiple lines of data in the alarm itself as well as the e-mail? Any help is appreciated.

    The example query in the collection defined by the user is less;

    Select the type, status, queuename, count (*) from PSAPMSGPUBHDR

    Union

    Select the type, status, queuename, count (*) from PSAPMSGPUBCON

    Union

    Select the type, status, queuename, count (*) from PSAPMSGSUBCON

    Result:

    Number of status type Queuename

    -------                 ----------------------                        ----------                           -------------

    HDR profil_utilisateur error 1

    PUB                  PERSON_BASIC                    New                                 4

    PUB WORKFORCE_SYNC error 1

    -3 rows

    I have defined the variables of gravity and the alarm message is something like this; (It is fetching only the first row of data) how do I loop through to get all the rows of data and display it in the message of alarm/email (alert) action must be written of the groovy script code to achieve this goal? If Yes can you please provide me examples?

    Alarm message:

    "Request message queue is:

    Type: @UDC_type

    QueueName: @UDC_queuename

    Status: @UDC_status

    County: @UDC_count

    Thanks in advance

    JAI

    Hi Jay,.

    fine I could help you. Please mark the thread as "Answered" when the issue has been resolved and do not hesitate to open a new thread for questions.

    Concerning

    Jochen

  • tmboot: CMDTUX_CAT:827: ERROR: fatal error occurred; launch the user error handler

    I'm familiar with Oracle databases, but still learning my way around PeopleSoft administration.

    After validating the connection information of database with sqlplus from the same platform, psadmin application server start command generated an error message in the console.

    tmboot: CMDTUX_CAT:827: ERROR: fatal error occurred; launch the user error handler

    After the attempt failed to start the 8.49 application server, the journal entries were:

    PSAPPSRV.55837058 (0) [28/09/15 09:30:31] (4) the Configuration of server settings: {Journal

    Ging level = 5, sql trace = 12319, mask of trace sql client = 12319, peoplecode trace = 0,

    mask trace client PC = 4095, timeout = 300, County recycling = 2000, max such svc fail

    ures = 2, ORACLE, database name database type of == 'DBXX', database server = ", id = user

    'PXXXXX', connect id is "CXXXXXX"}

    ...

    PSAPPSRV.55837058 (0) [28/09/15 09:30:32] (1) GenMessageBox (0, 0, M): If the database

    gnon: could not sign database DBXX with user PXXXXX.

    PSAPPSRV.55837058 (0) [09:30:32 ago] (0) 28/09/15 start the server failed

    PSWATCHSRV.6685110 (0) [28/09/15 09:30:33] closing

    PSADMIN.58196170 (0) [28/09/15 09:30:39] (0) attempt to end on the dbxx field boot

    While the connectivity of sqlplus had tested OK from a client, PeopleSoft Signon pside.exe two levels on the same client Windows resulted in Invalid User ID and password for the access code.

    The psaccessprfl table had been updated with the connection of data validated by using a platform application server dms shell script.

    The area has been configured using the application server platform psadmin.  UserId, UserPswd, ConnectID and ConnectPswd had been entered and verified.  Passwords have been encrypted by the suite.

    The psoprdefn table showed correct SYMBOLICID uppercase and ACCTLOCK is zero on behalf of PXXXXX.

    The psaccessprfl table showed too correct SYMBOLICID.

    The psdbowner table showed the DBNAME and OWNERID both uppercase.

    The values encrypted in the database matched other environments on the same server platform.

    Why app server not sign to the Oracle database?

    Using the pscfg.exe, Manager of the Windows client configuration utility, I selected the 5 first checkboxes dialog SQL Trace on the left side of the tab of the Trace, I entered the name and location of the trace people tools to create and store the output of client sessions on the same tab.  Then tried another connection to the database, using the pside.exe utility.  The text resulting in the newly created text file showed the last executed statement was a select on the table psdbowner.  I removed my trace entries using pscfg.exe to stop tracing.

    Using the information provided by the last executed statement, I ran a request and discovered that the length (dbname) for the value of the column in the psdbowner table was one character longer than the expected value.

    After update the column value by removing the end interval, the utility psadmin on the server worked without error.

  • Unable to Boot PeopleSoft area (PIA)-> CMDTUX_CAT:827: ERROR: fatal error occurred; launch the user error handler

    As I start my custom domain name (HC92), I get the following:

    exec PSWATCHSRV EI o '.\LOGS\stdout' '.\LOGS\stderr' - A - ID - 54217 d TESTSERV s PSWATCHSRV: process id = 1636... Has begun.

    exec PSAPPSRV '.\LOGS\stdout' EI '.\LOGS\stderr'[email protected] s PSAPPSRV d o: process id = 2656... Has begun.

    exec PSAPPSRV '.\LOGS\stdout' EI '.\LOGS\stderr'[email protected] s PSAPPSRV d o: process id = 2644... Has begun.

    exec PSSAMSRV o '.\LOGS\stdout"e".\LOGS\stderr"- A – d s PSSAMSRV TESTSERV: process id = 2832... Has begun.

    exec PSSAMSRV o '.\LOGS\stdout"e".\LOGS\stderr"- A – d s PSSAMSRV TESTSERV: process id = 2692... Has begun.

    exec PSANALYTICSRV o '.\LOGS\stdout"e".\LOGS\stderr"- A – d s PSANALYTICSRV TESTSERV: process id = 2448... Has begun.

    exec PSANALYTICSRV o '.\LOGS\stdout"e".\LOGS\stderr"- A – d s PSANALYTICSRV TESTSERV: process id = 496... Has begun.

    exec PSANALYTICSRV o '.\LOGS\stdout"e".\LOGS\stderr"- A – d s PSANALYTICSRV TESTSERV: process id = 2964... Has begun.

    exec PSRENSRV o '.\LOGS\stdout"e".\LOGS\stderr"- A – d s PSRENSRV TESTSERV: process id 2356 =... Has begun.

    exec PSMONITORSRV EI o '.\LOGS\stdout' '.\LOGS\stderr' - A - ID - 54217 d TESTSERV s PSMONITORSRV: process id = 1056... Has begun.

    exec JSL o '.\LOGS\stdout"e".\LOGS\stderr"- A – n //PSOFT_PC:9000 m 5 - M7-I have 5-j ANY - x 40 s 10 - c 1000000 w JSH: failed.

    tmboot: CMDTUX_CAT:827: ERROR: fatal error occurred; launch the user error handler

    tmshutdown - qy

    ==============ERROR!================

    Try to start met domain errors! See TUXEDO log for more details.

    ==============ERROR!================

    ----------------------------

    Domain LOG FILE

    ----------------------------

    PSADMIN.1088 (0) [2015-01 - 13 T 17: 06:34.774] (0) attempt to Begin priming on domain HC92

    PSAPPSRV.2656 (0) [2015-01 - 13 T 17: 06:46.056] (0) PeopleTools version 8.54 (Windows) from. Tuxedo server is APPSRV 99/2

    PSAPPSRV.2656 (0) [2015-01 - 13 T 17: 06:46.056] (3) detected time zone is Pacific SA Daylight saving time

    PSAPPSRV.2656 (0) [2015-01 - 13 T 17: 06:46.134] (0) used Cache Directory: C:\PS _CFG_HOME\appserv\HC92\CACHE\PSAPPSRV_2\

    PSAPPSRV.2656 (0) [2015-01 - 13 T 17: 06:47.056] (2) App Server host lag is DB + 0 0:00:00 (ORACLE PSHRDMO)

    PSAPPSRV.2656 (0) [2015-01 - 13 T 17: 06:51.196] (0) server started


    PSAPPSRV.2644 (0) [2015-01 - 13 T 17: 06:51.603] (0) PeopleTools version 8.54 (Windows) from. Tuxedo server is APPSRV 99/1

    PSAPPSRV.2644 (0) [2015-01 - 13 T 17: 06:51.603] (3) detected time zone is Pacific SA Daylight saving time

    PSAPPSRV.2644 (0) [2015-01 - 13 T 17: 06:51.665] (0) used Cache Directory: C:\PS _CFG_HOME\appserv\HC92\CACHE\PSAPPSRV_1\

    PSAPPSRV.2644 (0) [2015-01 - 13 T 17: 06:51.837] (2) App Server host lag is DB + 0 0:00:00 (ORACLE PSHRDMO)

    PSAPPSRV.2644 (0) [2015-01 - 13 T 17: 06:52.415] (0) server started


    PSSAMSRV.2832 (0) [2015-01 - 13 T 17: 06:52.728] (0) PeopleTools version 8.54 (Windows) from. Tuxedo server is APPSRV 99/101

    PSSAMSRV.2832 (0) [2015-01 - 13 T 17: 06:52.728] (3) detected time zone is Pacific SA Daylight saving time

    PSSAMSRV.2832 (0) [2015-01 - 13 T 17: 06:52.790] (0) used Cache Directory: C:\PS _CFG_HOME\appserv\HC92\CACHE\PSSAMSRV_101\

    PSSAMSRV.2832 (0) [2015-01 - 13 T 17: 06:53.087] (0) server started


    PSSAMSRV.2692 (0) [2015-01 - 13 T 17: 06:53.415] (0) PeopleTools version 8.54 (Windows) from. Tuxedo server is APPSRV 99/100

    PSSAMSRV.2692 (0) [2015-01 - 13 T 17: 06:53.415] (3) detected time zone is Pacific SA Daylight saving time

    PSSAMSRV.2692 (0) [2015-01 - 13 T 17: 06:53.493] (0) used Cache Directory: C:\PS _CFG_HOME\appserv\HC92\CACHE\PSSAMSRV_100\

    PSSAMSRV.2692 (0) [2015-01 - 13 T 17: 06:53.806] (0) server started


    PSRENSRV.2356 [2015-01 - 13 T 17: 06:56.743] (0) st PeopleTools version 8.54 (Windows) arting . Tuxedo server is RENGRP 92/101

    PSRENSRV.2356 [2015-01 - 13 T 17: 06:56.759] (3) switch to the new log file * C:\PS_CFG_H OME\appserv\HC92\LOGS\PSRENSRV_0113.LOG *


    PSADMIN.1088 (0) [2015-01 - 13 T 17: 07:13.698] (0) attempt to end HC92 field boot

    * C:\PS_CFG_HOME\appserv\HC92\LOGS\PSRENSRV_0113.LOG *.

    -Begin PSRENSRV boot-

    PSRENSRV.2356 (0) [2015-01 - 13 T 17: 06:57.273] (3) (NET.113): RenRequest customer service request succeeded

    PSRENSRV.2356 (0) [2015-01 - 13 T 17: 06:57.843] (3) (NET.113): RenRequest customer service request succeeded

    2356.2708 [2015-01 - 13 T 17: 07:02.075] (WARN) nsmain: off the server immediately asked

    ----------------------------

    SMOKING LOG FILE

    ----------------------------

    170634.PSOFT_PC! PSADMIN.1088: Start the start on domain HC92 attempt

    170639.PSOFT_PC! tmadmin.556.2400.-2: TMADMIN_CAT:1330: INFO: command: start - a

    170641.PSOFT_PC! tmboot.2392.2544.-2: 13/01/2015: Tuxedo Version 12.1.3.0.0_VS201 0, 64-bit

    170641.PSOFT_PC! tmboot.2392.2544.-2: CMDTUX_CAT:1851: INFO: TM_BOOTTIMEOUT is to t to 120 seconds

    170641.PSOFT_PC! tmboot.2392.2544.-2: CMDTUX_CAT:1855: INFO: TM_BOOTPRESUMEDFAIL option is selected


    170643.PSOFT_PC! BBL.2340.1680.0: 13/01/2015: Version Tuxedo 12.1.3.0.0_VS2010, 64-bit, Patch level (none)

    170643.PSOFT_PC! BBL.2340.1680.0: LIBTUX_CAT:262: INFO: Standard master boot


    170645.PSOFT_PC! tmboot.1488.2464.-2: 13/01/2015: Tuxedo Version 12.1.3.0.0_VS201 0, 64-bit

    170645.PSOFT_PC! tmboot.1488.2464.-2: CMDTUX_CAT:1851: INFO: TM_BOOTTIMEOUT is to t to 120 seconds

    170645.PSOFT_PC! tmboot.1488.2464.-2: CMDTUX_CAT:1855: INFO: TM_BOOTPRESUMEDFAIL option is selected


    170645.PSOFT_PC! PSWATCHSRV.1636.2816.-2: 13/01/2015: Version Tuxedo 12.1.3.0.0_VS2010, 64-bit

    170645.PSOFT_PC! PSWATCHSRV.1636.2816-2: LIBTUX_CAT:262: INFO: Standard main starting


    170645.PSOFT_PC! PSAPPSRV.2656.592.0: 13/01/2015: Version Tuxedo 12.1.3.0.0_VS2010, 64-bit

    170645.PSOFT_PC! PSAPPSRV.2656.592.0: LIBTUX_CAT:262: INFO: Standard main starting

    170651.PSOFT_PC! PSAPPSRV.2644.2804.0: 13/01/2015: Version Tuxedo 12.1.3.0.0_VS2010, 64-bit

    170651.PSOFT_PC! PSAPPSRV.2644.2804.0: LIBTUX_CAT:262: INFO: main starti Standardng

    170652.PSOFT_PC! PSSAMSRV.2832.2208.0: 13/01/2015: Version Tuxedo 12.1.3.0.0_VS2010, 64-bit

    170652.PSOFT_PC! PSSAMSRV.2832.2208.0: LIBTUX_CAT:262: INFO: main starti Standardng

    170653.PSOFT_PC! PSSAMSRV.2692.2668.0: 13/01/2015: Version Tuxedo 12.1.3.0.0_VS2010, 64-bit

    170653.PSOFT_PC! PSSAMSRV.2692.2668.0: LIBTUX_CAT:262: INFO: main starti Standardng


    170653.PSOFT_PC! PSANALYTICSRV.2448.2180.0: 13/01/2015: Tuxedo Version 12.1.3.0.0_VS2010, 64-bit

    170653.PSOFT_PC! PSANALYTICSRV.2448.2180.0: LIBTUX_CAT:262: INFO: main s Standardtarting

    170654.PSOFT_PC! PSANALYTICSRV.496.2476.0: 13/01/2015: Tuxedo Version 12.1.3.0.0_VS2010, 64-bit

    170654.PSOFT_PC! PSANALYTICSRV.496.2476.0: LIBTUX_CAT:262: INFO: Standard main stsurglace

    170655.PSOFT_PC! PSANALYTICSRV.2964.1536.0: 13/01/2015: Tuxedo Version 12.1.3.0.0_VS2010, 64-bit

    170655.PSOFT_PC! PSANALYTICSRV.2964.1536.0: LIBTUX_CAT:262: INFO: main s Standardtarting


    170656.PSOFT_PC! PSRENSRV.2356.2708.-2: 13/01/2015: Version Tuxedo 12.1.3.0.0_VS2010, 64-bit

    170656.PSOFT_PC! PSRENSRV.2356.2708-2: LIBTUX_CAT:262: INFO: key start Standarding


    170658.PSOFT_PC! PSMONITORSRV.1056.2212.-2: 13/01/2015: Tuxedo Version 12.1.3.0.0_VS2010, 64-bit

    170658.PSOFT_PC! PSMONITORSRV.1056.2212-2: LIBTUX_CAT:262: INFO: main s Standardtarting


    170658.PSOFT_PC! JSL.640.904.0: 13/01/2015: Version Tuxedo 12.1.3.0.0_VS2010, 64 -bit

    170658.PSOFT_PC! JSL.640.904.0: LIBTUX_CAT:262: INFO: Standard master boot

    170658.PSOFT_PC! JSL.640.904.0: INFO: version JOLT Jolt 12.1.1.0 Oracle Listener

    170659.PSOFT_PC! JSL.640.904.0: JOLT_CAT:1568: "INFO: threshold of Compression is tot-1000000 '

    170659.PSOFT_PC! JSL.640.904.0: JOLT_CAT:1242: ' ERROR: Bad Internet type listning address provided: //PSOFT_PC:9000 '

    170659.PSOFT_PC! JSL.640.904.0: LIBTUX_CAT:250: ERROR: tpsvrinit() failed


    170659.PSOFT_PC! tmboot.1488.2464.-2: CMDTUX_CAT:825: ERROR: process to PSOFT JSL _Pc failed with / t tperrno (TPESYSTEM - internal system error)

    170659.PSOFT_PC! tmboot.1488.2464.-2: tmboot: CMDTUX_CAT:827: ERROR: fatal error met, launch the user error handler


    170710.PSOFT_PC! BBL.2340.1680.0: CMDTUX_CAT:26: INFO: The BBL out of system


    170713.PSOFT_PC! PSADMIN.1088End attempt to boot on domain HC92

    -------------------------------------------------------------

    SETTINGS FOR THE DOMAIN

    ------------------------------------------------------------

    ----------------------------------------------

    Menu quick access - configure area: HC92

    ----------------------------------------------

    Characteristic parameters

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

    (1) pub/Sub servers: No. 17) DBNAME: [PSHRDMO]

    (Server 2) Quick: No. 18) DBTYPE: [ORACLE]

    (Query servers 3): No. 19) user name: [PS]

    ((4) shock: Yes 20) UserPswd: [PS]

    ((5) Jolt relay: No. 21) Networkid: [TESTSERV]

    ((6) WSL: No. 22) AddToPATH: [C:\app\psoft\product\11.2.0\dbhome_1\BIN]

    (PC 7 debugger): No. 23) ConnectID: [people]

    (Event notification 8): Yes 24) ConnectPswd: [people]

    [(Serveurs de 9) MCF: No. 25) DomainConnectPswd:]

    (10 assembler) Perf: No. 26) Port of WSL: [7000]

    ((11) Analytics servers: Yes 27) JSL Port: [9000]

    (Bridge 12) areas: No. 28) Port of JRAD: [9100]

    (13) the server events: No.

    Actions

    =========

    (14) load config as shown

    (15) custom configuration

    (16) the settings of the environment

    (h) aid for this menu

    (q) to return to the previous menu

    TIP: Enter 17 to change DBNAME, then 14 to load

    Enter the selection (1-28, h or q):

    --------------------------------------------------------------

    ENVIRONMENT SETTINGS

    --------------------------------------------------------------

    C:\Users\psoft > set

    ALLUSERSPROFILE = C:\programdata

    APPDATA = C:\Users\psoft\AppData\Roaming

    CommonProgramFiles = c: files

    CommonProgramFiles (x 86) = c: Program Files (x 86) \Common Files

    CommonProgramW6432 = c: files

    COMPUTERNAME = PSOFT_PC

    ComSpec=C:\Windows\system32\cmd.exe

    FP_NO_HOST_CHECK = NO

    HOMEDRIVE = C:

    HOMEPATH = \Users\psoft

    JAVA_HOME = C:\Program Files\Java\jdk1.8.0_25

    JAVA_OPTS = "" - Dcom.sun.xml.namespace.QName.useCompatibleSerialVersionUID = 1.0 - Xms32 m - Xmx64m " "

    LOCALAPPDATA = C:\Users\psoft\AppData\Local

    LOGONSERVER = \\PSOFT_PC

    NUMBER_OF_PROCESSORS = 2

    OS = Windows_NT

    Path = C:\Program Files\Java\jdk1.8.0_25\bin

    ; C:\app\psoft\product\11.2.0\dbhome_1\bin

    ; C:\app\psoft\product\11.2.0\dbhome_2\bin

    ; C:\Windows\System32; C:\Windows

    ; C:\windows\System32\Wbem

    ; C:\Windows\system32\WindowsPowerShell\v1.0\

    ; C:\app\tuxedo\tuxedo12.1.3.0.0_VS2010\bin

    ; C:\app\tuxedo\tuxedo12.1.3.0.0_VS2010\jre\bin\server

    ; C:\app\tuxedo\tuxedo12.1.3.0.0_VS2010\jre\bin

    PATHEXT = .COM; EXE;. BEATS;. CMD;. VBS;. VBE;. JS;. JSE;. WSF;. WSH;. MSC

    PROCESSOR_ARCHITECTURE = AMD64

    PROCESSOR_IDENTIFIER = Intel64 family 6 model 58 Stepping 9 GenuineIntel

    PROCESSOR_LEVEL = 6

    PROCESSOR_REVISION = 3 a 09

    ProgramData = ProgramData

    ProgramFiles = c: Program Files

    ProgramFiles (x 86) = c: Program Files (x 86)

    ProgramW6432 = C:\Program Files

    PROMPT = $P$ G

    PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\

    PS_APP_HOME = C:\HC9.2

    PS_CFG_HOME = C:\PS_CFG_HOME

    PS_HOME = C:\PT8.54

    PUBLIC = C:\Users\Public

    SESSION = Console

    SystemDrive = C:

    SystemRoot = C:\Windows

    TEMP = C:\Users\psoft\AppData\Local\Temp

    TMP = C:\Users\psoft\AppData\Local\Temp

    TUXDIR=C:\app\tuxedo\tuxedo12.1.3.0.0_VS2010

    USERDOMAIN = PSOFT_PC

    USERNAME = psoft

    USERPROFILE = C:\Users\psoft

    windir = C:\Windows

    windows_tracing_flags = 3

    windows_tracing_logfile=C:\BVTBin\Tests\installpackage\csilogfile.log

    _JAVA_OPTIONS =-Xmx512M

    Found this post:

    ISNAT_CAT:1242: ERROR: Bad Internet type of listening address

    "The problem has been resolved after that I changed my name from ZEMEROV_A to ZEMEROV computer.

    Hyphens are not allowed for regular internet names. The only Microsoft DNS server

    allows hyphens. Obviously TUXEDO checks the internal Web address syntax.

    But I don't know why my IP (10.57.70.246) has failed.

    In any case, the issue is resolved. Make sure that TUXEDO documentation recommends-

    When using the name of the server host you talk server. This is case and sensitive syntax. »

    Where as: I changed my host name of psoft_pc to psoftpc and I changed the same on TNSNAMES and everything worked without problems.

    I'll mark this issue is resolved.

    Thank you.

  • Com.oracle.httpclient.HttpRequestBuilder and http header defined by the user

    Hello

    In Java ME embedded 8, I would like to send an HTTP request containing an identifier defined by the user in the (X-header type) http header, using the com.oracle.httpclient package.

    HttpClient client = clientBuilder.build ();

    RequestBuilder (http://my_uri) client.build = HttpRequestBuilder;
    requestBuilder.setHeader (HttpHeader.ACCEPT, "text/plain");

    Here, I would like to add a header as user-defined value:
    requestBuilder.setHeader ("MyHeader", "myHeaderValue");

    It seems there only predefined values for the headers in the com.oracle.httpclient.HttpHeader class.

    Is it possible to add a header defined by the user in the application?

    Thanks in advance.

    Bruno

    Hi Bruno.

    have you tried myHeader = new HttpHeader ("MyHeader") Httpentete;?

    / Sergey

  • I can save is no longer shades defined by the user.

    It's something I've done many times:

    -create objects with the fill color > select > add the color group to illustration selected in the swatches Panel > click the menu library swatch in the swatches Panel and select "Save the nuances" in the drop-

    This would normally take me to the exact location where I need to record a sample, defined by the user - something like: (user defined) / Library/Application Support/Adobe/Adobe Illustrator (version) /(defined language)/samples. I can see this site for a fraction of a second, before the file browser window switches back me on the directory of the user. The library is open is no longer in this dialog box.

    I run two versions of Illustrator - CC and CS5 and oddly, it is the case in both, so I think the problem is Adobe - of - rights of library. I use a Mac, running OS X Yosemite 10.10.5.

    To be clear, I did several times in the past and it worked. And I tried to restart the computer.

    Any help/advice are welcome

    OK, I solved the problem by chance, and I'll leave the solution here if someone has the same problem.

    Namely, my Finder browser "save the file" has been on "Sort by date", and this mode will not access library. I went to "sort by name", and the library with user-defined shades reappeared. (Do not know what is the logic of this, but there you go).

    -Ana

  • defined by the user is not displayed correctly the variables

    Hello, I use the variables defined by the user in Adobe Captivate 9. I am having the users to enter text in a text box entry, then view their entry on another slide. When I test the project the user defined variable displays only partially what I have typed in the text entry box. Someone at - it solutions?

    You must do so via the properties panel.

    See you soon... Rick

  • Function defined by the user in order by?

    Hey guys.  We try our postgres database to Oracle to port, and I fall on this issue.  We have columns called "sortSequences", which are arrays of arbitrarily long integers.  To some fine POC, I use varray(), but that probably won't work as a production application, due to its strongly defined by size.  In any case, the crux of the problem is that I need to be able to select * from foo by sortSequence, where the evaluation order is custom code.  The array of integers represent essentially mathematics of infinite precision and we have a deterministic algorithm to compare, but we can't just produce a value between them (what I think keeps me to use a card member function in a user-defined object type.)  In other words, we don't really care what are the values, we are just using their collectively as an index of sort.  An aggregate function like the right answer, and a simple scalar function is out of the question.  We watched the field index, but it is not clear to me that even if we created an operator related to our type defined by the user that the db would use this function for order by rating...

    Everyone can think of a solution to this problem?  If we must live without this feature, we can reproduce in the application code, but we want to avoid that at all costs...

    Thank you

    Brian

    The array of integers represent essentially mathematics of infinite precision and we have a deterministic algorithm to compare, but we can not simply to produce a value between them (I think preventing me to use a card member function in a user-defined object type.)

    OK, but what about a method of ORDER?

    Since you seem to have the algorithm already, is not just a matter of implementation of the COMMAND method?

    Performance, it is not ideal but it's a start.

    Something along these lines:

    create or replace type array_t is varray (32767) integer;

    /

    create or replace type sort_sequence_t as object)

    v array_t

    member function serialize return varchar2

    , for the integer return order member function match (o sort_sequence_t)

    );

    /

    create or replace type body sort_sequence_t is

    member function serialize return varchar2 is

    RES varchar2 (4000);

    Start

    because me in 1... self.v.Count loop

    If I have 1 > then

    RES: res = | ',';

    end if;

    RES: res = | TO_CHAR (self.v (i));

    end loop;

    return res;

    end;

    order whole return leg (o sort_sequence_t) member function is

    whole v1;

    whole v2;

    Start

    because me in 1... Greatest (self.v.Count, o.v.Count) loop

    If self.v.exists (i) then

    v1: = self.v (i);

    on the other

    v1: = 0;

    end if;

    If o.v.exists (i) then

    V2: = o.v (i);

    on the other

    V2: = 0;

    end if;

    If v1< v2="">

    Returns - 1;

    elsif v1 > v2 then

    Return 1;

    end if;

    end loop;

    return 0;

    end;

    end;

    /

    Tests...

    SQL > with sample_data (id, sort_seq) as)

    2 Select 1, sort_sequence_t (array_t (10,1,1)) of all the double union

    3 select 2, sort_sequence_t (array_t (1,1, -1)) of all the double union

    4 Select 3, sort_sequence_t (array_t (1,1,1)) of all the double union

    5. Select option 4, sort_sequence_t (array_t (1,1,2)) of all the double union

    6 select 5, sort_sequence_t (array_t (1,20,1)) of all the double union

    7. Select 6, sort_sequence_t (array_t (1,7,1)) of double

    8)

    9. Select t.id

    10, t.sort_seq.serialize (as seq_str)

    sample_data 11 t

    12 order by t.sort_seq;

    ID SEQ_STR

    ---------- --------------------------------------------------------------------------------

    2-1,-1, -1

    3 1,1,1

    4 1,1,2

    6 1,7,1

    5 1,20,1

    1 10,1,1

    6 selected lines

    Post edited by: odie_63 - added example

  • Sharing Variables defined by the user through projects

    Hello

    I wonder if it is possible to share Variables defined by the user between projects. What I have in mind, is that I would like to have my user defined Variables configured in a central location and then insert them into my projects as variables bound so that they update automatically when I change their values. For example, I define a variable named ProductVersion , that has the value 9. Then I insert this variable in all my projects as a bound variable. After 2 months the product version changes was 10, so I change the value of the variable at 10 to the place where it is stored and it is automatically updated in all projects. Is it possible somehow? I'm new to RoboHelp and I find no answer. I tried the solution for a while using the product on the Internet without success. I even contacted Adobe Support and they redirect me to this forum I used help and manual before and how they deal with user variables was quite simple.

    Hello

    Unfortunately RoboHelp does not offer a way to let this, at least, is not directly.

    However, I think I found a way to get there, the variables are stored in a file named rhvariable.apj. So what you could do is to add this file as a file of luggage to each of your projects that will share variables.

    Now, you would create a shared location, but also a new category in your resource manager. This will create a common location to store the file apj.

    Add the file of baggage to the location. Repeat for all the projects that share variables.

    Now, when the variable is changed in any of the project participants, it should be to update the shared location and you can achieve the goal.

    Note, however, that although you'll get what you want, it will be always open each of the participating projects, synchronize the APJ file and generate the output in order to to refresh all. No way, I am aware of escape that.

    Cheers, Rick

  • PCM - data import and fields defined by the user - model import or the XML API?

    Hello

    I am currently partially by an implementation of the PCM with my business and have created a few user-defined fields in the application companies. I have data from a form on the internet into a CSV file that I want then to eye-ball before loading of PCM.

    I created a copy of the "export contracts report template ' to include these fields defined by the user, but when I try to re - import the data, the user-defined fields are not populated.

    No one knows if the user-defined fields can be updated in PCM, and if so does to do through the functionality of the XML API?

    Kind regards.

    Published by: 914327 on February 14, 2012 03:39

    The simple answer is that the built-in import utility is designed to import a preset list of fields only and will not import your custom fields even if they are added in the import file, and you will need to use the API to import these fields.

    However, there are unsupported methods to import this data directly to the database, or to add custom fields as options available for import. I can tell you more about these methods on the forum offline if you are interested.

Maybe you are looking for