JAVA - USB - I Need to send.

Ok, I need a way to send a signal to a usb port. it dosnt matter what type of signal it is aslong as you can iform me as to what type. in my GUI the user inputs a binary number and that is to be sent. I dont need a redirect to an api because i dont need an api all i want is to send. it dosnt even have to recognise if there is anything on the drive.
Thanks,
Juke

I see three USB java API in the top four entries using the following in google....
allintext: java api usb
If your question pertains to something else then you need to provide more detail.

Similar Messages

  • I need to send a message via socket from a C program to a Java program

    Hi,
    I need to send a message via socket from a C program to a Java program. The message has three data: a long, an integer and a string.
    How can I put those three fields in a array of bytes in C? How can I extract those same three fields from an array of bytes in java?
    Thanks a lot!

    A few options:
    JNI
    Corba
    Using sockets directly
    take your pick.

  • Java USB

    Hi
    I have a USB Mass Storage device to which i need to send files from my pc application. The app is in java. How can this be achieved...any solutions will be greatly appreciated....

    yes it does.....but my situation is somethink like this:
    I have a device which stores data in a standard location on the device.
    I mean I know the folder but I dont know the drive letter under which it is enumerated. This is one thing I need to find out programmatically.
    How do I find this?
    The next thing I need is to send callbacks to my Java App on the device status...i.e connected/disconnected etc.
    Then I need to access the Vid and Pid of the device and check if it matches the Vendor I intend to support
    And lastly I need to know inorder transfer files whether I should do a simple file copy or use some USB driver apis.
    If u can throw some pointers on these issues or aleast some of them I will be happy

  • Need to send the zip file to mail as an attachment

    i want to pick the zip file which consists some 2,3 files inside it. and send as it is to mail as an attachment.what i did is
    i have taken one zip file,,, "testing.zip" inside it i have "test1.txt" & "test2.csv"
    i created sender CC ,,in that i used module payloadzipbean and  unzipped and called the file adapter.. created reciever CC as mail ..used same payload module now here i zipped all the payloads.
    Result..i see the attachment coming as "test1.txt.zip" ..here i can see inside this zipfile my original file names as "test1.txt"&"test2.csv" as i enabled ASMA in both CC.
    issues:i am unable to get the original file name like "testing.zip" ,,
    can anyone help me in this.
    Regards,
    Loordh

    Hi  all,
    as i posted last time my requirement ,i am going with java mapping for my scenario. i am using this code .
    http://wiki.sdn.sap.com/wiki/display/XI/Dynamicfilenameforpass-through+scenario
    this is working perfect for zip file  (file to file) scenario. but my scenario is file to mail ..as i need to send this to mail package there it is throwing error.i am getting  "zip file name as attachment properly but when  i try to  open it is giving error in zip file." this is what i modied code ..i am able to see my messge in sender CC and reciever CC..any java experts please help on this.
    try {
    // create XML structure of mail package
    String output = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
    + "<ns:Mail xmlns:ns=\"http://sap.com/xi/XI/Mail/30\">"
    + "<Subject>" + mailSubject + "</Subject>"
    + "<From>" + mailSender + "</From>"
    + "<To>" + mailReceiver + "</To>"
    + "<Content_Type>multipart/mixed; boundary=\"" + boundary + "\"</Content_Type>"
    + "<Content>";
    out.write(output.getBytes());
    // create the declaration of the MIME parts
    //First part
    output = "--" + boundary + CRLF
    + "Content-Type: text/plain; charset=UTF-8" + CRLF
    //+ "Content-Transfer-Encoding: 8bit" + CRLF
    + "Content-Disposition: inline" + CRLF + CRLF
    + mailContent + CRLF
    //Second part
    + "--" + boundary + CRLF
    + "Content-Type: Application/zip; name=" + attachmentName + CRLF
    //+ "Content-Transfer-Encoding: base64" + CRLF
    + "Content-Disposition: attachment; filename=" + attachmentName + CRLF + CRLF;
    out.write(output.getBytes());
    //Source is taken as attachment
    copySource(in, out);
    out.write("</Content></ns:Mail>".getBytes());
    } catch (IOException e) {
    throw new StreamTransformationException(e.getMessage());
    protected static void copySource(InputStream in, OutputStream out)
    throws IOException {
    byte[] bbuf = new bytehttp://in.available();
    int bblen = in.read(bbuf);
    if (!(bblen < 0)) {
    //String sbuf = new String(bbuf);
    //String encoded = Base64.encode(sbuf);
    // replace all control characters with escape sequences
    //sbuf = sbuf.replaceAll("&", "&");
    //sbuf = sbuf.replaceAll("\"", """);
    //sbuf = sbuf.replaceAll("'", "&apos;");
    //sbuf = sbuf.replaceAll("<"<");
    //sbuf = sbuf.replaceAll(">", ">");
    out.write(bbuf);}}

  • Need to send mail & upload files using JSP

    hi, got a lot of issues,.. just starting out as a developer.. so here goes.
    1st Need to send mail & upload files to server using JSP(tomcat).. an example to demo it would be nice.
    thanx in advance

    Look at this for email:
    http://forum.java.sun.com/thread.jspa?forumID=45&threadID=285950
    and go to:
    http://servlets.com/cos/
    for a package to upload files.

  • Need to send an automated email

    hi all .. I have a requirement like.. I need to send an automated birthday greetings mail notification on every morning.. so I need a general code...for that
    so pls any one help me thank you in advance

    http://java.sun.com/developer/EJTechTips/2004/tt0426.html#1

  • Do we need a sender channel for IDOC to file scenario.

    Hi,
    Do we need a sender channel in IDOC to FILE scenario.
    Because IDOC is being sent by SAP R/3 System and when creating objects in ID using wizard, it doesn't ask for sender channel.
    What is the reason for this?
    Regards,
    Younus

    Younus,
    to add more...
    From <b>WAS(Web Application Server) 6.20</b> and above BASIS is not the runtime for SAP.WAS is the runtime for SAP.
    And it has got ABAP and JAVA engine in it.
    It handles connections made over various protocols such as SMTP for mail, HTTP(S), and SOAP/XML.
    <b>
    The SAP Web AS 6.10 did not have a Java engine.</b>
    and IDOC and HTTP are present on the ABAP engine and the rest reside on JAVA engine.
    and that is the reason why IDOC and HTTP doesnt require Sender Adapter and Sender Aggrement aswell.
    Hope i cleared ur point...
    Cheers,
    Raghavesh
    Message was edited by:
            Raghavesh Reddy

  • Are socket needed to send emails?????

    hi guys,
    lets say i need to send an email notification everytime i finish doing a cetain task....do i need to create and use a socket to send these emails????
    thanks in advance for any help...
    lost and blur.
    Below are the codes to send email:
    (So are socket needed???)
    public void execute(String mailto, String mailcc, String mailsub, String mailbody){
    //session object inside the catch block also(in case of DCOException).
    DCOSession ds = null;
    try{
    ds = new DCOSession(); // Create new DCOSession object
    ds.login("erstest02"); // Log in as current Notes client user
    DCOMail dm = new DCOMail(); // Create new DCOMail object
    dm.setDcoSession(ds);// Pass DCOSession to mail
    //dm.setDebug(true);
    dm.setSendTo(mailto);
    dm.setCopyTo(mailcc);
    //dm.setBlindCopyTo();
    dm.setSubject(mailsub);
    dm.setBody(mailbody);
    //System.out.println("before mail sent");
    dm.send(); // Send the mail
    ds.logout(); // Log out of the session
    System.out.println("mail sent to "+mailto);
    }catch(DCOException e1){
    e1.printStackTrace();
    try{
    if(ds!=null){
    ds.logout(); //Log out of session even if exception is thrown
    }catch(Exception ee1){
    System.out.println("Exception thrown while trying to logout of session");
    ee1.printStackTrace();
    }catch(Exception e){
    e.printStackTrace();
    try{
    if(ds!=null){
    ds.logout(); //Log out of session even if exception is thrown
    }catch(Exception ee2){
    System.out.println("Exception thrown while trying to logout of session");
    ee2.printStackTrace();
    }

    lets say i need to send an email notification
    everytime i finish doing a cetain task....do i need
    to create and use a socket to send these emails????Yes, sockets are needed to send emails. However, you don't need to deal with them yourself. You can use the JavaMail API. It will hide those low level details from you and let you deal with concepts that are related to sending emails--addresses, contents, servers, etc.
    http://java.sun.com/developer/onlineTraining/JavaMail/

  • I need to send an automated birthday greetings mail notification

    hi all .. I have a requirement like.. I need to send an automated birthday greetings mail notification on every morning.. so I need a general code...for that
    so pls any one help me thank you in advance

    package notification;
    import java.sql.*;
    import javax.naming.*;
    import javax.sql.DataSource;
    public class Notification{
        /** Creates a new instance of Notification*/
        public Notification() {
        public static void main(String[] args) {
            try {
                String sql = "Select name, email from users where DATEDIFF(NOW(),birthday)=0)";
                Class.forName("com.mysql.jdbc.Driver").newInstance();
                Connection conn = DriverManager.getConnection(
                        "jdbc:mysql://localhost/birthday?user=java&password=javajava");
                Statement stmt = conn.createStatement();
                ResultSet rs = stmt.executeQuery(sql);
                while (rs.next()) {
                    String theText = "Congratulations "+rs.getString("name");
                     new BirthdayMail("smtprelay.myserver.net", rs.getString("email"), "[email protected]", "Automatic notification", theText, "Birthday");
            } catch (SQLException ex) { // handle the error
                System.out.println("SQLState: " + ex.getSQLState());
                System.out.println(
                        "VendorError: " + ex.getErrorCode() + " " + ex.getMessage());
            } catch (Exception ex) { // handle the error
                System.out.println("Non-sql exception: " + ex.getMessage());
                ex.printStackTrace();
    * BirthdayMail.java
    package notification;
    import javax.mail.*;
    import javax.mail.internet.*;
    import java.util.*;
    public class BirthdayMail {
         * Main method to send a message given on the command line.
        public static void main(String args[]) {
            try {
                String smtpServer=args[0];
                String to=args[1];
                String from=args[2];
                String subject=args[3];
                String body=args[4];
                send(smtpServer, to, from, subject, body, "");
            } catch (Exception ex) {
                ex.printStackTrace();
            System.exit(0);
         * Constructor.
        public BirthdayMail(String s1, String s2, String s3, String s4, String s5, String s6) {
            try {
                String smtpServer=s1;
                String to=s2;
                String from=s3;
                String subject=s4;
                String body=s5;
                String personal = s6;
                send(smtpServer, to, from, subject, body, personal);
            } catch (Exception ex) {
                ex.printStackTrace();
         * "send" method to send the message.
        public static void send(String smtpServer, String to, String from
                , String subject, String body, String personal) {
            try {
                Properties props = System.getProperties();
                props.put("mail.smtp.host", smtpServer);
                Session session = Session.getDefaultInstance(props, null);
                // -- Create a new message --
                Message msg = new MimeMessage(session);
                // -- Set the FROM and TO fields --
                msg.setFrom(new InternetAddress(from, personal));
                msg.setRecipients(Message.RecipientType.TO,
                        InternetAddress.parse(to, false));           
                // -- Set the subject and body text --
                msg.setSubject(subject);
                //msg.setText(body);
                msg.setContent(body, "text/html");
                // -- Set some other header information --
                msg.setHeader("X-Mailer", "NotificationMail");
                msg.setSentDate(new Date());
                // -- Send the message --
                Transport.send(msg);
                //log.info("Message sent OK.");
            } catch (Exception ex) {
                ex.printStackTrace();
        public static boolean statusSend(String smtpServer, String to, String from
                , String subject, String body, String personal) {
            try {
                Properties props = System.getProperties();
                // -- Attaching to default Session, or we could start a new one --
                props.put("mail.smtp.host", smtpServer);
                Session session = Session.getDefaultInstance(props, null);
                // -- Create a new message --
                Message msg = new MimeMessage(session);
                // -- Set the FROM and TO fields --
                msg.setFrom(new InternetAddress(from, personal));
                msg.setRecipients(Message.RecipientType.TO,
                        InternetAddress.parse(to, false));
                // -- We could include CC recipients too --
                // if (cc != null)
                // msg.setRecipients(Message.RecipientType.CC
                // -- Set the subject and body text --
                msg.setSubject(subject);
                //msg.setText(body);
                msg.setContent(body, "text/html");
                // -- Set some other header information --
                msg.setHeader("X-Mailer", "NotificationMail");
                msg.setSentDate(new Date());
                // -- Send the message --
                Transport.send(msg);
                return true;
            } catch (MessagingException ex){
                log.error(ex.toString());
                return false;
            } catch (Exception ex){
                ex.printStackTrace();
                return false;
    }and in cron.daily a script to daily execute the project:
    #!/bin/sh
    /usr/local/jdk1.5.0_06/bin/java -jar /home/admin/proj/notification/Notification.jar
    exit 0

  • If message failed at communication channel, then need to send idoc to R/3

    Hi folks,
    i got a requirment like .....If message failed at communication channel, then need to send idoc to R/3.
    can anybody suggest the possible solution.

    HI
    If you use a catching a MAIL - PI ALERT and based on that alert if u creating an IDOC then it is good if u really supress the alert immediately once the ALERT comes but if u really check and supress the ALERT fine Otherwise a CONTINOUS IDOCs will get created at SAP system.
    Also there might be some natural generic reasons for communication channel fails
    a)  somtimes if the target FTP is down
    b)  if there is some issue with FILE ENOUGH
    c)  If File adpater is placing same file already exists or with already Opened by some target application
    d)  Dynamica file naming issue. (technical issue)
    WHy cant u do scenario in the below steps without keeping BPM, CATCHING ALERTS which doesnt give exact QUARANTEE
    Do one thing make a technical design in such a way into 1 flow or 2 flows in worst case
    In INTERFACE MAPPING-->
    a) Insert your current Normal Graphical mapping
    b) Javamapping:- This code will take the first mapping output as Input through Stream Transformation and create a same FILE through JAVA FTP Comments at specified Cleint Location. I recommend in order to avoid direct interraction of writing a file at client FTP better always write at your Local PI NFS Application outbound directory which doesnt require host name and user and pwd. Even if it requires you can do a RFC lookup and maintain a host, Port, User ID, pwd, Directory, FIle naming pattern in that table or else simply DO VALUE MAPPIING and pass it through XML INPUT from FIrst mapping as additional fields
    c) WITH IN THE SAME JAVAMAPPING: -
       If it successfully writes a file - wRite a TRACE log ("FILE NAME+ Sucecssfully written+ File Bytes")
       Then create an simple small XML OUTPUT and PASS that JAVA MAPPING OUTPUT To 3rd Grahical Mapping as Input it might be less than 5KB.
    Note: - Remember that this output XML should be ina Multmapping SPLIT MERGET FORMAT with 1 FIELD or required INFO
    as KEY FIELD INFO using DOM FACTORY
    d) GRAPHICAL MAPPING: -
      SOURCE IS JAVAMAPPING OUTPUT and TARGET HAS 2 messages
                           Message 1) SAME INPUT SMALL XML OUTPUT COMING FROM JAVA MAPPING OUTPUT
                           Message 2) IDOC TY{E STRUCTURE
    Keep a Condition based on KEY VALUE Coming from source field execute either 1 Message1 or Message 2
    In this way you can complete in a single Flow. 
    Later you can deifnee a simple flow to PICK and DROP from SOURCE file  Writing through javamapping to client location Or else
    WRITE A small OS SCRIPT and CALL in Receiver FILE COMMUNICATION at OS Command so that while writing a LOG file it will move the file from Source FTP to CLient FTP location.
    Regards
    Amar Srinivas Eli

  • If i need 2 send an Object that allready exist like Image .....

    Hi Folks ,
    i need an Advise to my problems.
    My problems is like that
    I need 2 send an Object a lot of times throw the Soket
    for this i need packing my Objects and send them 1 after 1
    i will try say more clearly i need 2 send a lot of Frames (Image Capture)
    Like a Movie but not Movie ;P
    This Images Captures of my screen(like printscreen)
    is an Object of BufferImage bi
    i have a lot Objects of BufferImage bcuz alws my screen changing every move i do with mouse and enter 2 new folder i get new printscreen
    i capture it so that i need Send throw the soket a lot of Objects
    from BufferImage and as u know Guys
    BufferImage is Java Class
    import java.awt.image.BufferedImage;
    so my questionsis :
    1) What is the best way 2 send a lot of BufferImage Objects ?
    2) i need use Serialization for that ( this is the short way and remember i want send Objects not Files)?
    3) Shold i i save every imageCapture 2 File and send the file?
    Then i will need 2 send a lot of Files or 1 File that alws i will change and he will contin the Newest Screen Capture?
    4) from all my qestions what is the Best way?( Best way i guss is the faster way to send the CaptureImage)
    5) how can i send BufferImage Object with Serialization?
    humm i guss i write 2 much question will be nice if some 1 will give any Advise or somthing that can Help .
    tnx

    BufferedImage is not serializable so you cant serialize it directly.
    But however you can make it serializable by creatigna sub class of it which implements Serializable interface and you should also implement a custom serialization logic for that new class.
    But also remember sending image as represented in java will be quite expensive since it is a uncompressed bitmap. Best approach will be using image IO to send images in JPEG (or PNG for loss less compression) format. You can construct image objects at the other end.
    You dont have to store images in to files you can store them in to variables (byte arrays) before sending.
    Some time I did something similer and there I also implemented something like this. Before sending the captured image date through the wire I compaired it with the previously send image (Using CRC) and I send the latest image only if it has a different checksum from the last sent. That way I avoided sending multiple images when the screen is not changing.

  • OEM - java.lang.Exception: Exception in sending Request :: null

    Hi
    I have installed Oracle 10.2.0 on Windows Vista Home edition,
    On opening OEM page gettingthe below error -
    Error
    java.lang.Exception: Exception in sending Request :: null
    Database Instance: orcl2
    After google and some search in net , found an solution that a emd.properties files has to edited -agent TZ values has to be changed.
    Post making changes too I am still receiving same error.
    Could any one help me in fixing this error of OEM.
    Rgds
    Jr. DBA

    Bob..
    I have copied and pasted message from emdb.nohup file
    and found that values i have changed in emd.properties file its showing an error.
    The process cannot access the file because it is being used by another process.
    process::Launching process : F:\oracle\product\10.2.0\db_3\jdk/bin/java -server -Xmx256M -XX:MaxPermSize=96m -XX:MinHeapFreeRatio=20 -XX:MaxHeapFreeRatio=40 -DORACLE_HOME=F:\oracle\product\10.2.0\db_3 -Doracle.home=F:\oracle\product\10.2.0\db_3/oc4j -Doracle.oc4j.localhome=F:\oracle\product\10.2.0\db_3\Bangaram-PC_orcl2/sysman -DEMSTATE=F:\oracle\product\10.2.0\db_3\Bangaram-PC_orcl2 -Doracle.j2ee.dont.use.memory.archive=true -Djava.protocol.handler.pkgs=HTTPClient -Doracle.security.jazn.config=F:\oracle\product\10.2.0\db_3/oc4j/j2ee/OC4J_DBConsole_Bangaram-PC_orcl2/config/jazn.xml -Djava.security.policy=F:\oracle\product\10.2.0\db_3/oc4j/j2ee/OC4J_DBConsole_Bangaram-PC_orcl2/config/java2.policy -Djava.security.properties=F:\oracle\product\10.2.0\db_3/oc4j/j2ee/home/config/jazn.security.props -DEMDROOT=F:\oracle\product\10.2.0\db_3\Bangaram-PC_orcl2 -Dsysman.md5password=true -Drepapi.oracle.home=F:\oracle\product\10.2.0\db_3 -Ddisable.checkForUpdate=true -Djava.awt.headless=true -jar F:\oracle\product\10.2.0\db_3/oc4j/j2ee/home/oc4j.jar -config F:\oracle\product\10.2.0\db_3/oc4j/j2ee/OC4J_DBConsole_Bangaram-PC_orcl2/config/server.xml
    launchprocess::Launched process successfuly. Process Id is : 4544
    ----- Wed Apr 29 00:31:08 2009::Console Launched with PID 4544 at time Wed Apr 29 00:31:08 2009 -----
    ----- Wed Apr 29 00:32:40 2009::Property 'agentTZRegion' is missing from F:\oracle\product\10.2.0\db_3\Bangaram-PC_orcl2/sysman/config/emd.properties. This is normal when the agent is started for the very first time.Updating it... -----
    ----- Wed Apr 29 00:32:40 2009::F:\oracle\product\10.2.0\db_3\Bangaram-PC_orcl2/sysman/config/emd.properties copied to F:\oracle\product\10.2.0\db_3\Bangaram-PC_orcl2/sysman/config/emd.properties.2009-04-29-00-32-40 while updating the property 'agentTZRegion' -----
    ----- Wed Apr 29 00:32:42 2009::An agentTZregion of 'GMT' is installed in F:\oracle\product\10.2.0\db_3\Bangaram-PC_orcl2/sysman/config/emd.properties. -----
    ----- Wed Apr 29 00:32:44 2009::The agentTZRegion value in F:\oracle\product\10.2.0\db_3\Bangaram-PC_orcl2/sysman/config/emd.properties is not in agreement with what agent thinks it should be.Please verify your environment to make sure that TZ setting has not changed since the last start of the agent.
    If you modified the timezone setting in the environment, please stop the agent and exectute 'emctl resetTZ agent' and also execute the script 'mgmt_target.set_agent_tzrgn' to get the value propagated to repository -----
    The process cannot access the file because it is being used by another process.
    process::Launching process : F:\oracle\product\10.2.0\db_3\jdk/bin/java -server -Xmx256M -XX:MaxPermSize=96m -XX:MinHeapFreeRatio=20 -XX:MaxHeapFreeRatio=40 -DORACLE_HOME=F:\oracle\product\10.2.0\db_3 -Doracle.home=F:\oracle\product\10.2.0\db_3/oc4j -Doracle.oc4j.localhome=F:\oracle\product\10.2.0\db_3\Bangaram-PC_orcl2/sysman -DEMSTATE=F:\oracle\product\10.2.0\db_3\Bangaram-PC_orcl2 -Doracle.j2ee.dont.use.memory.archive=true -Djava.protocol.handler.pkgs=HTTPClient -Doracle.security.jazn.config=F:\oracle\product\10.2.0\db_3/oc4j/j2ee/OC4J_DBConsole_Bangaram-PC_orcl2/config/jazn.xml -Djava.security.policy=F:\oracle\product\10.2.0\db_3/oc4j/j2ee/OC4J_DBConsole_Bangaram-PC_orcl2/config/java2.policy -Djava.security.properties=F:\oracle\product\10.2.0\db_3/oc4j/j2ee/home/config/jazn.security.props -DEMDROOT=F:\oracle\product\10.2.0\db_3\Bangaram-PC_orcl2 -Dsysman.md5password=true -Drepapi.oracle.home=F:\oracle\product\10.2.0\db_3 -Ddisable.checkForUpdate=true -Djava.awt.headless=true -jar F:\oracle\product\10.2.0\db_3/oc4j/j2ee/home/oc4j.jar -config F:\oracle\product\10.2.0\db_3/oc4j/j2ee/OC4J_DBConsole_Bangaram-PC_orcl2/config/server.xml
    launchprocess::Launched process successfuly. Process Id is : 4404
    ----- Wed Apr 29 10:08:59 2009::Console Launched with PID 4404 at time Wed Apr 29 10:08:59 2009 -----
    ----- Wed Apr 29 10:11:35 2009::The agentTZRegion value in F:\oracle\product\10.2.0\db_3\Bangaram-PC_orcl2/sysman/config/emd.properties is not in agreement with what agent thinks it should be.Please verify your environment to make sure that TZ setting has not changed since the last start of the agent.
    If you modified the timezone setting in the environment, please stop the agent and exectute 'emctl resetTZ agent' and also execute the script 'mgmt_target.set_agent_tzrgn' to get the value propagated to repository -----
    The process cannot access the file because it is being used by another process.
    process::Launching process : F:\oracle\product\10.2.0\db_3\jdk/bin/java -server -Xmx256M -XX:MaxPermSize=96m -XX:MinHeapFreeRatio=20 -XX:MaxHeapFreeRatio=40 -DORACLE_HOME=F:\oracle\product\10.2.0\db_3 -Doracle.home=F:\oracle\product\10.2.0\db_3/oc4j -Doracle.oc4j.localhome=F:\oracle\product\10.2.0\db_3\Bangaram-PC_orcl2/sysman -DEMSTATE=F:\oracle\product\10.2.0\db_3\Bangaram-PC_orcl2 -Doracle.j2ee.dont.use.memory.archive=true -Djava.protocol.handler.pkgs=HTTPClient -Doracle.security.jazn.config=F:\oracle\product\10.2.0\db_3/oc4j/j2ee/OC4J_DBConsole_Bangaram-PC_orcl2/config/jazn.xml -Djava.security.policy=F:\oracle\product\10.2.0\db_3/oc4j/j2ee/OC4J_DBConsole_Bangaram-PC_orcl2/config/java2.policy -Djava.security.properties=F:\oracle\product\10.2.0\db_3/oc4j/j2ee/home/config/jazn.security.props -DEMDROOT=F:\oracle\product\10.2.0\db_3\Bangaram-PC_orcl2 -Dsysman.md5password=true -Drepapi.oracle.home=F:\oracle\product\10.2.0\db_3 -Ddisable.checkForUpdate=true -Djava.awt.headless=true -jar F:\oracle\product\10.2.0\db_3/oc4j/j2ee/home/oc4j.jar -config F:\oracle\product\10.2.0\db_3/oc4j/j2ee/OC4J_DBConsole_Bangaram-PC_orcl2/config/server.xml
    launchprocess::Launched process successfuly. Process Id is : 3764
    ----- Wed Apr 29 13:00:37 2009::Console Launched with PID 3764 at time Wed Apr 29 13:00:37 2009 -----
    ----- Wed Apr 29 13:02:57 2009::property 'agentTZregion' in 'F:\oracle\product\10.2.0\db_3\Bangaram-PC_orcl2/sysman/config/emd.properties' contains an invalid value of 'ALBANY/NEWYORK'.Agent start up can not proceed.This value might have been manually modified to be an incorrect value.This value needs to be set to one of the values listed in 'F:\oracle\product\10.2.0\db_3/sysman/admin/supportedtzs.lst'. Execute 'emctl config agent getTZ' and see if this is an appropriate value. -----
    The process cannot access the file because it is being used by another process.
    process::Launching process : F:\oracle\product\10.2.0\db_3\jdk/bin/java -server -Xmx256M -XX:MaxPermSize=96m -XX:MinHeapFreeRatio=20 -XX:MaxHeapFreeRatio=40 -DORACLE_HOME=F:\oracle\product\10.2.0\db_3 -Doracle.home=F:\oracle\product\10.2.0\db_3/oc4j -Doracle.oc4j.localhome=F:\oracle\product\10.2.0\db_3\Bangaram-PC_orcl2/sysman -DEMSTATE=F:\oracle\product\10.2.0\db_3\Bangaram-PC_orcl2 -Doracle.j2ee.dont.use.memory.archive=true -Djava.protocol.handler.pkgs=HTTPClient -Doracle.security.jazn.config=F:\oracle\product\10.2.0\db_3/oc4j/j2ee/OC4J_DBConsole_Bangaram-PC_orcl2/config/jazn.xml -Djava.security.policy=F:\oracle\product\10.2.0\db_3/oc4j/j2ee/OC4J_DBConsole_Bangaram-PC_orcl2/config/java2.policy -Djava.security.properties=F:\oracle\product\10.2.0\db_3/oc4j/j2ee/home/config/jazn.security.props -DEMDROOT=F:\oracle\product\10.2.0\db_3\Bangaram-PC_orcl2 -Dsysman.md5password=true -Drepapi.oracle.home=F:\oracle\product\10.2.0\db_3 -Ddisable.checkForUpdate=true -Djava.awt.headless=true -jar F:\oracle\product\10.2.0\db_3/oc4j/j2ee/home/oc4j.jar -config F:\oracle\product\10.2.0\db_3/oc4j/j2ee/OC4J_DBConsole_Bangaram-PC_orcl2/config/server.xml
    launchprocess::Launched process successfuly. Process Id is : 3768
    ----- Wed Apr 29 23:28:23 2009::Console Launched with PID 3768 at time Wed Apr 29 23:28:23 2009 -----
    ----- Wed Apr 29 23:30:00 2009::property 'agentTZregion' in 'F:\oracle\product\10.2.0\db_3\Bangaram-PC_orcl2/sysman/config/emd.properties' contains an invalid value of 'ALBANY/NEWYORK'.Agent start up can not proceed.This value might have been manually modified to be an incorrect value.This value needs to be set to one of the  values listed in 'F:\oracle\product\10.2.0\db_3/sysman/admin/supportedtzs.lst'. Execute 'emctl config agent getTZ' and see if this is an appropriate value. -----
    Rgds
    Jr. DBA

  • Do I need to send this in?

    I've been having problems with my 4th gen iPod for a few days.
    When it connects to a computer (it's a Windows iPod), all of the applications that are capable of connecting with it freeze. I can't stop the iPod because that freezes too. When I forcibly unplug it, everything goes back to normal.
    I tried pretty much everything. The one time that the iPod updater worked for me, I reset it to factory conditions. It didn't work. The diagnostic utility told me that something was wrong with the firmware and with the USB connection.
    So two questions:
    1) Has anyone else had this problem?
    2) Do I have to send it in to get it fixed, or is there another solution.

    Hi,
    You go for following approach :-
    1. Maintain a table with contains all date when you need to send mail. it can be one date or many.
    2. create a custom program which will first read this table above and see if todays date does exist in table.. if yes it will send mail else not.
    3. Now schedule report on daily basis. 
    Thats it. When ever you want to send mails just enter those dates in this table. it can be any no of future dates.
    Hope this helps.
    Enjoy SAP.
    Pankaj Singh.

  • Java proxy client with HTTP sender

    I have SP15. I have sender agreement with HTTP adapter for system A and Java Proxy Cleint that send message as system A.
    When I send message through Java proxy I see error:
    <i>SOAPFault received from Integration Server. ErrorCode/Category: XIServer/IN_BIND_WRONG_ADPT; Params: HTTP; AdditionalText:  ; ApplicationFaultMessage:  ; ErrorStack: Server agreement found belongs to adapter HTTP; current adapter is 'XI' </i>
    When I deleted sender agreement it worked.
    Could you explain this strange behavior? Is it a bug. Sender agrement for HTTP is necessary since SP16

    I have the same problem with SOAP and file adapter. I've posted this here already.
    XIServer/IN_BIND_WRONG_ADPT
    I have deleted the sender agreement for my soap adapter scenarios, because a sender agreement is not necessary (created by the wizard). After that the soap adapter scenarios work fine. But at scenarios with a sender file adapter you need a sender agreement.
    We had the following situation:
    XI Test, XI SP17, Basis SP16 --> IN_BIND_WRONG_ADPT problem
    XI QA, XI SP17, Basis SP14 --> okay
    XI Prod, XI SP15, Basis SP 16 --> okay
    We patched our XI QA to
    XI QA, XI SP17, Basis SP16
    After that we have the IN_BIND_WRONG_ADPT problem at our XI  QA system too.
    I started a SAPP OSS call two weeks ago but got no solution till now. They checked our systems some times but with no result.
    Our central SLD is on the XI Prod System. Perhaps there is a connection. But I don't want to patch my XI Prod system to SP 17, because it's the only system that works without errors.
    Message was edited by: Gil Ritter

  • HR: Need to Send the Paysilp as a PDF file through Mail to Employees

    Dear All ,
           Need to Send the Paysilp as a PDF file through Mail to Employees.
           can anyone please suggest any Standard Function Modules which takes the Payslip Form as input and convert it into PDF and can send it through mail to the concern employees.
          Can anyone please explain the procedure in detail.
    Thanks in Advance,
    Regards.

    venu,
    below is code which helps to generate pdf ,,,,hope u know how to use the mail sending function
    data:
    fm_name TYPE RS38L_FNAM, "Smart Forms: FM Name
    sf_name TYPE TDSFNAME
    value 'YOUR_FORM_NAME', "Smart Forms: Form Name
    P_OUTPUT_OPTIONS TYPE SSFCOMPOP,
    P_JOB_OUTPUT_INFO TYPE SSFCRESCL,
    P_CONTROL_PARAMETERS TYPE SSFCTRLOP,
    P_LANGUAGE TYPE SFLANGU value 'E',
    P_E_DEVTYPE TYPE RSPOPTYPE.
    data:
    P_BIN_FILESIZE TYPE I,
    P_BIN_FILE TYPE XSTRING,
    P_OTF type table of ITCOO,
    P_DOCS type table of DOCS,
    P_LINES type table of TLINE,
    name type string,
    path type string,
    fullpath type string,
    filter type string,
    guiobj type ref to cl_gui_frontend_services,
    uact type i,
    filename(128).
    GET SMARTFORM FUNCTION MODULE NAME ---
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
    EXPORTING
    FORMNAME = sf_name
    IMPORTING
    FM_NAME = fm_name
    EXCEPTIONS
    NO_FORM = 1
    NO_FUNCTION_MODULE = 2
    OTHERS = 3
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION 'SSF_GET_DEVICE_TYPE'
    EXPORTING
    I_LANGUAGE = P_LANGUAGE
    I_APPLICATION = 'SAPDEFAULT'
    IMPORTING
    E_DEVTYPE = P_E_DEVTYPE.
    P_OUTPUT_OPTIONS-XSFCMODE = 'X'.
    P_OUTPUT_OPTIONS-XSF = SPACE.
    P_OUTPUT_OPTIONS-XDFCMODE = 'X'.
    P_OUTPUT_OPTIONS-XDF = SPACE.
    P_OUTPUT_OPTIONS-TDPRINTER = P_E_DEVTYPE.
    P_CONTROL_PARAMETERS-NO_DIALOG = 'X'.
    P_CONTROL_PARAMETERS-GETOTF = 'X'.
    ****...................................PRINTING.........................
    CALL FUNCTION fm_name
    EXPORTING
    CONTROL_PARAMETERS = P_CONTROL_PARAMETERS
    OUTPUT_OPTIONS = P_OUTPUT_OPTIONS
    (....) <--- your form import parameters
    IMPORTING
    JOB_OUTPUT_INFO = P_JOB_OUTPUT_INFO.
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    P_OTF[] = P_JOB_OUTPUT_INFO-OTFDATA.
    ****...................................CONVERT TO PDF...............
    CALL FUNCTION 'CONVERT_OTF_2_PDF'
    IMPORTING
    BIN_FILESIZE = P_BIN_FILESIZE
    TABLES
    OTF = P_OTF
    DOCTAB_ARCHIVE = P_DOCS
    LINES = P_LINES
    EXCEPTIONS
    ERR_CONV_NOT_POSSIBLE = 1
    ERR_OTF_MC_NOENDMARKER = 2
    OTHERS = 3.
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    now you can mail the pdf.
    Reward points if helpful
    Regards,
    jinesh

Maybe you are looking for

  • Syncing Ical

    Can somebody please tell me a way to move Ical entries on my laptop running 10.3 to my desktop running 10.4 and vice versa? Apparently, Ical is the only application that cannot sync through .Mac between different operation systems. Thanks, Sande

  • Maximize Compatibility vs Storage Optimization

    I'm working on a new project that will require me to store thousands of PS files. I have noticed that the maximum compatibility option affects the end files size significantly. For example the original autogenerated PS file starts at 32 MB, and jumps

  • MacBook Pro 2009 - Window 7 - Low Volume Output

    I am experiencing low volume output on the internal speakers and slightly better volume on headphone output under BootCamp with Windows 7 x64 Ultimate. And of course the red light emitting diode is one constantly in the audio output jack. I have seen

  • Editing teeth in photoshop (detailled)

    Hi! I am a dentist and I have some problems with editing teeth on photos. Usually photos are taken with a dslr + macro lens + ringflash so the quality is good. The aim is to edit the photo and show the patient a simulated possible outcome of the trea

  • Wifi issue with MBPR

    Hi! I have a rather weird problem with my MacBook Pro Retina late 2012. You see, I can connect to Wi-Fi. However, I can't surf the web on Safari or Mozilla. It's like the internet is blocked. Anyone heard about this issue and have any solution to it?