Dynamically Set Action After Jbo Exception

I want to determine a pages Action by wether or not an error has been thrown.
Example:
For page 1's Action I have setAction()
Heres the method:
public String setAction() {
// Add event code here...
FacesContext context = FacesContext.getCurrentInstance();
if (context.getCurrentInstance().getMessages().hasNext() == true){
return "";
else
return "Page2";
When I know for sure that theres an error, it still goes to page 2. Is this code wrong?
Thanks,
Tim

Nevermind, its...
context.getCurrentInstance().getMessages() != null
but this always is true, even when I don't have the exception. Any ideas?????

Similar Messages

  • Dynamically set action to event?

    I would like to determine if it is possible to bind a programatically opened image to an action or script. For example is it possible to dynamically add an action to the save event. When this image is saved.. do action.
    Thanks

    Hi,
    To set the fireaction progrmatically on link you have created use in processrequest:
    OAlinkBean bean = (OALinkBean)webBean.findindexedchildrecursive("link");
    bean.setFireActionForSubmit("delete",null, null,false, false);
    where "delete" is the event which will be fired when the link is clicked.
    Thanks,
    Gaurav
    Edited by: Gauravv on Aug 5, 2009 8:50 PM

  • Dynamically Setting PartnerLink Endpoint Address (HTTP) - Null Pointer

    I am trying to dynamically set a partner link address in my synchronous bpel process. I am getting a NullPointerException when assigning variable of type EndpointReference to the partner link.
    I followed the example on the BPEL forum here (which describes dynamically setting the address):
    Re: How can I change my ip adresses from a expression?
    In this case, we only need to reset the address.
    My partner link wsdl file contains this service defn:
    <service name="Service1">
    <port name="HTTPPost" binding="tns:HTTPPost">
    <http:address location="http://test"/>
    </port>
    My assign syntax is as follows:
    <copy>
    <from variable="endPointRef" query="/wsa:EndpointReference/wsa:Address"/>
    <to partnerLink="PartnerLink_1"/>
    </copy>
    I printed out my endPointRef variable here after assigning the values:
    06/02/22 19:13:03 endPointRef: <EndpointReference xmlns="http://schemas.xmlsoap
    .org/ws/2003/03/addressing"><Address>http://otn.oracle.com/Test.integration.servlet.WMServlet</Address><ReferenceProperties/><PortType/>
    <ServiceName>ns2:Service1</ServiceName></EndpointReference>
    Here is the error:
    06/02/22 19:13:03 java.lang.NullPointerException
    06/02/22 19:13:03 at com.collaxa.cube.engine.types.bpel.CXPartnerLink.copy
    (CXPartnerLink.java:247)
    I tried to explicitly set the PortType as well, but I got the same error.
    thanks,nhi

    Try with a 'Dynamic publish to service' action with:
    <ctx:route isProxy="false">
    <ctx:service>{ $yourBusinessService }</ctx:service>
    </ctx:route>
    where $yourBusinessService is the variable hosting the uri of your business service.
    Regards
    ferp

  • [Exchange-Online][EWS][c#][Windows 8.1] When creating appointment using impersonation "Set action is invalid for property" error occurs.

    I have an Outlook add-in that creates appointments to a load of Office 365 calendars. It used to work well but suddenly I have hit a problem.
    The basic calling code is
    Appointment appointment = new Appointment(exchangeService);
       appointment.Subject = subject;
       appointment.Body = body;
       appointment.Location = location;
       appointment.IsAllDayEvent = allDay;
       appointment.LegacyFreeBusyStatus = LegacyFreeBusyStatus.Busy;
       appointment.IsOnlineMeeting = false;
       appointment.Save(SendInvitationsMode.SendToNone);
    This still works fine on my own Office 365 mailbox but if I switch to another, using Impersonation, the Save line now throws the error "Set action is invalid for property."
    There does not seem to be a problem with impersonation. The line
    exchangeService.ImpersonatedUserId = new ImpersonatedUserId(ConnectingIdType.SmtpAddress, selectedUserEmail);
    runs OK and afterwards the exchangeService's ImpersonatedUserID gives the correct email address.
    If I look at the appointment object in the Watch window immediately after the line that creates it has run I can see that most of the properties have an entry like:
    appointment.AdjacentMeetingCount' threw an exception of type 'Microsoft.Exchange.WebServices.Data.ServiceObjectPropertyException'.
    Also, several properties including Subject are not listed in the expanded appointment object in the Watch window.
    However, entering appointments.Subject explicitly in the Watch window does give the correct result.
    I have used the floating watch to check the value of each property straight after it is set and each one is as expected.
    I am at a loss as to what to check next and would be grateful for all ideas.
    Mike VE

    Thanks for the reply Jason. I did as you suggested and found that it was the IsOnlineMeeting that caused the problem. Once that was commented out everything worked as expected. On checking I see that this property is ReadOnly for everyone except the
    organizer of the meeting. Clearly the Impersonate role is not regarded as the organiser.
    I don't think it is going to matter so long as the user in whose calendar the appointment is created has fully access to the appointment, which seems to be the case.
    Thanks for your help.
    Mike VE

  • Dynamically set Tab current pages

    Here’s a quick summary of the situation I’ve got.
    Let’s say I have an application with 4 report pages. Three display some data about rows in my database. All 3 contain the column ‘Control #’ which is linked to the 4th report which displays more detailed information about that Control # object.
    When I click on the Control # link and go to the 4th report, I would like the Tabs current for the 4th report to match the Tabs current of the page I came from. In other words, if I clicked on the Control # link on page 1, I would like the 4th pages current tabs to match page 1’s current tabs. The same goes for pages 2 and 3.
    I’ve tried &(some global variable). and :(some global variable) and v(‘some global variable’) in the Tabs current pages fields but that doesn’t work.
    Is it possible to do what I’m trying to do?

    Reports 1, 2 & 3 all exist in individual two tab pages. Pages 1 & 2 would have the same parent tab and their own sub tab. Page 3 would have its own parent tab. When in those pages the appropriate tabs are 'current'. When I click on Control # on any page and go to page 4, I would like the source pages tabs to stay 'current' when displaying page 4.
    By the way, my actual application has in the neighborhood of a dozen pages which are like reports 1,2,& 3 as I described above. Rather than build a dozen identical (with the exception of current tabs) page 4's, I would rather build one page 4 and dynamically set page 4's current tab to the source page's current tab.
    It's a visual reminder to the user as to which page they were on when they clicked the Control # field.
    I also have 8 - 10 SVG charts which I have linked to reports. About 6 of them display the same report using different parameters. Again, I would like THAT report to have the same current tab as the source chart (chart clicked on to invoke the report).

  • Dynamically Set Subreport Background Color to the Same Value as Main Report Background Color

    I have a report that contains a subreport.  The main report has groupings in it.  I am dynamically setting the background color of the group rows based on an expression.  That part is working fine.  The problem that I am having is that
    I don't know how to get the subreport to "inherit" the background color of the grouping that holds it.
    Basically, I have different row shadings on my report differentiating the groupings except for the rows where the subreport shows.
    How do I go about setting the subreport background color to equal it's contaiing grouping's background color?  Thanks in advance for any and all assistance provided.

    The parameter method given by gpshukla will send the info to the subreport, but you don't need the color parameter in the main report, only the subreport. The trick is in setting the value of that parameter.
    Right-click the cell with the embedded subreport, you can select subreport properties.
    Select Parameters and add a parameter.
    The name column is the name of the parameter in the subreport (color) and value is the value to set it to.
    Set name to "color" (no quotes).
    Set Value to the same expression used to set the background color for the row.
    In the subreport, click the design surface to select the report (not header or footer).
    In the properties pane, select background color and choose expression from the dropdown.
    Type =Parameters!color.Value into the expression builder.
    This will work assuming that background color in the main report row will not change without also refreshing the subreport.
    "You will find a fortune, though it will not be the one you seek." -
    Blind Seer, O Brother Where Art Thou
    Please Mark posts as answers or helpful so that others may find the fortune they seek.

  • Job cancelled after system exception ERROR_MESSAGE in DB13

    Hello All,
    When i opened the t-code DB13 i saw that this job "Mark tables requiring statistics update" is cancelled.
    JOB LOG:
    12.02.2011  22:00:16  Job started
    12.02.2011  22:00:16  Step 001 started (program RSDBAJOB, variant &0000000000085, user ID 80000415)
    12.02.2011  22:00:18  Job finished
    12.02.2011  22:00:18  Job started
    12.02.2011  22:00:18  Step 001 started (program RSADAUP2, variant &0000000000081, user ID 80000415)
    12.02.2011  22:01:26  Error when performing the action
    12.02.2011  22:01:26  Job cancelled after system exception ERROR_MESSAGE
    When check for the BGD Job in SM37 for this job i found the same error in the job log with the status cancelled.
    Job log overview for job:    DBA!PREPUPDSTAT_____@220000/6007 / 22001700
    12.02.2011 22:00:18 Job started
    12.02.2011 22:00:18 Step 001 started (program RSADAUP2, variant &0000000000081, user ID 80000415)
    12.02.2011 22:01:26 Error when performing the action
    12.02.2011 22:01:26 Job cancelled after system exception ERROR_MESSAGE
    I couldn't find any logs in SM21 of that time also no dumps in ST22.
    Possible reason for this error:
    I have scheduled the job Check database structure (only tables) at some other time and deleted the earlier job which was scheduled during the bussiness hours which caused performance problem.
    So to avoid performance issue i scheduled this job in the mid night by cancelling the old job which was scheduled during the bussiness hours.
    And from the next day i could see this error in DB13.
    Rest all the backups are running fine but the only job getting cancelled is for "Mark tables requiring statistics update"
    Could anyone tell me what should i do to get rid of this error?
    Can i schedule this "Mark tables requiring statistics update" again by deleting the old one?
    Thanks.
    Regards.
    Mudassir Imtiaz

    Hello Adrian,
    Thanks for your response.
    Every alternate day we used to have performance issue at 19:00hrs.
    Then when i checked what is causing this problem, i discovered that there was a backup "Check Database Structure (tables only)" scheduled at this time and it was mentioned that this backup may cause performance issue.
    Then i changed "Check Database Structure (tables only)" the time of this backup to 03:00hrs.
    The next day when i checked DB13 i found that one of the backups failed.
    i.e. "Mark Tables Requiring Statistics Update"
    Then i checked the log which i posted earlier with the error: "Job cancelled after system exception ERROR_MESSAGE"
    I posted this error here and then i tried to delete the jobs scheduled i.e. "Mark Tables Requiring Statistics Update" and then re-schedule it at the same time and interval.
    And then it started working fine.
    So i just got curious to know the cause of the failure of that job.
    Thanks.
    Regards,
    Mudassir.Imtiaz
    P.S There is one more thing which i would like to say which is not related to the above issue, and m sorry to discuss this in this thread.
    I found a few Bottlenecks in ST04 with Medium and High priority.
    Medium: Selects and fetches selectivity 0.53%: 122569 selects and fetches, 413376906 rows read, 2194738 rows qualified.
    High: 108771 primary key range accesses, selectivity 0.19%: 402696322 rows read, 763935 rows qualified.
    There are a lot these.
    I would really appreciate if you tell me what is the cause for these Bottlenecks and how to resolve.
    Thanks a lot.

  • Acrobat X freezes when I run a JavaScript Action after about 200 files.

    Acrobat X freezes when I run a JavaScript Action after about 200 files, batches with less than 200 files work well.  I can watch the Acrobat.exe process in the resource monitor and when the Threads reach about 2000 and the Working Memory reaches 500mb, Acrobat freezes.  The JavaScript creates 2 redaction areas, applies the redaction, then saves the file to another location.  I've tested it on both Windows Server 2008 and Win7 32bit. I'm running Acrobat X Pro fully update to 10.1.10.

    It is possible to have the Redaction tool search for a text string across multiple PDFs without using the "Action" wizard or batch processing. You will have to learn the exact steps to properly set the properties for each string of text. You can also review the items marked for redaction and either accept, remove or adjust as needed each one.
    There are 3rd party tools that can also redact PDFs and they existed long before this feature was added to Acrobat. Appligent Document Solutions Redax..
    Appligent even has a server based product for large amount of files or using watched folders.

  • Setting 1 dimension in ROLAP mode cause issues, the system try to filter on dynamic set names!

    Hi,
    I suffer a strange behavior.
    I have an SSAS 2014 solution which works fine.
    I do some test to convert 1 dimension in ROLAP mode.
    (all the other dimensions and partitions are MOLAP only)
    after this I cant process any cube!!!
    even a process clear or structure runs forever!!!
    the server call the dimension and try to filter the attributes using the name of dynamic sets setup in my cube! a real non-sense!
    I have a dynamic set in my cube called "SelectedStores"
    and during the process clear or structure, SSAS try to filter my dimension using this dynamic set.
    so for sure this values doesn't exists in my dimension.
    Also a lot of errors like the following are generated:
    OLE DB error: OLE DB or ODBC error: Conversion failed when converting the nvarchar value 'SelectedStores' to data type int.; 22018.
    its a big non-sense!!!
    any idea on the cause for this?
    thanks.

    Hi Willgart,
    According to your description, you get conversion error after you change the storage into ROLAP. Right?
    After you change into ROLAP, it seems there is something (structure/definition) changed in the underlying table. Please use the BIDSHelper to check the issue:
    Dimension Data Type Discrepancy Check
    Dimension Health Check
    In this scenario, does you dynamic set is used in calculated member and involve both MOLAP and ROLAP dimension? It may cause some mismatch issue. Please refer to links below:
    Error Messages during process of ROLAP dimension when using DYNAMIC SET
    in CALCULATE MEMBERs
    SSAS cube failing for storage mode Rolap
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou
    TechNet Community Support

  • ADF 11g How to prevent reinvokation method action after error

    We have a page with an action binding that is invoked automaticaly on entering the page:
    <executables>
    <invokeAction id="invokeProcess" Binds="process"/>
    If an error (exeption) occurs the invoke action will be called 5 times. This is that our underlying BPEL-Process is also invoked 5 times.
    How can we prevent the resubmit after an exception occures?

    How are you bringing this up for edit? Via a dialog?
    Have you looked at "setCurrentRowWithKeyStr" operation in the page def? Our application uses dialogs for editing one row at a time, when the user clicked on the row via a command link, we call setCurrentRowWithKey to make sure the view object's iterator cursor is at the right location when this record is brought up for edit.

  • Failing over after WRITE_ERROR_TO_SERVER exception in sendRequest()

    Hi
    I am getting below error in my issproxy.log file. I wanted to see the source of this URL.cpp file to find out why it is failing. I am not able to open them using DLL decompiler as well.
    Could anyone tell me where can I get the source code for iisproxy.dll and iisforward.dll ?
    This request is failing only when the request is routed from IIS.
    ================New Request: [/GLMS/index.jsp.wlforward] =================
    Mon Nov 24 14:19:48 2014 <503614168189882> SSL must be used
    Mon Nov 24 14:19:48 2014 <503614168189882> Initializing SSL
    Mon Nov 24 14:19:48 2014 <503614168189881> INFO: Initializing SSL library
    Mon Nov 24 14:19:48 2014 <503614168189881> timer thread starting
    Mon Nov 24 14:19:48 2014 <503614168189881> Loaded 1 trusted CA's
    Mon Nov 24 14:19:48 2014 <503614168189881> sysMkdirs() on 'C:\windows\TEMP\_wl_proxy':
    Mon Nov 24 14:19:48 2014 <503614168189881> getWLFilePath: Complete File name = [C:\windows\TEMP\_wl_proxy\orbrandom.txt]
    Mon Nov 24 14:19:48 2014 <503614168189881> INFO: Successfully initialized SSL
    Mon Nov 24 14:19:48 2014 <503614168189882> SSL configured successfully
    Mon Nov 24 14:19:48 2014 <503614168189882> resolveRequest: wlforward: /TEST/index.jsp
    Mon Nov 24 14:19:48 2014 <503614168189882> URI is /GLMS/index.jsp, len=15
    Mon Nov 24 14:19:48 2014 <503614168189882> Request URI = [/TEST/index.jsp]
    Mon Nov 24 14:19:48 2014 <503614168189882> attempt #0 out of a max of 50
    Mon Nov 24 14:19:48 2014 <503614168189882> Trying a pooled connection for 'XX.XX.XX.XX/7002/7002'
    Mon Nov 24 14:19:48 2014 <503614168189882> getPooledConn: No more connections in the pool for Host[XX.XX.XX.XX] Port[7002] SecurePort[7002]
    Mon Nov 24 14:19:48 2014 <503614168189882> general list: trying connect to '192.168.17.180'/7002/7002 at line 1306 for '/GLMS/index.jsp'
    Mon Nov 24 14:19:48 2014 <503614168189882> New SSL URL: match = 0 oid = 22
    Mon Nov 24 14:19:48 2014 <503614168189882> Connect returns -1, and error no set to 10035, msg 'Unknown error'
    Mon Nov 24 14:19:48 2014 <503614168189882> EINPROGRESS in connect() - selecting
    Mon Nov 24 14:19:48 2014 <503614168189882> Setting peerID for new SSL connection
    Mon Nov 24 14:19:48 2014 <503614168189882> c0a8 11b4 5a1b 0000                          ....Z...
    Mon Nov 24 14:19:48 2014 <503614168189882> Local Port of the socket is 57397
    Mon Nov 24 14:19:48 2014 <503614168189882> Remote Host xx.xx.xx.xx Remote Port 7002
    Mon Nov 24 14:19:48 2014 <503614168189882> general list: created a new connection to 'XX.XX.XX.XX'/7002 for '/GLMS/index.jsp', Local port: 57397
    Mon Nov 24 14:19:48 2014 <503614168189882> WLS info in sendRequest:  XX.XX.XX.XX:7002 recycled? 0
    Mon Nov 24 14:19:48 2014 <503614168189882> Hdrs from client:[Accept]=[application/x-ms-application, image/jpeg, application/xaml+xml, image/gif, image/pjpeg, application/x-ms-xbap, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*]
    Mon Nov 24 14:19:48 2014 <503614168189882> Hdrs from client:[Accept-Encoding]=[gzip, deflate]
    Mon Nov 24 14:19:48 2014 <503614168189882> Hdrs from client:[Accept-Language]=[en-IN]
    Mon Nov 24 14:19:48 2014 <503614168189882> Hdrs from client:[Cookie]=[ADMINCONSOLESESSION=9fTkJypQ229r1ZHx6cQZG8cwHb0T0ssW8TkM7zyzzCVvNzjzDsf2!1779325670; JSESSIONID=GcZVJyXT8WMyv9pT8xGNzndSPCbBCcy1tfm5yRG1DSv8PhT97gv9!1779325670; _WL_AUTHCOOKIE_ADMINCONSOLESESSION=WcL9RbOJFiDqn3LiZO0g]
    Mon Nov 24 14:19:48 2014 <503614168189882> Hdrs from client:[Host]=[localhost]
    Mon Nov 24 14:19:48 2014 <503614168189882> Hdrs from client:[User-Agent]=[Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)]
    Mon Nov 24 14:19:48 2014 <503614168189882> URL::sendHeaders(): meth='GET' file='/GLMS/index.jsp' protocol='HTTP/1.1'
    Mon Nov 24 14:19:48 2014 <503614168189882> Hdrs to WLS:[Accept]=[application/x-ms-application, image/jpeg, application/xaml+xml, image/gif, image/pjpeg, application/x-ms-xbap, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*]
    Mon Nov 24 14:19:48 2014 <503614168189882> Hdrs to WLS:[Accept-Encoding]=[gzip, deflate]
    Mon Nov 24 14:19:48 2014 <503614168189882> Hdrs to WLS:[Accept-Language]=[en-IN]
    Mon Nov 24 14:19:48 2014 <503614168189882> Hdrs to WLS:[Cookie]=[ADMINCONSOLESESSION=9fTkJypQ229r1ZHx6cQZG8cwHb0T0ssW8TkM7zyzzCVvNzjzDsf2!1779325670; JSESSIONID=GcZVJyXT8WMyv9pT8xGNzndSPCbBCcy1tfm5yRG1DSv8PhT97gv9!1779325670; _WL_AUTHCOOKIE_ADMINCONSOLESESSION=WcL9RbOJFiDqn3LiZO0g]
    Mon Nov 24 14:19:48 2014 <503614168189882> Hdrs to WLS:[Host]=[localhost]
    Mon Nov 24 14:19:48 2014 <503614168189882> Hdrs to WLS:[User-Agent]=[Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)]
    Mon Nov 24 14:19:48 2014 <503614168189882> Hdrs to WLS:[Connection]=[Keep-Alive]
    Mon Nov 24 14:19:48 2014 <503614168189882> Hdrs to WLS:[WL-Proxy-Client-IP]=[::1]
    Mon Nov 24 14:19:48 2014 <503614168189882> Hdrs to WLS:[Proxy-Client-IP]=[::1]
    Mon Nov 24 14:19:48 2014 <503614168189882> Hdrs to WLS:[X-Forwarded-For]=[::1]
    Mon Nov 24 14:19:48 2014 <503614168189882> Hdrs to WLS:[WL-Proxy-Client-Keysize]=[128]
    Mon Nov 24 14:19:48 2014 <503614168189882> Hdrs to WLS:[X-WebLogic-KeepAliveSecs]=[30]
    Mon Nov 24 14:19:48 2014 <503614168189882> Hdrs to WLS:[X-WebLogic-Force-JVMID]=[unset]
    Mon Nov 24 14:19:48 2014 <503614168189882> Hdrs to WLS:[WL-Proxy-SSL]=[true]
    Mon Nov 24 14:19:48 2014 <503614168189881> WARN: GetSessionCallback: No session match found
    Mon Nov 24 14:19:48 2014 <503614168189881> WARN: DeleteSessionCallback: No match found!!
    Mon Nov 24 14:19:48 2014 <503614168189882> ERROR: SSLWrite failed
    Mon Nov 24 14:19:48 2014 <503614168189882> SEND failed (ret=-1) at 805 of file ..\nsapi\.\URL.cpp
    Mon Nov 24 14:19:48 2014 <503614168189882> *******Exception type [WRITE_ERROR_TO_SERVER] raised at line 806 of ..\nsapi\.\URL.cpp
    Mon Nov 24 14:19:48 2014 <503614168189882> Marking xx.xx.xx.xx:7002 as bad
    Mon Nov 24 14:19:48 2014 <503614168189882> Exception occurred for backend host 'XX.XX.XX.XX/7002/0' while sending request : 'WRITE_ERROR_TO_SERVER [os error=0,  line 806 of ..\nsapi\.\URL.cpp]: '
    Mon Nov 24 14:19:48 2014 <503614168189882> got exception in sendRequest phase: WRITE_ERROR_TO_SERVER [os error=0,  line 806 of ..\nsapi\.\URL.cpp]:  at line 1019; last_error 0
    Mon Nov 24 14:19:48 2014 <503614168189882> INFO: Closing SSL context
    Mon Nov 24 14:19:48 2014 <503614168189882> Failing over after WRITE_ERROR_TO_SERVER exception in sendRequest()

    yes that is right.
    Essentially you should be doing one of the following on weblogic side:
    1) Installed Certs on weblogic that were obtained from a commercial CA. (like verisign, thawte etc)
    In this case, you will receive rootCA crt along with the other bundled certs and private key.
    these rootCA certs are publicly available (your browser will be already using them)
    2) Using certs signed by your company. (companies can maintain their own CA)
    In this case you should be having a rootCA cert from your company.
    3) using demo certs that were shipped with weblogic.
    In this case, the rootca cert can be obtained from DemoTrust.jks
    this is documented at http://e-docs.bea.com/wls/docs90/plugins/isapi.html#114851 (should be same for any plugins)
    Apache plug-in can understand .crt extension.
    -Vijay

  • SQL Query: How to search on a dynamic set of patterns?

    Hello,
    I have a requirement where I need to search a table with dynamic set of patterns. Here is something I am looking for:
    select * from T1 where C1 LIKE 'AA%' or C1 LIKE 'BB%' ...
    That is, the number of patterns is unknown, it could be 0 or 1 or more. I cannot use the IN clause because this requires exact match.
    Can you please help in letting me know how to do this?
    Thanks a lot

    Dear,
    +In your last statement you mentioned "like C2||'%'".
    I can't use this because C2 is the name of a column in table T2.+
    Did you try this and you got an error or you are "concluding you can't" use this because C2 is name of a column?
    Please try it. If you run into error, please post the error and you query.
    Also...
    1. When posting code, use BEFORE and AFTER the code, to format it nicely. It makes it easier to read.
    2. In you posting questions include sample table,data expected output and your attempt in solving the problem. this will make it easier on everyone to help sooner and more effectively.
    Best way to learn, SQL programming is to try it out.
    So please try the sample and the suggestion and let us know if you get any error.
    vr
    Sudhakar B.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Oracle 11.2.0.2 NLS_* parameters dynamically set

    Hello guys,
    I just did a systemcopy for an ERP system (r3load) and imported the export into the newest Oracle database (11.2.0.2) on Windows. Everything went fine apart from one strange parameter "error".
    After the installation when executing the automatic parameter script (note 1171650) there are obviously some parameters dynamically set (nls_*):
    nls_calendar    -> parameter was dynamically changed; no reliable recommendation can be given
    nls_comp         -> parameter was dynamically changed; no reliable recommendation can be given
    nls_currency    -> parameter was dynamically changed; no reliable recommendation can be given
    nls_date_format   -> parameter was dynamically changed; no reliable recommendation can be given
    nls_date_language     -> parameter was dynamically changed; no reliable recommendation can be given
    nls_dual_currency    -> parameter was dynamically changed; no reliable recommendation can be given
    nls_iso_currency      ->  parameter was dynamically changed; no reliable recommendation can be given
    nls_language            ->  parameter was dynamically changed; no reliable recommendation can be given
    nls_numeric_characters       ->  parameter was dynamically changed; no reliable recommendation can be given
    nls_sort               -> parameter was dynamically changed; no reliable recommendation can be given
    nls_territory            ->  parameter was dynamically changed; no reliable recommendation can be given
    nls_time_format        ->  parameter was dynamically changed; no reliable recommendation can be given
    nls_time_tz_format     ->  parameter was dynamically changed; no reliable recommendation can be given
    nls_timestamp_format      ->  parameter was dynamically changed; no reliable recommendation can be given
    nls_timestamp_tz_format    ->  parameter was dynamically changed; no reliable recommendation can be given
    SQL> show parameter nls_calendar
    NAME                                 TYPE        VALUE
    nls_calendar                         string      GREGORIAN
    You cannot delete them as they are not configured in the spfile. I did not have those messages with previous Oracle 11.2.0.1 installations.
    Does anybody know whats that about?
    Best regards
    Nik

    Hi there,
    Thanks for your replies. OS is Win. Serv. 2008 R2.
    @Orkun
    NLS_LANGUAGE                             AMERICAN
    NLS_TERRITORY                            AMERICA
    NLS_CURRENCY                             $
    NLS_ISO_CURRENCY                         AMERICA
    NLS_NUMERIC_CHARACTERS                   .,
    NLS_CALENDAR                             GREGORIAN
    NLS_DATE_FORMAT                          DD-MON-RR
    NLS_DATE_LANGUAGE                        AMERICAN
    NLS_CHARACTERSET                         UTF8
    NLS_SORT                                 BINARY
    NLS_TIME_FORMAT                          HH.MI.SSXFF AM
    NLS_TIMESTAMP_FORMAT                     DD-MON-RR HH.MI.SSXFF AM
    NLS_TIME_TZ_FORMAT                       HH.MI.SSXFF AM TZR
    NLS_TIMESTAMP_TZ_FORMAT                  DD-MON-RR HH.MI.SSXFF AM TZR
    NLS_DUAL_CURRENCY                        $
    NLS_NCHAR_CHARACTERSET                   UTF8
    NLS_COMP                                 BINARY
    NLS_LENGTH_SEMANTICS                     BYTE
    NLS_NCHAR_CONV_EXCP                      FALSE
    It looks quite similiar apart from the NLS_CHARACTERSET but it is in fact an unicode system. OS settings (env+regional settings) are exactly the same (same OS template) as on other systems on 11.2.0.1 where I don't have this "problem". This problem persists directly after a fresh SAP installation with SAPINST (newest inst. master NW 7.0 SR3, 51040125_11)  and even after adapting all parameters recommended by SAP as per note mentioned above.
    @Eduardo: I did not change any of these parameters with the scope memory or spfile. I also restarted the db + os a couple of times. Still the same result.
    Best regards
    Nik

  • How to use a formula for dynamic New Page After?

    There is a formula for dynamic New Page After.
    How do I get value of formula?
    I am using RAS and the ReportClientDocument.

    There is a section object.  Off that there is a format property that is of type sectionformat.  From there there is a ConditionFormulas property which I believe is a collection of all the formulas you can set for a section.

  • How do I disable the setting of the jbo.ApplicationCookie

    Hi,
    I am using BC4J with struts and have all my action mappings set to "stateless" releasemode. A cookie is still being set with the name "jbo.ApplicationCookie" and a value of "-1".
    The problem I'm having is that I'm working in an environment with mulitiple servers being loadbalanced by a hardware device, so there's no gaurantee that an individual user will land on the same server from request to request. I'm getting the error:
    oracle.jbo.common.ampool.ApplicationPoolException: JBO30006: The cookie for session A50D3FE5149C50CC0280FE083D3C4866 and application AccountService is not a valid handle for application pool, AccountServiceLocal. The cookie may not be used to access this pool instance.
    at oracle.jbo.common.ampool.ApplicationPoolImpl.validateSessionCookieInPool(ApplicationPoolImpl.java:2477)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2034)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:398)
    at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:230)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:369)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:364)
    at oracle.jbo.html.BC4JContext.getApplicationModule(BC4JContext.java:152)
    ...and so on...
    can I just disable the setting of the jbo.ApplicationCookie altogether as I'm operating in stateless mode anyway??

    Ok, so the long identifier appears like it might be the Tomcat session identifier, which may very well be timed out as we have our session timeout parameter set very low. However, why should this foul up the Application Module pool when I'm running in "Stateless" mode?..Seems like an unnecessary dependency.
    oracle.jbo.common.ampool.ApplicationPoolException: JBO-30006: The cookie for session 1A6D244B9C1E0EBA88A2FDF8DAB2957E and application AccountService is not a valid handle for application pool, AccountServiceLocal. The cookie may not be used to access this pool instance.
    at oracle.jbo.common.ampool.ApplicationPoolImpl.validateSessionCookieInPool(ApplicationPoolImpl.java:2477)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2034)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:398)
    at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:230)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:369)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:364)
    at oracle.jbo.html.BC4JContext.getApplicationModule(BC4JContext.java:152)

Maybe you are looking for

  • Error when posting - Call up of feature PPMOD was not successful

    Good Afternoon, We recently completed an upgrade to ECC6.0 and this week we have seen two cases of receiving an error when trying to post payroll to FI using RPCIPE00. The error we are receiving is:  Call up of feature PPMOD was not successful, Messa

  • How to manage a deck?

    I do edit in my mac g4, and I do use a deck DSR11 without a problem, but now I am trying to edit in my macbook with the same deck, via firewire and the computer not even reconized the firewire, someone knows what shoul I do?

  • Let me know the standary primary key tables in standard table??

    let me know the standary primary key tables in standard table??

  • Drawing from another class

    I have a class Score and in that lcass I have the following method:   * Draw the score to the applet windows   * @param g The graphics object public void draw(Graphics g, int x, int y)   calculateScore();   String stringScore = new Integer(usersScore

  • File with all photos disappeared

    Hi all,      A few days ago, I finished sorting out my thousands of pictures out into neat files, which I then stored on a main file on my Desktop. When I was done, I dragged that file from the Desktop to Finder, under the menu on the left, where it