Login against database table,need help

hi all:
i need to develop a login page that authenticate users against a database table
i made a login page with no bindings a submit button which submit the form to a struts data action ,i defined a custom method at the vo implementation expose it to the client interface and drag and drop this method into the struts action this is the method code
public boolean findProjectOwnersByOwnerid (String Ownerid)
setWhereClauseParam(0,Ownerid);
executeQuery();
boolean found = (first() != null );
setWhereClause(null);
setWhereClauseParams(null);
setMaxFetchSize(0);
return found;
in the struts data action i override the data forword action this is the code:
protected void findForward(DataActionContext actionContext) throws Exception
// TODO: Override this oracle.adf.controller.struts.actions.DataAction method
super.findForward(actionContext);
String target="failed";
JUCtrlActionBinding method = actionContext.getCustomMethod();
String result = (String)method.getResult();
System.out.println(result);
if (result.equalsIgnoreCase("true"))
target = "failed";
if (result.equalsIgnoreCase("false"))
target = "success";
actionContext.setActionForward(target);
now when i run this page i get this error java.lang.NullPointerException
can anyone help please

Hi,
the nice thing with NullPointer exceptions is that it also tells you the source and line number where this occurs. It would be useful to follow up on this to see where the problem originates
Frank

Similar Messages

  • No primary key in database table.Need help with ODS keys.

    Hi ,
    I am pulling data from a database table where there in no primary key . So when I designed my ODS and loaded the data , the records got overwritten...(If there are 5000 records only 4000 got transfered) . So Now the only option I can think of is putting all the database fields as key fields in my ODS but then I am restricted to only 16 fields for ODS and I have more than 24 fields in my database table.What should I do now.Any help will be appreciated.
    Thanks a lot!!!

    Hi,
    are you trying to pull data from structures.....putting all the fields in the key fields is the ODS keys is not a solution.
    what is your reporting requirement....try to maintain the keys for which you want to see the data
    e.g. if in report you want to see the data for sales order then put the keys as sales order for ODS...so that the data is correct at the sales order level.
    ie. the try to maintain the ODS at the level ...which can be used.
    This is the just a guide....you can decide with your requirement.
    Thanks

  • Where is the forum for TFS, I have found an issue related to its database I need help

    Hello,
    Where is the forum for TFS, I have found an issue related to its database I need help 
    One of the encrypted Stored Procedure is throwing an error and I have no
    idea how to fix the problem.
    EXEC dbo.InstallWorkItemWordsContains
    FOR XML could not serialize the data for node 'nt_user_name' because it contains a character (0x0000) which is not allowed in XML. To retrieve this data using FOR XML, convert it to binary, varbinary or image
    data type and use the BINARY BASE64 directive.
    Msg 3616, Level 16, State 2, Line 1
    An error was raised during trigger execution. The batch has been aborted and the user transaction, if any, has been rolled back.

    Hello,
    Here are the
    Visual Studio Team Foundation Server forums.
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book:
    Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • Z database table needs to have field creation/update/deletion tracked

    Hi,
    I have a Z database table.
    I have a program that gets data from an excel file and uploads the content to the Z database table.
    I need to track the creation/update/deletion of the records in the Z database table.
    The Z database table can also have records changed/updated/deleted manually thru table maintenance. These changes also need to be tracked.
    How do I do this?
    ~ Eric

    Hi
    For a my z-table (called ZFAGTD01), I created the object for change documents, this is the log after generating it:
    Change documents: Display information about generated sources                                                                               
    Change doc. object Z_PROAGE_PRV                                                                               
    Generation on      23.07.2004 11:51:28                                 
                of     SVIL01                                                                               
    Include programs and function modules                                  
    Data declaration, TOP...................... FZAGPCDT                   
    Consisting of............................. FZAGPCDF                   
    and....................................... FZAGPCDV                   
    Update function module..................... Z_PROAGE_PRV_WRITE_DOCUMENT
    Call update function module................ FZAGPCDC                                                                               
    Dictionary structures                                                  
    VZFAGTD01
    Just as you see, the system has created the fm and some includes containing all data it needs to call the fm.
    So u need only to use those includes, just only u need to consider before calling the fm u need to fill:
    - The change flag: usually called UPD_<Z table>;
    - Fill the header Y<ZTABLE> of z-table with old data;
    - Fill the header X<ZTABLE> of z-table with new data;
    - Fill the variables   TCODE, UTIME,  UDATE,  USERNAME,
    - Fill the variable OBJECTID with the key of Z-table
    For example my object is used in my program in this way:
    FORM INSERT_CHANGE_DOCUMENT.
      CHECK FL_CHANGE_DOC = 'X'.
      CHECK SY-SUBRC = 0.
      CONCATENATE XZFAGTD01-MANDT XZFAGTD01-BUKRS XZFAGTD01-GJAHR
                                              XZFAGTD01-BELNR INTO OBJECTID.
      TCODE = SY-TCODE.
      UTIME = SY-UZEIT.
      UDATE = SY-DATUM.
      USERNAME = SY-UNAME.
    * Load old data: header
      IF ZFAGTD0K IS INITIAL.
        CLEAR YZFAGTD0K.
      ELSE.
        SELECT SINGLE * INTO YZFAGTD0K
                        FROM ZFAGTD0K WHERE BUKRS   = XZFAGTD01-BUKRS
                                        AND GJAHR   = XZFAGTD01-GJAHR
                                        AND BELNR   = XZFAGTD01-BELNR.
      ENDIF.
    * Load old data: items
      SELECT * INTO TABLE YZFAGTD01 FROM ZFAGTD01
                                FOR ALL ENTRIES IN XZFAGTD01
                                       WHERE BUKRS   = XZFAGTD01-BUKRS
                                          AND GJAHR   = XZFAGTD01-GJAHR
                                          AND BELNR   = XZFAGTD01-BELNR
                                          AND POSNR_P = XZFAGTD01-POSNR_P.
      SORT: XZFAGTD01 BY POSNR_P,
            YZFAGTD01 BY POSNR_P.
    * Check if heade was changed
      IF YZFAGTD0K <> ZFAGTD0K.
        UPD_ZFAGTD0K = 'U'.
      ELSE.
        CLEAR UPD_ZFAGTD0K.
      ENDIF.
      UPD_ZFAGTD01 = 'U'.
      PERFORM CD_CALL_Z_PROAGE_PRV.
      REFRESH XZFAGTD01.
    ENDFORM.                    " INSERT_CHANGE_DOCUMENT
    Max

  • How to insert a new Row in table - Need help

    Hi everyone,
    I'm using JHeadstart 10.1.2, UIX pages and STRUTS.
    This is my situation: My page1 has a table (table1) and when I select one line from table1 and press a button, I go to page 2.
    I have an action in the Struts-Config.xml file, so I can pass some parameters to page2, like this:
    <action path="/S2PopUpObstaculos" <=PAGE2 type="oracle.jheadstart.controller.strutsadf.action.JhsDataActionSaveObstaculos" className="oracle.jheadstart.controller.strutsadf.action.JhsDataActionMapping" parameter="/WEB-INF/page/S2PopUpObstaculos.uix" name="DataForm">
    <set-property property="modelReference" value="S2AltaSociais2UIModel"/>
    <set-property property="bindParams" value="S2DominiosLevel1Iterator=${data.S2AltaSociais2UIModel.Obstaculo},${data.S2AltaSociais2UIModel.AlsEpsPsId},${data.S2AltaSociais2UIModel.AlsEpsId},${data.S2AltaSociais2UIModel.Obstaculo}"/>
    </action>
    But now, the problem is, if I don't select one Row from table1 and press the button to go to page2, I need to pass diferent parameters to page 2, like this:
    <set-property property="bindParams" value="S2DominiosLevel1Iterator=0,${data.S2AltaSociais2UIModel.AlsEpsPsId},${data.S2AltaSociais2UIModel.AlsEpsId},0"/>
    </action>
    Do you have any ideia how to do this? Can ayone help me?
    Thanks,
    Atena
    Message was edited by:
    Atena

    Hi Sascha,
    thanks very much for your replay.
    My project changed and I have another question about this. My page1 has a table (table1) and when I select one line from table1 and press a button, I go to page 2.
    I have an action in the Struts-Config.xml like this in page2 (S2PopUpObstaculos):
    <action path="/S2PopUpObstaculos" type="oracle.jheadstart.controller.strutsadf.action.JhsDataActionSaveObstaculos" className="oracle.jheadstart.controller.strutsadf.action.JhsDataActionMapping" parameter="/WEB-INF/page/S2PopUpObstaculos.uix" name="DataForm">
    <set-property property="modelReference" value="S2AltaSociais2UIModel"/>
    <set-property property="bindParams" value="S2DominiosLevel1Iterator=${data.S2AltaSociais2UIModel.Obstaculo},${data.S2AltaSociais2UIModel.AlsEpsPsId},${data.S2AltaSociais2UIModel.AlsEpsId},${data.S2AltaSociais2UIModel.Obstaculo}"/>
    </action>
    But now, the problem is, if I don't select one Row from table1 and press the button to go to page2, I need to pass diferent parameters to page 2, like this:
    <set-property property="bindParams" value="S2DominiosLevel1Iterator=0,${data.S2AltaSociais2UIModel.AlsEpsPsId},${data.S2AltaSociais2UIModel.AlsEpsId},0"/>
    </action>
    Do you have any ideia how to do this? Can you help me?
    Thanks,
    Atena

  • Read only table, need help

    I have an read only table with a check box(updatable) for each row which is the first column and it is part of the table field. The value for the
    checkbox field is Y/N in the database. I replaced the first column with a Select Boolean Checkbox, I can able to see the unchecked check box for each
    row in the browser. But, it doesn't allow me to check/uncheck. How do I make it work and how do I collect checked rows, so that I can update db. Thanks.

    you need to use the converter for Y / N value
    To make custom converter, implement javax.faces.Converter and implement following two methods
    public class ConvertYesNo implements Converter {
    public ConvertYesNo() {
    public Object getAsObject(FacesContext context,
    UIComponent component,
    java.lang.String value){
    //return value that you want to use for your business logic e.g original value from db - in this case,so when you check the chekbox, t will convert back to "Y" or N for unchecked value
    public String getAsString(FacesContext context,
    UIComponent component,
    Object value){
    //return actual 'value' for the component - for e.g "true" or "false" in this case, so when you reterive the Y/N from some static list/db it will convert to true/false
    in your jspx , assuming you will have outputtext
    &lt;af:selectBooleanCheckbox converter="{color:#3366ff}ConvertYesNo{color}" simple="true" value="#{row.bindings.dispFlag.inputValue}"
    autoSubmit="true" immediate="true"
    valueChangeListener="#{DisplayTable.displayFlagHandler}"
    id="searchFlagCheckbox"&gt;
    &lt;f:converter converterId="{color:#3366ff}ConvertYesNo{color}"/&gt;
    &lt;/af:selectBooleanCheckbox&gt;
    and make sure you have the custom converter registered in faces-config.xml
    &lt;converter&gt;
    &lt;converter-id&gt;{color:#3366ff}ConvertYesNo{color}&lt;/converter-id&gt;
    &lt;converter-class&gt;myproject.view.backing.{color:#3366ff}ConvertYesNo{color}&lt;/converter-class&gt;
    &lt;/converter&gt;
    hope this helps

  • Calling A Single Value From A Channel To Output To A Table Need Help

    I have populated a table that contains every value in every channel of my data set. I am now attempting to do channel calculations in order to come up with weighted averages and an overall average for the days worth of test. This data will be outputted to a new table called 'Total Table'. This Total Table is to only have one value per channel.
    The issue I am running into is 2-fold. When doing channel arithmetic, primarily Channel Sums using 'ChnSum' DIAdem does not truncate the entire data set into a new data set. It retains all the values and appends the last block with the sum of the entire channel set. I need to either be able to pull that last value dynamically (as not all my data sets are of equal length) or I need to generate a new channel that only has the sum value. Is there a way to do this?
    Here is what I have been attempting to do but to little avail. Attached is a screenshot of what the table output looks like after this code is processed.
    'Populate Total Table With Values From Above Calculations
    For j = 1 to selectData.MultiSelection.Count
    Counter = Counter + 1
    length = ChnPropValGet("[" & selectData.MultiSelection(j).Index & "]/Cumulative Fuel Used", "Length")
        If Counter = 2 Then
       [ A Bunch Of Channel Calculations That Output New Channels ]
       Call View.Sheets("Total Table").Areas("Area : " & Counter).DisplayObj.Columns.Add(ChnFind("Ch("& selectData.MultiSelection(j).Index &") > 0 " , length - 1))
      End If
    Next
    Any help would be much appreciated.
    Thanks,
    ~Nate
    Solved!
    Go to Solution.
    Attachments:
    TotalTable.JPG ‏212 KB

    This is my latest version of the code and it sort of works but its referencing my "Fan Speed" channel for some reason rather than my "Cumulative Fuel Used" channel. Im a little stumped
    For j = 1 to selectData.MultiSelection.Count
    Counter = Counter + 1
    length = ChnPropValGet("[" & selectData.MultiSelection(j).Index & "]/**bleep** Fuel Used", "length")
    If Counter = 2 Then
    Call View.Sheets("Total Table").Areas("Area : " & Counter).DisplayObj.Columns.Add(Data.Root.ChannelGroups("[" & selectData.MultiSelection(j).Index & "]").Channels("**bleep** Fuel Used").Values(length))
    End If
    Thanks,
    ~Nate

  • Login problem...need help...

    Dear experts,
    I have migrated my QA system into another system, but the sapgui showed me the error message when i login the sapgui.
    ABAP/4 runtime error        Error code  DBIF_RSQL_TABLE_UNKNOWN
    i checked the log, found there has one line marked 'update error'
    X  <ES> client 0 initializing ....
    X  Using implementation std
    M  <EsNT> Memory Reset enabled as NT default
    X  ES initialized.
    M
    M Wed Jan 23 18:21:08 2008
    M  calling db_connect ...
    C  Got ORACLE_HOME=G:\oracle\ora92 from environment
    C  Client NLS settings: AMERICAN_AMERICA.UTF8
    C  Logon as OPS$-user to get SAPQ19's password
    C  Connecting as /@C11 on connection 0 ...
    C  Attaching to DB Server C11 (con_hdl=0,svchp=059AD3A4,svrhp=0A023D74)
    C
    C Wed Jan 23 18:21:43 2008
    C  Starting user session (con_hdl=0,svchp=059AD3A4,srvhp=0A023D74,usrhp=0A02C5AC)
    C  Now I'm connected to ORACLE
    *C  *** ERROR => ORA-1031 when updating table SAPUSER* [dbsloci.c    10144]
    C  Got SAPQ19's password from OPS$-user
    C  Disconnecting from connection 0 ...
    C  Closing user session (con_hdl=0,svchp=059AD3A4,usrhp=0A02C5AC)
    C  Now I'm disconnected from ORACLE
    C  Connecting as SAPQ19/<pwd>@C11 on connection 0 ...
    C  Starting user session (con_hdl=0,svchp=059AD3A4,srvhp=0A023D74,usrhp=0A02C5AC)
    C  Now I'm connected to ORACLE
    C  Database NLS settings: AMERICAN_AMERICA.UTF8
    C  Database instance c11 is running on SAPIDES with ORACLE version 9.2.0.5.0 since 20080123
    B
    B Wed Jan 23 18:21:44 2008
    B  Connection 0 opened
    B  Wp  Hdl ConName          ConId     ConState     TX  PRM RCT TIM MAX OPT Date     Time   DBH
    M Wed Jan 23 18:22:43 2008
    M  ***LOG R68=> ThIRollBack, roll back () [thxxhead.c   12270]
    B
    B Wed Jan 23 18:31:45 2008
    *B  **LOG BZA=> table DD092526V  does not exist on database [dbtran#3 @ 7256] [dbtran  7256 ]A  TH VERBOSE LEVEL FULL
    M  ***LOG R68=> ThIRollBack, roll back () [thxxhead.c   12270]
    A
    A Wed Jan 23 18:31:46 2008
    A  Wed Jan 23 18:31:46 2008
    A
    A  ABAP/4 Program SAPLSDNT                                .
    A  Source LSDNTU16                                 Line 481.
    A  Error Code DBIF_RSQL_TABLE_UNKNOWN.
    A  Module  $Id: //bas/640_REL/src/krn/runt/absapsql.c#9 $ SAP.
    A  Function HandleRsqlErrors Line 776.
    A  Table is unknown or does not exist..
    A
    *B  **LOG BZA=> table D010SINF   does not exist on database [dbtran#3 @ 7256] [dbtran  7256 ]A  TH VERBOSE LEVEL FULL
    M  ***LOG R68=> ThIRollBack, roll back () [thxxhead.c   12270]
    A  Wed Jan 23 18:31:46 2008
    Has someone can give me advise ?
    Thanks in advanced,
    Carlos

    Hello Carlos
    >> I have migrated my QA system into another system
    How did you migrate?
    >> *B ***LOG BZA=> table DD092526V does not exist on database dbtran#3 @ 7256 dbtran 7256 *A TH VERBOSE LEVEL FULL
    >> *B ***LOG BZA=> table D010SINF does not exist on database dbtran#3 @ 7256 dbtran 7256 *A TH VERBOSE LEVEL FULL
    The "tables" DD092526V and D010SINF are not "really" tables.. they are just views on ddic tables and report sources.
    I think that you have not created the views in your migration.
    Regards
    Stefan

  • Oracle database crashing.Need help.

    Hi
    We have an oracle 11.1.0.7.0 database running on windows 2003 R2. All of a sudden as of today the server crashed.
    Trace logs are as below.
    Can anyone provide any help on how to diagnose the issue.
    Thanks
    *** 2011-04-26 00:30:15.291
    Process diagnostic dump for W000, OS id=6212
    Memory (Avail/Total): Ph:1919M/3839M, Ph+PgF:2554M/4446M, VA:1260M/2047M
    CPU Load: 61%
    Stack:
    ------------------- Call Stack Trace ---------------------
    calling location entry point arg #1 arg #2 arg #3 arg #4
    7C82847C 00000000 00000000 00000000 00000000 00000000
    77E61C88 77E61C96 00001aa8 00001388 00000000 0f45e55c
    _skgpwwait()+128                                                 00000000                                                         00001aa8 00001388 004c4b40 0bab7ca0
    ksliwat()+2180                                                  skgpwwait()+0 0f45e5c8 0babb460 2f371f7c 004c4b40
    kslwaitctx()+146                                                ksliwat()+0 2ea568b0 2ea568b0 000001f4 00000000
    kslwait()+158                                                   kslwaitctx()+0 0f45e7bc 000001f4 0f45e7bc 06097a59
    ksvrdp()+26715                                                  kslwait()+0 000001f4 0000003e 00000000 0f45fd90
    opirip()+813                                                    ksvrdp()+0 00000003 0dc6e918 0dc85e78 0d6ff2dc
    opidrv()+1357                                                   opirip()+0 00000032 00000004 0f45fea8 00000000
    sou2o()+45                                                      opidrv()+0 00000032 00000004 0f45fea8 00000000
    opimaireal()+263 _sou2o()+0                                                       0f45fe9c 00000032 00000004 0f45fea8
    opimai()+92                                                     opimai_real()+0 00000003 0f45fed4 00000000 00000000
    BackgroundThreadStart@4()+529                                   opimai()+0 00000003 0f45ff20 89a96710 0d6f0030
    77E6482C 00000000 0b1a4c18 00000000 00000000 0b1a4c18
    00000000 00000000 00000000 00000000 00000000 00000000
    ---------------- End of Call Stack Trace -----------------
    Call stack acquisition performance stats:
    setup time (lock acquis., memory alloc.): 0 ms
    frame get time (time the target proc was suspended): 0 ms
    symbol translation time: 0 ms
    total time: 0 ms
    Process diagnostic dump actual duration=0.109000 sec
    (max dump time=30.000000 sec)
    *** 2011-04-26 00:30:15.400
    Waited for process W000 to initialize for 107276 seconds
    *** 2011-04-26 00:50:21.400
    Process diagnostic dump for W000, OS id=11304
    Memory (Avail/Total): Ph:1923M/3839M, Ph+PgF:2563M/4446M, VA:1268M/2047M
    CPU Load: 43%
    Stack:
    ------------------- Call Stack Trace ---------------------
    calling location entry point arg #1 arg #2 arg #3 arg #4
    7C82847C 00000000 00000000 00000000 00000000 00000000
    77E61C88 77E61C96 000019b0 00001388 00000000 0d85e55c
    _skgpwwait()+128                                                 00000000                                                         000019b0 00001388 004c4b40 0bab7ca0
    ksliwat()+2180                                                  skgpwwait()+0 0d85e5c8 0babb460 2f371494 004c4b40
    kslwaitctx()+146                                                ksliwat()+0 2ea26d20 2ea26d20 000001f4 00000000
    kslwait()+158                                                   kslwaitctx()+0 0d85e7bc 000001f4 0d85e7bc 06097a59
    ksvrdp()+26715                                                  kslwait()+0 000001f4 0000003e 00000000 0d85fd90
    opirip()+813                                                    ksvrdp()+0 00000003 0c8ee914 0c935e6c 0c79f2d8
    opidrv()+1357                                                   opirip()+0 00000032 00000004 0d85fea8 00000000
    sou2o()+45                                                      opidrv()+0 00000032 00000004 0d85fea8 00000000
    opimaireal()+263 _sou2o()+0                                                       0d85fe9c 00000032 00000004 0d85fea8
    opimai()+92                                                     opimai_real()+0 00000003 0d85fed4 00000000 00000000
    BackgroundThreadStart@4()+529                                   opimai()+0 00000003 0d85ff20 89b057d0 0c790030
    77E6482C 00000000 0b18e3c8 00000000 00000000 0b18e3c8
    00000000 00000000 00000000 00000000 00000000 00000000
    ---------------- End of Call Stack Trace -----------------
    Call stack acquisition performance stats:
    setup time (lock acquis., memory alloc.): 0 ms
    frame get time (time the target proc was suspended): 0 ms
    symbol translation time: 0 ms
    total time: 0 ms
    Process diagnostic dump actual duration=0.109000 sec
    (max dump time=30.000000 sec)
    *** 2011-04-26 00:50:21.509
    Waited for process W000 to initialize for 110881 seconds
    *** 2011-04-26 01:50:27.697
    Process diagnostic dump for W000, OS id=10832
    Memory (Avail/Total): Ph:1926M/3839M, Ph+PgF:2566M/4446M, VA:1266M/2047M
    CPU Load: 11%
    Stack:
    ------------------- Call Stack Trace ---------------------
    calling location entry point arg #1 arg #2 arg #3 arg #4
    7C82847C 00000000 00000000 00000000 00000000 00000000
    77E61C88 77E61C96 000018fc 00001388 00000000 0dd0e55c
    _skgpwwait()+128                                                 00000000                                                         000018fc 00001388 004c4b40 0bab7ca0
    ksliwat()+2180                                                  skgpwwait()+0 0dd0e5c8 0babb460 2f36f3dc 004c4b40
    kslwaitctx()+146                                                ksliwat()+0 2ea26d20 2ea26d20 000001f4 00000000
    kslwait()+158                                                   kslwaitctx()+0 0dd0e7bc 000001f4 0dd0e7bc 06097a59
    ksvrdp()+26715                                                  kslwait()+0 000001f4 0000003e 00000000 0dd0fd90
    opirip()+813                                                    ksvrdp()+0 00000003 0c54e918 0c565e78 09a2f2dc
    opidrv()+1357                                                   opirip()+0 00000032 00000004 0dd0fea8 00000000
    sou2o()+45                                                      opidrv()+0 00000032 00000004 0dd0fea8 00000000
    opimaireal()+263 _sou2o()+0                                                       0dd0fe9c 00000032 00000004 0dd0fea8
    opimai()+92                                                     opimai_real()+0 00000003 0dd0fed4 00000000 00000000
    BackgroundThreadStart@4()+529                                   opimai()+0 00000003 0dd0ff20 89c36268 09a20030
    77E6482C 00000000 0b187fb8 00000000 00000000 0b187fb8
    00000000 00000000 00000000 00000000 00000000 00000000
    ---------------- End of Call Stack Trace -----------------
    Call stack acquisition performance stats:
    setup time (lock acquis., memory alloc.): 0 ms
    frame get time (time the target proc was suspended): 0 ms
    symbol translation time: 0 ms
    total time: 0 ms
    Process diagnostic dump actual duration=0.109000 sec
    (max dump time=30.000000 sec)
    *** 2011-04-26 01:50:27.806
    Waited for process W000 to initialize for 112681 seconds
    *** 2011-04-26 02:20:27.884
    Process diagnostic dump for W000, OS id=9720
    Memory (Avail/Total): Ph:1919M/3839M, Ph+PgF:2557M/4446M, VA:1266M/2047M
    CPU Load: 43%
    Stack:
    ------------------- Call Stack Trace ---------------------
    calling location entry point arg #1 arg #2 arg #3 arg #4
    7C82847C 00000000 00000000 00000000 00000000 00000000
    77E61C88 77E61C96 00001a00 00001388 00000000 0dd0e55c
    _skgpwwait()+128                                                 00000000                                                         00001a00 00001388 004c4b40 0bab7ca0
    ksliwat()+2180                                                  skgpwwait()+0 0dd0e5c8 0babb460 2f36f3dc 004c4b40
    kslwaitctx()+146                                                ksliwat()+0 2ea26d20 2ea26d20 000001f4 00000000
    kslwait()+158                                                   kslwaitctx()+0 0dd0e7bc 000001f4 0dd0e7bc 06097a59
    ksvrdp()+26715                                                  kslwait()+0 000001f4 0000003e 00000000 0dd0fd90
    opirip()+813                                                    ksvrdp()+0 00000003 0c52e918 0c545e78 09a2f2dc
    opidrv()+1357                                                   opirip()+0 00000032 00000004 0dd0fea8 00000000
    sou2o()+45                                                      opidrv()+0 00000032 00000004 0dd0fea8 00000000
    opimaireal()+263 _sou2o()+0                                                       0dd0fe9c 00000032 00000004 0dd0fea8
    opimai()+92                                                     opimai_real()+0 00000003 0dd0fed4 00000000 00000000
    BackgroundThreadStart@4()+529                                   opimai()+0 00000003 0dd0ff20 80828c73 09a20030
    77E6482C 00000000 0b187f70 00000000 00000000 0b187f70
    00000000 00000000 00000000 00000000 00000000 00000000
    ---------------- End of Call Stack Trace -----------------
    Call stack acquisition performance stats:
    setup time (lock acquis., memory alloc.): 0 ms
    frame get time (time the target proc was suspended): 0 ms
    symbol translation time: 0 ms
    total time: 0 ms
    Process diagnostic dump actual duration=0.110000 sec
    (max dump time=30.000000 sec)
    *** 2011-04-26 02:20:27.994
    Waited for process W000 to initialize for 115689 seconds
    *** 2011-04-26 03:10:36.994
    Process diagnostic dump for W000, OS id=10068
    *** 2011-04-26 03:10:37.103
    Memory (Avail/Total): Ph:1933M/3839M, Ph+PgF:2575M/4446M, VA:1267M/2047M
    CPU Load: 32%
    Stack:
    ------------------- Call Stack Trace ---------------------
    calling location entry point arg #1 arg #2 arg #3 arg #4
    7C82847C 00000000 00000000 00000000 00000000 00000000
    77E61C88 77E61C96 00001a00 00001388 00000000 0dd0e55c
    _skgpwwait()+128                                                 00000000                                                         00001a00 00001388 004c4b40 0d1dceb8
    ksliwat()+2180                                                  skgpwwait()+0 0dd0e5c8 0d1e0678 2f36f3dc 004c4b40
    kslwaitctx()+146                                                ksliwat()+0 2ea26d20 2ea26d20 000001f4 00000000
    kslwait()+158                                                   kslwaitctx()+0 0dd0e7bc 000001f4 0dd0e7bc 06097a59
    ksvrdp()+26715                                                  kslwait()+0 000001f4 0000003e 00000000 0dd0fd90
    opirip()+813                                                    ksvrdp()+0 00000003 0c52e918 0c545e78 09a2f2dc
    opidrv()+1357                                                   opirip()+0 00000032 00000004 0dd0fea8 00000000
    sou2o()+45                                                      opidrv()+0 00000032 00000004 0dd0fea8 00000000
    opimaireal()+263 _sou2o()+0                                                       0dd0fe9c 00000032 00000004 0dd0fea8
    opimai()+92                                                     opimai_real()+0 00000003 0dd0fed4 00000000 00000000
    BackgroundThreadStart@4()+529                                   opimai()+0 00000003 0dd0ff20 8a7c5db0 09a20030
    77E6482C 00000000 0b1a9bc0 00000000 00000000 0b1a9bc0
    00000000 00000000 00000000 00000000 00000000 00000000
    ---------------- End of Call Stack Trace -----------------
    Call stack acquisition performance stats:
    setup time (lock acquis., memory alloc.): 0 ms
    frame get time (time the target proc was suspended): 0 ms
    symbol translation time: 0 ms
    total time: 0 ms
    Process diagnostic dump actual duration=0.109000 sec
    (max dump time=30.000000 sec)
    *** 2011-04-26 03:10:37.103
    error 2103 detected in background process
    OPIRIP: Uncaught error 447. Error stack:
    *** 2011-04-26 03:35:37.103
    ORA-00447: fatal error in background process
    ORA-02103: PCC: inconsistent cursor cache (out-of-range cuc ref)
    Edited by: user8952784 on Apr 25, 2011 12:53 PM

    Hello,
    What is MOS?
    MOS stand for My Oracle Support (formelly called Metalink). You'll find below their link:
    https://support.oracle.com/
    You'll need the Customer Support Identifier ( CSI ) to get an account.
    As soon as, you can logon to MOS, then open a Service Request and send them the Alert log, trace file, ... and if possible an Incident Package so that they can diagnose the error you got.
    As you are in 11.1 you can generate an Incident Package with the help of the Automatic Diagnostic Repository ( ADR ). You may follow the procedure below to create the Incident Package and manage the call with MOS:
    http://download.oracle.com/docs/cd/E11882_01/server.112/e17120/diag002.htm#CHDJDBCH
    Hope this help.
    Best regards,
    Jean-Valentin

  • Tomcat - SQL Server 2000 Database connectivity - Need Help

    Hi
    I am new to java and Apache Tomcat, can anyone help me how to connect SQLServer 2000 Database. thru .jsp, in my pc I have installed XP Prof. with SP2, SQL Server 2000 Developer Ed. with SP4, Apache Server 2.2 Tomact 5.5., Microsoft SQL Server 2000 Driver for JDBC. Please help me out.. I want to know all settings for SQL connectivity & sample code.
    Thanks in advance.
    Bharat Gajjar

    So why don't you search for the documentation? Tomcat is one of the few apache java projects that is actually decently documented.
    http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html
    That should be all you need to get up and running. For the correct JDBC settings, the microsoft website has an article, as do many other websites.
    http://msdn2.microsoft.com/en-us/library/ms378672.aspx

  • Oracle XE 10g database offline need help getting it back in 11g EE

    Our server crashed...completely crashed...lightning took it clean out. It was older hardware running server 2003, oracle xe 10g, so we replaced it with a newer better server running 2008r2 (64bit I might add).
    I need to bring the old database, tablespaces and datafiles back online with the new server and the new instance of Oracle.
    I have sucessfully installed oracle 11g EE and can create new a new database (all is online with this), but I need my old data back for PCM 13.1. I cannot find any good online documentation regarding this issue, and we are down until its corrected. Obviously just copying the data over isnt going to work, so any help is much appreciated.
    I have good copies of the old hard drives with the folder structures intact, but there is no chance of getting the old OS back online without purchasing old matching hardware and just slamming the drives into it.
    Basically how do I get the new instance of Oracle to open and run my older database...how do I restore it?

    I did it...yay! Here's what I did...I installed a fresh copy of oracle 10g xe in my virtual xp mode. Stopped the database after installation...deleted and replaced the oradata and fast_recovery_area folders with my old data. Started the database and everything worked so far. In the server with 2008 r2 I installed 11g xe, same system password. I then installed SQL Developer on both computers (easier for me than typing out the scripts). In the XP mode 10g xe computer I did a FULL data pump export to a dump directory. I then moved the dump file to the new server and ran a data pump import, appending data if existing. First time, failed....checked the log and obviously I missed the fact the folder structure MUST be the same for the datafiles or I would have to remap (too much work). The default oradata folder is different in 10g than 11g. I created the oradata folder in 11g xe in the same location as 10g would put it and ran the import script again. BAM, it worked this time...I have my data back in 11g xe and my software was able to find it like it should. Thank you for your consideration and help...hope this helps someone else down the road.

  • XML Huge database files, NEED HELP !!!

    Hello to the community.
    We need to store about ONE MILLION XML FILES inside the database.
    BUT we need to use all functionality of XML Structure to look for
    information inside these files (CONTAINS).
    My question is:
    What is the best way to store them:
    like XML files inside CLOB ?
    or fragment the files inside tables ?
    Using ConText Option ?
    Using CONTAINS functions ?
    Is ConText Option supports CONTAINS function ?!?
    We have many queries with text searching...
    What is the best way to store this so we have best velocity to
    acces to the info ?
    Thanks to answer soon
    MasterPh
    null

    Let me try and answer your question. First the CONTAINS
    operator in Intermedia Text (formerly Context) will allow you to
    search for data between tags of an XML document stored as a
    CLOB. Whether you should distribute your XML documents across
    tables is largely a function of how you want the data searched
    retrieved. Currently the XML search function operates within a
    column and thus if you want the entire doc back it would be best
    to store it as a whole. Once iFS is released you will be able
    to distribute the doc across tables and return it as a whole or
    in parts.
    Chack out http://www.oracle.com/database/options/ifs.htm and
    http://www.oracle.com/database/options/intermedia.htm for more
    details.
    Oracle XML Team
    http://technet.oracle.com
    Oracle Technology Network
    Philippe Thomassigny (guest) wrote:
    : Hello to the community.
    : We need to store about ONE MILLION XML FILES inside the
    database.
    : BUT we need to use all functionality of XML Structure to look
    for
    : information inside these files (CONTAINS).
    : My question is:
    : What is the best way to store them:
    : like XML files inside CLOB ?
    : or fragment the files inside tables ?
    : Using ConText Option ?
    : Using CONTAINS functions ?
    : Is ConText Option supports CONTAINS function ?!?
    : We have many queries with text searching...
    : What is the best way to store this so we have best velocity to
    : acces to the info ?
    : Thanks to answer soon
    : MasterPh
    null

  • Backup Database Problem  - Need help  --  thanks!!

    I have backed up my LR database every few days and have had it check for corruption. Things were fine until today when I went to back it up. I received a message saying "Cannot write one file". That was the extent of the message. It didn't say that I had a corruption or give me an obvious error type warning. I rebooted my PC and repeated the maneuver without success.
    I then opened my most previous DB, from last week, and when I tried to save it, I got the same "Cannot write one file" message.
    LR appears to be working fine and all my metadata information seems intact.
    What does this mean and what should I do? I need to back up my database otherwise I feel very vulnerable to problems.
    Thanks for yor help! Marc - Syracuse, NY

    Thank you for the interest...
    I am using a Windows XP workstation and using the native LR database backup routine to backup the file to an external Western Digital harddrive. The WD HD has tons of room and, for some reason, the backup routine would tell me that it was "unable to write one file".
    I've tried reverting to an prior copy of the DB and now it seems okay. But I lost some of my recent work and feel a little less secure about putting all my edits/metadata into LR if I can be at risk for losing it again in the future.

  • UPDATE TABLE NEED HELP

    hi to all
    This is my table
    SCOTT>select * from print;
    X Y
    1 8
    2
    3
    4 5
    5
    6
    7
    8 3
    9
    10
    10 rows selected.
    THEN UPDATE PRINT TABLE LIKE THIS
    X Y
    1 8
    2 8
    3 8
    4 5
    5 5
    6 5
    7 5
    8 3
    9 3
    10 3
    FOR THAT I NEED QUERY
    PLS HELP ME
    THANKS&REGARDS
    NATARAJ KESANA

    Hi,
    you can do the following:
    UPDATE PRINT p1
       SET y = (SELECT y
                FROM   PRINT p3
                WHERE  p3.x = (SELECT MAX(x)
                            FROM   PRINT p2
                            WHERE  p2.x < p1.x
                            AND    p2.y IS NOT NULL))
    WHERE y IS NULL
    select * from print
    X     Y
    1     8
    2     8
    3     8
    4     5
    5     5
    6     5
    7     5
    8     3
    9     3
    10     3

  • Problem with tables -- need help!

    I am having problems with table formatting, when using
    Preformatted text. The tables look fine in the WYSIWYG editor, but
    have lots of extra space above and below the text when looking at
    the output files.
    I will attach the code from one of the HTML files from my
    project, so you can see what I'm talking about.
    Thanks.

    Well, if you're talking about the single-celled table with
    the line:
    <p class=Preformatted>[assembly:
    Ace.AceAssembly]</p>
    </pre>
    ... you can eliminate the <P> tags. that will give you
    one line less. Otherwise, your remaining space is the result of the
    <PRE> tag. It, like the <XMP> tag, gives it one line of
    space beneath as well.
    Your alternative beyond that would be to, when needed, wrap
    up the script in Javascript. That line, for instance, wouldn't need
    it.

Maybe you are looking for

  • To sync or not to sync...

    This is making me feel very old, but after using an iPhone for over a year and mac products for many more, I still feel shaky on the subtleties of syncing. Am I asking to much to be able to sync to more than one computer without losing everything? I

  • Currency validation

    Can anyone please help me to validate a currency input from the user, like it should not accept 1,0,0,0,0.00. appreciate your kind help......

  • Table Designer third rule thick is not working for me.  Any suggestions?

    I am trying to turn the third rule in a four row table thick. I go into Table Designer and select Every 3rd Thick.  The others are all none.  The table is not responding to the command to make the third rule thick as I need it to be.  Does anyone hav

  • Sap Mobile Documents - versioning

    Hey, Is it normal that I can't replace a document from my iPad when the versioning is active on the km document? Is there a workaround for this? We need the versioning active for the documents. Kind Regards, Niki

  • How do I activate a French dictionary in Safari?

    I love how double tapping on a word with three fingers in Safari brings up a dictionary definition. Is there any way I can get it to search a French dictionary as well as an English one? I suppose just a French one is as good.