Scan.....nothing to add

Greetings,
Just installed v 2.0.2.1 in an AD environment.
I assume it's some sort of rights issue and more so the proxy user.
When I try and do a scan and add a target, the only server I see is itself.
Administration-identity systems has the correct domain and have select the server I want for the rebuild, which I've done.
The identity systems show the domain, but no proxy credentials........however it is authenticated??
I've tried resetting the proxy password, but throws error "failed to update proxy account domain\nfrproxy when updating the identity system"
Any ideas as to what I'm doing wrong??
Thanks in advance......

On 6/3/2014 12:46 AM, asabadin wrote:
>
> Greetings,
>
> Just installed v 2.0.2.1 in an AD environment.
>
> I assume it's some sort of rights issue and more so the proxy user.
>
> When I try and do a scan and add a target, the only server I see is
> itself.
> Administration-identity systems has the correct domain and have select
> the server I want for the rebuild, which I've done.
> The identity systems show the domain, but no proxy
> credentials........however it is authenticated??
> I've tried resetting the proxy password, but throws error "failed to
> update proxy account domain\nfrproxy when updating the identity system"
>
> Any ideas as to what I'm doing wrong??
>
> Thanks in advance......
>
>
asabadin,
Is the nfrproxyrights group a member of your domain's builtin
Administrators group? (Not the "Domain Admins" group.) Are the LSA
privileges and share permissions described in NFR's documentation
granted on the servers you're interested in, as well as membership in
the local Administrators group on those servers? (Documentation:
http://www.novell.com/documentation/...a/bs6e66n.html)
Also, please note that NFR 2.0.2.2 has been released. This release of
NFR includes a fix for the 'Heartbleed' OpenSSL vulnerability as well as
other bugfixes.
-- NFMS Support Team

Similar Messages

  • Doesn't know how to scan via email add and how to install my email add

    How to install email add so I can scan

    Hi @rcv5680,
    Welcome to the HP Support Forums! I understand you would like to Scan to Email with your HP Deskjet. To better assist you can you please leave me with the following information:
    1. What is the Exact model of HP Deskjet you are using, I am unable to locate the 2450?
    2. What is your current Operating system, Windows or Mac and which version?
    3. How is the printer connected, USB or Wireless?
    I hope to hear from you soon.
    Thanks,
    HevnLgh
    I work on behalf of HP
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to the left of the reply button to say “Thanks” for helping!

  • Hp scanjet G3110 scan add bluish color

    Sir,
    My scanner scan normally but as it scans it automatically add bluish color, which was not in it's original. would you please help me. 

    Hi @Basu1,
    Welcome to the HP Forums!
    I suppose if you were scanning pictures of Smurfs that would be okay
    To help with the blue tint being added to your scans, this Scanned Images with Blue Tint document should do the trick!
    Let me know how things go for you please
    In support of Movember
    Please click “Accept as Solution ” if you feel my post resolved your issue, as it will help others find the solution faster
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    **MissTeriLynn**
    I work on behalf of HP

  • How to SCAN uploaded files for VIRUS in APEX

    part 1:
    Goal:
    Do a virus scan of the uploaded file from APEX application prior to storing the file in custom tables.
    The process:
    Followed the document from www.developer.com:
    Implementing an Anti-Virus File Scan in JEE Applications
    By Vlad Kofman
    Go to page: 1 2 3 Next
    This article will discuss one of the ways to implement antivirus file scanning in Java, particular in the JEE applications. Viruses, Trojan Horses, and different malware and spyware are a real problem for current computer environments, and especially for the Windows operating system. If you are designing any application in Java that has a requirement to be able to upload external files, you have a potential security risk. By uploading, I mean any way to get the external file inside of the corporate firewall be it via HTTP protocol or any other means. It is quite common to have this type of requirement in an enterprise application and with Java being one of the most popular web development platforms, it is unfortunate that this type of gaping security risk is quite often overlooked.
    Java's Development Kit (JDK) does not have any means to do the antivirus scan right out of the box. This is primarily because Java is a programming language, and does not have any virus scanning packages. Furthermore, anti-virus software is not Sun's area of expertise or business model. Developing this type of software (or Java package), and more importantly maintaining it, would be a huge task for Sun. Mainly because viruses are constantly evolving and keeping virus definitions up-to-date is a daunting task. Large companies such as McAffee, Symantec, or Zone Labs develop virus detecting and combating products and spend a lot of resources to maintain them.
    Application Environment
    To implement a virus file scan in Java, a third-party package needs to be used. For the purposes of this article, I will use Symantec Scan Engine (SSE) package, which comes with Java APIs. This package is an application that serves as a TCP/IP server and has a programming interface and enables Java applications to incorporate support for content scanning technologies. For this article, I used Symantec Scan Engine 5.1, which is available as a Unix or Windows install.
    If you are using an anti-virus package from the different vendor, you will need to investigate what kind of APIs are available; however, the general approach should be similar. Also, note that my implementation can be used with JEE technology and any modern MVC framework such as Struts or Spring.
    The architecture is as follows: A server machine needs to have SSE running at all times. This can be the same machine that hosts your Application Server, but in an enterprise environment this should be a different machine. The Default Port needs to be open through the firewall to allow communication with the scan engine. All JEE applications that need to do file scanning can talk to the SSE server machine through a default port. Also, multiple applications running on different application servers can re-use the same scanning server. For more information, you should refer to the Symantec Scan Engine (SSE) Installation Guide, available on the Symantec web site.
    When an external file that needs to be scanned is sent to the SSE via its programming interface (Java APIs using the default port), before any other operation on the file is performed, the SSE returns a result code. For instance, a file is uploaded by an external user into the web email type application as an attachment; then, the SSE API is invoked by the application and the return code of pass or fail determines the outcome of the upload and whether that email can actually be sent. If you have an account on Yahoo mail, you probably have seen that Yahoo is using Norton Antivirus to scan all attachments, although no Java.
    Click here for a larger image.
    Figure 1: Screen shot from Yahoo
    For details on the Scan Engine Server Installationm please see the Symantec Scan Engine (SSE) Implementation Guide from Symantec.
    Here are some key things to remember about SSE:
    •     Java 2 SE Runtime (JRE) 5.0 Update 6.0 or later must be installed on the server before the SSE installation is done.
    •     After installation, verify that the Symantec Scan Engine daemon is running. At the Unix command prompt (if it's a Unix install), type the following command:
    ps –ea | grep sym.
    A list of processes similar to the following should appear:
    o     5358 ? 0:00 symscan
    o     5359 ? 0:00 symscan
    If nothing is displayed the SSE process did not start.
    If the SSE process did not start, type the following command to restart SSE:
    /etc/init.d/symscan restart
    •     Keeping the virus definition up to date is the most important task and if new updates are not installed, the whole scan becomes ineffective. Symantec automatically downloads the most current file definitions through LiveUpdate. Please make sure that firewall rules are in place to allow the host server to connect to the Symantec update service.
    Project Setup
    For the purposes of this article, I included a wrapper for the Symantec SSE APIs, av.jar, which has Symantec Java APIs and serves as a client to the SSE server and takes care of all communications with the server. Please refer to the download source section. The av.jar should be included in the Java CLASSPATH to work with the SSE. This jar contains a class called AVClient that takes care of actually sending the files to SSE as byte arrays and returning the result.
    In my project setting, I added three variables to be accessed via the System.getProperty mechanism. For example:
    AV_SERVER_HOST=192.168.1.150
    AV_SERVER_PORT=1344
    AV_SERVER_MODE=SCAN
    The AV_SERVER_HOST is the host name or IP of the machine where Scan Engine is installed.
    The AV_SERVER_PORT is the port where Scan Engine listens for incoming files.
    The AV_SERVER_MODE is the scan mode which can be:
    •     NOSCAN: No scanning will be done (any keyword that does not start with "SCAN" will result in ignoring the call to the Scan Engine and no files will be transferred for scanning).
    •     SCAN: Files or the byte stream will be scanned, but the scan engine will not try to repair infections.
    •     SCANREPAIR: Files will be scanned, the scan engine will try to repair infections, but nothing else will be done.
    •     SCANREPAIRDELETE: Files will be scanned, the scan engine will try to repair infections, and irreparable files will be deleted.
    Note: For the file stream (byte array) scanning, the only meaning full values are "SCAN" and "NOSCAN".
    Using the SSE Scanning Java APIs
    In any class where scan is required, call the scanning API provided in the AVClient object located in the av.jar. The AVClient object will establish connection to the Scan Engine server and has the following APIs:
    Figure 2: The significant APIs for the communication with to the Scan Engine Server.
    If scanning a file on the file system, in SCAN only mode, use the call that accepts filename only.
    If scanning a file on the file system, with SCANREPAIR or SCANREPAIRDELETE, use the call that accepts input and output file names.
    If scanning an in-memory file (byte array), use the call accepting byte array.
    For example:
    import com.av.*;
    Initialize setup parameters:
    static String avMode =
    (System.getProperty("AV_SERVER_MODE") != null)
    ? (String) System.getProperty("AV_SERVER_MODE") : "NOSCAN";
    static boolean scan = avMode.startsWith("SCAN");
    static String avServer =
    (String) System.getProperty("AV_SERVER_HOST");
    static int avPort =
    Integer.parseInt( (String) System.getProperty("AV_SERVER_PORT"));
    Scan check example for an in-memory file byte array:
    public void scanFile(byte[] fileBytes, String fileName)
    throws IOException, Exception {
    if (scan) {
    AVClient avc = new AVClient(avServer, avPort, avMode);
    if (avc.scanfile(fileName, fileBytes) == -1) {
    throw new VirusException("WARNING: A virus was detected in
    your attachment: " + fileName + "<br>Please scan
    your system with the latest antivirus software with
    updated virus definitions and try again.");
    Note that if you are using this code inside of the MVC handler, you can throw a custom VirusException and check for it in the calling method and perform any necessary cleanup. I have included the class in the AV Jar as well.
    For example:
    catch (Exception ex) {
    logger.error(ex);
    if (ex instanceof VirusException) {
    // do something here
    else {
    // there was some other error – handle it
    For more details on the Scan Engine Client API, please see Symantec Scan Engine Software Developers Guide.
    Continuation in part2

    part 4:
    c)     Clienttester.java – This is the gui app set to test if the configuration is working or not. This gui uses the method scanfile(inputfile, outputfile) as you can see the result in the outputpane of the jframe.
    * clienttester.java
    * Created on April 12, 2005, 2:37 PM
    * @author george_maculley
    package com.av;
    import java.io.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class clienttester
    implements ActionListener {
    // private String ipaddress = "127.0.0.1";
    private String ipaddress = "199.209.150.58";
    //private String ipaddress = "192.168.0.55";
    static JFrame frame;
    JFileChooser chooser = new JFileChooser();
    TextField pathtofile = new TextField(System.getProperty("user.home"), 30);
    // TextField pathtooutfile= new TextField(System.getProperty("user.home"),30);
    private int port = 1344;
    JButton filechooser = new JButton("Browse to file"); ;
    private String originalfilename;
    private String outputfilename;
    JButton scanbutton = new JButton("Scan");
    TextArea outputarea = new TextArea(20, 40);
    TextField iptext = new TextField("127.0.0.1", 16);
    TextField porttext = new TextField("1344", 5);
    AVClient mine;
    JRadioButton choosescan = new JRadioButton("SCAN");
    // JRadioButton choosedelete= new JRadioButton("SCANREPAIRDELETE");
    /** Creates a new instance of gui */
    public clienttester() {
    public clienttester(java.lang.String ip, java.lang.String infile, java.lang.String outfile, int port) {
    this.ipaddress = ip;
    this.port = port;
    this.originalfilename = infile;
    this.outputfilename = outfile;
    boolean setValues(java.lang.String ip, java.lang.String infile, java.lang.String outfile, int port) {
    this.ipaddress = ip;
    this.port = port;
    this.originalfilename = infile;
    this.outputfilename = outfile;
    return (true);
    public void actionPerformed(java.awt.event.ActionEvent actionEvent) {
    JComponent c = (JComponent) actionEvent.getSource();
    if (c == filechooser) {
    int retval = chooser.showDialog(frame, null);
    if (retval == JFileChooser.APPROVE_OPTION) {
    File theFile = chooser.getSelectedFile();
    if (theFile != null) {
    pathtofile.setText(theFile.getPath());
    // pathtooutfile.setText(theFile.getPath());
    JOptionPane.showMessageDialog(frame, "You chose this file: " + theFile.getPath());
    if (c == scanbutton) {
    //return object that can be passed to AVClient
    String policy;
    int thisport;
    int scanresult;
    String thisip;
    String inputfile;
    String outputfile;
    outputarea.append("Server: " + iptext.getText() + "\r\n");
    if (choosescan.isSelected()) {
    policy = "SCAN";
    else {
    policy = "SCANREPAIRDELETE";
    thisport = new Integer(porttext.getText()).intValue();
    thisip = iptext.getText();
    //mine= new AVClient(iptext.getText(),porttext.getText(),policy);
    mine = new AVClient(iptext.getText(), thisport, policy);
    if (mine.test() == 1) {
    outputarea.append("Sorry. Incorrect parameters specified.\r\n");
    System.exit(1);
    else {
    outputarea.append("Connection to SAVSE initialized.\r\n");
    inputfile = pathtofile.getText();
    // outputfile=pathtooutfile.getText();
    outputfile = "/tmp";
    outputarea.append("Scanning file " + inputfile + " \r\n");
    if (policy == "SCAN") {
    scanresult = mine.scanfile(inputfile);
    else {
    scanresult = mine.scanfile(inputfile, outputfile);
    if (scanresult == 0) {
    outputarea.append("File is clean.\r\n");
    else if (scanresult == -1) {
    outputarea.append("File is infected. \r\n");
    else {
    outputarea.append("Scan error.\r\n");
    void display() {
    Frame f = new Frame("SAVSE JAVA ICAP Client");
    f.setLayout(new GridLayout(1, 2));
    JPanel lpanel = new JPanel(new GridLayout(7, 1));
    JPanel ippanel = new JPanel();
    JPanel portpanel = new JPanel();
    JPanel rpanel = new JPanel();
    JPanel outputpanel = new JPanel();
    JPanel buttonpanel = new JPanel();
    JPanel pathpanel = new JPanel();
    // JPanel outpathpanel= new JPanel();
    JPanel policypanel = new JPanel();
    ButtonGroup policygroup = new ButtonGroup();
    filechooser.addActionListener(this);
    scanbutton.addActionListener(this);
    choosescan.setSelected(true);
    policygroup.add(choosescan);
    // policygroup.add(choosedelete);
    buttonpanel.setBorder(BorderFactory.createTitledBorder("Scan Policy"));
    buttonpanel.add(choosescan);
    // buttonpanel.add(choosedelete);
    pathpanel.setBorder(BorderFactory.createTitledBorder("Path to File"));
    pathpanel.add(pathtofile);
    f.setSize(new Dimension(650, 400));
    f.setBackground(Color.white);
    f.setResizable(true);
    ippanel.setBorder(BorderFactory.createTitledBorder("SAVSE IP Address"));
    ippanel.add(iptext);
    outputpanel.setBorder(BorderFactory.createTitledBorder("OUTPUT"));
    outputpanel.add(outputarea);
    portpanel.setBorder(BorderFactory.createTitledBorder("ICAP Port"));
    portpanel.add(porttext);
    // outpathpanel.setBorder(BorderFactory.createTitledBorder("Path to Repair File"));
    // outpathpanel.add(pathtooutfile);
    lpanel.add(ippanel);
    rpanel.add(outputpanel);
    lpanel.add(portpanel);
    lpanel.add(buttonpanel);
    lpanel.add(pathpanel);
    // lpanel.add(outpathpanel);
    lpanel.add(filechooser);
    lpanel.add(scanbutton);
    f.add(lpanel);
    f.add(rpanel);
    f.setVisible(true);
    public static void main(String[] args) {
    clienttester g = new clienttester();
    g.display();
    d)     my2.java – This is the class file I wrote to test that I am able to send a file and scan it and see the output in the JDEVELOPER. In this case the file is stored on the filesystem of the client machine. JDEVELOPER should be able to see the file.
    NOTE:
    “EICAR.com” is the test file downloaded from Symantec site to test a non malicious virus file. I n order to be able to test it like this, the Antivirus program running on your machine should be disabled, or else Antivirus will kick in and delete the file. In the first place you will not be able to download the test virus file either with anti virus running on the machine you are downloading to.
    package com.av;
    import java.io.*;
    public class my2 {
    static int my_return = 0;
    * @param fileBytes
    * @param fileName
    * @return
    public static int scanfile(String fileName){
    String avMode = "SCAN";
    boolean scan = avMode.startsWith("SCAN");
    String avServer = "xx";--avserver ip address
    int avPort = 1344;
    int the_return = 0;
    if (scan) {
    AVClient avc = new AVClient(avServer,avPort,avMode);
    the_return = avc.scanfile(fileName);
    if (the_return == -1) {
    return (the_return);
    } else
    return (the_return);
    //my_return = the_return;
    return (the_return);
    public static void main(String[] args) throws Exception {
    System.out.println("Hi there in Main");
    byte[] b1 = new byte[4];
    b1[1] = 68;
    my_return = scanfile("c:\\eicar.com");
    System.out.println(my_return);
    e)     Then finally we have my1.JAVA, which takes the filename, and it’s contents in the bytes form and scans the file. The reason for this method is we are not storing the file on the filesystem, it is read into the memory and only if it is clean, it is put into the database or else notify the user.
    package com.av;
    import java.io.*;
    public class my1 {
    static int my_return = 0;
    static int a_length = 0;
    * @param fileBytes
    * @param fileName
    * @return
    public static int scanfile(String fileName,byte[] fileBytes) throws IOException {
    String avMode = "SCAN";
    boolean scan = avMode.startsWith("SCAN");
    String avServer = "xxx";--avserver’s ip address
    int avPort = 1344;
    int the_return = 0;
    if (scan) {
    AVClient avc = new AVClient(avServer,avPort,avMode);
    // File file = new File(fileName) ;
    //byte[] fBytes = getBytesFromFile(file);
    the_return = avc.scanfile(fileName, fileBytes);
    if (the_return == -1) {
    return (the_return);
    } else
    {return (the_return);}
    my_return = the_return;
    return (the_return);
    // Returns the contents of the file in a byte array.
    * @param file
    * @return
    * @throws IOException
    public static byte[] getBytesFromFile(File file) throws IOException {
    InputStream is = new FileInputStream(file);
    // Get the size of the file
    long length = file.length();
    // You cannot create an array using a long type.
    // It needs to be an int type.
    // Before converting to an int type, check
    // to ensure that file is not larger than Integer.MAX_VALUE.
    if (length > Integer.MAX_VALUE) {
    // File is too large
    // Create the byte array to hold the data
    byte[] bytes = new byte[(int)length];
    // Read in the bytes
    int offset = 0;
    int numRead = 0;
    while (offset < bytes.length
    && (numRead=is.read(bytes, offset, bytes.length-offset)) >= 0) {
    offset += numRead;
    // Ensure all the bytes have been read in
    if (offset < bytes.length) {
    throw new IOException("Could not completely read file "+file.getName());
    // Close the input stream and return bytes
    is.close();
    return bytes;
    // public static void main(String[] args) throws Exception {
    //System.out.println("Hi there in Main");
    // File file = new File() ;
    // byte[] b1 = getBytesFromFile(file);
    //System.out.println(b1);
    // my_return = scanfile(,b1);
    //System.out.println(my_return); }
    Finally , you have the exceptions file,
    e) package com.av;
    public class VirusException
    extends Exception {
    public VirusException() {
    super();
    public VirusException(String text) {
    super(text);
    Once you have all these classes, you can use JDEVELOPER , to load these classes into the database: This is as follows:
    Right click on the project, which has all these classes.
    NEW -> deployment profiles -> load java and stored procedures.
    When you are created deployment profile, you have to specify,
    Loadjava options.
    -f, -v (check the check boxes)
    Under privileges:
    -s – specify database schema these classes are loaded into
    -s – create sysnonym check box
    -g – grant to public or any specific users per your policy.
    Under Resolver,
    -r and –o (check the check boxes)
    I accepted the default name storedproc1. Then you right click on the storedproc1.deploy, deploy to whichever database connection you created.
    And then, In order to access this java class we need a pl/sql wrapper as follows:
    create or replace package my1 is
    function mycheck (pfilename in varchar2, psize in number)
    return number;
    end my1;
    create or replace package body my1 is
         function mycheck (pfilename in varchar2, psize in number)
    return number is
    language java
         name 'com.av.my1.scanfile(java.lang.String, byte[]) return int';
         end my1;
    And the code is invoked from sql plus as follows:
    Select my1.mycheck(“filename”, “filebytes”) from dual;
    One important catch in the above method is to send the filename and filecontents in bytes form. In order to send the file contents as filebytes, you will need another java class and load into the data base as described above.
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    * This program demonstrates how to read a file into a byte array. This method
    * reads the entire contents of the file into a byte array.
    * @version 1.0
    * @author Jeffrey M. Hunter ([email protected])
    * @author http://www.idevelopment.info
    public class ReadFileIntoByteArray {
    * method to convert a byte to a hex string.
    * @param data the byte to convert
    * @return String the converted byte
    public static String byteToHex(byte data) {
    StringBuffer buf = new StringBuffer();
    buf.append(toHexChar((data >>> 4) & 0x0F));
    buf.append(toHexChar(data & 0x0F));
    return buf.toString();
    * Convenience method to convert an int to a hex char.
    * @param i the int to convert
    * @return char the converted char
    public static char toHexChar(int i) {
    if ((0 <= i) && (i <= 9)) {
    return (char) ('0' + i);
    } else {
    return (char) ('a' + (i - 10));
    * Returns the contents of the file in a byte array
    * @param file File this method should read
    * @return byte[] Returns a byte[] array of the contents of the file
    private static byte[] getBytesFromFile(File file) throws IOException {
    InputStream is = new FileInputStream(file);
    System.out.println("\nDEBUG: FileInputStream is " + file);
    // Get the size of the file
    long length = file.length();
    System.out.println("DEBUG: Length of " + file + " is " + length + "\n");
    * You cannot create an array using a long type. It needs to be an int
    * type. Before converting to an int type, check to ensure that file is
    * not loarger than Integer.MAX_VALUE;
    if (length > Integer.MAX_VALUE) {
    System.out.println("File is too large to process");
    return null;
    // Create the byte array to hold the data
    byte[] bytes = new byte[(int)length];
    // Read in the bytes
    int offset = 0;
    int numRead = 0;
    while ( (offset < bytes.length)
    ( (numRead=is.read(bytes, offset, bytes.length-offset)) >= 0) ) {
    offset += numRead;
    // Ensure all the bytes have been read in
    if (offset < bytes.length) {
    throw new IOException("Could not completely read file " + file.getName());
    is.close();
    return bytes;
    * @param filename
    public static byte[] chk_file(String filename) {
    byte[] fileArray = null;
    try {
    fileArray = getBytesFromFile(new File( filename));
    } catch (IOException e) {
    e.printStackTrace();
    if (fileArray != null) {
    for (int i=0; i<fileArray.length; i++) {
    System.out.println(
    "fileArray[" + i + "] = " +
    ((int)fileArray[i] < 9 ? " " : "") +
    ( ((int)fileArray[i] > 9 && (int)fileArray[i] <= 99) ? " " : "") +
    fileArray[i] + " : " +
    " HEX=(0x" + byteToHex(fileArray) + ") : " +
    " charValue=(" + (char)fileArray[i] + ")");
    return fileArray;
    * Sole entry point to the class and application.
    * @param args Array of String arguments.
    public static void main(String[] args) {
    byte[] fileArray = null;
    try {
    fileArray = getBytesFromFile(new File("c:\\eicar.com"));
    } catch (IOException e) {
    e.printStackTrace();
    if (fileArray != null) {
    for (int i=0; i<fileArray.length; i++) {
    System.out.println(
    "fileArray[" + i + "] = " +
    ((int)fileArray[i] < 9 ? " " : "") +
    ( ((int)fileArray[i] > 9 && (int)fileArray[i] <= 99) ? " " : "") +
    fileArray[i] + " : " +
    " HEX=(0x" + byteToHex(fileArray[i]) + ") : " +
    " charValue=(" + (char)fileArray[i] + ")");
    Having main method helps you to run the file in JDEVELOPER or using JAVA.
    DO not forget to load this class into the database.
    And you create the pl/sql wrapper again as follows:
    create or replace FUNCTION TOBY (pfilename in varchar2) RETURN VARCHAR2 iS
    language java name
    'ReadFileIntoByteArray.chk_file(java.lang.String) return byte[]';
    And you call the function from sqlplus as follows:
    Sql>Set serveroutput on size 20000;
    Sql> call dbms_java.set_output(20000);
    Sql> Select toby(“filename”) from dual; --
    this file should be accessible, I mean you will not be able to send a file on your pc, from sql plus as sql/plus is running on your db server.
    You will be able to see the output in sql plus:
    If you are running it from the APEX:
    When we use file browser widget from APEX, the file is stored in APEX_APPLICATION_FILES table. And we retrieve that into a variable and pass this variable to the function as follows:
    DECLARE
    scan_failed EXCEPTION;
    x varchar2(400);
    z number;
    BEGIN
    select filename into x from wwv_flow_files where name = :P1_FILE_NAME;
    select my1.mycheck(x,toby(x)) into z from dual;
    if z = 0 then
    :P1_SUBJECT:= 'PASSED';
    else
    :P1_SUBJECT:= 'FAILED';
    end if;
    :P1_SCAN_RESULT := '** Scanning File **';
    IF UPPER(:P1_SUBJECT) = 'PASSED' THEN
    BEGIN
    :P1_SCAN_FLAG := 'PASSED';
    :P1_SCAN_RESULT := :P1_SCAN_RESULT || ' ** File passed scan **';
    END;
    ELSIF UPPER(:P1_SUBJECT) = 'FAILED' THEN
    BEGIN
    :P1_SCAN_FLAG := 'FAILED';
    :P1_SCAN_RESULT := :P1_SCAN_RESULT || ' ** File failed scan **';
    END;
    ELSE
    BEGIN
    :P1_SCAN_FLAG := 'UNKNOWN';
    :P1_SCAN_RESULT := :P1_SCAN_RESULT || ' ** Scan Is Not Conclussive **';
    END;
    END IF;
    --IF :P1_SCAN_FLAG = 'FAILED'
    -- THEN RAISE scan_failed;
    --END IF;
    EXCEPTION
    WHEN OTHERS THEN
    DELETE from APEX_APPLICATION_FILES WHERE name = :P1_FILE_NAME;
    RAISE_APPLICATION_ERROR (-20000, 'seb OTHERS error encountered - file upload not allowed. Possible virus detected !');
    raise;
    END;
    ACKNOWLEDMENTS:
    1) JOHN SCOTT – who suggested this ICAP API in one of the threads which is my initial starting point in this direction.
    2) VLAD KOFMAN who wrote the article on WWW.DEVELOPER.com
    3) Mr. KIRAN –One of the engineers from Metalink, who helped me at every step of getting this java programs and pl/sql wrappers working. But for him, I would have not completed my project.

  • Airport setup asst. doesnt work.  Is there way to use Windows to add airpor

    Airport setup asst. doesnt work. Is there way to use Windows to add airport express to my current linksys network so that my iTunes will play through my stereo?
    Previously the air-assit recognized the air-exp unit but kept asking for a password to continue. I tried passwords like admin and public but nothing worked. Then Windows network connections kept trying to connect my laptop to the internet using the air-exp. Don't remember what I did to fix that problem but now my laptop doesn't try using it to connect me to internet anymore.
    However, now air-asst. doesn't read the air-exp anymore. Windows network connections DOES read it now but doesn't try to use it anymore to connect me to the internet.
    I have a linksys WAP and separate linksys router. If memory serves, when I firt got the air-exp about 6 months ago I could not connect either and Apple tech support had to help me. I think, but not sure, they had me use Windows to add the air-exp to my wireless network. Also if my memory serves me, but not sure, I had to type in either some IP or MAC addresses in order to get the air-exp to connect to my existing network. I DO remember thinking after it was finally working that "Wow, this is definately NOT a plug and play thing." It wasn't very easy to set up.
    I lost my laptops wireless connection last week and couldn't connect to my network and had to call linksys tech support. They had me input a new IP and DNS address because somehow my laptop "lost" the previous ones. Since then I have not been able to use my air-exp to connect to my stereo.
    I have called Apple tech support but since my 90 days is up they want to charge me $49.95 for up to five days worth of tech support. Which I think is a rip off becau linksys will help you out at anytime for fee but that's a topic for another discussion group. Common Apple, how about a $10 charge for one day of tech support, or even just 15 minutes worth to get my gear working again?
    Anyway, if anyone knows of any on-line walkthroughs of how to deal with these airport express set-ups or problems please let me know. Or, of course if anyone can walk me through this that would be even better. THANKS

    Thank you for your help.
    When I run air-util a window called base station chooser comes up and all the fields are blank. When I push "re-scan" nothing happens. When I push "other" a window pops up asking for IP address and password. I typed in the IP address given to me from Linksys tech and tried to move on but it came back asking me to fill in the password. I tried the default linksys password "admin" but it came back with an error.
    Do I hard (factory) reset the air-express by simply pushing the reset button or do I have to hold it in while I plug it in or simply push the button for a certain length of time?
    Thanks again.

  • Cannot add cards in the passbook

    hello guys,
    I have an IPhone 6 16Gb and I cannot find anything about Apple pay in my phone.
    When I go to the settings the option to active the Apple pay ( in the part where exist the icloud and Apple Store )
    when I access my passbook the only oprion that show is the scan the code ( nothing about add cards as you can see in the image).
    Anyone with this problem or know how to solve it?
    THank you.

    Yes, my iCloud is ok, my fringrpints are in use and the restrictions are turned off.
    i mi have no idea what is happen. For exemple, I cant see it in the general settings for exemple ( like in the picture).

  • Firefox checks for updates to add-ons every time it starts?

    Every time I click my shortcut to open Firefox, a window pops up. This window scans my installed add-ons and checks for updates. Then, Firefox opens. One of my add-ons, "Zotero Word Integration" tries to install itself every time. If I have an instance of Microsoft Word open, this installation fails, but ultimately, Firefox opens and runs fine. The add-on scan takes approx. 30 seconds, so if I accidentally close FF, it's a big hassle. This first started happening after I updated to FF 8. I downloaded and installed FF7 but the problem persisted. Now, I am back to FF8, but, alas, nothing has changed. None of my other add-ons are having problems except for the ones that aren't compatible with FF8 yet. FYI, I do have Roboform, but it is the current version, both to-go, and everywhere.

    See:
    * http://kb.mozillazine.org/Preferences_not_saved
    Delete the files extensions.* (extensions.sqlite, extensions.ini, extensions.cache, extensions.rdf) and compatibility.ini in the Firefox profile folder to reset the extensions registry.
    New files will be created when required.
    See "Corrupt extension files":
    * http://kb.mozillazine.org/Unable_to_install_themes_or_extensions
    If you see disabled, not compatible, extensions in "Tools > Add-ons > Extensions" then click the Tools button at the left side of the Search Bar (or click the "Find Updates" button in older Firefox versions) to do a compatibility check or see if there is an update.
    Create a new profile as a test to check if your current profile is causing the problems.
    See Basic Troubleshooting: Make a new profile:
    * https://support.mozilla.com/kb/Basic+Troubleshooting#w_8-make-a-new-profile
    There may be extensions and plugins installed by default in a new profile, so check that in "Tools > Add-ons > Extensions & Plugins" in case there are still problems.
    If that new profile works then you can transfer some files from the old profile to that new profile (be careful not to copy corrupted files)
    See:
    * http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox

  • Unable to open documents after scanning

    I am unable to open my documents after scanning. I keep getting the message Adobe reader could not open because it is either not a supported file type or because the file is damaged, then it redirects me to a buya subcription Adobe reader XI. These documents are just regular standard 3 to 11 gray scale scans, nothing special. I just need my regulay Adobe reader to open A PDF file. Please help.

    just to clarify, you're scanning a document and then you are saving that as a pdf file, correct?
    in particular, you are not trying to add the scanned document to an already existing file (pdf or otherwise), correct?
    if yes and yes and your reader and can that pdf ok, you have a scanner problem.  try updating your scanner's drivers.

  • Scanning multiple pages in one document

     I am trying to scan multiple pages in one document.  I am using a HP Envy 4501 All-in-one and running Windows 8.1.  I used to be able to do this at one point but for some reason, lately I am not able to.  I have read other posts that spoke of a "+" sign on the left side of the screen, but it is not there for me.  Also, I cannot just save the page and scan the next without having to save them under different file names.  Please advise.
    This question was solved.
    View Solution.

    Hi,
    From the HP Software click on Scan a Document or Photo and ensure the Sow Scan Preview is checked.
    Reduce the Scan Resolution into 300 or a lower resolution and press on Scan, then the add button should appear again.
    Shlomi
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • How do I add a device to my account

    my son just took over my husbands iphone 4.  my 2 kids and I share an itunes account.  How do I add my sons "new" phone to my account so he can transfer all his games and music that he had on his itouch?

    There is nothing to add.
    Restore the iPhone as new.
    Sign into the app store and iCloud with the appropriate Apple ID.
    Sync the device to the desired computer and put the desired content on it.

  • I got update 23 and then it cks if all add ons are ok. But every time I turn firefox on it keeps recking if add ona are good. How do i stop firefox from cking??

    Hello I got update 23 and when it finished and restarts it cks all my add on's and then its ready to finish updating. but this update the cking for good add ons keeps scanning each time i turn on firefox. so the 1st part of the 2 part scans ok but when it scans the 2ed part to ck add ons it does not finish and just goes away so then every time i turn on friefox it keeps doing this instead of laoding my home page firefox keeps opening up and then the firefox home page opens when i have my home page set to open up my yahoo acct. how do i get 23 update to stop scanning my 10 add ons and will then finish installing so my windows 8 laptop will get past this problem?? I hope U can tell me what to do and all my add ons are ok and my extensions are all good too!! thanks for helping me??

    It is possible that there is a problem with the file(s) that store the extensions registry.
    Delete the extensions.* files (e.g. extensions.sqlite, extensions.ini) and compatibility.ini in the Firefox profile folder to reset the extensions registry.
    *https://support.mozilla.org/kb/Profiles
    New files will be created when required.
    See "Corrupt extension files":
    *http://kb.mozillazine.org/Unable_to_install_themes_or_extensions
    *https://support.mozilla.org/kb/Unable+to+install+add-ons
    If you see disabled or not compatible extensions in "Firefox/Tools > Add-ons > Extensions" then click the Tools button at the left end side of the Search Bar ("Find Updates" button in older Firefox versions) to check if there is a compatibility update available.
    If this hasn't helped then also delete the addons.sqlite file.
    You can also check for problems with preferences.<br />
    Rename or delete the prefs.js file and possible numbered prefs-##.js files and a possible user.js file to reset all prefs to the default value.
    *http://kb.mozillazine.org/Preferences_not_saved
    *http://kb.mozillazine.org/Resetting_preferences

  • I have updated to Firefox 7.0.1 and now none of the drop-down menus at the top of the screen work, not even the Apple menu. If I click on the heading (e.g. File) nothing happens.I have a Mac Intel running OSX 10.6.8. Is there an update to fix this bug?

    Nothing to add.

    I found a partial answer at [[http://support.mozilla.com/en-US/questions/716983|safe-mode]] , which is to close Firefox and restart in Safe-Mode. (Hold down the Option key while restarting Firefox.) After doing this I exported all my bookmarks and imported them to Safari, so at least I'll have a browser that works.

  • 8600 pro printer and windows 8.1 can't scan and more

     8600 pro wireless connection to HP all in one desktop computer. HP software installed on computer with 8. Only used printer function until today. Tried to scan from printer to computer. Desktop did not show up on printer display. Discovered on computer that scan function was disabled. I enabled it and restarted both computer and printer. Desktop still did not show on printer display. Tried to reinstall printer software on computer and it showed that it was not supported by my is. Print function still appears to function but no scan. Should add, that after I originally installed printer software I updated the computer to 8.1

    Hello tgood524, and welcome to the HP Forums, I hope you enjoy your experience!
    I see you are having issues with your printer after the Windows 8.1 update.  I would like to help.
    I would recommend Uninstalling the Printer Software.
    Once the printer is uninstalled, I would recommend reinstalling, using the HP Printer Install Wizard for Windows.
    Good luck and please let me know the results of your troubleshooting steps. Thank you for posting on the HP Forums!
    Please click “Accept as Solution " if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the right to say “Thanks" for helping!
    Jamieson
    I work on behalf of HP
    "Remember, I'm pulling for you, we're all in this together!" - Red Green.

  • Holding ctrl when clicking a link doesn't open it in a new tab; does nothing

    When I try to open a link in a new tab by holding down ctrl while clicking, it does nothing. Doesn't open at all. Have tried restarting in safe mode with add-ons disabled and had no joy.
    Also getting no menu when using right click, also tried in safe mode, also nothing.

    Should add that holding ctrl works from the bookmarks toolbar, just not in webpages themselves

  • Add file to library in version 7.0.2 (Workarounds)

    I rip my cd's as mp3Pro format mp3 to save space without sacificing quality. These are stored on a music drive on my network, with a separate directory per album.
    With ITunes 6 - I got them into the library by using the Add Files to library command with no issues. This command in ITunes 7 remains broken.
    If I try to get a whole album into ITunes 7 using this menu command, nothing happens. However it isn't entirely broken. I have found that you can still use this command to bring music into the ITunes library - but only 4 tracks or less at a time? How crazy is that?
    The only other workaround I have is to open Windows Explorer, select all the tracks and drag them across and drop on the music icon in Itunes. However please be warned, if you are not precise with your mouse dragging and dropping and don't drop exactly over the quaver(?) symbol, nothing will add into library.
    These workarounds mey help, but they are about a user friendly as a corned rat! The oddity is that the command is only partially, not wholly, broken. Is this an Apple ploy to get Windows users to switch to Mac OS?
    Anyone know a way to get the Add file to library menu command to add 5 or more tracks into ITunes?
    Dell XPS   Windows XP Pro  

    One thing that has been suggested is to create a temporary folder and copy your tracks into that, then you can use Add Folder to Library to add the contents of the temp folder to iTunes.

Maybe you are looking for

  • My iPhone 5 won't start!

    My Iphone 5 won't start and tells me to connect the phone to ITunes but nothing happens when I do. The phone doesn´t show up in ITunes. What to do?

  • Layers panel grayed out

    Ok...I'm using InDesign CS4. My layers panel is completely empty, grayed out, with no option to add a layer or do anything within the panel. Any clue why this is happening? It's driving me nuts! Thanks in advance for the help. Katie

  • Greyscale images

    I am trying to create medical wall posters. I have converted the X-ray images to Greyscale using Photoshop, then inserted them into my Indesign poster. After exporting to pdf then printing, the images are no longer greyscale but are coming out in var

  • Oracle BAM in BPM workspace

    Hi Everyone, Instead user logging in separately to Oracle BAM. can we have Oracle BAM and respective reports in BPM workspace itself ?. So user doesn't need to log in Oracle BAM separately . Thanks!.

  • Snow Leopard (WWDC Release) and Photoshop CS4

    I installed Snow Leopard earlier this week, and have been receiving errors in Photoshop. I've reinstalled Snow Leopard once, Photoshop three (3) times, and still get the same error. I haven't had any issues using the other programs in the Design Prem