Javax.el.PropertyNotWritableException: ValueExpression is a literal and not

Hi,
How to set values in pageFlowScope using af:setPropertyListener. Im using the below code, but getting javax.el.PropertyNotWritableException: ValueExpression is a literal and not writable exception.
<af:iterator id="i15"
value="#{bean.itrList}"
var="foo">
<af:panelList id="pl5"rendered="#{!empty foo.desc}">
<af:group id="g7">
<af:commandLink action="callFunction" text="#{foo.pubDateFormat}" id="cl2">
<af:setPropertyListener type="action"
from="#{foo.nId}"
to="#{pageFlowScope.paramID}"/>
</af:commandLink>
<af:commandLink action="callFunction" text="#{foo.title}" id="cl3">
<af:setPropertyListener from="#{foo.nId}"
to="#{pageFlowScope.paramID}"
type="action"/>
</af:commandLink>
</af:group>
</af:panelList>
</af:iterator>
Please suggest.

Hi Frank,
Thanks.I figured out the issue after lot of debugging. In the destination page i did some mistake, because of that it is not working, Now i fixed it.
Can you please tell how find exactly where the issue is getting raised, bcoz in this case the source page dint had any issue only the destination page.

Similar Messages

  • EL being printer literally and not evaluted.

    Hello, I am using EL in some of my pages but instead of it being evaluated it is instead printing literally. Below is my web.xml file
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <web-app xmlns="http://java.sun.com/xml/ns/javaee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
    version="2.5">
    <display-name>Jsp_Ex05 � Expression Language</display-name>
    <welcome-file-list>
    <welcome-file>welcome.jsp</welcome-file>
    </welcome-file-list>
    </web-app>I am using tomcat 5.5 and J2EE 5. I can make the EL work if i use <%@ page isELIgnored="false" %>in my pages but I don't want to have to do this in ever page. I have tried explicitly making it available via my web.xml file but it still won't work. The only way it will work is if I use the above line in each page.
    Anyone have any ideas what might be the cause?
    Cheers

    Tomcat 5.5 is compliant with J2EE1.4 - ie Servlet2.4/JSP2.0
    The web.xml you have here is for version 2.5
    You will need at least Tomcat6 to support J2EE5 (Servlet2.5/JSP2.1)
    Try making your web.xml correspond to the 2.4 and see if it works then.
    It should work with standard ${expr} but won't with #{expr}
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
        version="2.4">
    <display-name>Jsp_Ex05 � Expression Language</display-name>
    <welcome-file-list>
    <welcome-file>welcome.jsp</welcome-file>
    </welcome-file-list>
    </web-app>Cheers,
    evnafets

  • Javax.faces.ViewState value starts with '%' and not with '!'

    While recording and ADF Application on JMeter, what should the regular expression extractor be when the javax.faces.ViewState recorded value starts with '%' and not with '!'.
    I have been following the following link and it talks only about javax.faces.ViewState values that start with '!'
    http://one-size-doesnt-fit-all.blogspot.in/2010/04/configuring-apache-jmeter-specifically.html

    Hi,
    If '!' present in first position of string, you need to remove it or replace it in transformation.
    Following is the  sample code...
    loop at SOURCE_PACKAGE into ls_SOURCE_PACKAGE.
          record_num = sy-tabix.
          IF ( ls_SOURCE_PACKAGE-fieldname(1) = '!' ).
            ls_SOURCE_PACKAGE-fieldname(1) = '' .
    ENDIF.
        MODIFY SOURCE_PACKAGE INDEX record_num FROM LS_SOURCE_PACKAGE.
      ENDLOOP.
    Hope this helps..

  • SQL LOADER and ORA-01861: literal does not match format string

    Hi,
    I've to load data through control_file(.ctl) into oracle table through sqlldr. Oracle 11g, win xp.
    as soon as I use - sqlldr dss/dss control=orders.ctl I get error or nothing.
    Text file that is generated after loading fails has the following error.
    Record 1: Rejected - Error on table ORDERS, column O_ORDERDATE.
    ORA-01861: literal does not match format string
    I have checked the format of data to be loaded into Orders table is like this : *1996-01-02.*
    I checked the format of data in my database by querying sysdate from dual i.e. 10-JAN-10
    I thought that changing its format might solve my problem so i tried this:
    SQL> alter session set nls_date_format='YYYY-MM-DD';
    Session altered.
    SQL> select sysdate from dual;
    SYSDATE
    2010-01-10but still i'm getting the same error. I've to load millions of data. how I can solve this issue.
    Please suggest.
    Thanks alot.
    Best Regads,
    Kam

    Hi,
    It's strange ....nobody knew it?. I think this type of load problem will be very common isn't it.... where date column data is in a different format than in the db i.e.
    How to change *1996-01-02* in the Control_file to make it able to load in the table where sysdate is like this: *11-JAN-10*
    Sample data to be loaded is :
    1|36901|O|173665.47|1996-01-02|5-LOW|Clerk#000000951|0|nstructions sleep furiously among |
    Desc Orders
    O_ORDERDATE NOT NULL DATEI have tested this by creating a test table and a test control file by omitting this O_ORDERDATE and then everything was fine, data was inserted but don't know how to load this DATE also.
    Also not able to understand about POSITION in the control file...?
    Regards,
    Kam

  • String literal is not properly closed by a double-quote

    Hi,
    In my Java Class, this message appears:
    String literal is not properly closed by a double-quote
    LINE: The red part of the statement.
    Please help! Thanks!
    package demo;
    import javax.persistence.EntityManager;
    import javax.persistence.EntityManagerFactory;
    import javax.persistence.Persistence;
    public class Flights {
         private EntityManagerFactory emf;
        private EntityManager getEntityManager() {
            if (emf == null) {
                emf = Persistence.createEntityManagerFactory("Flights");
            return emf.createEntityManager();
        public Flights[] getFlights() {
            EntityManager em = getEntityManager();
            try {
                javax.persistence.Query q = em.createQuery("SELECT /*+ INDEX(lh_master_q lh_master_pk)*/ DISTINCT to_char(FD.FLIGHT_DATE, 'DY')||'.'|| FD.FLIGHT_DATE AS DATE_HEADER,
      FD.FLIGHT_DATE AS TRAVEL_DATE,
      B.CITY                       AS LEAVING,
      LM.STD                       AS DEPART,
      C.CITY                       AS ARRIVING,
      LM.STA                       AS ARR,
      LM.FNR                       AS FLIGHT,
      E.CARRIER                    AS AIRLINE,
      LM.ACTYPE                    AS AIRCRAFT,
      LM.ACTYPEFULLNAME            AS EQUIP,
      LM.STD ||' '|| LM.DEP ||' - '|| LM.STA ||' '|| LM.ARR AS SCHEDULE,
      B.CITY ||' - '|| C.CITY AS ROUTE
      MAX(CASE WHEN FA.BOOKING_CLASS = 'S' AND p_num_adt > 1 THEN (ROUND(FA.LH_FARE_EUR, 2)* p_num_adt) END) AS ECONOMY_SAVER,
      MAX(CASE WHEN FA.BOOKING_CLASS = 'H' AND p_num_adt > 1 THEN (ROUND(FA.LH_FARE_EUR, 2)* p_num_adt) END) AS ECONOMY,
      MAX(CASE WHEN FA.BOOKING_CLASS = 'B' AND p_num_adt > 1 THEN (ROUND(FA.LH_FARE_EUR, 2)* p_num_adt) END) AS ECONOMY_FLEXIBLE,
      MAX(CASE WHEN FA.BOOKING_CLASS = 'Z' AND p_num_adt > 1 THEN (ROUND(FA.LH_FARE_EUR, 2)* p_num_adt) END) AS BUSINESS,
      MAX(CASE WHEN FA.BOOKING_CLASS = 'D' AND p_num_adt > 1 THEN (ROUND(FA.LH_FARE_EUR, 2)* p_num_adt) END) AS BUSINESS_FLEXIBLE,
      MAX(CASE WHEN FA.BOOKING_CLASS = 'F' AND p_num_adt > 1 THEN (ROUND(FA.LH_FARE_EUR, 2)* p_num_adt) END) AS FIRST_CLASS
    FROM LH_MASTER_Q LM, LH_FLIGHT_DATE FD, AIRPORTS_LOOKUP B, AIRPORTS_LOOKUP C, CARRIERS E, LH_FARES FA, LH_SERVICE_CLASS SC, LH_CABIN_CLASS CC
    WHERE LM.ROWNR = FD.FLIGHT_LEG_ID
       AND LM.DEP = FA.FROM_AP
       AND LM.ARR = FA.TO_AP
       AND LM.DEP = B.IATA_CODE
       AND LM.ARR = C.IATA_CODE
       AND LM.AL = E.CARRIER_CODE
       AND FA.BOOKING_CLASS = SC.BKG_CLASS_ID
       AND SC.CABIN_CLASS_ID = CC.CABIN_CLASS_ID
       AND LM.ACTYPE = FD.AIRCRAFT_TYPE
       AND B.CITY_CODE = :p_leaving
       AND C.CITY_CODE = :p_arriving
       AND CC.CABIN_CLASS_NAME = :p_class
       AND E.CARRIER = :p_airline
       AND FD.FLIGHT_DATE = :p_outbound
    GROUP BY FD.FLIGHT_DATE,
             to_char(FD.FLIGHT_DATE, 'DY')||'.'|| FD.FLIGHT_DATE,
             B.CITY,
             LM.STD,
             C.CITY,
             LM.STA,
             LM.FNR,
             E.CARRIER,
             LM.ACTYPE,
             LM.ACTYPEFULLNAME,
             LM.STD ||' '|| LM.DEP ||' - '|| LM.STA ||' '|| LM.ARR,
             B.CITY ||' - '|| C.CITY,
             to_char(FD.FLIGHT_DATE, 'DY')
    ORDER BY Depart;");
                return (Flights[]) q.getResultList().toArray(new Flights[0]);
            } finally {
                em.close();
    }

    From the Java specification (http://docs.oracle.com/javase/specs/jls/se5.0/html/lexical.html#3.10.5):
    It is a compile-time error for a line terminator to appear after the opening " and before the closing matching ".
    In other words, string literals cannot span lines.
    You can use the concatenation operator ( + ) to fix this:
    String myLiteral = "A long line " +
    "Another long line " +
    "Another long line, etc.";
    If you're going to ever print out that string literal (like for debugging purposes), it would probably be better to have a return at the end of each line (\n):
    String myLiteral = "A long line\n" +
    "Another long line\n" +
    "Another long line, etc.";
    Edited by: user739461 on Mar 5, 2012 8:10 AM

  • Just bought new Palm and not sure how to set it up best to sync

    I just bought a new Palm TX. The manual says to connect the sync cable to palm and to computer usb port and connect a/c adapter to palm and an outlet and charge for 3 hrs which I'm getting ready to do. Before I start setting up my whole system I to am trying to determine a couple of things first.
    Based on all forums I've read today, I want to use the missing sync with ical and address book rather than palm desktop. I also plan to sync using bluetooth rather than usb. (My goal plan is to use this set up to digitally implement kgtd - so the categories issue is key for me).
    Thus I wonder, is there any reason to insert the palm desktop software cd and/or install isync palm conduit. It seems missing sync 5.x replaces isync palm conduit and installation of the missing sync will remove the isync palm conduit anyway.
    Is there anything I will possibly miss with palm functionalities if I don't use that CD first and then switch to missing sync? Are there any pros or cons to loading isync palm conduit and Palm hotsync software and then switching almost immediately to missing synch with ical and address book. I guess what I'm wondering is, are there anything from the CD that I need or downloads or updates that I initially need to get that I can't get without new palm software installed initially rather than only having the missing sync installed.
    On the other hand, are there benefits in immediately installing missing sync and not bothering with mucking things up with the new isync palm conduit and palm hotsync being on my system.
    I seem to have isync 2.3 automatically from 10.4.8. I am afraid to, at least initially, upgrade to 10.4.9 given the many problems that seem to be reported from the upgrade regarding syncing and I have very little in ical or address book as of yet and an old palm desktop 4.2.1 that I haaven't used in over a year. I am not interested at this point in transfering anything from the old palm desktop (not so much there either and none of it current) although would be interested in (unless told it could cause other problems for me or be in any way suboptimal) keeping it as a sort of archive.
    Also, why do I need to connect the USB port while doing the initial charge if the plan is to use bluetooth? Any pros or cons in doing/ not doing this - both using bluetooth and connecting the USB cable during the initial charge?
    Any guidance on some or all of these things would be greatly appreciated.
    iBookG4   Mac OS X (10.4.8)   palm tx
    iBookG4   Mac OS X (10.4.8)   palm tx

    Welcome to Apple Discussions.
    Great questions, and we'll attack them one at a time.
    Q: '…is there any reason to insert the Palm Desktop software CD and install the iSync Palm Conduit?'
    A: Actually, yes - there is. Mark/Space very strongly recommends that you perform one last synchronization event with the Address Book and iCal using iSync and the iSync Palm Conduit prior to installing and configuring the Missing Sync. It is therefore necessary that you synchronize using iSync and the iSync Palm Conduit at least once prior to your initial use of the Missing Sync for Palm OS, and iSync and the iSync Palm Conduit require that the HotSync Manager and Transport Monitor—components of the Palm Desktop—be installed in order for iSync to launch, supervise and terminate a synchronization session with a Palm device.
    Q: '… are there benefits in immediately installing the Missing Sync and not bothering with… …the new iSync Palm Conduit and Palm HotSync…'
    A: No. It is critical that you overwrite the contents of your Palm device with data from the Address Book and iCal during the first synchronization event with the Missing Sync for Palm OS. Absolutely critical. Users who skip this required step always end up with synchronization problems later. In order to do that, you have to have first equalized the contents of the Address Book and iCal with the contents of your Palm device. Otherwise, you'll be overwriting the device with empty record sets. The easiest way to equalize them is to synchronize at least once using iSync and the iSync Palm Conduit. Because the iSync Palm Conduit does not support categories, all field labels and extended attributes supported by both the Missing Sync for Palm OS and your device, you'll have some record cleanup tasks to perform as a result. But, don't skip that initial device overwrite requirement, or you'll put your data at serious risk and only spend much more time later on cleaning up the resulting mess.
    Q: 'I am afraid to, at least initially, upgrade to 10.4.9…'
    A: Don't be, though it makes little difference if you apply update before initiating the iSync synchronization, or afterward. You indicated that you have an old copy of Palm Desktop installed which you haven't used for more than a year. If that copy is not as recent as the once bundled on your CD-ROM, then install the CD-ROM copy. If they are the same version, or are different versions but neither are Palm Desktop 4.2.1 revision D, then download and install that package before configuring and using iSync. The package is available here:
    http://www.palm.com/us/support/macintosh/macdesk421revd.html
    If you aren't sure, then install this downloadable package, as it can only improve and not damage your currently installed Palm Desktop configuration.
    Q: '…why do I need to connect the USB port while doing the initial charge if the plan is to use Bluetooth?'
    You don't, although your device can obviously only charge with a USB-powered cable or cradle, or an AC adapter-powered cradle. I recommend that you initially configure it to synchronize via USB with both iSync and then with the Missing Sync for Palm OS, and then pair it using Bluetooth and synchronize using that pathway if you wish. Remember two things: while Bluetooth may be more convenient, USB moves substantially greater data in a shorter period of time—important during slow, initial synchronization events—and, the Missing Sync for Palm OS also supports network synchronization with your T|X, using it's WiFi capability. Initially using USB, later reconfiguring for Bluetooth and then for WiFi gives you literally one-button choices when using the Missing Sync for Palm OS.
    In summary, you ought to…
    • update the Palm Desktop suite to 4.2.1 revision D using the downloadable package
    • add your device to iSync via USB using the Enable Palm OS Syncing… option under the iSync Devices menu
    • be sure to change the label of any contact address you want synchronized to <home>, as iSync ignores addresses not labeled that way
    • merge the data in the Address Book and iCal with your Palm Device
    • back up the Address Book data using the Back up Address Book… option in that application
    • back up your iCal data using the Back up Database… option in that application
    • install and configure the Missing Sync for Palm OS
    • set your three Mark/Space conduits initially to overwrite your handheld with data from your computer
    • synchronize initially via USB and include the TimeCopy conduit in this effort
    • follow the Bluetooth wizard instructions in the Missing Sync to pair your device and add the Bluetooth option
    • follow the network wizard instructions enable WiFi synchronization
    • create sets of conduits appropriate for your workflow, and associate them with an interface: USB, Bluetooth or network
    • correct your handheld data to reflect address data field label changes, calendar and contact categories, and so on
    • synchronize again via any chose interface to propagate the corrected data

  • Facetime works sometimes and not others

    My fiance and I are trying to get facetime working since we currently live across states. I'm on my iPad 2 and she's on her MBP (she got one a few months before the most recent update to Sandy Bridge, fyi).
    When it comes to facetime, I can use it with my friend who has an iPhone 4 flawlessly. It literally works every single time. With my fiance, we've gotten it to work/connect 3 times total. Once while I was in the same room as her, and twice since then across our connections.
    So I don't think it's a port issue as it tends to work sometimes and not others. It feels like the software is literally just not working right. Can anyone lend a hand? A few points of interest:
    - Skype works perfectly (the resolution is just meh and you can't turn it on the iPad). So video is going through
    - It has worked before
    - When it has connected in the past, the two times it wasn't at her place, we've been randomly disconnected and unable to reconnect
    - The error it gives is on her end - Failed to connect or something like that
    Thanks for the help!

    I am having the same problem with safari and mail have to use the home button, swipe to clear memory won't work either my mini is only a few months old, so it has to be the update.

  • How to verify OC4J uses Oracle Toplink 10.x and not Toplink Essentials

    Hi,
    We dont want to use the default JPA provider "Toplink *Essentials*" that comes with OC4J. Rather we want to use Oracle Toplink 10.x
    I downloaded [Oracle Toplink 10.x|http://www.oracle.com/technology/software/products/ias/htdocs/1013topsoft.html] and followed the installation instructions:- http://www.oracle.com/technology/products/ias/toplink/doc/10131/install/install.html#CHDBBIFB
    When i deploy my EJB 3.0 appliation and invoke a JPA Entity, i can see the server log:- NOTIFICATION TopLink, version: Oracle TopLink Essentials - 2.0.1 (Build b09d-fcs (12/06/2007))
    Do i have to do any other configuration/setting to ensure that i use Oracle Toplink and not Toplink Essentials in OC4J?
    Thanks in Advance,
    Prashant Tejura
    Edited by: user1186295 on May 26, 2009 10:33 AM

    rashant,
    Hi, there are currently the following providers to choose from - you may want to consult your rep for any details on moving from 10.1.3.4 to 10.1.3.5.
    1) TopLink or EclipseLink using EclipseLink JPA - the RI for JPA for WebLogic, OC4J and GlassFish
    - EclipseLink JPA is focus of all current JPA development as part of EclipseLink and TopLink
    2) Another open-source JPA implementation like OpenJPA or Hibernate
    Deprecated:
    3) TopLink using TopLink JPA - replaced by (1) TopLink using EclipseLink JPA
    4) TopLink using TopLink Essentials JPA - replaced by (1) TopLink using EclipseLink JPA
    Changes to server.xml as follows:
    http://wiki.eclipse.org/EclipseLink/Examples/JPA/OC4J_Web_Tutorial#Modify_server.xml
    <shared-library name="oracle.persistence" version="1.0" library-compatible="true">
              <code-source path="../../../eclipselink/eclipselink.jar"/>
              <code-source path="../../../eclipselink/javax.persistence_*.jar"/>
              <import-shared-library name="oracle.jdbc"/>
         </shared-library>
    Changes to persistence.xml as follows: (container-managed JTA datasource)
    http://wiki.eclipse.org/EclipseLink/Examples/JPA/OC4J_Web_Tutorial#Persistence.xml
    <persistence version="1.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd">
    <persistence-unit name="example" transaction-type="JTA">
    <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
    <jta-data-source>jdbc/OracleDS</jta-data-source>
    <class>org.eclipse.persistence.example.jpa.server.business.Cell</class>
    <properties>
    <property name="eclipselink.target-server" value="OC4J"/>
    <property name="eclipselink.logging.level" value="FINEST"/>
    </properties>
    </persistence-unit>
    </persistence>
    You should see output similar to the following in your server log:
    http://wiki.eclipse.org/EclipseLink/Examples/JPA/OC4J_Web_Tutorial#Console_Output
    [EL Finest]: 2009-02-26 14:04:34.464--ServerSession(8634980)--Thread(Thread[HTTPThreadGroup-4,5,HTTPThreadGroup])--Begin deploying Persistence Unit example; state Predeployed; factoryCount 1
    [EL Info]: 2009-02-26 14:04:34.542--ServerSession(8634980)--Thread(Thread[HTTPThreadGroup-4,5,HTTPThreadGroup])--EclipseLink, version: Eclipse Persistence Services - ***
    [EL Fine]: 2009-02-26 14:04:35.213--Thread(Thread[HTTPThreadGroup-4,5,HTTPThreadGroup])--Detected Vendor platform: org.eclipse.persistence.platform.database.oracle.Oracle10Platform
    [EL Config]: 2009-02-26 14:04:35.26--ServerSession(8634980)--Connection(5230779)--Thread(Thread[HTTPThreadGroup-4,5,HTTPThreadGroup])--Connected: jdbc:oracle:thin:@//1y.yyy.yy.yy:1521/ORCL
         User: SCOTT
         Database: Oracle Version: Oracle Database 11g Release 11.1.0.0.0 - Production
         Driver: Oracle JDBC driver Version: 10.1.0.5.0
    [EL Finest]: 2009-02-26 14:04:35.385--UnitOfWork(5746770)--Thread(Thread[HTTPThreadGroup-4,5,HTTPThreadGroup])--PERSIST operation called on: org.eclipse.persistence.example.jpa.server.business.Cell@9107088( id: null state: null left: null right: null parent: null references: null).
    [EL Fine]: 2009-02-26 14:04:35.807--ClientSession(5748500)--Connection(6653899)--Thread(Thread[HTTPThreadGroup-4,5,HTTPThreadGroup])--INSERT INTO EL_CELL (ID, STATE, TSEQ, RIGHT_ID) VALUES (?, ?, ?, ?)
         bind => [551, null, null, null]
    thank you
    /michael
    www.eclipselink.org

  • SQL Error: ORA-01861: literal does not match format string

    Hello,
    I'm trying to do data mining on a web log which recorded one day web access information from a busy web server. I imported the data into Oracle Data miner, and created a table (WEBLOG). The idea is to create a new field, i.e. session, for the users so that each session could be thought as a representative of a user-intent (aka topic). Now based on this, data mining models would be used to cluster(group) the users based on their similarity. The first step is to prepare the data which involves using SQL queries. So first, all I did was to create a function for date and time. This is the following code I used,
    create or replace function ssndate(p_date in varchar2 default '03-01-18',
    p_time in varchar2)
    return number
    $if dbms_db_version.ver_le_10 $then
    deterministic
    $elsif dbms_db_version.ver_le_11 $then
    result_cache
    $end
    as
    begin
    return trunc((to_date(p_date||' '||p_time, 'dd-mm-yy hh24:mi:ss')
    - to_date('01-01-90','dd-mm-yy')) * (86400/2400));
    end ssndate;
    The function ssndate compiled successfully.
    The next step I took was to create a view through the following query,
    create or replace view WEBLOG_VIEWS
    as
    select (select ssndate(LOG_DATE, LOG_TIME) from dual) as "SESSION_DT",
    C_IP,
    CS_USER_AGENT,
    (CS_URI_STEM||'?'||CS_URI_QUERY) as WEB_LINK
    from WEBLOG;
    This was successful as well. The problem is in the next step where I try to do data grouping.
    create table FINAL_WEBLOG as
    select SESSION_DT, C_IP, CS_USER_AGENT,
    listagg(WEB_LINK, ' ')
    within group(order by C_IP, CS_USER_AGENT) "WEB_LINKS"
    from WEBLOG_VIEWS
    group by C_IP, CS_USER_AGENT, SESSION_DT
    order by SESSION_DT
    For this, I got the error,
    Error starting at line 1 in command:
    create table FINAL_LOG as
    select SESSION_DT, C_IP, CS_USER_AGENT,
    listagg(WEB_LINK, ' ')
    within group(order by C_IP, CS_USER_AGENT) "WEB_LINKS"
    from WEBLOG_VIEWS
    group by C_IP, CS_USER_AGENT, SESSION_DT
    order by SESSION_DT
    Error at Command Line:1 Column:7
    Error report:
    SQL Error: ORA-01861: literal does not match format string
    ORA-06512: at "DMUSER.SSNDATE", line 11
    ORA-06512: at line 1
    01861. 00000 - "literal does not match format string"
    *Cause:    Literals in the input must be the same length as literals in
    the format string (with the exception of leading whitespace).
    If the "FX" modifier has been toggled on, the literal must
    match exactly, with no extra whitespace.
    *Action:   Correct the format string to match the literal.
    I don't know where I'm going wrong with this.. the to_date function should be fine. In the data that I possess, the date and time are in no format. Example: 30118 and 0:00:09 respectively. If anyone has any clue about this I would be sincerely grateful for any help that I can get!! It's quite urgent..
    The Oracle version is 11.2.0.1.0
    Edited by: 975265 on Dec 5, 2012 5:31 PM

    975265 wrote:
    Ok.. Looks like I touched a nerve there. I apologize. I'm still a student, and this is the first time that I've tried something at this level. I'm still in the learning process, so I was hoping that someone could point me in the right direction in order to "fix" the data.Not so much touching a nerve as simply trying to implement a very very poor, but all too common, practice. Since you are a student (which we didn't know until this post) most people will cut you some slack. However, this little exchange should now be burned into your brain as you move forward. One of the very first rules of programming is to ALWAYS use the correct data types for your data. And along with that, never ever depend on implicit type conversions - always use the proper explicit conversion functions.
    And as a slight follow-on, when considering the appropriate data type, don't assume that just because we refer to a given element as a 'something number' that it is indeed a number. Telephone "numbers" are NOT numbers. U.S. Social Security "numbers" are NOT numbers. U.S. Postal Zip codes are NOT numbers. All are just character strings which, by convention, we limit to the same characters we use to represent numbers.
    And since this entire discussion came up around the representation of dates, you might want to take a look at http://edstevensdba.wordpress.com/2011/04/07/nls_date_format/
    Now, go forth and be a smarter programmer than your peers.
    Edited by: EdStevens on Dec 6, 2012 6:12 AM

  • How do you solve the error 5.7.1 missing or literal domain not allowed?

    Two weeks ago I started getting this error message when mail executed a routine send/receive cycle: 5.7.1 Missing or literal domain not allowed.  I have Verizon for ISP.  How is this corrected.

    A quick search for this error message reveals numerous other users on both Windows and Macs have this same problem with Verizon, yet no-one appears to have found any kind of resolution. 
    If you contact Verizon maybe they will be able to sort it out for you - in which case please post the answer here. If Verizon can't sort this out then maybe you need to change ISP?
    Bob

  • Error: ORA-01861: literal does not match format string

    Hi,
    I am doing a RFC-XI-JDBC scenario.
    In the CC monitoring , i am getting this error for the reciver CC:
    "Error while parsing or executing XML-SQL document: Error processing request in sax parser: Error when executing statement for table/stored proc. "TableNAMe"(structure 'STATEMENTNAME'): java.sql.SQLException: ORA-01861: literal does not match format string "
    Please guide me what can be the cause and how to solve it.
    Thanks,
    Puneet

    This is how my payload looks like :
    <?xml version="1.0" encoding="UTF-8"?>
    <ns1:MT_JDBC_REC xmlns:ns1="https:namespace.scene3">
    <STATEMENTNAME>
    <TABLE_NAME action="INSERT">
    <TABLE>ggclgis</TABLE>
    <access>
    <VALVE_ID>12584</VALVE_ID>
    <EQUNR>122</EQUNR>
    <ERNAM>12122</ERNAM>
    <INVNR>1212</INVNR>
    <GROES>1212</GROES>
    <ELIEF>123</ELIEF>
    <GWLEN>21-jul-2008</GWLEN>
    <GWLDT>12-jun-2006</GWLDT>
    <SERGE>wqwqw</SERGE>
    <TYPBZ>wqwqwq</TYPBZ>
    </access>
    </TABLE_NAME>
    </STATEMENTNAME>
    </ns1:MT_JDBC_REC>
    Please tell me if it looks fine.

  • Sync Issue: A string literal was not closed

    Hi, my sharepoint has stopped syncing to skydrive. The issue I see is 
    Error Details:
    Unable to parse SOAP response. XML Error: 0x-1072896672 'A string literal was not closed.
    Can someone please help.
    Thanks a lot.

    Hi BlingSingh,
    According to your error message, it says that a XML file  misses a closing tag and the skydrive client cannot parse SOAP response.
    For the issue, please make sure your User profile service  is  running correctly  and the My Site configure process is correct.
    Also try to stop syncing the library and then re-syncing the library. Reference: Stop
    syncing a library with SkyDrive Pro.
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • ORA-01861 literal does not match format string, ORA-02063preceding line fro

    We have upgraded a client from 8.0.5 to 9.2.03. The following query is called from a report that was built using Cold Fusion5. It worked in 8.0.5, but not 9.2.03. When you run the report you get the errors
    [Oracle][ODBC][Ora]ORA-01861: literal does not match format string ORA-02063: preceding line from FRPE
    Here's the query:
    SELECT x.acct, x.obj, x.offn, x.status, x.asofdate, max( decode( x.func_id, 1, t, null ) ) UOB, max( decode( x.func_id, 12, t, null ) ) COB, max( decode( x.func_id, 24, t, null ) ) Rate_Warning, max( decode( x.func_id, 2, t, null ) ) Sector_Change, max( decode( x.func_id, 2006, t, null) ) FRRFRD , max( decode( x.func_id, 2003, t, null ) ) No_Tcode , max( decode( x.func_id, 2004, t, null) ) No_Sector FROM ( SELECT a.acct, a.func_id, count(*) cnt, 'Fail' t, b.obj, b.offn, b.status,a.asofdate FROM frpfaud@FRPE a, frpair@FRPE b WHERE a.acct=b.acct AND a.asofdate='2008-02-29 00:00:00' AND b.bnk not like 'B%' and b.obj not in ('KL') and b.obj in ('GAF') GROUP BY a.acct, a.func_id,b.obj,b.offn,b.status,a.asofdate) x GROUP BY x.acct, x.obj,x.offn,x.status,x.asofdate
    Now, this query will not work by running straight through SQL worksheet in either the 8.0.5 or 9.2.03 regions. So I guess it has something to do with Cold Fusion- which I know nothing about. Has anyone had any experience using Cold Fusion to issue a query? What would be the cause of the difference between the Oracle versions? That is the only thing that changed.
    Thanks for any input.

    I actually want the date format of DD-MON-YY. Which, from what I understand, is the default format for both Oracle 8.0.5 and 9.2.03. I'm trying to figure out why it is now displaying as 'yyyy-mm-dd hh24:mi:ss'. I could convince the client that the code needs changing if I had evidence that this version of Oracle (9.2.03) used a different default date format. Or if Cold Fusion pulls the date differently. Ughh.
    Here are the database parameters:
    SQL> show parameter nls_date_format
    NAME TYPE VALUE
    nls_date_format string
    select sysdate from dual;
    SYSDATE
    26-FEB-08
    1 row selected.
    select * from nls_session_parameters
    PARAMETER VALUE
    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_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_COMP BINARY
    NLS_LENGTH_SEMANTICS BYTE
    NLS_NCHAR_CONV_EXCP FALSE
    17 rows selected.
    select * from v$nls_parameters
    PARAMETER VALUE
    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 WE8MSWIN1252
    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 AL16UTF16
    NLS_COMP BINARY
    NLS_LENGTH_SEMANTICS BYTE
    NLS_NCHAR_CONV_EXCP FALSE
    19 rows selected.

  • Methods work on Client(stub) and not on Server

    package rmi;
    import java.io.Serializable;
    import java.rmi.RemoteException;
    import javax.swing.JOptionPane;
    import rmi.persistence.IUser;
    import rmi.persistence.User;
    import server.socket.Recording;
    public class UserHandle implements Serializable, IUserHandle{
         private static final long serialVersionUID = 1L;
         private User user;
         private int port;
         public UserHandle(int sport, String usr){
              port = sport;
              user = new User(usr);
              JOptionPane.showMessageDialog(null,"user " + user.getName() +" on port " + port + " logged in");
         public boolean startRecording(String file) throws RemoteException{
              JOptionPane.showMessageDialog(null,"in startRecording");
              try{
                   new Recording(this,file).start();
                   return true;
              } catch (Exception e){
                   return false;
         public boolean startPlaying(String file) throws RemoteException{
              return true;
         public int getPort() throws RemoteException{
              JOptionPane.showMessageDialog(null,"in getPort");
              return port;
         public IUser getUser() throws RemoteException{
              JOptionPane.showMessageDialog(null,"in getUser");
              return user;
    }This is an Object createt with RMI on the Server, the JOptionPane in the Constructor is correctly shown on the server, but when i call methods on this object, the JOptionPanes are shown on the Client, wich is obviously not what i want, i thought that these functioncalls are transferred to the server and executet there!
    finally getUser und getPort show the correct names but new Recording(this,file).start(); won't work since its called on the clientside oder the stub and not transferred to the server...
    How may i solve this? I want to create a new Recording on the Server.
    regards Norbert

    public class UserHandle implements Serializable, IUserHandle{Here you've said that it implements Serializable, and it's not an exported remote object, so it's serialized to the client. Java did exactly what you told it to do. Perhaps what you mean is this:
    public class UserHandle extends UnicastRemoteObject implements IUserHandle{                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • SSIS OLE DB Data Source: literal does not match format string

    Dear All,
    this is my first post on this forum, so sorry if I choose wrong category for this question, but I stuck...
    I'm using SSIS from SQL Server 2k8 R2 in Windows Server 2k8 R2. I have installed Oracle Client 10.2.0.2 32 bits and Oracle Client 10.2.0.4 64bits. I want to connect to Oracle 8i and Oracle 9i by these clients.
    Unfortunately when I want to see a preview, only error occurs to me:
    ORA-01861: literal does not match format string (OraOLEDB)
    I have read a lot about this issue but nothing helps me (to_date, cast, convert etc.).
    This is query which I use:
    SELECT COMPANYID, TRANSACTIONTYPE, TRANSACTIONDATE,
    PRODUCT, PRODUCTIONSITE, BATCHNUMBER,
    BINNUMBER, QUANTITYSTOCKUNIT, QUANTITY,
    UNITOFMEASURE, TRANSACTIONCURRENCYID, COST
    FROM APPS.DW_PRODUCTION
    WHERE TRANSACTIONDATE >= '20050101'
    AND TRANSACTIONDATE &lt; '99991231'I have investigated that the problem is with TRANSACTIONDATE column (which is VARCHAR2 data type in database).
    I want also inform You that the same query in SSIS 2005 on Windows 2005 64 bits worked fine.
    Could You help me to find a solution?
    Thanks in advance,
    Łukasz - chalunster
    PS. Sorry for my english
    Edited by: BluShadow on 16-May-2011 15:15
    put {noformat}{noformat} tags into the message and encoded the &lt; symbol so that it formats correctly.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    user10450810 wrote:
    Dear All,
    this is my first post on this forum, so sorry if I choose wrong category for this question, but I stuck...
    I'm using SSIS from SQL Server 2k8 R2 in Windows Server 2k8 R2. I have installed Oracle Client 10.2.0.2 32 bits and Oracle Client 10.2.0.4 64bits. I want to connect to Oracle 8i and Oracle 9i by these clients.
    Unfortunately when I want to see a preview, only error occurs to me:
    ORA-01861: literal does not match format string (OraOLEDB)
    I have read a lot about this issue but nothing helps me (to_date, cast, convert etc.).
    This is query which I use:
    SELECT COMPANYID, TRANSACTIONTYPE, TRANSACTIONDATE,
    PRODUCT, PRODUCTIONSITE, BATCHNUMBER,
    BINNUMBER, QUANTITYSTOCKUNIT, QUANTITY,
    UNITOFMEASURE, TRANSACTIONCURRENCYID, COST
    FROM APPS.DW_PRODUCTION
    WHERE TRANSACTIONDATE >= '20050101'
    AND TRANSACTIONDATE < '99991231'
    I have investigated that the problem is with TRANSACTIONDATE column (which is VARCHAR2 data type in database).
    I want also inform You that the same query in SSIS 2005 on Windows 2005 64 bits worked fine.
    Could You help me to find a solution?
    Thanks in advance,
    Łukasz - chalunster
    PS. Sorry for my englishHi
    Welcome to OTN Forums!
    Are you sure you are using following code
    SELECT COMPANYID, TRANSACTIONTYPE, TRANSACTIONDATE,
    PRODUCT, PRODUCTIONSITE, BATCHNUMBER,
    BINNUMBER, QUANTITYSTOCKUNIT, QUANTITY,
    UNITOFMEASURE, TRANSACTIONCURRENCYID, COST
    FROM APPS.DW_PRODUCTION
    WHERE TRANSACTIONDATE >= '20050101'
    AND TRANSACTIONDATE < 'If yes, then youistake is there,
    WHERE TRANSACTIONDATE >= '20050101'
    AND TRANSACTIONDATE < 'your script is not ended you can use this
    WHERE TRANSACTIONDATE >= '20050101'
    AND TRANSACTIONDATE < '20110101'or
    WHERE to_date(TRANSACTIONDATE,'YYYYMMDD')  >= to_date('20050101','YYYYMMDD')
    AND to_date(TRANSACTIONDATE,'YYYYMMDD') < to_date('20110101','YYYYMMDD')Edited by: Mahir M. Quluzade on May 16, 2011 6:59 PM

Maybe you are looking for