Solaris tftp server (tftpd) to handle 32MB files

Assuming it's not legally allowed to separately install the Cisco tftpd shipped with LMS on a non-LMS server, can anyone verify the following Sun patches address the same >32MB file handling problem for the tftpd shipped with Solaris 10?
http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-123333-02-1
SPARC 123332
x86 123333

Update: In order to compile tftp-hpa (up to 5.2.0) on Mac OS X 10.7.3 (Lion) with IPv6, ./tftpd/recvfrom.c needs a little extra header definition. Below is the updated patch (generated with "diff -rupN tftpd/recvfrom.c.orig tftpd/recvfrom.c > tftpd/recvfrom.c.diff", and apply through "patch -p0 < tftpd/recvfrom.c.diff" from the root of tftp-hpa source code directory).
--- tftpd/recvfrom.c.orig    2011-12-11 14:13:52.000000000 -0800+++ tftpd/recvfrom.c    2012-03-01 22:58:36.000000000 -0800@@ -17,6 +17,12 @@  *  */+#if defined(__APPLE__)+#if __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ >= 1070+#define __APPLE_USE_RFC_3542 1+#endif+#endif+ #include "config.h"             /* Must be included first! */ #include "common/tftpsubs.h" #include "recvfrom.h"@@ -222,7 +228,11 @@ myrecvfrom(int s, void *buf, int len, un #ifdef HAVE_STRUCT_IN6_PKTINFO                 if (cmptr->cmsg_level == IPPROTO_IPV6 &&+#ifdef IPV6_RECVPKTINFO                     (cmptr->cmsg_type == IPV6_RECVPKTINFO ||+#else+             (+#endif                      cmptr->cmsg_type == IPV6_PKTINFO)) {                     memcpy(&pktinfo6, CMSG_DATA(cmptr),                            sizeof(struct in6_pktinfo));
Then simply
# ./configure --with-ipv6
# make
# sudo make install
To test
# chmod 777 /path/to/tftpboot
# sudo /usr/local/sbin/in.tftpd -L -c -s /path/to/tftpboot
# nettop -n
in.tftpd.66083                                                                             0           0 B
    udp6 *.69<->*.*                                                                        0           0 B
    udp4 *:69<->*:*                                                                        0           0 B
OR stick it in a launchd plist, but make sure it doesn't daemonize by leaving out the "-L" flag.
<?xml version="1.0" encoding="UTF-8"?>
http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    InitGroups
    Label
    org.kernel.tftpd
    ProgramArguments
        /usr/local/sbin/in.tftpd
        -c
        -s
        /private/tftpboot
    Sockets
        Listeners
            SockServiceName
            tftp
            SockType
            dgram
    inetdCompatibility
        Wait

Similar Messages

  • Configuring TFTP server on a PCMCIA

    I would like to know if it is possible to configure a PCMCIA card as a TFTP server and how to do so. We have a need to put large call routing files near our gatekeepers and do not have any servers or PC's close. We were wondering if it is possible to put a TFTP server (somehow) onto a PCMCIA card in a router.
    Thank you

    this is how you can configure a router to be TFTP server.
    But I don't understand what the problem is..
    If you can telnet to the router you can TFTP IOS and configs ???
    Oz
    Copying From One Router to Another
    To do this, you need to activate the Trivial File Transfer Protocol (TFTP) server on the router that has the Cisco IOS® Software image that you want to copy.
    Use the tftp-server [device]:[filename] command in global configuration mode as follows:
    Router#show flash
    System flash directory:
    File Length Name/status
    1 11173264 c2500-jos56i-l.120-9.bin
    [11173328 bytes used, 5603888 available, 16777216 total]
    16384K bytes of processor board System flash (Read ONLY)
    Router#configure terminal
    Enter configuration commands, one per line. End with CNTL/Z.
    Router(config)#tf
    Router(config)#tftp-server ?
    flash: Allow URL file TFTP load requests
    flh: Allow URL file TFTP load requests
    lex: Allow URL file TFTP load requests
    null: Allow URL file TFTP load requests
    nvram: Allow URL file TFTP load requests
    system: Allow URL file TFTP load requests
    Router(config)#tftp-server
    Router(config)#tftp-server flash:?
    flash:c2500-jos56i-l.120-9.bin
    Router(config)#tftp-server flash:c2500-jos56i-l.120-9.bin
    Router(config)#^Z
    Router#
    Once the tftp-server is configured, you can download the specified image from the router using the copy tftp flash command, as if it were a classic TFTP server.
    Note: The IP address of your TFTP server is the address of the router on which you configured the tftp-server command.

  • NFS: server reboot - client problem with "file handle" - no unmont

    Hello,
    when I restart a NFS-server and a client has a NFS-share on it still mounted, that NFS-share becomes unusable on the client: everything causes the client complain about an old "file handle", even trying to unmount that share!
    So my question is: How to deal gracefully with a NFS-server reboot and avoiding this file handle problem?
    Apart from going to each client and unmount the NFS-share by hand?
    Thanks!

    Do I need to Give these values manually again as they are moved from Env to other?
    When we transport ID objects, the values stored in the channel get lost and have to be manually enetered......it happens even for DEV --> QA environment.
    Now your channel should reflect PROD-related data.
    2- Why my Receiver communiation channel coimg as
    Communication Channel | PRD_400 | RFC_QA3_Receiver:
    The channel name does not depend on the environment it is present....verify the name once again!
    Regards,
    Abhishek.

  • Migrating Solaris 8 Server to Solaris 10 zone - missing files

    Hi All,
    Wonder if anyone can help, I am trying to migrate a physical solaris 8 server into a Solaris 10 branded Sol 8 zone.
    I am trying to create a flar archive file of the Solaris 8 02/02 server using flar create -S -n <name> /<path directory/<name.flar>
    On this box has Oracle 9 database. When the archive file has finished and i look at the file contents flar info -l <name.flar> Some of the oracle datafiles have not been archived.
    Has anyone come across this problem as im not sure if further files have been missed?
    Thanks
    D

    I'm a little confused about the statement about the zone. Because it is solaris 8, is the entire OS considered a 1 global zone?Solaris 8 has never had zone support nor will it ever have zone support. So from that perspective I guess you could call it a global zone if you wish but at the time Solaris 8 was active the concept of a global zone did not exist. For the purposes of your question, yes, it's only a global zone with no non global zones.
    You're reading way to much into this.
    alan

  • ITL file is missing on my CUCM TFTP server

    Hello,
    I have a problem on my CUCM cluster : the ITL.tlv files on the TFTP server (on all CUCM are missing).
    When i check the file with the URL : CUCM_IP:6970/ConfigFileCacheList.txt i don't see the ITL.tlv the is just :
    SEPDefault.cnf 17 1
    MTPDefault.cnf 17 0
    CFBDefault.cnf 17 0
    SAADefault.cnf 17 1
    SDADefault.cnf 17 1
    lddefault.cfg 55 1
    gkdefault.cfg 55 1
    SIPDefault.cnf 827 1
    XMLDefault.cnf.xml.sgn 8148 7
    DefaultFP0000000000-c7a6c673-7479-46b0-839e-014d3d093963.xml.sgn 1863 1
    CFBHW-TR.cnf.xml 2893 1
    SEP123456789012.cnf.xml 7381 1
    SEP0CD996911C3D.cnf.xml.sgn
    I try to regenerate certificate on all CUCM, it's not OK.
    CUCM version : 8.5.1.15900-4
    I have 1 publisher and 2 subscriber.
    Can you help me please ?
    Best regards.

    Yes all CUCM and phones are impacted.
    There are big problem on my phone, when i restart IPphone, there are :time problem, Softkey problem, URL button, ect... .
    All phone are registered on my CUCM SUbscriber1, when i execture show itl, i had a message error, i correct the issue by execute the command 'set web-security' and now when i exectue show itl i have : "The ITL file was verified successfully.".
    But i have 6 records :(on my subscriber01)
    TVS
    TVS
    CAPF
    TVS
    System Administrator Security Token
    TFTP
    TVS service is running on all CUCM.
    I already tried to restart all services and the problem persists

  • Copy all files in Flash to FTP or TFTP server

    Is their a way to copy all the files at once in a router's flash to a FTP or TFTP server? Thanks.

    No. On a switch you can create a tar file containing all the files and upload that one file but on routers you can only extract them. You will have to write some sort of wrapper with a chat script to do this. Sorry I don't have better news.
    HTH pls rate!

  • How to make CUCM as a TFTP server , then copy files to Voice Gateway ?

    how to make CUCM as a TFTP server , then copy files to Voice Gateway ? anyone knows?

    Hi,
    Please check the following link
    http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucm/admin/6_1_1/ccmsys/cucm-accm-611/a02tftp.html#wp1023004
    Understanding How Devices Access the TFTP Server
    You can enable the IP phones and gateways to discover the TFTP server IP address in one or more of the following ways, depending on the device type:
    •Gateways and phones can use DHCP custom option 150.
    Cisco recommends this method. With this method, you configure the TFTP server IP address as the option value.
    •Gateways and phones can use DHCP option 066.
    You may configure either the host name or IP address of the TFTP server as the option value.
    •Gateways and phones can query CiscoCM1.
    Ensure the Domain Name System (DNS) can resolve this name to the IP address of the TFTP server. Cisco does not recommend this option because it does not scale.
    •You can configure phones with the IP address of the TFTP server. If DHCP is enabled on the phone, you can still configure an alternate TFTP server IP address locally on the phone that will override the TFTP address that was obtained through DHCP.
    •Gateways and phones also accept the DHCP Optional Server Name (sname) parameter.
    •The phone or gateway can use the value of Next-Server in the boot processes (siaddr).
    Devices save the TFTP server address in nonvolatile memory. If one of the preceding methods was available at least once, but is not currently available, the device uses the address that is saved in memory.
    You can configure the TFTP service on the first node or a subsequent node, but usually you should configure it on the first node. For small systems, the TFTP server can coexist with a Cisco Unified Communications Manager on the same server.
    HTH
    Manish

  • TFTP Server Setting

    Folks,
    This is driving me crazy. I'm trying to set up a tftp server on Solaris 9 Ultra 30. Followed the steps in creating a /tftpboot directory, and chowned it root, with read access to others. Removed the # sign from the /etc/inetd.conf file. And left every thing the same except for the tftpd with -d option and restarted /etc/init.d/inetsvc. To test this, I try tftp on the same serve, it time out when I try to get a file. From anther machine, the server would send "icmp destination unfreachable (udp port 69 unreachable). I the port is for tftp and it's listed in the /etc/services file. I don't get it why inetd claims it's not avaialble. Also, the -d option in the /etc/inetd.conf for the tftpd does not display any messages on the console. Can any one help please?
    Thx,
    Alex

    Instead of "restarting inetsvc" it is easier to send the HUP signal to inetd.
    pkill -HUP inetd
    If you kill it and restart it, then be aware that it will inherit the environment
    variables from your SHELL. See inetd(1m) for more info.
    -- richard

  • Mount a TFTP Server

    Hi
    I need to launch a tftp server in my box. Anyone can provide me an explanation on how to do this.
    Did some research, installed the tftp-hpa, but can't connect to localhost. Any advice?

    There are somethings that you need to do to make your tftp server work.
    1. To allow others to connect to tftp server, add this line to /etc/hosts.allow file:
    in.tftpd:ALL
    2. By default, tftp server does not allow your to upload file, so you need to modify the /etc/rc.d/tftpd script so that it will allow you to upload file. It will look like this:
    start)
        stat_busy "Starting TFTPD"
        [ -z "$PID" ] && /usr/sbin/in.tftpd -l -s -c /var/tftpboot
    3. Change the /var/tftpboot attribute so it allows other to upload file:
    #chmod 777 /var/tftpboot
    You need to manage your server because it will open a hole to others to upload files to your servers. You can control it by using /etc/hosts.allow file or using iptables.
    Cheers.

  • Can't copy IOS to a TFTP server

    Hey gang-
    Trying to copy the IOS from a 2950 switch to a TFTP server before upgrading the IOS. The switch can ping the TFTP server, I'm in privileged mode, I've done this many times on routers with no problems. I know that I'm typing the file name correctly, case-sensitive and all. It keeps complaining that it can't find a file by that name. I've tried it about 10 times with different variations; same results. Any thoughts?
    Thanks
    dave
    (scroll down)
    (I've tried it with and without the "/" after "flash")
    Switch#copy flash:/c2950-i6q412-mz.121-13.EA1.bin tftp
    Address or name of remote host []? 192.168.50.50
    Destination filename [c2950-i6q412-mz.121-13.EA1.bin]?
    %Error opening flash:/c2950-i6q412-mz.121-13.EA1.bin (No such file or directory
    From a "show version":
    Switch uptime is 7 minutes
    System returned to ROM by power-on
    System image file is "flash:/c2950-i6q4l2-mz.121-13.EA1.bin"

    I have not seen it mentioned, but one of the possible causes for the error is that the file does not exist on the destination tftp server. One of the strange security measures taken by tftp, since there is no login required, is that a file to be updated has to already exist, even if it doesn't contain any actual data.
    How you go about doing this will depend upon the OS your tftp server is on, but under most unix implementations, bring up a shell, change directory to the appropriate tftp folder, (sometimes /boot, sometimes /lib/tftpdir) and 'touch' the file you are attempting to upload. In this case 'touch c2950-i6q412-mz.121-13.EA1.bin'. You will then have to change ownership to match that needed by the tftpd server (should look like the ownership for other files in the directory)
    Under windows, check the instructions for your tftp server software, but you can probably open a command shell change to the appropriate dirctory, then 'echo > c2950-i6q412-mz.121-13.EA1.bin' and you should be ready to go.
    One other thing to try is using two '/' characters in the command, so 'copy flash://c2950-i6q412-mz.121-13.EA1.bin tftp' would be the command to use.
    Hope this helps,
    -Rusty

  • ASA 5505 Backup Config to TFTP Server

    Is there a way to backup the configuration file to a tftp server? I've tried "copy start tftp" and copy run tftp". No luck, I get an error message. Thanks in advance.

    What kind of error message did you get?
    ciscoasa# write net ?  WORD  IP address of tftp server and file name :. Place IPv6        address within square brackets. 

  • Unable to connect the server, while open the rpt file in server from java.

    Hi,
    I have written one java class, that class deployed in solaris server. The BO server is avilable in another solaris server. i want to convert the rpt file to pdf format. for that i try to give the file path to the server for opening the rpt file, that time i got the follwoing error:
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException:
    Unable to connect to the server: uinbrdcsap02. --- Connection refused
    (errno:239)---- Error code:-2147217387 Error code name:connectServer
            at
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException.throwR
    eportSDKServerException(Unknown Source)
            at
    com.crystaldecisions.proxy.remoteagent.TCPIPCommunicationAdapter.connect
    (Unknown Source)
            at com.crystaldecisions.proxy.remoteagent.z.a(Unknown Source)
            at
    com.crystaldecisions.sdk.occa.report.application.ReportAppSession.int(Un
    known Source)
            at
    com.crystaldecisions.sdk.occa.report.application.ReportAppSession.initia
    lize(Unknown Source)
    *My java code is the following ..*
    package com.ramco.report;
    //Crystal Java Reporting Component (JRC) imports.     
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.ByteArrayInputStream;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.ByteArrayOutputStream;
    import java.sql.Connection;
    import java.sql.CallableStatement;
    import java.sql.Statement;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.text.SimpleDateFormat;
    import com.crystaldecisions.sdk.occa.report.exportoptions.ReportExportFormat;
    import com.crystaldecisions.sdk.occa.report.exportoptions.ExportOptions;
    import java.util.Calendar;
    import java.util.Properties;
    import org.apache.log4j.Logger;
    import org.apache.log4j.SimpleLayout;
    import org.apache.log4j.FileAppender;
    import java.net.InetAddress;
    import java.net.UnknownHostException;
    // Class file starting.
    public class StandardReconReport
         private Connection objConnection = null;
         private DBConnection dbconnection = null;
         private ByteArrayInputStream byteArrayInputStream =null;
         private FileOutputStream fileOutputStream = null;     
         private ByteArrayOutputStream byteArrayOutputStream = null;
         private CallableStatement callablestatement = null;
         private CallableStatement callablestatement1 = null;     
         private ResultSet resultset1 = null;
         private ResultSet resultset = null;
         private String Deal_No = null;
         private String Job_Date = null;     
         private String Reportservername = null;
         private SimpleLayout layout   = null;
         private FileAppender appender = null;
         private Logger logger            = null;
         private String     DateTimeFormat = null;
         private String Report_File_path =null;
         private String Pdf_File_Name = null;     
         private Properties properties = null;
         private String LogFilePath = null;
         private String FileName = null;
         private String FullLogFilePath = null;
         private Statement statement = null;
         private String Report_upload_path = null;
         private String StanReconDir = null;
         private String winandsol = null;
         private com.crystaldecisions.sdk.occa.report.application.ReportClientDocument  reportClientDoc = null;
         private int count_tmp=0;
         private String DATE_FORMAT = null;
         private String dateformat = null;
         private Calendar cal = null;
        private SimpleDateFormat sdf = null;
        private String reconfilename = null;    
         // Method for Generating Report.....
         private void stanReportGeneration()
              try
                   properties = new Properties();
                   properties.clear();
                 properties.load(new FileInputStream("GeneralInfo.properties"));
                 Reportservername = properties.getProperty("reportservername");
                 reconfilename = properties.getProperty("reconfilename");
                 layout = new SimpleLayout();
                   LogFilePath = properties.getProperty("logfilepath");               
                   dateformat = dateTime1(properties.getProperty("dateformat1"));
                   StanReconDir = properties.getProperty("stanrecondir");
                  winandsol = properties.getProperty("windowsandsolaris");        
                  if (new File(LogFilePath).exists())
                       LogFilePath = LogFilePathdateformatwinandsol;
                       if (new File(LogFilePath).exists())
                       else
                            new File(LogFilePath).mkdirs();
                  FileName = "STANRECONLOGFILE-";             
                  FileName = FileNamedateformat".txt";             
                  FullLogFilePath = LogFilePath+FileName;
                  appender = new FileAppender(layout,FullLogFilePath,false);
                 logger = Logger.getLogger("MyLogger");
                 logger.addAppender(appender);
                 DateTimeFormat = properties.getProperty("datetimeformat");       
                 logger.info("The Start Recon Report Start Time: " +dateTime(DateTimeFormat));             
                 logger.info("");            
                 try
                      InetAddress address[] = InetAddress.getAllByName(Reportservername);                 
                     for (int i=0; i<address.length;i++)
                          logger.info("Report Server Name: " + address<i>.getHostName());
                          logger.info("Report Server Address: " + address<i>.getHostAddress());
                          logger.info("Report Server Canonical: " + address<i>.getCanonicalHostName());
                 catch (UnknownHostException e)
                      logger.error("The host "Reportservername"is not avilable");
                 Report_File_path = properties.getProperty("StandardReconReportpath");          
                  logger.info("The Report File Name is : "+Report_File_path " - "dateTime(DateTimeFormat));
                  //Report_File_path="rassdk://"+Report_File_path;
                  try
                       //Getting the Database connection....
                       dbconnection = new DBConnection();
                      objConnection = dbconnection.getConnections();
                      statement = objConnection.createStatement();
                      String sqlQuery = "SELECT TRIM(PARAM_VALUE) FROM SYS_USER_PARAM WHERE COMPONENT = 'REPORT' AND LINE_NO = 1 AND PARAM_NAME = 'REPORT_DOWNLOADPATH' AND STATUS = 'A'";
                      resultset = statement.executeQuery(sqlQuery);
                      while(resultset.next())
                           Report_upload_path = resultset.getString(1);
                           logger.info("Report_upload_path from the DB: "+Report_upload_path);
                  catch (SQLException ex)
                       ex.printStackTrace();
                       System.out.println(ex);
                       logger.error(ex);
                  catch(Exception ex)
                       ex.printStackTrace();
                       System.out.println(ex);
                       logger.error(ex);
                  finally
                       if(statement!=null)
                            statement.close();
                       if(resultset!=null)
                            resultset.close();
                  if (new File(Report_upload_path).exists())
                       Report_upload_path = Report_upload_path+StanReconDir;
                       if (new File(Report_upload_path).exists())
                            System.out.println("Directory is avilable"+Report_upload_path);
                       else
                            new File(Report_upload_path).mkdirs();
                  Report_upload_path = Report_upload_pathwinandsoldateformat+winandsol;              
                  if (new File(Report_upload_path).exists())
                  else
                       new File(Report_upload_path).mkdirs();
                  logger.info("Report_upload_path : "Report_upload_path" : "+dateTime(DateTimeFormat));
                  try
                       logger.info("Calling the REPORT_STAN_RECON_CON SP : "+dateTime(DateTimeFormat));
                      callablestatement = objConnection.prepareCall("{call REPORT_STAN_RECON_CON(?)}");
                      callablestatement.registerOutParameter(1, oracle.jdbc.driver.OracleTypes.CURSOR);
                        callablestatement.execute();
                        resultset=(ResultSet)callablestatement.getObject(1);
                        if(resultset!=null)
                             while(resultset.next())
                                  count_tmp = count_tmp+1;
                                  logger.info("");                              
                                 Deal_No   = resultset.getString(1);
                                  Job_Date = resultset.getString(2);
                                  DATE_FORMAT = resultset.getString(3);
                                  Job_Date = Job_Date.substring(0,10);
                                  logger.info("*********** PDF Convertion Starting for a Deal No: " +Deal_No " :: "dateTime(DateTimeFormat));
                                  Pdf_File_Name = Report_upload_pathreconfilenameDeal_No"-"DATE_FORMAT+".pdf";                              
                                  Job_Date = Job_Date.replace('-', '/');
                                  logger.info("The Deal_No is : "+Deal_No " - "dateTime(DateTimeFormat));
                                  logger.info("The Job_Date is : "+Job_Date " - "dateTime(DateTimeFormat));
                                  try
                                     reportClientDoc = new com.crystaldecisions.sdk.occa.report.application.ReportClientDocument();
                                       reportClientDoc.setReportAppServer(Reportservername);                                   
                                       logger.info("Report App server Name := "+ reportClientDoc.getReportAppServer());
                                       logger.info("Report_File_path  := "+ Report_File_path);                             
                                       reportClientDoc.preCreateServerAgent(true);                            
                                       reportClientDoc.open(Report_File_path,0);                         
                                       logger.info("After opening the RTF file for : "+Deal_No " Deal_No - "dateTime(DateTimeFormat));
                                                 callablestatement1 = objConnection.prepareCall("{call REPORT_STANDARD_RECON(?,?,?,?)}");
                                       callablestatement1.setString(1, Job_Date);
                                       callablestatement1.setString(2, Deal_No);
                                       callablestatement1.setString(3,"");
                                       callablestatement1.registerOutParameter(4, oracle.jdbc.driver.OracleTypes.CURSOR);
                                       callablestatement1.execute();
                                       resultset1=(ResultSet)callablestatement1.getObject(4);
                                       String tableAlias = reportClientDoc.getDatabaseController().getDatabase().getTables().getTable(0).getAlias();
                                       reportClientDoc.refreshReportDocument();
                                       reportClientDoc.getDatabaseController().setDataSource(resultset1, tableAlias , "Result Set");
                                       reportClientDoc.refreshReportDocument();                         
                                       ExportOptions oExportOptions = new ExportOptions();
                                       oExportOptions.setExportFormatType(ReportExportFormat.RTF);
                                       byteArrayInputStream = (ByteArrayInputStream)reportClientDoc.getPrintOutputController().export(ReportExportFormat.PDF);
                                       logger.info("After exporting the report file to PDF file for the : "+Deal_No " Deal_No - "dateTime(DateTimeFormat));
                                       //Use the Java I/O libraries to write the exported content to the file system.
                                       byte byteArray[] = new byte[byteArrayInputStream.available()];     
                                       //Create a new file that will contain the exported result.
                                       logger.info("Successfully exported report to " + Report_File_path" - "dateTime(DateTimeFormat));
                                       logger.info("*********** PDF Convertion Ending for a Deal : "Deal_No" "+dateTime(DateTimeFormat));
                                       logger.info("");
                                       Deal_No   = null;
                                       Job_Date  = null;
                                  catch (SQLException ex)
                                      ex.printStackTrace();
                                      System.out.println(ex);
                                      logger.error(ex);
                                  catch (IOException ex)
                                      ex.printStackTrace();
                                      System.out.println(ex);
                                      logger.error(ex);
                                  catch (Exception ex)
                                       ex.printStackTrace();
                                      System.out.println(ex);
                                      logger.error(ex);
                                  finally
                                       if(byteArrayInputStream!=null)
                                            byteArrayInputStream.close();
                                       if(byteArrayOutputStream!=null)
                                            byteArrayOutputStream.close();
                                       if(fileOutputStream!=null)
                                            fileOutputStream.close();
                                       if(callablestatement1!=null)
                                            callablestatement1.close();
                                       if(resultset1!=null)
                                            resultset1.close();
                                       if(reportClientDoc!=null)
                                            reportClientDoc.close();
                        if(count_tmp==0)
                             logger.info("");
                             logger.info(" $$$$$$$$ There is NO DATA for generating the Report $$$$$$$: " +dateTime(DateTimeFormat));
                  catch (SQLException ex)
                       ex.printStackTrace();
                       System.out.println(ex);
                       logger.error(ex);
                  catch (Exception ex)
                        ex.printStackTrace();
                       System.out.println(ex);
                       logger.error(ex);
                  finally
                       if(callablestatement!=null)
                            callablestatement.close();
                       if(resultset!=null)
                            resultset.close();
                       if(objConnection!=null)
                            objConnection.close();
                       if(callablestatement1!=null)
                            callablestatement1.close();
                       if(resultset1!=null)
                            resultset1.close();
              catch (IOException ex)
                  ex.printStackTrace();
                  System.out.println(ex);
                  logger.error(ex);
              catch (Exception ex)
                   ex.printStackTrace();
                  System.out.println(ex);
                  logger.error(ex);
              finally
                  properties.clear();              
              logger.info("");
              logger.info("*******Standard Recon Report End Time*******: "+dateTime(DateTimeFormat));
         // Getting the current date and time..
         public String dateTime(String dateFormat)
              cal = Calendar.getInstance();
             sdf = new SimpleDateFormat(dateFormat);
             return sdf.format(cal.getTime());
         //Getting the Yesterday Date and time...
         public String dateTime1(String dateFormat)
              cal = Calendar.getInstance();
              cal.add(Calendar.DATE, -1);            
             sdf = new SimpleDateFormat(dateFormat);
             return sdf.format(cal.getTime());
         public static void main(String[] args) {
              StandardReconReport  SR = new StandardReconReport();
              SR.stanReportGeneration();
    For the above code  i given the report parameter from  the property file.
    reportservername=servername
    datagenreportpath=rassdk\://C\:
    MyEclipseWorkPlace
    IDSREPORTGENERATION
    REPORTFILES
    STANDARD_RECON_REPORT.rpt
    The code is working fin, while i try to connect the BO which is avilble in Windows server, but this is not working if the BO is avilble in solaris server.
    Any bodies please help
    Edited by: velmurugan.spn on Sep 12, 2009 6:38 AM

    Hi,
    Not able to find Report - Standard templates or Report - Custom templates view in Administration - BIP reports in Siebel 8.1.1.3?
    We have applied 8.1.1.3 patch on 8.1.1.0
    below are the steps followed
    Reports are not generated after 8.1.1.3 patch installtion.
    we have also followed to below steps mentioned for this issue in oracle support.
    "In order to resolve this behavior it is necessary to ensure that the 8.1.1.3 FixPack has been applied to the Siebel Tools installation. This will provide an additional .zip file in the REPPATCH folder of the Siebel Tools installation. Once this has been done please then follow the configuration steps as documented :
    change sysprefix to X_ before sif import and chage back to SBL_ after sif import.
    1) Import the sif files from Siebel\8.1\Tools_1\REPPATCH\12-1VMBCSV.zip
    2) Import the 4 SIF files in the following order:
    S_XMLP_REP_TMPL_02112010.sif
    SBL_XMLP_REPORT_SELECTION_FLG.sif
    Report Template BC.sif
    Report Template Registration Applet.sif
    3)Apply the DDL for table S_XMLP_REP_TMPL and compile repository
    Once the above steps have been completed the Selected Record flag will appear in the Report Template Registration views."
    we still not able to generated able to generate reports even after following above steps.
    Thanks
    Sean

  • How to Setup Windows TFTP Server in Windows 2008 R2

    Hi,
    Can anyone please let me know, how to install TFTP Server in Windows 2008 R2.
    I installed Windows Deployment Service to get TFTP (got this info in some forum), but I did not see TFTP Service in the Service Manager.
    I am a newbie so plz let me know the steps in details.
    Thanks in advance.

    James, WDS ships with a TFTP server as part of the suite of services that are required to boot from the network. The information you've posted above is not correct.
    Hi Aaron,
    Thanks for your clarification. Towards the WDS TFTP Server, we could find the following statement below:
    You use the Windows Deployment Services Trivial File Transfer Protocol (TFTP) server to download the files that are needed to do a network boot using the Pre-Boot Execution Environment (PXE).
    From:
    WDS TFTP Server
    I understand that the we could select Deployment Server and Transport Server during the WDS setup processing. However, neoraghav would like to install TFTP server from the Server Manger towards the Windows Server 2008 R2. I noticed the statement as followed:
    The TFTP client is optional software, and marked as deprecated on Windows Vista® and later versions of the Windows operating system. A TFTP server is no longer provided by Microsoft for similar security issues.
    From:
    Trivial File Transfer Protocol (TFTP) Overview
    I should make my reply as clear as possible. Sorry for confusion. :-(
    Regards,
    James
    James Xiong
    TechNet Community Support

  • How to integrate a Solaris x86 server on Sun Management Center ?

    Hello people,
    I want to integrate a Solaris x86 server on Sun Management Center platform.
    If I'm not wrong, SunMC doesn't run for Solaris x86, server and client only as console with Java.
    In speat of it, I try to install Sun Management Center 3.0 Agent for Solaris x86.
    It seems to be ok, install packages, but when execute es-setup script, intents to create the following directory:
    /opt/SUNWsymon/base/bin/sparc-sun-solaris2.8
    I supose that in this directory, SunMC will install sparc binary files
    At this point, I can't follow the installation and abort it.
    Can anybody give me ideas to install and integrate my solaris x86 server on SunMC ?
    Thanks

    Hi Hisham,
    hishooooo wrote:
    Dear Gents,
    I have one X86 Solaris Server configured and installed to be Sun Management Center Server.
    successfully i could monitor the Sun Solaris Servers after i have installed the SMC agent on them.
    my problem is that i could not install the SMC agent on Red Hat Linux. as i could not find an easy document or steps to do so.
    could you guide please?If you still have a copy of your SunMC media around, the same ["es-inst"|http://docs.sun.com/app/docs/doc/820-2215/command-line-1?l=en&a=view] program you use to install Solaris Agents should work on Linux as well. It autodetects OS type and will install Solaris packages or RPMs as appropriate.
    Regards,
    [email protected]
    http://www.HalcyonInc.com

  • How to integrate Solaris x86 server on Sun Management Center ?

    Hello people,
    I want to integrate a Solaris x86 server on Sun Management Center platform.
    If I'm not wrong, SunMC doesn't run for Solaris x86, server and client only as console with Java.
    In speat of it, I try to install Sun Management Center 3.0 Agent for Solaris x86.
    It seems to be ok, install packages, but when execute es-setup script, intents to create the following directory:
    /opt/SUNWsymon/base/bin/sparc-sun-solaris2.8
    I supose that in this directory, SunMC will install sparc binary files
    At this point, I can't follow the installation and abort it.
    Can anybody give me ideas to install and integrate my solaris x86 server on SunMC ?
    Thanks

    Hi
    From the Unix prompt enter oemapp console(for v9.x). If you are using earlier versions it is oemapp console (for starting the console) and oemapp dbastudio(for starting dba studio)
    For starting OMS enter: oemctrl start oms.
    Hope this helps
    sarath

Maybe you are looking for

  • Acrobat X fails to start

    I've installed Acrobat X along with the CS6 Design Standard. I've never used it though. For reading PDF documents, I also installed the newer Adobe Reader XI. Today, I wanted to edit a PDF document so I started Acrobat to open the document. I worked

  • Logical Databases

    hi all, I am using the Logical DB PSJ in my report. As i execute i get the pop-up for the setting of the controlling area and the database profile. I need to suppress these 2 pop-up's I tried by using the below codes  at selection screen output:    I

  • Open item management in GL master data

    Hi We created GL master data in 2000 and that time "open item management" was not selected. Later in 2004 we needed "open item management" so we canged settings. now the problem is we are not able to see cleared items for that GL A/C. even if we clea

  • Invoice number against payment in report

    Dear Experts, I want to know if we can add the reference of the column invoice number in the customer ledger of SAP against the incoming payment  which we have taken against those invoices. these are 'on account' payments done which are reconciled la

  • Collective requirement for Raw materials for the whole week during mrp ru

    hi gurus,       I have a requirement like this. the raw materials required for on different requirement dates has to be clubbed together  per week and one single purchase requisition for that raw material for that week. I had created a availability c