Sql error in request.jsp - pls help

hi every1, can some1 pls help me. the situation is:- when someone renewed a book the date_Return has to be increased by 7 days.
to test i'm using the following:-
String sql="update resources set date_Return= '2003-01-22'";
also can u pls tell me how to convert the date to UK date.
thanking u in advance

1) The easiest way to do the update would be to use your DBMSs
built-in date functionality. If date_Return is a date datatype
in your DBMS then there should be a function to add a number of
days to it. For example, in Sybase, you could write your UPDATE
statement as:
"update resources set date_Return = DateAdd(day, 7, date_Return)".
2) If, by UK date, you mean day-month-year, you can format the date
using the java.text.SimpleDateFormat.
http://java.sun.com/j2se/1.4.1/docs/api/java/text/SimpleDateFormat.html

Similar Messages

  • Error!Urgent!Pls Help.....Thank You

    I had the following error with the code below.......anyone pls help me ..... urgent.....I will be really appreciate it......Thank you in advanced.....
    I had created two statement,.....one is to select the value of Leave_Reason from a table and store it in the String Leave_Reason after that I need to insert the Leave_Reason variable's value together with other value which input from a form in the previous page....into another table....
    But I dun know why I encountered the error below....anyone pls help.....really urgent.....I had tried to solve it for two days already,,,,,
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: 86 in the jsp file: /SilkAir/leave_request.jsp
    Generated servlet error:
    [javac] Compiling 1 source file
    C:\Tomcat 4.1\work\Standalone\localhost\_\SilkAir\leave_request_jsp.java:315: cannot resolve symbol
    symbol : variable Leave_Reason
    location: class org.apache.jsp.leave_request_jsp
    String Query = "INSERT INTO Leave_Application (Emp_Num, Leave_ID, Apply_Date, Leave_Date, Leave_Reason, Leave_Applied, Leave_Status) VALUES ('" + Emp_Num + "', '" + Leave_ID + "', '" Apply_Date "', '" + Leave_Date + "', '" + Leave_Reason + "', '" + Day + "', 'Pending')";
    ^
    1 error
         at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:130)
         at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:293)
         at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:340)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:352)
         at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:474)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:184)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:386)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:530)
         at java.lang.Thread.run(Thread.java:536)
    <request.jsp>
    <%@page import="java.sql.*"%>
    <%@page import="java.util.Date"%>
    <%@page import="java.text.SimpleDateFormat"%>
    <html>
    <head>
    <title></title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    </head>
    <%
    String username = (String)session.getAttribute("username");
    %>
    <%
    //define connection
    Connection con = null;
    try{
    //get the class
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    //get the connection
         con = DriverManager.getConnection("jdbc:odbc:Database","","");
    //please catch your exceptions!
    catch(Exception e){
         out.println(e.getMessage());
    // form data
    String Emp= request.getParameter("txtEmp");
    String Leave_ID = request.getParameter("txtReason");
    java.text.SimpleDateFormat sdf = new java.text.SimpleDateFormat("yyyy/MM/dd");
    String LeaveDate = request.getParameter("txtLeaveDate");
    java.util.Date dateU = sdf.parse(LeaveDate);
    java.sql.Date Leave_Date = new java.sql.Date(dateU.getTime());
    String Day = request.getParameter("txtDay");
    java.text.SimpleDateFormat rd = new java.text.SimpleDateFormat("yyyy/MM/dd");
    String ApplyDate = request.getParameter("txtApplyDate");
    java.util.Date dateR = rd.parse(ApplyDate);
    java.sql.Date Apply_Date = new java.sql.Date(dateR.getTime());
    // query statement
    ResultSet rs=null;
    Statement SQLStatement = con.createStatement();
    Statement stm = con.createStatement();
    String query = "SELECT DISTINCT LeaveType FROM Leave WHERE Leave_ID ='"+Leave_ID+"'";
    rs = stm.executeQuery(query);
    if(rs.next())
    String Leave_Reason = rs.getString("LeaveType");
    else
    {    out.println("no results found");
    rs.close();
    stm.close();
    String Query = "INSERT INTO Application (Emp, Leave_ID, Apply_Date, Leave_Date, Leave_Reason, Leave_Applied, Leave_Status) VALUES ('" + Emp_Num + "', '" + Leave_ID + "', '" Apply_Date "', '" + Leave_Date + "', '" + Leave_Reason + "', '" + Day + "', 'Pending')";
    // get result code
    int SQLStatus = SQLStatement.executeUpdate(Query);
         if(SQLStatus != 0)
         out.println("post successfully.");
         else
         out.println("Problem encountered");
    // close connection
    SQLStatement.close();
    con.close();
    %>
    </body>
    </html>

    if(rs.next())
    String Leave_Reason = rs.getString("LeaveType");
    else
    { out.println("no results found");
    rs.close();
    stm.close();
    String Query = "INSERT INTO Application (Emp, Leave_ID, Apply_Date, Leave_Date, Leave_Reason, Leave_Applied, Leave_Status) VALUES ('" + Emp_Num + "', '" + Leave_ID + "', '" Apply_Date "', '" + Leave_Date + "', '" + Leave_Reason + "', '" + Day + "', 'Pending')";
    The Problem is that the variable Leave_Reason is declared as a local variable inside a if block. So the scope of the variable is not visible outside the if block...
    Try using something like
    String Leave_Reason = "";
    if(rs.next())
    Leave_Reason = rs.getString("LeaveType");
    else
    { out.println("no results found");
    This should work...
    Hope it helps.
    Thanks and regards,
    Pazhanikanthan. P

  • Error while using utl_smtp,pls help

    CREATE OR REPLACE PROCEDURE send_mail (p_sender IN VARCHAR2,
    p_recipient IN VARCHAR2,
    p_message IN VARCHAR2)
    as
    l_mailhost VARCHAR2(255) := '10.16.56.30';
    l_mail_conn utl_smtp.connection;
    BEGIN
    l_mail_conn := utl_smtp.open_connection(l_mailhost, 25);
    utl_smtp.helo(l_mail_conn, l_mailhost);
    utl_smtp.mail(l_mail_conn, p_sender);
    utl_smtp.rcpt(l_mail_conn, p_recipient);
    utl_smtp.open_data(l_mail_conn );
    utl_smtp.write_data(l_mail_conn, p_message);
    utl_smtp.close_data(l_mail_conn );
    utl_smtp.quit(l_mail_conn);
    end;
    i create dthe above and when i am running it i am getting the following error
    SQL> execute send_mail('[email protected]','[email protected]','hi');
    BEGIN send_mail('[email protected]','[email protected]','hi'); END;
    ERROR at line 1:
    ORA-29278: SMTP transient error: 450 4.7.1 [email protected]..
    Relaying temporarily denied. Cannot resolve PTR record for 10.16.56.20
    ORA-06512: at "SYS.UTL_SMTP", line 17
    ORA-06512: at "SYS.UTL_SMTP", line 96
    ORA-06512: at "SYS.UTL_SMTP", line 240
    ORA-06512: at "TTK05.SEND_MAIL", line 11
    ORA-06512: at line 1
    pls help me , i need to send a mail from the above
    reg

    Hi,
    try to use the host-name instead of the IP and check your dns configuration (Cannot resolve PTR record for 10.16.56.20).
    (Relaying temporarily denied) -> Some mail-servers are configured to accept only messages for their domain, e.g. mailserver mail.dummy.com only accepts messages to account with name like [email protected]

  • While creating PO currency is given as EUR error is as follows- pls help

    while creating PO currency is EUR & error comes as "Enter Rate EUR/INR Rate Type M for 19.01.2011 in the system settings.
    Pls Help.

    Hi Hmal,
       When you are trying to create PO with other than the company code currency system is looking for the equivalent exchange to the company code currency to the given foreign currency.
    Before using any curreny we have to maintain the exchange rates in OB08 with the duration then system will take care of further postings
    Regards,
    Srini Rao

  • Getting error in sockt programming pls help

    i got these 4 warning while i compile my first socket program in windows VC++..
    anyone plz helpp me...
    Compiling...
    server.c
    c:\windows\desktop\prasad\socket\server.c(28) : warning C4013: 'bzero' undefined; assuming extern returning int
    c:\windows\desktop\prasad\socket\server.c(44) : warning C4013: 'read' undefined; assuming extern returning int
    c:\windows\desktop\prasad\socket\server.c(47) : warning C4013: 'write' undefined; assuming extern returning int
    c:\windows\desktop\prasad\socket\server.c(32) : warning C4761: integral size mismatch in argument; conversion supplied
    server.obj - 0 error(s), 4 warning(s)

    i have two program server and client..first i compile this server.c file only....
    pls help n im jus a bigner
    this is the "server.c"
    #include <stdio.h>
    #include <sys/types.h>
    #include <sys/socket.h>
    #include <sys/in.h>
    void error(char *msg)
    perror(msg);
    exit(1);
    int main(int argc, char *argv[])
    int sockfd, newsockfd, portno, clilen;
    char buffer[256];
    struct sockaddr_in serv_addr, cli_addr;
    int n;
    if (argc < 2) {
    fprintf(stderr,"ERROR, no port provided\n");
    exit(1);
    sockfd = socket(AF_INET, SOCK_STREAM, 0);
    if (sockfd < 0)
    error("ERROR opening socket");
    bzero((char *) &serv_addr, sizeof(serv_addr));
    portno = atoi(argv[1]);
    serv_addr.sin_family = AF_INET;
    serv_addr.sin_addr.s_addr = INADDR_ANY;
    serv_addr.sin_port = htons(portno);
    if (bind(sockfd, (struct sockaddr *) &serv_addr,
    sizeof(serv_addr)) < 0)
    error("ERROR on binding");
    listen(sockfd,5);
    clilen = sizeof(cli_addr);
    newsockfd = accept(sockfd,
    (struct sockaddr *) &cli_addr,
    &clilen);
    if (newsockfd < 0)
    error("ERROR on accept");
    bzero(buffer,256);
    n = read(newsockfd,buffer,255);
    if (n < 0) error("ERROR reading from socket");
    printf("Here is the message: %s\n",buffer);
    n = write(newsockfd,"I got your message",18);
    if (n < 0) error("ERROR writing to socket");
    return 0;
    }

  • TS3694 my iphone is unjailbreak device....IOS 6....but why i cannot restore my iphone?show me error 3194...pls help

    Pls help...

    See the actions for the error message included here:
    iTunes: Specific update-and-restore error messages and advanced troubleshooting

  • SQL server weird connection problem-Pls help

    I m using SQL server 2005 express. My default logon mode setting is set to-SQL server authentication and I can logon to using SQL server management studio express always. I enabled TCP/IP from SQL server configuration manager. The sqljdbc.jar (JDBC driver) is set correctly in classpath and 1433 port is allowed in windows firewall. YET, I can�t connect to sql server using the following code-
    import java.sql.*; public class testconn { Statement stmt; Connection con = null;       String driver = "jdbc:sqlserver://"; String server = "localhost:1433;"; String db = "database=IDLC-Customer;"; String user = "userName=Tanvir;"; String pwd = "password=abcd;"; String connectName = driver + server + db + user + pwd;    testconn() { try {       Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");       con= DriverManager.getConnection(connectName);       stmt=con.createStatement();       if(!con.isClosed())         System.out.println("Successfully connected to " +           "SQL server using TCP/IP...");     } catch(Exception e) {       System.err.println("Exception: " + e);    }     finally {    try {         if(con != null)           con.close();         } catch(SQLException e) {}    }        }   public static void main(String args[]) {       testconn tc=new testconn();   } }
    My host name is- Tanvir. So, in management studio express the server name is shown- TANVIR\SQLEXPRESS
    When I run the code it says-The TCP/IP connection to the host has failed.
    Java.net.connectException:Connection Refused: Connect
    One more thing, though 1433 port is allowed in windows firewall, I can�t connect to that port using telnet (e.g. telnet <server_host> 1433).I even disabled firewall and tried but in vain. PLEASE help me brother.

    masijade. wrote:
    Then you, seemingly, have not configured your SQL server properly, or you have not "activated" that configuration.
    (don't ask because I don't know how, or even if, you do it that way with SQL Server).
    But, not being able to connect with telnet, means that nothing is listening on that port. What does the netstat command tell you?Brother,as u know that sql server use the default port 1433 even if i don't mention it.And I tried disabling my firewall and antivirus but yet I cant connect.I searched the ports using "Advanced port scanner" but the port 1433 is neither in its open ports list nor in closed port list. WHat can I do now.The port 1433 is by default used by sql server.So even if I dont mention it or set it, it should work.Isn't it? I m getting out of my mind, pls help .

  • Expdp full and impdp full fails with error....pls help..!(Oracle 11g)

    Hi
    I wanted to refresh my dev environment quickly..
    As we also wanted to migrate from exp/imp to datapump, I tried these..
    Only thing worked for me is impdp on network mode using remap schema.
    1)First i wanted to implement expdp and impdp standard procedures(Full database export/import)
    My expdp failed with the following error on a full export..
    Pls see below:
    C:\Documents and Settings\oracle2>expdp system/<p.w> full=Y directory=DATA_PUMP_DIR dumpfile=OAPFULL.dmp logfile=OAPFULL.log
    Export: Release 11.1.0.7.0 - Production on Thursday, 26 April, 2012 16:12:49
    Copyright (c) 2003, 2007, Oracle.  All rights reserved.
    Connected to: Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Starting "SYSTEM"."SYS_EXPORT_FULL_02":  system/******** full=Y directory=DATA_PUMP_DIR dumpfile=OAPFULL.dmp logfile=OAPFULL.log
    Estimate in progress using BLOCKS method...
    Processing object type DATABASE_EXPORT/SCHEMA/TABLE/TABLE_DATA
    Total estimation using BLOCKS method: 4.351 GB
    Processing object type DATABASE_EXPORT/TABLESPACE
    Processing object type DATABASE_EXPORT/PASSWORD_VERIFY_FUNCTION
    Processing object type DATABASE_EXPORT/PROFILE
    Processing object type DATABASE_EXPORT/SYS_USER/USER
    Processing object type DATABASE_EXPORT/SCHEMA/USER
    Processing object type DATABASE_EXPORT/ROLE
    Processing object type DATABASE_EXPORT/GRANT/SYSTEM_GRANT/PROC_SYSTEM_GRANT
    Processing object type DATABASE_EXPORT/SCHEMA/GRANT/SYSTEM_GRANT
    Processing object type DATABASE_EXPORT/SCHEMA/ROLE_GRANT
    Processing object type DATABASE_EXPORT/SCHEMA/DEFAULT_ROLE
    Processing object type DATABASE_EXPORT/SCHEMA/TABLESPACE_QUOTA
    Processing object type DATABASE_EXPORT/RESOURCE_COST
    Processing object type DATABASE_EXPORT/SCHEMA/DB_LINK
    Processing object type DATABASE_EXPORT/TRUSTED_DB_LINK
    Processing object type DATABASE_EXPORT/SCHEMA/SEQUENCE/SEQUENCE
    Processing object type DATABASE_EXPORT/SCHEMA/SEQUENCE/GRANT/OWNER_GRANT/OBJECT_GRANT
    Processing object type DATABASE_EXPORT/DIRECTORY/DIRECTORY
    Processing object type DATABASE_EXPORT/DIRECTORY/GRANT/OWNER_GRANT/OBJECT_GRANT
    Processing object type DATABASE_EXPORT/CONTEXT
    Processing object type DATABASE_EXPORT/SCHEMA/PUBLIC_SYNONYM/SYNONYM
    Processing object type DATABASE_EXPORT/SCHEMA/SYNONYM
    ORA-39014: One or more workers have prematurely exited.
    ORA-39029: worker 1 with process name "DW01" prematurely terminated
    ORA-31672: Worker process DW01 died unexpectedly.
    Job "SYSTEM"."SYS_EXPORT_FULL_02" stopped due to fatal error at 16:14:562)As the above failed, I tried impdp with network_link import and full=y and its a different issue!
    impdp system/<p.w> NETWORK_LINK=OAPLIVE.WORLD full=y logfile=OAPDRfull2.log table_exists_
    action=REPLACE
    Import: Release 11.1.0.7.0 - Production on Thursday, 26 April, 2012 13:36:01
    Copyright (c) 2003, 2007, Oracle.  All rights reserved.
    Connected to: Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Starting "SYSTEM"."SYS_IMPORT_FULL_01":  system/******** NETWORK_LINK=OAPLIVE.WORLD full=y logfile=OAPDRfull2.log table_exists_action=REPLACE
    Estimate in progress using BLOCKS method...
    Processing object type DATABASE_EXPORT/SCHEMA/TABLE/TABLE_DATA
    Total estimation using BLOCKS method: 4.670 GB
    Processing object type DATABASE_EXPORT/TABLESPACE
    ORA-31684: Object type TABLESPACE:"SYSAUX" already exists
    *************lots more of object already exists errors here............(space limit so cant paste)***************
    ORA-31684: Object type SYNONYM:"GEOPROD"."EXT_POSTAIM_PRESORT_61" already exists
    ORA-39126: Worker unexpected fatal error in KUPW$WORKER.DISPATCH_WORK_ITEMS [SYNONYM:"GEOPROD"."EXT_POSTAIM_PRESORT_61"]
    ORA-31600: invalid input value 200001 for parameter HANDLE in function CLOSE
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
    ORA-06512: at "SYS.DBMS_METADATA", line 569
    ORA-06512: at "SYS.DBMS_METADATA", line 4731
    ORA-06512: at "SYS.DBMS_METADATA", line 792
    ORA-06512: at "SYS.DBMS_METADATA", line 4732
    ORA-06512: at "SYS.KUPW$WORKER", line 2718
    ORA-03113: end-of-file on communication channel
    ORA-02055: distributed update operation failed; rollback required
    ORA-02063: preceding lines from OAPLIVE.WORLD
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
    ORA-06512: at "SYS.KUPW$WORKER", line 7858
    ----- PL/SQL Call Stack -----
      object      line  object
      handle    number  name
    242F2F2C     18256  package body SYS.KUPW$WORKER
    242F2F2C      7885  package body SYS.KUPW$WORKER
    242F2F2C      8657  package body SYS.KUPW$WORKER
    242F2F2C      1545  package body SYS.KUPW$WORKER
    241DDF3C         2  anonymous block
    ORA-39126: Worker unexpected fatal error in KUPW$WORKER.UNLOAD_METADATA []
    ORA-31642: the following SQL statement fails:
    SELECT unique ku$.seq# from sys.metanametrans$ ku$ WHERE ku$.htype='DATABASE_EXPORT' AND ku$.model='ORACLE' AND NOT ( ku$.seq#>=(select a.seq# from sys.metanametrans$ a where
       a.model='ORACLE' and a.htype='DATABASE_EXPORT' and a.name ='DATABASE_EXPORT/SCHEMA/SYNONYM')) order by ku$.seq#
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
    ORA-06512: at "SYS.DBMS_METADATA_INT", line 5002
    ORA-01427: single-row subquery returns more than one row
    ORA-06512: at "SYS.DBMS_
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
    ORA-06512: at "SYS.KUPW$WORKER", line 7853
    ----- PL/SQL Call Stack -----
      object      line  object
      handle    number  name
    242F2F2C     18256  package body SYS.KUPW$WORKER
    242F2F2C      7885  package body SYS.KUPW$WORKER
    242F2F2C      2744  package body SYS.KUPW$WORKER
    242F2F2C      8523  package body SYS.KUPW$WORKER
    242F2F2C      1545  package body SYS.KUPW$WORKER
    241DDF3C         2  anonymous block
    Job "SYSTEM"."SYS_IMPORT_FULL_01" stopped due to fatal error at 13:39:48So its basically these 2 issues I want to know how to fix.
    1-expdp error cause and fix
    2-impdp error cause and fix -Also how to avoid object alreay exists error?
    Also for example the package etc. is the same name..but i want new package from LIVE so it means if the same name package, view, etc is there, it wouldnt get updated?
    Any way to overcome this?
    I need it exactly same as LIVE...(with a few exceptions which is small enough i can do after impdp finishes fine)
    Pleaseeeeeeee help!!
    Thanks&Regards.......

    Hi..
    Thanks for the links..I applied the tips on each of them but it didnt work.
    Also my database is 11g so it is not true that this happens on 10g only.
    Things tried:
    1)I tried with different values on parallel parameter but same error
    2)I applied the following:
    alter system set open_cursors=1024 scope=spfile;
    alter system set "_optimizer_cost_based_transformation"=off;
    commit;
    The 3rd link was bit better
    I tried to find out where exactly the error was causesusing
    expdp attach =SYS_EXPORT_FULL_03
    But I cant figure out what the object : PUBLIC
    oracle/context/isearch/GetPage
    is..?
    Does this needs to be excluded from the export?if so, how?
    Can someone help how to fix the error now?
    Processing object type DATABASE_EXPORT/SCHEMA/SYNONYM
    ORA-39014: One or more workers have prematurely exited.
    ORA-39029: worker 1 with process name "DW01" prematurely terminated
    ORA-31672: Worker process DW01 died unexpectedly.
    Job "SYSTEM"."SYS_EXPORT_FULL_03" stopped due to fatal error at 11:29:32
    C:\Documents and Settings\ora2>expdp attach=SYS_EXPORT_FULL_03
    Export: Release 11.1.0.7.0 - Production on Tuesday, 01 May, 2012 11:35:38
    Copyright (c) 2003, 2007, Oracle.  All rights reserved.
    Username: system
    Password:
    Connected to: Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Job: SYS_EXPORT_FULL_03
      Owner: SYSTEM
      Operation: EXPORT
      Creator Privs: TRUE
      GUID: 8499C802F52A414A8BCACE552DDF6F11
      Start Time: Tuesday, 01 May, 2012 11:37:56
      Mode: FULL
      Instance: geooap
      Max Parallelism: 1
      EXPORT Job Parameters:
      Parameter Name      Parameter Value:
         CLIENT_COMMAND        system/******** parfile=h:\datapump\oapfull.par
      State: IDLING
      Bytes Processed: 0
      Current Parallelism: 1
      Job Error Count: 0
      Dump File: H:\datapump\oapfull.dmp
        bytes written: 4,096
    Worker 1 Status:
      Process Name: DW01
      State: UNDEFINED
      Object Schema: PUBLIC
      Object Name: oracle/context/isearch/GetPage
      Object Type: DATABASE_EXPORT/SCHEMA/PUBLIC_SYNONYM/SYNONYM
      Completed Objects: 766
      Total Objects: 766
      Worker Parallelism: 1

  • Error when requesting JSP page

    We have just finished getting our environment set up. We are running
    WebLogic 4.5.1 sp7 on a Sun server, and are frontending it with IIS 4.0
    SP6a using the iisproxy.dll WebLogic plugin.
    We can get things working for a while, but eventually, we get the
    following error in the NT event log when requesting the first JSP on our
    site:
    "Out of process application '/LM/W3SVC/1/Root' terminated unexpectedly"
    The Web server is still up, it's just when the JSP page is called that
    we get "Page can not be displayed" errors. Any HTML pages come up just
    fine. To fix the problem, we just stop and restart the Web Publishing
    service.
    Has anyone seen this error or does anyone know what events cause this
    problem?
    Thanks,
    -Mike

    There is a big difference between this;
    http://www.mydomain.com/blabla
    and this;
    http://www.mydomain.com/blah.jsp
    blabla - this is the name of the Web application. When you reference this Web application name Tomcat will check the welcom file descriptor and redirect for that web application.
    blah.jsp - is the name of a JSP page. When you reference this page the way you did above, you are not stating where the JSP page is located. It would be locatied in the "http://www.mydomain.com/blabla/blah.jsp" location.

  • Pet store runtime error! urgent! Pls help me out

    Dear everybody,
    I just install the petstore in my local computer, following the whole instruction from http://java.sun.com/blueprints/code/jps131/docs/installing.h tml
    It seems all rite during the installation.
    But when I try to access the
    Amazon Parrot
    Great companion for up to 75 years
    in the bird category, I cannot see anything feed back. I checked the j2ee log, here is the output of it. I have no idea how to fix this problem, any tech people can help me? I need this sample code as a base of a project.
    Thanks for whom can help!!
    A hardworking progammer
    Henry
    Binding name:`java:comp/env/jms/QueueConnectionFactory`
    Binding name:`java:comp/env/ejb/OPCAdminFacadeRemote`
    Binding name:`java:comp/env/ejb/AsyncSender`
    Created Context:/admin
    Application AdminEAR deployed.
    java.security.PrivilegedActionException: javax.servlet.ServletException: An erro
    r occurred while evaluating custom action attribute "value" with value "${item.a<br />ttribute}": Unable to find a value for "attribute" in object of class "com.sun.j<br />2ee.blueprints.catalog.model.Item" using operator "."
    at java.security.AccessController.doPrivileged(Native Method)
    at org.apache.catalina.core.ApplicationDispatcher.include(Appli cationDis
    patcher.java:488)
    at com.sun.j2ee.blueprints.waf.view.template.tags.InsertTag.doE ndTag(Ins
    ertTag.java:99)
    at org.apache.jsp.template$jsp._jspService(template$jsp.java:15 9)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.ja va:107)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.jasper.servlet.JspServlet$JspServletWrapper.servi ce(JspSer
    vlet.java:202)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServl et.java:3
    82)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java :474)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(Applic ationDisp
    atcher.java:683)
    at org.apache.catalina.core.ApplicationDispatcher.doForward(App licationD
    ispatcher.java:431)
    at org.apache.catalina.core.ApplicationDispatcher.access$0(Appl icationDi
    spatcher.java:359)
    at org.apache.catalina.core.ApplicationDispatcher$PrivilegedFor ward.run(
    ApplicationDispatcher.java:130)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.apache.catalina.core.ApplicationDispatcher.forward(Appli cationDis
    patcher.java:347)
    at com.sun.j2ee.blueprints.waf.view.template.TemplateServlet.in sertTempl
    ate(TemplateServlet.java:288)
    at com.sun.j2ee.blueprints.waf.view.template.TemplateServlet.pr ocess(Tem
    plateServlet.java:246)
    at com.sun.j2ee.blueprints.waf.view.template.TemplateServlet.do Get(Templ
    ateServlet.java:143)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(Appl
    icationFilterChain.java:247)
    at org.apache.catalina.core.ApplicationFilterChain.access$0(App licationF
    ilterChain.java:197)
    at org.apache.catalina.core.ApplicationFilterChain$1.run(Applic ationFilt
    erChain.java:176)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationF
    ilterChain.java:172)
    at com.sun.j2ee.blueprints.signon.web.SignOnFilter.doFilter(Sig nOnFilter
    .java:151)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(Appl
    icationFilterChain.java:213)
    at org.apache.catalina.core.ApplicationFilterChain.access$0(App licationF
    ilterChain.java:197)
    at org.apache.catalina.core.ApplicationFilterChain$1.run(Applic ationFilt
    erChain.java:176)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationF
    ilterChain.java:172)
    at com.sun.j2ee.blueprints.encodingfilter.web.EncodingFilter.do Filter(En
    codingFilter.java:77)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(Appl
    icationFilterChain.java:213)
    at org.apache.catalina.core.ApplicationFilterChain.access$0(App licationF
    ilterChain.java:197)
    at org.apache.catalina.core.ApplicationFilterChain$1.run(Applic ationFilt
    erChain.java:176)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationF
    ilterChain.java:172)
    at org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperV
    alve.java:243)
    at org.apache.catalina.core.StandardPipeline.invokeNext(Standar dPipeline
    .java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.jav
    a:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:943)
    at org.apache.catalina.core.StandardContextValve.invoke(Standar dContextV
    alve.java:201)
    at org.apache.catalina.core.StandardPipeline.invokeNext(Standar dPipeline
    .java:566)
    at org.apache.catalina.valves.CertificatesValve.invoke(Certific atesValve
    .java:246)
    at org.apache.catalina.core.StandardPipeline.invokeNext(Standar dPipeline
    .java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.jav
    a:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:943)
    at org.apache.catalina.core.StandardContext.invoke(StandardCont ext.java:
    2343)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.j
    ava:164)
    at org.apache.catalina.core.StandardPipeline.invokeNext(Standar dPipeline
    .java:566)
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(Error Dispatche
    rValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(Standar dPipeline
    .java:564)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.j
    ava:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(Standar dPipeline
    .java:564)
    at org.apache.catalina.authenticator.SingleSignOn.invoke(Single SignOn.ja
    va:392)
    at org.apache.catalina.core.StandardPipeline.invokeNext(Standar dPipeline
    .java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.jav
    a:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:943)
    at org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineVal
    ve.java:174)
    at org.apache.catalina.core.StandardPipeline.invokeNext(Standar dPipeline
    .java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.jav
    a:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:943)
    at org.apache.catalina.connector.http.HttpProcessor.process(Htt pProcesso
    r.java:1012)
    at org.apache.catalina.connector.http.HttpProcessor.run(HttpPro cessor.ja
    va:1107)
    at java.lang.Thread.run(Thread.java:534)
    Caused by: javax.servlet.ServletException: An error occurred while evaluating cu
    stom action attribute "value" with value "${item.attribute}": Unable to find a v
    alue for "attribute" in object of class "com.sun.j2ee.blueprints.catalog.model.I<br />tem" using operator "."
    at org.apache.jasper.runtime.PageContextImpl.handlePageExceptio n(PageCon
    textImpl.java:463)
    at org.apache.jsp.product$jsp._jspService(product$jsp.java:1357 )
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.ja va:107)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.jasper.servlet.JspServlet$JspServletWrapper.servi ce(JspSer
    vlet.java:202)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServl et.java:3
    82)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java :474)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(Applic ationDisp
    atcher.java:683)
    at org.apache.catalina.core.ApplicationDispatcher.doInclude(App licationD
    ispatcher.java:574)
    at org.apache.catalina.core.ApplicationDispatcher.access$1(Appl icationDi
    spatcher.java:501)
    at org.apache.catalina.core.ApplicationDispatcher$PrivilegedInc lude.run(
    ApplicationDispatcher.java:146)
    ... 66 more
    InsertTag:doEndTag caught: javax.servlet.ServletException: An error occurred whi
    le evaluating custom action attribute "value" with value "${item.attribute}": Un
    able to find a value for "attribute" in object of class "com.sun.j2ee.blueprints<br />.catalog.model.Item" using operator "."
    javax.servlet.ServletException: An error occurred while evaluating custom action
    attribute "value" with value "${item.attribute}": Unable to find a value for "a<br />ttribute" in object of class "com.sun.j2ee.blueprints.catalog.model.Item" using
    operator "."
    at org.apache.jasper.runtime.PageContextImpl.handlePageExceptio n(PageCon
    textImpl.java:463)
    at org.apache.jsp.product$jsp._jspService(product$jsp.java:1357 )
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.ja va:107)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.jasper.servlet.JspServlet$JspServletWrapper.servi ce(JspSer
    vlet.java:202)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServl et.java:3
    82)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java :474)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(Applic ationDisp
    atcher.java:683)
    at org.apache.catalina.core.ApplicationDispatcher.doInclude(App licationD
    ispatcher.java:574)
    at org.apache.catalina.core.ApplicationDispatcher.access$1(Appl icationDi
    spatcher.java:501)
    at org.apache.catalina.core.ApplicationDispatcher$PrivilegedInc lude.run(
    ApplicationDispatcher.java:146)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.apache.catalina.core.ApplicationDispatcher.include(Appli cationDis
    patcher.java:488)
    at com.sun.j2ee.blueprints.waf.view.template.tags.InsertTag.doE ndTag(Ins
    ertTag.java:99)
    at org.apache.jsp.template$jsp._jspService(template$jsp.java:15 9)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.ja va:107)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.jasper.servlet.JspServlet$JspServletWrapper.servi ce(JspSer
    vlet.java:202)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServl et.java:3
    82)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java :474)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(Applic ationDisp
    atcher.java:683)
    at org.apache.catalina.core.ApplicationDispatcher.doForward(App licationD
    ispatcher.java:431)
    at org.apache.catalina.core.ApplicationDispatcher.access$0(Appl icationDi
    spatcher.java:359)
    at org.apache.catalina.core.ApplicationDispatcher$PrivilegedFor ward.run(
    ApplicationDispatcher.java:130)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.apache.catalina.core.ApplicationDispatcher.forward(Appli cationDis
    patcher.java:347)
    at com.sun.j2ee.blueprints.waf.view.template.TemplateServlet.in sertTempl
    ate(TemplateServlet.java:288)
    at com.sun.j2ee.blueprints.waf.view.template.TemplateServlet.pr ocess(Tem
    plateServlet.java:246)
    at com.sun.j2ee.blueprints.waf.view.template.TemplateServlet.do Get(Templ
    ateServlet.java:143)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(Appl
    icationFilterChain.java:247)
    at org.apache.catalina.core.ApplicationFilterChain.access$0(App licationF
    ilterChain.java:197)
    at org.apache.catalina.core.ApplicationFilterChain$1.run(Applic ationFilt
    erChain.java:176)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationF
    ilterChain.java:172)
    at com.sun.j2ee.blueprints.signon.web.SignOnFilter.doFilter(Sig nOnFilter
    .java:151)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(Appl
    icationFilterChain.java:213)
    at org.apache.catalina.core.ApplicationFilterChain.access$0(App licationF
    ilterChain.java:197)
    at org.apache.catalina.core.ApplicationFilterChain$1.run(Applic ationFilt
    erChain.java:176)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationF
    ilterChain.java:172)
    at com.sun.j2ee.blueprints.encodingfilter.web.EncodingFilter.do Filter(En
    codingFilter.java:77)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(Appl
    icationFilterChain.java:213)
    at org.apache.catalina.core.ApplicationFilterChain.access$0(App licationF
    ilterChain.java:197)
    at org.apache.catalina.core.ApplicationFilterChain$1.run(Applic ationFilt
    erChain.java:176)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationF
    ilterChain.java:172)
    at org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperV
    alve.java:243)
    at org.apache.catalina.core.StandardPipeline.invokeNext(Standar dPipeline
    .java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.jav
    a:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:943)
    at org.apache.catalina.core.StandardContextValve.invoke(Standar dContextV
    alve.java:201)
    at org.apache.catalina.core.StandardPipeline.invokeNext(Standar dPipeline
    .java:566)
    at org.apache.catalina.valves.CertificatesValve.invoke(Certific atesValve
    .java:246)
    at org.apache.catalina.core.StandardPipeline.invokeNext(Standar dPipeline
    .java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.jav
    a:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:943)
    at org.apache.catalina.core.StandardContext.invoke(StandardCont ext.java:
    2343)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.j
    ava:164)
    at org.apache.catalina.core.StandardPipeline.invokeNext(Standar dPipeline
    .java:566)
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(Error Dispatche
    rValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(Standar dPipeline
    .java:564)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.j
    ava:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(Standar dPipeline
    .java:564)
    at org.apache.catalina.authenticator.SingleSignOn.invoke(Single SignOn.ja
    va:392)
    at org.apache.catalina.core.StandardPipeline.invokeNext(Standar dPipeline
    .java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.jav
    a:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:943)
    at org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineVal
    ve.java:174)
    at org.apache.catalina.core.StandardPipeline.invokeNext(Standar dPipeline
    .java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.jav
    a:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:943)
    at org.apache.catalina.connector.http.HttpProcessor.process(Htt pProcesso
    r.java:1012)
    at org.apache.catalina.connector.http.HttpProcessor.run(HttpPro cessor.ja
    va:1107)
    at java.lang.Thread.run(Thread.java:534)

    Hello Everybody
    I have the procedure to run petsotre demo as it is given in the Java BluePrints Projects Install Document.
    But when I have tried to run the ant setup command it it has given me the following error
    BUILD FAILED
    java.lang.AbstractMethodError: javax.xml.parsers.SAXParser.getXMLReader()Lorg/xml/sax/XMLReader;
    at org.apache.tools.ant.util.JAXPUtils.getNamespaceXMLReader(JAXPUtils.java:163)
    at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:193)
    at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:140)
    at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:91)
    at org.apache.tools.ant.Main.runBuild(Main.java:653)
    at org.apache.tools.ant.Main.startAnt(Main.java:187)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
    Total time: 0 seconds
    java.lang.AbstractMethodError: javax.xml.parsers.SAXParser.getXMLReader()Lorg/xml/sax/XMLReader;
    at org.apache.tools.ant.util.JAXPUtils.getNamespaceXMLReader(JAXPUtils.java:163)
    at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:193)
    at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:140)
    at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:91)
    at org.apache.tools.ant.Main.runBuild(Main.java:653)
    at org.apache.tools.ant.Main.startAnt(Main.java:187)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
    javax.xml.parsers.SAXParser.getXMLReader()Lorg/xml/sax/XMLReader;
    Plz help to rectify this error .
    Regards,
    Chirag Viradiya

  • BULK COLLECT using Dynamic PL/SQL???..pls help!!!

    Hi All,
    Here is PL/SQL block i tried ...unfortunetly failed to execute.
    Can anyone put some light on how this can be achieved....no matter even if its a work around job!!
    Thanx in advance,
    Anita
    DECLARE
    RCODE VARCHAR2(30):='TBS1B';
    RLCODE VARCHAR2(10):='1U6';
    RLSQL     CLOB;
    VSQL CLOB;
    TYPE TTABLE IS TABLE OF VARCHAR2(20) INDEX BY BINARY_INTEGER;
    TRCODE TTABLE;
    BEGIN
    SELECT RL_SQL INTO RLSQL FROM COGNOS_RL WHERE RL_CODE=RLCODE;
    VSQL:='SELECT DISTINCT '||RCODE||' BULK COLLECT INTO TRCODE FROM CBTABLE WHERE '||RLSQL;
    DBMS_OUTPUT.PUT_LINE(TO_CHAR(VSQL));
    EXECUTE IMMEDIATE TO_CHAR(VSQL);
    END;
    ERROR::
    03001. 00000 - "unimplemented feature"
    *Cause:    This feature is not implemented.
    *Action:   None.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Hi,
    Try with the following code....
    DECLARE
    RCODE VARCHAR2(30):='TBS1B';
    RLCODE VARCHAR2(10):='1U6';
    RLSQL CLOB;
    VSQL CLOB;
    TYPE TTABLE IS TABLE OF VARCHAR2(20) INDEX BY BINARY_INTEGER;
    TRCODE TTABLE;
    BEGIN
    SELECT RL_SQL INTO RLSQL FROM COGNOS_RL WHERE RL_CODE=RLCODE;
    VSQL:='SELECT DISTINCT '||RCODE||' FROM CBTABLE WHERE '||RLSQL;
    DBMS_OUTPUT.PUT_LINE(TO_CHAR(VSQL));
    EXECUTE IMMEDIATE TO_CHAR(VSQL) BULK COLLECT INTO TRCODE;
    END;
    Regards,
    Sailaja

  • Error Submitting Podcast Feed (Pls Help!)

    I keep getting an error (11111) when I try to submit my podcast RSS feed.
    I'm on Windows Vista. Downloaded and installed the latest version of iTunes today (Feb 1st 2013).
    I enter my feed URL, am asked for my password etc (which I enter and works) and then I get this error:
    I don't use Safari (I'm using Chrome and Firefox), but the issue seems to be within iTunes itself.
    Any suggestions?
    I also restarted my computer which did not help.

    Just wanted to update this so others can benefit from my experience.
    As Roger suggested I did email Apple and got a response. That didn't solve the problem as they asked for more information and then I didn't hear back from them (at least not yet).
    2 things I learned:
    1) Make sure your podcast has at least 1 live episode in it before submitting. (not sure if this is critical or not, but I changed this).
    2) I created a new Apple ID and than submitted again. Then it worked right away.
    Thanks Roger again for the suggestions and hope that helps others. Now just waiting for Apple to approve the podcast so it's in their store.

  • Error message ORA-12154, pls help

    Have got 2 database( A and B) on the same machine, A is the main database while B is meant to be the recovery catalog database, I have been able to create the catalog tablespace, but when I want to register the database from the target database from the RMAN command line with connect [b]catalog "rman_user/rman_user@B", its gives an error message of ORA-12154---TNS : could not resolve the connect identifier specified. I using windows environment, thanks in advance

    Did you create a TNS alias for B database ? If not, you can use Net Configuration Assistant, in the Oracle menu, for that.
    If you did already create B TNS alias, then try "tnsping B" : if result is OK, then try connecting to B DB from Sql*Plus :
    C:\> sqlplus rman_user/rman_user@B

  • TS3694 how can irestore back my iphone 3G? it contains an error of 1015? pls help.

    can anyone help me restore or fix error on my iphone... i was updating my ios back on my iphone from 4.1 to 4.2 when about to finish updating an error came out... i was trying to restore my phone but then again there is an error... error 1015 ... could anyone here help me? tnx!

    Error 1015: This error is typically caused by attempts to downgrade the iPhone, iPad, or iPod touch's software. This can occur when you attempt to restore using an older .ipsw file. Downgrading to a previous version is not supported. To resolve this issue, attempt to restore with the latest iPhone, iPad, or iPod touch software available from Apple. This error can also occur when an unauthorized modification of the iOS has occurred and you are now trying to restore to an authorized, default state.

  • IPod 60 Gb serious errors !!! pls help

    my Ipod photo is not mounting on either of my systems (winxp or mac os x) . i tried formatting it but still to no avail. all i get is a folder with an exclamation mark. i reset it still no difference. i tried to reset it through the iPOD updated but it showed an error regarding some wrong hard disk structure. when i tried to format it through disk utility it showed "unknown error:-20"
    I woudl be oblidged if u'll cud help.

    Formatting wont help. I'd say try on your mac to do a restore. To do that, go to the ipod updater and run restore. If that doesn't work, I'd suggest running Harddisk diagnostics to ensure the harddisk inside still works... to do that go to http://www.finseth.com/parts/ipod.html

Maybe you are looking for

  • Re: Can it cause harm to keep my laptop running 24x7

    I'm running a proxy server on my laptop which requires it to be up and running 24x7. Can this cause harm to a laptop in the long run ??. Are they designed to be left on permanently ?????

  • ADMT migrate users and preserve profile

    I'm testing an Interforest migration using ADMT 3.2 on Windows 2008 servers. I have a one-way trust established. I'm able to successfully move user accounts and computer accounts. I'm running into problems with preserving the users profile. I'm doing

  • Oracle 10 Million records insert using Pro c

    Hi,      As i am new to Oracle 10G Pro c and SQL Loader, i would like to know few informations regarding the same. My requirement is this that, i need to read a 20GB file (20Million Lines) line by line and convert the line into database records with

  • What's wrong with Macscripter?

    To me, it looks like something is seriously wrong with macsripter.net. I have tried to register, but i don't get any response, can't log in, can't post. Many of the subforums are not working, you get a page that says "iThink Applescript, we'll soon b

  • Premiere Pro CC 7.2.2 audio output won't play L and R channels

    Hello, I am running Premiere Pro CC 7.2.2 in Windows 7 64 bits. I have also a Genelec 8000 series pair working with an AJA Kona 3G and only one of the speakers works for any project. If I test the same audio file in Adobe Audition, it works perfectly