REP-0713 error when using r25run32 and command line

Help,
I have what seems to be a very strange problem. I have the following
command line saved as a batch file called Test.bat. If I double-click on it
or run it from the command prompt, it works fine - it runs a report and
prints it.
d:\orant\bin\r25run32.exe report=test1.rep userid=user1/user1@testdb
paramform=no destype=printer desname="HP" desformat=dflt printjob=no
However, if I use a program scheduler, it crashes with the error:
"REP-0713: Invalid printer name 'HP' specified by parameter name DESNAME"
I have tried Norton Scheduler, NT AT command, as well as a couple other
shareware programs. All crash with this error. If I use background=yes,
again it works if I run it, but when a scheduler starts it, the Report
Server crashes. Instead, if I use batch=yes, it just crashes after a few
seconds.
If I use printjob=yes, the printer dialog pops up, I press OK, and it works
fine. I have tried outputting to a PDF file, but again, it works if I run
the batch file, but not when a scheduler does.
I am using Reports 2.5, Oracle 7.1, NT4 SP6. I have also tried the Reports
3.0 runtime (r30run32) with the same results. I just need to run/print a
report automatically every day.
Any ideas are greatly appreciated, Thanks.
Jason
null

I just concatenate them , for example if my key fields of the table are document number and item number , i concatenate them and put it in the key_column.
How do i read them in my oninputprocessing.
data: tv type ref to cl_htmlb_tableview.
  tv ?= cl_htmlb_manager=>get_data(
                          request      = runtime->server->request
                          name         = 'tableView'
                          id           = 'test' ).
  if tv is not initial.
    data: tv_data type ref to cl_htmlb_event_tableview.
    tv_data = tv->data.
<document no.> = tv_data->selectedrowkey+0(10) .
<item no.>   = tv_data->selectedrowkey+10(5) .
if i need more info then i read the itab with key document number = <document no.> and
item number     = <item no.>
Hope this is clear.
Regards
Raja

Similar Messages

  • REP-0069 error when using static includes.

    I am trying to use static include files in my report JSP file. Such as...
    <%@ include file="ServerName.jsp" %>
    Although they seem to work when I run the report, Report Builder doesn't like them. When I open the report in Report Builder I get an REP-0069 error. When I then try to display the data model it is blank. If I remove the static include the report opens fine. Beans also have this same problem.
    Dynamic includes don't generate an message. However, scriptlette variables set in the included file are not visiable to the including file.
    Jim

    Hi Jim
    I tried this with Reports 9.0.2 latest patch. When a open a .jsp report where I have put a statis include tag, I get a builder crash. I am filing a bug on this. Please let me know your mail address, I would update you once the issue is resolved.
    Thanks
    Rohit
    Oracle Reports Team

  • Error when using HIERARCHY and security on RedHat

    Oracle Secure Global Desktop for x86 Linux kernel 2.6+ (4.60.911)
    Architecture code: i3li0206
    This host: Linux ourhost1 2.6.18-164.el5
    Getting the following error when we use hierarchy on a redhat linux server
    An error occurred at line: 9 in the jsp file: /hierarchy.jsp
    m_prefLang cannot be resolved
    language is set LANG="en_US.UTF-8"
    change the index.jsp back to standard we have no issue. Any ideas ?
    thanks

    there is a known issue with hierarchical webtop in SGD 4.60.911. Please open a case @ My Oracle Support and refer to this post and Support can provide a hotfix.
    https://support.oracle.com

  • Get 8004 error when using copy past command transferring pictures from one USB drive to another, why ?

    Why do I get 8004 error, when I use copy past command to transfer pictures from one USB drive to another ?
    There is no problem if the second drive is empty.

    mumbles27 wrote:
    one is MS-DOS
    would that be in FAT32 or NTFS ?
    mac OS extended (case sensitive)
    i'm not 100 % sure but i have a fancy such a combination may not play well together.
    nothing bigger than 2GB for one file
    i was asking because FAT3 has a limitation in that it will not allow you to copy files larger than 4 GB.
    JGG

  • Error when using cast and convert to datetime

    I run a stored procedure
    usp_ABC
    as
    begin
    delete from #temp1 
    where #temp1.ResID not in 
    ( select Col1 
    from TableA 
    where ( @I_vId = -1 or Doc_Field_ID = @I_vId)
    and ColA1 = 2  and FieldValue !=''
    and cast ( FieldValue as DATETIME ) = cast (@strvalue_index as DATETIME)
    and ResID = #temp1.ResID
    and TypesId = @I_vTypeId
    end
    But return message "Conversion failed when converting date and/or time from character string.'
    Format of Column FieldValue is nvarchar(400)
    @strvalue_index = '05/05/2013'
    So I see in article http://technet.microsoft.com/en-us/library/ms174450.aspx MS say about MS SQL Server and SQL Server Compact.
    Then I re-write proc:
    delete from #temp1 
    where #temp1.ResID not in 
    ( select Col1 
    from TableA 
    where ( @I_vId = -1 or Doc_Field_ID = @I_vId)
    and ColA1 = 2  and FieldValue !=''
    and cast ( cast(FieldValue as nvarchar(200)) as DATETIME ) = cast (@strvalue_index as DATETIME)
    and ResID = #temp1.ResID
    and TypesId = @I_vTypeId
    so stored run success.
    I don't understand how?
    When i run only statement in MS SQL Studio Management, the statement run success.
    Thanks all,

    No bad dates in my data.
    Apparently you have. Or, as Johnny Bell pointed out, there is a clash with date formats. Did you try the query with isdate()?
    For SQL 2008, you need
      CASE WHEN isdate(FieldValue) = 1
           THEN CAST (FieldValue AS datetime)
      END =
      CASE WHEN isdate(@strvalue_index) = 1
           THEN CAST (@strvalue_index AS datetime)
      END
    Erland Sommarskog, SQL Server MVP, [email protected]
    I think date formats is OK. So when I re-write stored:
    and cast ( FieldValue as DATETIME ) = cast (@strvalue_index as DATETIME)
    =>
    and cast ( cast(FieldValue as varchar(200)) as DATETIME ) = cast (@strvalue_index as DATETIME)
    the stored procedure will run success. I see in http://technet.microsoft.com/en-us/library/ms174450.aspx MS
    has an IMPORTANT:
     Important
    When using CAST or CONVERT for nchar, nvarchar, binary, and varbinary,
    SQL Server truncates values to maximum of 30 characters. SQL Server Compact allows 4000 for nchar and nvarchar, and 8000 for binary and varbinary. Due
    to this, results generated by querying SQL Server and SQL Server Compact are different. In cases where the size of the data types is specified such as nchar(200), nvarchar(200), binary(400), varbinary(400), the results are consistent across SQL Server and
    SQL Server Compact.
    I can't explain it in this case

  • Errors when running db_stat from command line

    Hi,
    I'm trying to use db_stat at the command line to generate statistics.
    However, I keep getting errors. I cannot use the db->stat call
    because this is to be done at a customer site using their existing binary.
    Note that the call to db_stat -m fails, while the call to db_stat -d <dbname>
    prints an error/warning then appears to succeed.
    Most likely, there is some usage subtlety that I have missed.
    Any suggestions about what I have done wrong?
    I am using BDB 4.6.21 on Windows. Databases are created inside a
    db environment.
    Here is a transcript:
    C:\Program Files\SonicWallES\PluginDefault\collab\data>dir __*
    Volume in drive C has no label.
    Volume Serial Number is 7084-88E3
    Directory of C:\Program Files\SonicWallES\PluginDefault\collab\data
    08/07/2008 07:11 PM 24,576 __db.001
    08/07/2008 07:11 PM 65,536 __db.002
    08/07/2008 07:11 PM 270,336 __db.003
    08/07/2008 07:11 PM 499,712 __db.004
    4 File(s) 860,160 bytes
    0 Dir(s) 2,177,224,704 bytes free
    C:\Program Files\SonicWallES\PluginDefault\collab\data>"C:\Program Files\SonicWallES\utilities\bdb\db_stat.exe" -m
    db_stat.exe: __db.001: unable to find environment
    db_stat.exe: DB_ENV->open: No such file or directory
    C:\Program Files\SonicWallES\PluginDefault\collab\data>dir ..
    Volume in drive C has no label.
    Volume Serial Number is 7084-88E3
    Directory of C:\Program Files\SonicWallES\PluginDefault\collab
    08/18/2008 12:44 PM <DIR> .
    08/18/2008 12:44 PM <DIR> ..
    08/07/2008 10:09 PM 2,646,016 c_thumbprint.db
    09/05/2008 03:08 PM <DIR> data
    07/16/2008 06:43 PM <DIR> dbs
    08/07/2008 10:09 PM 42,131,456 e_thumbprint.db
    08/07/2008 10:09 PM 10,485,760 f_thumbprint.db
    08/07/2008 10:09 PM 5,226,496 g_thumbprint.db
    08/07/2008 10:09 PM 41,869,312 h_thumbprint.db
    08/07/2008 10:09 PM 41,926,656 i_thumbprint.db
    08/09/2008 02:47 AM <DIR> old_data
    08/07/2008 10:09 PM 10,633,216 p_thumbprint.db
    08/14/2008 05:26 PM 1,749 redirect.xml
    09/08/2008 04:12 PM <DIR> sn_data
    08/07/2008 10:09 PM 78,725,120 t_thumbprint.db
    08/07/2008 10:10 PM 42,074,112 v_thumbprint.db
    08/07/2008 10:50 PM 335,790,080 x_thumbprint.db
    11 File(s) 611,509,973 bytes
    6 Dir(s) 2,177,224,704 bytes free
    C:\Program Files\SonicWallES\PluginDefault\collab\data>"C:\Program Files\SonicWallES\utilities\bdb\db_stat.exe" -d ..\x_thumbprint.db
    db_stat.exe: __db.001: unable to find environment
    Mon Sep 08 16:17:01 2008 Local time
    61561 Hash magic number
    9 Hash version number
    Little-endian Byte order
    Flags
    8192 Underlying database page size
    0 Specified fill factor
    4882732 Number of keys in the database
    4882732 Number of data items in the database
    24548 Number of hash buckets
    35M Number of bytes free on bucket pages (82% ff)
    0 Number of overflow pages
    0 Number of bytes free in overflow pages (0% ff)
    8220 Number of bucket overflow pages
    32M Number of bytes free in bucket overflow pages (51% ff)
    0 Number of duplicate pages
    0 Number of bytes free in duplicate pages (0% ff)
    1 Number of pages on the free list

    If I'm reading your code correctly, you're starting a Korn shell session, then executing your C shell script as if you were at at the session window's prompt. If that is correct, you haven't caused your standard out (stdout) to hit ENTER yet. I'm not an expert, but I hope this works for you.
    Your code:
    Process Child = runtime.exec("/usr/bin/ksh"); // execute command
                            BufferedWriter outCommand = new BufferedWriter(new OutputStreamWriter(Child.getOutputStream()));
                            outCommand.write("/home/mypath/tesh.csh");
                            outCommand.flush();I think you need to enter one extra line before the flush():
    Process Child = runtime.exec("/usr/bin/ksh"); // execute command
                            BufferedWriter outCommand = new BufferedWriter(new OutputStreamWriter(Child.getOutputStream()));
                            outCommand.write("/home/mypath/tesh.csh");
                            outCommand.newLine();  // hit ENTER
                            outCommand.flush();P.S. If you're running this script and your Java program from the same UNIX machine, you could just execute the shell script inside the runtime.exec() call.

  • NoSuchMethod error when starting WebStart from command line (Linux)

    I'm using Chainsaw via WebStart http://logging.apache.org/log4j/docs/webstart/chainsaw/chainsawWebStart.jnlpWhen I enter this link into my browser, it launches WebStart and Chainsaw starts fine (after I approve the certificate).
    When I try to run it from the command line/home/JavaLibs/jdk1.5.0_02/jre/javaws/javaws http://logging.apache.org/log4j/docs/webstart/chainsaw/chainsawWebStart.jnlpWebStart launches OK and I'm asked to approve the certificate, but then I get the following exception.
    I'm supposing that it's a WebStart problem, rather than a Chainsaw problem, since Chainsaw starts fine if I start it from my browser. Is this a known problem? Is there any workaround?
    java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.sun.javaws.Launcher.executeApplication(Launcher.java:1098)
         at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1045)
         at com.sun.javaws.Launcher.continueLaunch(Launcher.java:896)
         at com.sun.javaws.Launcher.handleApplicationDesc(Launcher.java:468)
         at com.sun.javaws.Launcher.handleLaunchFile(Launcher.java:218)
         at com.sun.javaws.Launcher.run(Launcher.java:165)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.NoSuchMethodError: org.apache.log4j.AppenderSkeleton.activate()V
         at org.apache.log4j.chainsaw.ChainsawAppenderHandler.activate(ChainsawAppenderHandler.java:100)
         at org.apache.log4j.chainsaw.ChainsawAppenderHandler.<init>(ChainsawAppenderHandler.java:64)
         at org.apache.log4j.chainsaw.LogUI.createChainsawGUI(LogUI.java:294)
         at org.apache.log4j.chainsaw.LogUI.main(LogUI.java:250)
         ... 11 more

    Which version of your eclipse? I am using eclipse 3.0 and I am able to start weblogic 8.1 from eclipse.
    I did the following steps:
    1.create a new domain through weblogic's configuration wizard --> basic weblogic server domain --> Express --> proive the user name and password --> development mode, and sun sdk (or other jdk) --> your new domain name
    2. configure weblogic setting in eclipse: preferences --> weblogic --> 8.1, C:\bea\weblogic81, your newly created domain name --> C:\bea\user_projects\domains (domain directory) --> myserver --> admin (or your user name) --> password --> localhost --> 7001
    after that, you should be able to click on "start weblogic server" button from toolbar.
    Hope my two cents solve your problem.

  • Consistent error when trying to install Command Line Tools

    Hi there,
    after downloading XCode from the App-store without problems, I then tried to add the Command Line Tools via the Preference/Download/Components menu.
    When it comes to install the downloaded package, Xcode states "An error occured while extractng files from DevSDK.pkh", and thats about it. Re-installed Xcode, same result. Downloaded the image for the CL-utilities by hand, several versions including older ones, with the same result. The error message in /var/log/install is not very enlighning (for me)
    NSUnderlyingError = "Error Domain=BOMCopierFatalError Code=1 \"The operation couldn\U2019t be completed. FinishStreamCompressorQueue error\" UserInfo=0x7ff9e1ec9ae0 {destinationPath=/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/Cleanup At Startup/PKInstallSandboxManager/1.sandbox/Root, offset=1156350, type=BOMCopierFatalError, sourcePath=/var/folders/2f/vqq1hf8d0851_5ty12s5g0ym0000gp/T/attached-image-2b66 48c01a1f4d20c9a96b45cf50d1e78e216eb4/Command Line Tools (Mountain Lion)/Packages/DevSDK.pkg, NSLocalizedFailureReason=FinishStreamCompressorQueue error}";
            PKInstallPackageIdentifier = "com.apple.pkg.DevSDK"
    I am a bit stuck here (and in desperate need of a c++ compiler). Any suggestions what to do ?

    the last entry in the list you provided is "zz" so ...
    if you look at the second path in the error message (bolded)...:
    /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/Cleanup At Startup/PKInstallSandboxManager/1.sandbox/Root
    you will see that the path matches.  If you don't feel compfortable navigating via the terminal you can also navigate via the finder and go directly to this folder by selecting the menu item "Go > Go To Folder...":
    then enter the path "/var/folders"
    you will see the "zz" folder in there.  you can open that and continue until you can see the folder "zyxvpxvq6csfxvn_n0000000000000"
    Here is view from the terminal and the Finder of the same structure:
    I have that same folder:
    select this folder and delete (I think you will have to authenticate to remove).... sorry I am not going to remove since things are working on my end.
    locate the other folder and do the same.

  • Errors when using tomcat and netbeans combo.[Solved]

    Hi I'm trying to set up a netbeans/tomcat7 development environment for servlet development.
    I have tried this on 2 machines without any success.
    The steps I have followed are as follows.
    First I installed tomcat7 and netbeans from using pacman, then to be able to configure tomcat from netbeans I made the config files write permission 777, as it's just a development server security is not an issue.
    From there I started up netbeans started a new project and set the server to tomcat and pointed the Catalina home dir to /usr/share/tomcat7.
    When I try to run the example jsp project I get the following error:
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: java.lang.IllegalStateException: No Java compiler available
    org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:584)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:392)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:389)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:333)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
    root cause
    java.lang.IllegalStateException: No Java compiler available
    org.apache.jasper.JspCompilationContext.createCompiler(JspCompilationContext.java:226)
    org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:636)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:358)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:389)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:333)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
    I've spent the last couple of days trying to find any information on this but I cant find anything, so any advice would be much appreciated.
    Last edited by darkclown (2011-12-01 05:15:23)

    From the error, it appears that there is no JDK installed - only a JRE, could that be the case? If you do have a JDK installed, then Tomcat is not finding it.
    I would also not run this on the openJDK, in case you are doing that. I would use the proprietary Oracle/Sun JDK. It's in the AUR, or simply download it from Oracle.
    I was not even aware that netbeans and tomcat are available from pacman. I always "install" those myself manually (i.e. unpack them into a folder). They are simply Java apps that can be installed anywhere, as long as you point them to a valid JDK.

  • Error when using WETextArea and WESubmitButton

    <p>Hi again,</p><p> </p><p>I think I may have found a issue.</p><p> </p><p>if you have a form that has only a WETextArea and a WESubmitbutton that is submitting back to the same report  ( with or with out database connection) I get a error message when I click the submit button of &#39;Getform&#39; not defined.</p><p> </p><p>I have replicated this in a stand alone report with no database connection just with a parameter and the 2 we elements that is posting back to the same report. </p><p>I found this while attempting to set up  a screen to allow users to input data to the database using the WETextarea.</p><p> </p><p>Jon Roberts</p><p><a href="http://www.programmervault.com" title="www.programmervault.com">www.programmervault.com</a><br /></p><p><a href="http://www.dsi-bi.com" title="Decision Systems Inc">Decision Systems Inc </a> </p>

    hey AJ,
    unfortunately you are completely out of luck on this one as Text Area does not have a max length property associated with it. http://www.w3.org/TR/REC-html32.html
    just kidding...this is a good idea (keep them coming) and pretty quick and easy to do...so...here's some code below to give you a validation method for WETextArea.
    1) go to your Admin folder in webElements 2.1 and open up the WEValidator and replace its code with
    // WEValidator 2.1 last revision March 8, 2007, JWiseman
    Function (stringvar ElementName, stringvar Validate, stringvar Message)
    stringvar output;
    if validate > "" then
    validate:= lowercase(validate);
    if validate ="empty" then output :=
    'if(isEmpty(getform.' + ElementName + '))' +Â
    '{ ' +
    'alert("' + Message + '"); ' +
    'getform.' + ElementName + '.focus();' +
    'return;' +
    if validate in ["numeric", "number"] then output :=
    'if(isEmpty(getform.' + ElementName + '))' +Â
    '{ ' +
    'alert("' + Message + '"); ' +
    'getform.' + ElementName + '.focus();' +
    'return false; ' +
    '}' +
    'if (!isNumeric(getform.' + ElementName + '.value)) ' +
    '{ ' +
    'alert("' + Message + '"); ' +
    'getform.' + ElementName + '.focus(); ' +
    'return false;' +
    if validate in ["email", "e-mail", "email"] then output :=
    'if(isEmpty(getform.' + ElementName + '))' +Â
    '{ ' +
    'alert("' + Message + '"); ' +
    'getform.' + ElementName + '.focus();' +
    'return false; ' +
    '}' +
    'if (!isValidEmail(getform.' + ElementName + '.value)) ' +
    '{ ' +
    'alert("' + Message + '"); ' +
    'getform.' + ElementName + '.focus(); ' +
    'return false;' +
    if validate = "date" then output :=
    'if(isEmpty(getform.' + ElementName + '))' +Â
    '{ ' +
    'alert("' + Message + '"); ' +
    'getform.' + ElementName + '.focus();' +
    'return false; ' +
    '}' +
    'if (!isDate(getform.' + ElementName + '.value)) ' +
    '{ ' +
    'alert("' + Message + '"); ' +
    'getform.' + ElementName + '.focus(); ' +
    'return false;' +
    if validate = "integer" then output :=
    'if(isEmpty(getform.' + ElementName + '))' +Â
    '{ ' +
    'alert("' + Message + '"); ' +
    'getform.' + ElementName + '.focus();' +
    'return false; ' +
    '}' +
    'if (!isInteger(getform.' + ElementName + '.value)) ' +
    '{ ' +
    'alert("' + Message + '"); ' +
    'getform.' + ElementName + '.focus(); ' +
    'return false;' +
    if validate in ["check", "checked", "select", "selected"] then output :=
    'if(!isButtonChecked(getform.' + ElementName + '))' +Â
    '{ ' +
    'alert("' + Message + '"); ' +
    'return; ' +
    if validate[1 to 6] = "value=" then
    (validate:= validate[7 to length(validate)];output :=
    &#39;if(isCertainValue(getform.&#39; + ElementName + &#39;,"&#39;validate&#39;"))&#39; + 
    '{ ' +
    'alert("' + Message + '"); ' +
    'getform.' + ElementName + '.focus();' +
    'return;' +
    if validate[1 to 7] = "length>" then
    (validate:= validate[8 to length(validate)];output :=
    &#39;if(isMaxLength(getform.&#39; + ElementName + &#39;,&#39;validate&#39;))&#39; +
    '{ ' +
    'alert("' + Message + '"); ' +
    'getform.' + ElementName + '.focus();' +
    'return;' +
    "<!validator " + output  + "><!|||>"
    ) else "";
    2) now open WEFunctionLibrary and replace its code with
    // WEFunctionLibrary 2.1 last revision March 8, 2007, JWiseman
    Function ()
    // functions for select all, clear all, reverse all buttons and links
    &#39;function selectAll(cbList,bSelect) {&#39; <br />&#39;for (var i=0; i<cbList.length; i+)&#39; +
    'cbList.selected = cbList.checked = bSelect&#39; <br />&#39;}&#39; <br />
    &#39;function reverseAll(cbList) {&#39; <br />&#39;for (var i=0; i<cbList.length; i+){&#39; +
    'cbList.checked = !(cbList.checked);' +
    'cbList.selected = !(cbList.selected)&#39; <br />&#39;}}&#39; <br />
    // VALIDATION FUNCTIONS
    // function for numeric (float) input validation
    'function isNumeric(sText){' +
    &#39;var ValidChars = "0123456789.";var IsNumber=true;var Char;&#39; <br />&#39;for (i = 0; i < sText.length && IsNumber == true; i+) &#39; +
    '{Char = sText.charAt(i); ' +
    'if (ValidChars.indexOf(Char) == -1) ' +
    '{IsNumber = false;}}return IsNumber;Â ' +
    +
    // function for integer input validation
    'function isInteger(sTextB){' +
    &#39;var ValidCharsB = "0123456789";var IsNumberB=true;var CharB;&#39; <br />&#39;for (i = 0; i < sTextB.length && IsNumberB == true; i+) &#39; +
    '{CharB = sTextB.charAt(i); ' +
    'if (ValidCharsB.indexOf(CharB)
    == -1) ' +
    '{IsNumberB = false;}}return IsNumberB;Â ' +
    +
    // function for non-null input validation
    'function isEmpty(aTextField) {' +
    'if ((aTextField.value.length==0) ||' +
    '(aTextField.value==null)) {' +
    &#39;return true;}else {return false;}&#39; <br />&#39;}&#39; <br />Â
    // function for email input validation
    'function isValidEmail(str){' +
    'return (str.indexOf(".") > 2) && (str.indexOf("@") > 0);&#39; <br />&#39;}&#39; <br />
    // function for date input validation
    'function isDate(str){' +
    'var dateVar = new Date(str);' +
    'if(isNaN(dateVar.valueOf()) ||' +
    '(dateVar.valueOf() ==0))' +
    'return false;' +
    &#39;else {return true;}&#39; <br />&#39;}&#39;<br />
    // function for radio button and checkbox validation
    'function isButtonChecked(aSelection) {' +
    &#39;var checkcount = -1;&#39; <br />&#39;for (var i=0; i < aSelection.length; i+) {&#39; +
    'Â Â if (aSelection.checked) {checkcount = i; i = aSelection.length;}' +
    'Â Â }' +
    'if (checkcount > -1) return aSelection[checkcount].value;' +
    &#39;else return false;&#39; <br />&#39;}&#39;<br />
    // function for inappropriate value input validation
    'function isCertainValue(aTextField, vTextField) {' +
    'if (aTextField.value==vTextField){' +
    &#39;return true;}else {return false;}&#39; <br />&#39;}&#39; <br />
    // function for maximum input length validation
    'function isMaxLength(aTextField, mLength) {' +
    'if (aTextField.value.length>mLength){' +
    'return true;}else {return false;}' +
    3) do not add these to your repository quite yet as you'll want to test this to see if there's no nasty bugs or side affects.
    4) in your WETextArea function you'll have a validation for maximum length, so your code will look something like
    WETextArea ("tb", {?tb}, "1in", "2in", "", "length>16", "there are way too many characters here")
    NOTE: this is for maximum length only and this will not do a minimum length at this time...should that need arise in the future i can create a validation for "length

  • Pro*C/C++ Precompiler Error when using OTT and CODE=CPP

    I am trying to precompile a Pro*C application for the company I am working.
    Generating Include file and Intype file with OTT succeeded.
    But invoking the Pro*C precompiler results in error messages concerning
    the processing of the "size_t" structure being involved by including
    the file "oci.h" in the OTT-generated Include file. This file in turn
    seems to include "ociextp.h", "ociapr.h", "nzt.h" which cause the
    precompiler to complain: (i translated some terms to english)
    proc code=cpp cpp_suffix=cc intype=diacron.typ
    'sys_include=(/u01/app/oracle/product/8.1.7/precomp/syshdr,
    /usr/lib/gcc-lib/i486-suse-linux/2.95.2/include,
    /usr/include/g++,/usr/include,/usr/include/linux)'
    iname=transact
    Pro*C/C++: Release 8.1.7.0.0 - Production on Mi Jan 30 12:04:34 2002
    (c) Copyright 2000 Oracle Corporation. All rights reserved.
    System-Defaultsettings from: /u01/app/oracle/product/8.1.7/precomp/admin/pcscfg.cfg
    Syntaxerror in Line 233, Col 50, File
    /u01/app/oracle/product/8.1.7/rdbms/public/ociextp.h:
    Error in Line 233, Col 50, in File
    /u01/app/oracle/product/8.1.7/rdbms/public/ociextp.h
    dvoid ociepacm(OCIExtProcContext with_context, size_t amount);
    .................................................1
    PCC-S-02201, Found Symbol "size_t" when expecting one of the following:
    ... auto, char, const, double, enum, float, int, long,
    ulong_varchar, OCIBFileLocator OCIBlobLocator, OCIClobLocator,
    OCIDateTime, OCIExtProcContext, OCIInterval, OCIRowid, OCIDate,
    OCINumber, OCIRaw, OCIString, register, short, signed,
    sql_context, sql_cursor, static, struct, union, unsigned,
    utext, uvarchar, varchar, void, volatile,
    a typedef name, exec oracle, exec oracle begin, exec,
    exec sql, exec sql begin, exec sql type, exec sql var,
    Das Symbol "enum," ersetzte "size_t", um fortzufahren.
    ........the above several times for the other files.............
    My pcscfg.cfg looks like:
    ===============================================================
    include=/u01/app/oracle/product/8.1.7/precomp/public
    include=/u01/app/oracle/product/8.1.7/oracode/include
    include=/u01/app/oracle/product/8.1.7/oracode/public
    include=/u01/app/oracle/product/8.1.7/rdbms/include
    include=/u01/app/oracle/product/8.1.7/rdbms/public
    include=/u01/app/oracle/product/8.1.7/rdbms/demo
    include=/u01/app/oracle/product/8.1.7/network/include
    include=/u01/app/oracle/product/8.1.7/network/public
    include=/u01/app/oracle/product/8.1.7/plsql/public
    include=/u01/app/oracle/product/8.1.7/otrace/public
    include=/u01/app/oracle/product/8.1.7/ldap/public
    include=/home/wilf/lib/include
    ltype=none
    parse=partial
    ==============================================================
    And the beginning code in the file transact.pc looks like:
    ==============================================================
    #include "sqlnet/transact.hh"
    EXEC SQL BEGIN DECLARE SECTION;
    #include <stdio.h>
    #include <stdlib.h>
    #include <sqlca.h>
    #include "diacron.h" //generated by OTT
    int id;
    varchar szenario[20];
    char username="***********";
    MYTYPE *MyPtr;
    EXEC SQL END DECLARE SECTION;
    Transaction::.....several class encodings..........
    Transaction::.....several class encodings..........
    =============================================================
    By the way, i figured out so many different settings and
    alternative code placements now, I satisfy all guidelines of
    the Pro*C-Programmers Guide, but I don't get that stuff running!
    I'd appreciate any help!
    Regards,
    Wilfried

    When I first ran into this problem I scoured this forum and found the usual suspects (add the proper path to the pcscfg file by doing a "find /usr -name stddef.h -print"). Assuming that you did this and changed the reference from Suse to your distribution you can move to the next point.
    I did this and still ran into problems. It turns out that with my distribution and version (Mandrake 8.1), I needed to reference the egcs version of these includes which were not installed by default. I needed into install the egcs packages. After this I had two references to stddef.h in my usr/include path. One was quite obviously the egcs version. I needed to use that one. It cleared up the problem.
    [jflynn@CN83845-A /]$ find /usr/lib -name stddef.h -print
    /usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/include/stddef.h
    /usr/lib/gcc-lib/i586-mandrake-linux-gnu/egcs-2.91.66/include/stddef.h
    so I modified the pcscfg file as:
    sys_include=(/usr/include,/usr/lib/gcc-lib/i586-mandrake-linux-gnu/egcs-2.91.66/include)

  • ORA-39070 Error  when using datapump and writing to ASM storage

    I am able to export data using datapump when i write to a file system. However, when i try to write to an ASM storage, i get the following errors.
    ORA-39002: invalid operation
    ORA-39070: Unable to open the log file.
    ORA-29283: invalid file operation
    ORA-06512: at "SYS.UTL_FILE", line 536
    ORA-29283: invalid file operation
    below are the steps i tooks.
    create or replace directory jp_dir2 as '+DATA/DEV01/exp_dir';
    grant read,write on directory jp_dir2 to jpark;
    expdp username/password schemas=testdirectory=jp_dir2 dumpfile=test.dmp log=test.log
    Edited by: user564785 on Aug 25, 2011 6:49 AM

    google: expdp ASM
    first hit:
    http://asanga-pradeep.blogspot.com/2010/08/expdp-and-impdp-with-asm.html
    "Log files created during expdp cannot be stored inside ASM, for log files a directory object that uses OS file system location must be given. If not following error will be thrown
    ORA-39002: invalid operation
    ORA-39070: Unable to open the log file.
    ORA-29283: invalid file operation
    ORA-06512: at "SYS.UTL_FILE", line 536
    ORA-29283: invalid file operation
    "

  • Cfc error when using Flex and RemoteObject (cross post)

    I have Flex 3.0.214193 and CF 8,0,0,176276 and Oracle
    10.2.0.3.
    I've been search for several days for an answer to this one.
    There is very little out there about this type of error, but then
    there is very little about any problems with Flex and ColdFusion.
    In Flex, I have two comment fields. the .cfc has two update
    functions that update the comments, because they are in two
    different tables. The first update works like a champ. The second
    one consistantly shows this error in the CF application log: The
    NEWENGREMARK parameter to the updateEng function is required but
    was not passed in. I've used the Alert.Show to verify that Flex
    does have a value in that variable when it calls the .cfc. I've
    even tried passing the first variable that worked in the first
    update, and even a litteral value. Everything yields the same
    cryptic error message. I must be looking at the wrong thing.
    The only things I've found on the web about this, say the
    variables should have a scope (is that a scope in Flex or in the
    .cfc) and the column names should be in upper case (because it's
    Oracle).
    Here's the .cfc code (is that where the error is, or is it in
    Flex?). The UpdateDescription function works, but the UpdateEng
    doesn't.
    Thanks for any help, or spelling errors you can point out.
    Scott

    Ian,
    I also heard about the case thing. So I tried everything in
    upper case and lower case - same thing. In my experimenting, I
    tried adding the newENGRemark parameter to the descriptionUpdate
    function call, I didn't do anything with it is the .cfc just
    declared it as required. In that case the parameter exists and
    everything is fine. But in the call to the UpdateEng, it doesn't
    exist.
    I changed the .cfc so that the newENGRemark was not required
    or had a default. In both cases the .cfc just skipped to the next
    parameter and said it didn't exist. But I was passing a litteral,
    it wasn't even a variable.
    I created a .cfm page that did a cfinvoke on the .cfc, and
    passed it two litterals. That worked fine. So that makes it look
    like some sort of syntax error in the Flex. So I deleted the call
    to the UpdateENG, copied the UpdateDescription call (because it
    works), changed just the minimum to make it work, but it didn't
    work.
    I think I am going to restructure the database so that I can
    do what I need to with just one update function, that seems to
    work.
    It still doesn't make any sense.
    Scott (Flex code is attached)

  • "Invalid Line" error when using ttImportFromOracle -tableFile command

    Ran the command and got an error as indicated below:
    c:\oracle>ttImportFromOracle -oraConn myUser/myPassword@myDB -tableFile C:\oracle\table_list.txt
    Error: Invalid Line 'mySchema.myTable2' in file 'C:\oracle\table_list.txt'
    Use '-help' for more information
    table_list.txt looks like below, except I have 112 total tables in the list, one table per line as directed in the help documentation.
    mySchema.myTable
    mySchema.myTable1
    mySchema.myTable2
    I have tried making the table_list.txt file have only the table names (without the schema) and the same error happens.
    The invalid line is always the last table in the file. So if I remove the table it complains about, it just always complains about whichever table is last in the file.
    Can anyone tell me what I am doing wrong?
    Thanks,
    Matt

    Hi,
    This specific error message is output only in the case that an input line from the file does not contain a newline (linefeed) character within the first 96 characters. So maybe your input file is not in the right format... Perhaps it only has carriage return line endings?
    What platform are you running on and how was the input file created?
    Chris

  • Error when using Tomcat and JavaWebStart

    I got the following message:
    ========================================
    An error occurred while launching/running the application.
    Title: Notepad
    Vendor: Sun Microsystems, Inc.
    Category: Download Error
    Bad MIME type returned from server when accessing resource: http://c152:8080/test.jnlp - text/plain
    ========================================
    It worked fine for http://c152:8080/notepad.jnlp
    Could any one help me?

    This got solved from a previous post by izhidov :
    This person wrote:
    "Regarding Tomcat and JNLP/MIME conflict, I've read on Tomcat users list archive that the mime types should be specified in the APPLICATION web.xml file under WEB-INF dir. Seems to work great".
    Thanks.

Maybe you are looking for

  • Query Returning Multiple Rows

    I have a problem with a query that includes 5 tables! Equipment ec, (ec.cost, ec.workid) Material mc, (mc.cost, mc.workid) Labor lc, (lc.cost, lc.workid) Work wo, (wo.workid) Entity en The primary key is the work id The columns I need to extract are

  • Mac Pro USB Failure.

    Hello people! Several months ago, i started to notice some problems with USB devices and built-in USB Ports. The problem is started with these symptomes: After some working, all USB internal USB ports stop to giving power to usb devices. Only works t

  • How to manually Delete Albums

    Dear Forum Members: Have an older iPod Nano (v1.1.3). How can I manually Delete Albums from my iPod? I am running an old XP computer. I like to delete albums manually from my old iPod and add new albums from time to time (i.e. swap in and swap out al

  • After the software update to my iPhone 5, i cannont access Facebook. What do I do now?

    After the software update to my iPhone 5, i cannont access Facebook. What do I do now?

  • OpenSSO-Sun IDM integration

    Hi All, I have implemented the OpenSSO-Sun IDM integration based on the "OpenSSO Integration Guide.pdf". Now, if the users are created in Sun-IDM are provisioned to OpenSSO. Can anyone suggest me, can the users created in OpenSSO be provisioned to Su