HST60: Unix deployment

We are planning to change our production platform from Windows NT to Compay Tru64 Unix. Designer have a couple of prefs to generate lowercase files. But due to bug 1363330 attached libraries are used in uppercase. On this topic I made an iTar (193555.996) on Metalink. Further I noticed when using HST60, the implementation name is not used in the menu calls or module callings. So forms are generated lowercase but calling them from a menu or other form is done uppercase. Only thing I can imagine is the HST60 procedure qms$call_form(<'MODULE'>) uses the module name and not the implementation name when generating.
As we don't wan to change these 'lowercase things' each time a module is generated, I thought of using UPPERCASE files. Then no problem will occur.
Could you confirm this above workaround or tell me how Oracle projects make a Unix deployment.

Hi,
Using uppercase files will not solve all of your problems (unfortunately).
There are some differences depending on the Oracle Designer version you are using, but you
might also have the situation that also the extension of the OFG files are attached in uppercase.
The best (and easiest) way to overcome all these problems is to use unix links, and in that way make a link to the
lowercase name of the library (if you decide to use lowercase), e.g.
ln ofgmes.pll OFGMES.pll
This creates a kind of synonym called OFGMES.pll which points to the actual ofgmes.pll
Also - if you decide to use uppercase files you should set the LWCFLN preference to MIXED and not UPPERCASE
to ensure that the extension is generated lowercase in most situations.
Regards,
Sigrid.

Similar Messages

  • De-cluster CMS in Unix deployment

    Hi there,
    We have a 3.1 unix deployment
    one of the servers in our CMS cluster has died.
    Could someone please advise the best steps to remove the server from the cluster?
    Can I remove the server using the cmssetup.sh or do I have to re-initialise the repository ?(after creating BIAR file to backup content)
    regards
    James

    Hi,
    As per http://service.sap.com/sap/support/notes/1275068, you will need to create a new SIA on a system which will have the existing "Node" name.
    No need to start it, the goal is just to map the node to a valid system. You could then just delete it (the reason why you can't delete it is because the node is mapped to a system which doesnt exist anymore. By overwriting the information about the ghost node, you make it a valid one, that you can happily delete afterward)
    Hope this helps

  • Ejbs on Unix

              Hi
              I am working in WL Server on Windows Os. In that os, I am able to Deploy the Ejbs,run the WL Server and also Accessiong the EJBs accounrding to my application.
              But thing is , now we are planning to Shift the Environment to Unix. So. Is these old Ejbs are working fine in Weblogic Server that are running in unix. Or i need to compile and re deploy in the Weblogic server in Unix.
              I also tryed to copy all .jar files with ftp binary mode to my unix server. But its giving the Exception like
              Unable to initialize the server:java.long.NullPointerException fatel initialization exception
              java.long.NullpointerException
              at weblogic.ejb.persistence.Installedpersistence.initialize (installedPersistence.java.251)
              at
              weblogic.ejb.perisistence.installedpersistence<init>9Installedper sistence.java:81)
              If any body give the solution asap that may be most helpful for me. \n
              Thnakx
              Krishna
              [email protected]
              

    There is something different between NT and UNIX deployment as far as ejb persistence is concerned. You can first start of with the properties file and then work through the deployment descriptors to figure out whats
              different. If deployment descriptor has to be modified then you will have to run ejbc again I think.
              - Prasad
              Krishna wrote:
              > Hi
              > I am working in WL Server on Windows Os. In that os, I am able to Deploy the Ejbs,run the WL Server and also Accessiong the EJBs accounrding to my application.
              > But thing is , now we are planning to Shift the Environment to Unix. So. Is these old Ejbs are working fine in Weblogic Server that are running in unix. Or i need to compile and re deploy in the Weblogic server in Unix.
              > I also tryed to copy all .jar files with ftp binary mode to my unix server. But its giving the Exception like
              >
              > Unable to initialize the server:java.long.NullPointerException fatel initialization exception
              > java.long.NullpointerException
              > at weblogic.ejb.persistence.Installedpersistence.initialize (installedPersistence.java.251)
              > at
              > weblogic.ejb.perisistence.installedpersistence<init>9Installedper sistence.java:81)
              > ..
              > ..
              >
              > If any body give the solution asap that may be most helpful for me. \n
              > Thnakx
              > Krishna
              > [email protected]
              

  • Workshop domain required on server for deploy?

    I've got a newbie question regarding deployment and server config. After I've developed
    my webservices application using Workshop and built it locally (Windows 2000),
    must the server (UNIX) deploy it in a Workshop domain or would a standard server
    domain be sufficient? Thanks for any help.
    Keith

    I forgot to mention that the development and server environments will both use
    WL8.1sp2. Hope this helps.
    thanks!
    keith
    "Keith" <[email protected]> wrote:
    >
    I've got a newbie question regarding deployment and server config. After
    I've developed
    my webservices application using Workshop and built it locally (Windows
    2000),
    must the server (UNIX) deploy it in a Workshop domain or would a standard
    server
    domain be sufficient? Thanks for any help.
    Keith

  • Very frequent system freezes on XI 3.1

    Hello:
    We are experiencing very frequent system freezes where the system wont let you get pass the logon page for INfoview or CMC.
    It also wont allow any of the BOBJ tools to logon.
    The only way to resolve this issue seem to be to reboot the environment after killing all unix processes.
    Has anyone experienced this issue?
    BOE XI 3.1 SP3
    SAP IK Sp3
    HPUX-IA64 (unix) deployment
    happens on single server and on multi server environment.
    Tomcat55
    JDK (bobj prepackage)

    I agree that reboots (and I mean restarting just the bobj services) are seldom.
    However in our environment after a certain about of days of usages (say 10 days or) after certain amount of schedules the environment locks ups.
    and the only way to release it is to kill -9 the services on unix.
    The cms service is the one having the issues as it is non responsive.  You can't even complete a logon, even when using ccm.sh -display.  We've been working with SAP support now for 3+ months without any resolution.
    in the systemlogs the following errors are present on the machine where the cms is frozen:
    businessobjects[2314]: Transport error: No response from server, timeout exceeded.

  • LIMIT within universe

    Hi there,
    we on on XI 3.1, unix deployment, MySQL database
    I wondered if there was a smart way to include the LIMIT syntax in the universe to generate this SQL:
    SELECT
      tableA.column
    FROM
      tableA  limit 500
    I can obviously do custom SQL in webi, but this is for QaaWS where custom SQL is not possible, so the solution needs to be implemented in the universe
    regards
    James

    Hello
    I didn't have the chance to try it so I cannot confirm it will work.
    There is a parameter in Universe Designer called "End_SQL".
    This parameter will append a string to all queries executed with that universe.
    Try setting the End_SQL  parameter to " limit 500" and try running a query with QaaWS.
    Hope that it helps
    PPaolo

  • An Oracle Forms Success story

    Hi:
    I believe that in the forum we tend to post "I need help. Please help" "Oracle has issues!", etc, kind of topics. I am going to try to change that and will start posting now and then my "Oracle Forms" success stories that will hopefully help us all in sharing when we do something right and not just sharing when we need assistance. By the way, I do realise that there are plenty of great people in this forum already sharing their positive findings, I just would like all of us to start doing it on a regular basis.
    Having said that, here is my first success story:
    On Friday, I was having a conversation with one of our users and setting her up with our Web based application. Since we are moving her from a character based application, I was emphasizing to her how in the new GUI/Web based application it was important and benefitial to start using the mouse. To this she said "You know Thomas, we use Salesforce and recently we noticed that they have enabled the ability to click on any field and make it editable. Also, she said, you know how in our application we very often find ourselves going to a field and then pressing Ctrl-Y to bring up the full contents of the text. I just think that it would be really great if our new Mouse-enabled application would allows us to simply double click a filed and bring up the full text. Is this now possible? she asked. I paused and ran the request quickly in my head, since I made sure that certain things happened when we converted our Forms from character to Web platforms (i.e. I made sure that we referenced Object Groups to all of our forms), I was able to quickly (within a minute after she finished her question) answer to her that it was possible to accomplish what she described relatively trivially, but that it was still not enabled. Confident in my understanding of the whole app and in the hooks that I had installed during our upgrade, I promissed her that I would have a definite estimate and full answer by Monday.
    I went home Friday and went to a school Carnival with my two beautiful children and awesomely beautiful wife (I have been told by co-workers that she looks a lot like Gina Lollobrigida) so I forgot about the request for the rest of the evening. Saturday morning I woke up and the first tought in my head was: I got it! I turned on my computer, coded and tested the solution against a couple of forms in five minutes and convinced my self I was right with my first tought. I then compiled the rest of the forms (around three hundred) and tested a few selective ones and verified that indeed I had solved the problem. I am now ready not only to tell her how easy it but to have her experience it in our development environment first thing on Monday, hopefully giving her a sense for how great our new platform is.
    The End
    Here is my code:
      IF NOT SUBSTR(RTRIM(RTRIM(GET_ITEM_PROPERTY(NAME_IN('SYSTEM.TRIGGER_ITEM'), PROMPT_TEXT)), ':'), -1) IN ('*', '+') THEN
        DO_KEY('EDIT_TEXTITEM');
      ELSIF :SYSTEM.MOUSE_ITEM IS NOT NULL THEN
        DO_KEY('LIST_VALUES');
      END IF;How did I deliver to all 300+ forms:
    We have a form (called base.fmb) that contains all of our common forms objects and an OLB called common_obj.olb.
    All of our forms have an object group called BASE_TRIGGERS referenced in.
    1) I created a WHEN-MOUSE-DOUBLE-CLICK trigger with PL/SQL above.
    2) I added WHEN-MOUSE-DOUBLE-CLICK to BASE_TRIGGERS objec group.
    3) I copied BASE_TRIGGERS from base.fmb to common_obj.olb to upgrade object group.
    4) I installed common_obj.olb to our UNIX deployment box.
    5) I compiled a few of the modules and tested in the app.
    6) I ran a full recompile.
    Why does it work:
    1) The code above written PSEUDOLLY means:
      IF the prompt associated with the field does not end in * or + THEN
        SHOW THE EDITOR
      ELSE
         Execute KEY-LISTVAL
      END IF2) Somebody very smart in our company introduced this neat notation to place a plus sign (+) at the end of the prompt for every field tha has a list of values. Also, that person had an asterisk (*) placed at the end of field prompts that provided drilled down (calling another form o show detail) to another form.
    3) Oracle, in a great white paper made me aware of the fact that when converting from character to Web all field prompts needed to be converted from Text to the Prompt property and furthermore, in their great wisdom, to make it easy they actually put a button right on the designer to make it trivial to accomplish.
    Hope this is a good start,
    Thomas
    P.S. If I left anything out or you have any questions, please feel free to ask.
    Message was edited by:
    Thomas Morgan
    Message was edited by:
    Thomas Morgan

    Great idea to post success stories. Kudos for giving step-by-step instructions.
    Was the notation using plus or asterisk to signal the user if there's an LOV or drill-down available in place in your character based app or was it implemented during the GUI conversion? This is probably a matter of UI opinion, but does the notation clutter the screen a bit ad did you try other visual prompts? I like the notation because you don't have to click in or tab to the field to see if a LOV is available. That's a big benefit that probably outweighs the issue of screen clutter.

  • Using JDAPI to reattach PLL Library/Libraries

    Hi
    I am attempting to change the libraries attached to some forms, to convert the names to lowercase as part of a Unix deployment project.
    I am using the standard code posted on Metalink. The Forms were Designer-generated as Forms 4.5 originally and have been upgraded to Forms 9.0.4.0.19. I am using the JDK in the Developer Suite Oracle Home. The Forms are in a different directory to the Libraries, but all the directories are in the FORMS90_PATH set both in the Registry and as a cmd.exe environment variable.
    I have two problems:
    1) If I attempt to just list the libraries attached to the Form, with something like:
         FormModule fmd;
         fmd=FormModule.open(args[0]);
         System.out.println("Processing module " + fmd.getName() + "...");
         JdapiIterator all_libs = fmd.getAttachedLibraries();
         while (all_libs.hasNext())
              AttachedLibrary lib = (AttachedLibrary)all_libs.next();
              System.out.println("Attached Library = " + lib.getName());
         fmd.destroy();
    This returns:
         Processing module MODULE...
         Attached Library = OFG4TEL
         Attached Library = OFG4MES
         Attached Library = OFG4BSL
         Attached Library = OFGMES
    Unfortunately, I know that there are more libraries than this. The Form is attached to a single module library (called MODULE.pll), which is attached to an application-level library, which is then attached to the Designer-libraries (OFG4*).
    Does anyone know why this code lists the Designer libraries, but not the others?
    If you convert the FMB to XML, it also has only the Designer-libraries, but opening the Form in Form Builder shows the full list.
    2) I attempted to remove all the libraries from the Form by adding a lib.destroy(); into the loop above and a fmd.save(args[0]); after it. When I run this the loop terminates after the first iteration. It doesn't report any errors, but it doesn't actually remove the module library either. It is doing something though, because if you reopen the Form in Form Builder the module and application library attachments have been lost and just the Designer ones remain?
    I don't really want to update all the modules by hand, and any assistance would be greatly appreciated.
    FWIW I also tried converting the FMBs to XML using the IFF2XML90 batch file, and then doing a search & replace on the XML file before converting back into a Form using IFXML2F90.bat. This doesn't work either because it also loses the module and application library attachments as described above, possibly because these batch files are using JDAPI internally and JDAPI doesn't like my Forms!
    Thanks
    Roger

    I sincerely hope that you have found a solution by now....
    It is a strange situation that you describe.
    I think you might have found that the OFG-libraries are actually in a different directory from where you expected them to be found by JDAPI. Have you used lib.getLibraryLocation()?
    The next step would have entail trying to find out where this different path was set, and why JDAPI uses that setting, instead of the settings in registry and batchfile.
    Just some thoughts.
    Greetings!
    Remco

  • Additional language for lifecycle manager XI 3.1 SP3

    Hello, Experts.
    I have lifecycle manager XI 3.1.  I would like to transfer reports, connections and etc. from dev to test and prod in landscape, but my reports have Russian language. In Promotion Jobs i see "????????????????" instead of Russian names.
    How can i installed additional language for LCM XI 3.1?
    I have installed SP3, but it didn't help me, In folders of SP3 and SP4 i see, that folders with name RU, DE and etc. is empty. Language pack is present only in EN folder.
    Please, help me.
    Regards,
    Denis

    JC:
    It would be good to know information on distributed deployments;
    such as how to handle upgrades on machines that are distributed/firewalled off..and HA machines..etc..
    More information needed on Unix deployment, I always find the guides are weak when it comes to unix information.
    Also:  There needs to a way to communicate clearly; the upgrade scenarios.
    The table of that information was good in the past.
    Example:  IF you are on SP1...then do this
    if you are on SP2 then do this
    if you are on SP1 with any FP do this..etc...
    As many installation scenario that can be covered in a TABLE should be presented...that way you get customer types.
    ALSO;  Information about deployments with SAP customers (BW or ECC)..duh..that is obvious, the SP3 materials should have tons on that, but it's lacking.
    Personally I think there should be a separate SAP IK SP3 upgrade GUIDE!!! why not.....BOBJ and SAP are one right...why not provide MORE info for your customers that are hybrid (SAP + BOBJ)...
    Thanks,
    Dwayne Thomas

  • Headstart Utilities Failure w/Designer 6.0

    Hello:
    I've just tried to install Headstart 2.1.2 with the new patches
    for Designer 6/Developer 6 on Windows NT 4.0 SP 4. I've checked
    all of the logs (in my ORANT\HSD21 folder) and I don't see any
    errors in any of them.
    However, when I go to start the Headstart Utilities
    Administration and log in as the Headstart Utilities owner, I
    get the following:
    I get a number of "FRM-40733: PL/SQL built-in DBMS_ERROR_TEXT
    failed". This comes up 5 times in a row.
    Then I get "FRM-40735: PRE-FORM trigger raised unhandled
    exception ORA-03114". This comes up once, and the form exits.
    This last one seems to indicate that the logon has failed, but I
    can log on using SQLPlus 3.3 and SQLPlus 8.0 with no problems,
    using exactly the same ID/password.
    If it matters, I'm using Oracle 8.1.5.0.0, Developer 6.0
    downloaded from Technet with the dev60 patches and Designer 6.0
    with no additional patches. They all seem to be working OK
    (I've generated a test form w/o Headstart and it runs OK).
    I've also run the following as suggested in another of your
    posts:
    select object_name from user_objects where status='INVALID';
    which returns no rows.
    Help!!
    TIA
    Eric Raskin
    null

    Headstart Team (guest) wrote:
    : Jeff Esposito (guest) wrote:
    : : Headstart Team (guest) wrote:
    : : : Eric Raskin (guest) wrote:
    : : : : Headstart Team (guest) wrote:
    : : : : : Eric Raskin (guest) wrote:
    : : : : : : Hello:
    : : : : : : I've just tried to install Headstart 2.1.2 with the
    new
    : : : : patches
    : : : : : : for Designer 6/Developer 6 on Windows NT 4.0 SP 4.
    : I've
    : : : : : checked
    : : : : : : all of the logs (in my ORANT\HSD21 folder) and I
    don't
    : : see
    : : : : any
    : : : : : : errors in any of them.
    : : : : : : However, when I go to start the Headstart Utilities
    : : : : : : Administration and log in as the Headstart Utilities
    : : owner,
    : : : : I
    : : : : : : get the following:
    : : : : : : I get a number of "FRM-40733: PL/SQL built-in
    : : : : : DBMS_ERROR_TEXT
    : : : : : : failed". This comes up 5 times in a row.
    : : : : : : Then I get "FRM-40735: PRE-FORM trigger raised
    : : unhandled
    : : : : : : exception ORA-03114". This comes up once, and the
    form
    : : : : exits.
    : : : : : : This last one seems to indicate that the logon has
    : : failed,
    : : : : but
    : : : : : I
    : : : : : : can log on using SQLPlus 3.3 and SQLPlus 8.0 with no
    : : : : problems,
    : : : : : : using exactly the same ID/password.
    : : : : : : If it matters, I'm using Oracle 8.1.5.0.0, Developer
    : 6.0
    : : : : : : downloaded from Technet with the dev60 patches and
    : : Designer
    : : : : 6.0
    : : : : : : with no additional patches. They all seem to be
    : working
    : : OK
    : : : : : : (I've generated a test form w/o Headstart and it runs
    : : OK).
    : : : : : : I've also run the following as suggested in another
    of
    : : your
    : : : : : : posts:
    : : : : : : select object_name from user_objects where
    : : : : status='INVALID';
    : : : : : : which returns no rows.
    : : : : : : Help!!
    : : : : : : TIA
    : : : : : : Eric Raskin
    : : : : : Eric,
    : : : : : I'm sorry to say I have bad news for you. The error you
    : run
    : : : : into
    : : : : : is caused by the following bug in Forms 6.0, which only
    : : : : : reproduces with Oracle 8.1.5 on NT:
    : : : : : 966970: CONNECTION LOST WHEN INVOKING PACKAGED
    PROCEDURE
    : : WITH
    : : : : : PLSQL-TABLE AS ARG OFMO899
    : : : : : Only work around is to use 8.0.5, or 8.1.5 on a UNIX
    : : machine.
    : : : : You ain't kiddin' about the "bad news" part, are you?
    : : Just
    : : : : to be sure I understand, this is only on the development
    : : : : machines, right? I can still run 8.1.5 on NT for the
    : actual
    : : : : database?
    : : : : Eric
    : : : I wish I was kidding! This is a problem you might run into
    on
    : : : your production database as well. The moment you have a
    forms
    : 6
    : : : application that calls a server-side procedure which has a
    : : PL/SQL
    : : : table of records as parameter, the connection is lost.
    : : : Headstart-generated applications will all run into this, as
    : : : Headstart uses such a server-side procedure for message
    : : : handling.
    : : : We have raised this issue with Forms Development, and have
    : : asked
    : : : for a patch. (although it might turn out to be a server bug
    : : : instead of a forms bug...).
    : : This is very bad news, as I was looking to leverage
    : : headstart with 8.1.5/Designer/Developer 6.0 for rapid
    : development
    : : and deployment of an application to the web.
    : : I'm sure there are a few of us in this boat.
    : : Questions:
    : : 1) Does this problem exist for 8.1.5 in a Unix deployment?
    : : Specifically, can I be assured of reliable forms generation
    via
    : : headstart if my 8.1.5 database lives in Unix?
    : : 2) Assuming Forms Development agrees with you and is working
    on
    : a
    : : patch, may I offer to help test that patch?
    : : Jeff
    : Jeff,
    : This is only a problem with Oracle 8i on NT. Note that it is
    not
    : just a Headstart problem. If you generate a form with Designer,
    : and the block is based on a MAPI procedure, it won't run on
    8.1.5
    : on NT either, because the MAPI procedure has a PL/SQL table of
    : records as a parameter, just like the Headstart message
    handling
    : routine. Thanks for your offer, but given the wide impact of
    this
    : bug, Oracle will be able to create sufficient testcases
    : themselves.
    Hello,
    does the same problem exist on Oracle 8.0.5 on Windows NT and/or
    Digital Unix too?
    We are currently thinking about using Headstart and if the
    problem exists on 8.0.5 the workaround you provided might be a
    big problem for us ...
    thx in advance
    null

  • Trouble with pll on web

    I am trying to move some of my forms 6i code into a .pll .
    It's fine on client-server but when I try to web deploy it I get problems.
    First when I compiled the form it said it couldn't find any of the library procedures. I fiddled about re-saving and re-attaching and managed to get it to compile OK, but then at runtime any call to a library procedure causes FRM-6508. Any clues what I might be doing wrong ?

    Kevin
    Everybody has their own threshold of iffiness. Given a free choice I would opt to use O9iDS on Windows because it's more user-friendly than O9iDS on Unix. I can handle the porting-to-Unix issues because I am (officially) an expert :P
    However, we had to come up with a strategy that could cope with 2000+ Forms/Reports modules and a couple of dozen libraries and that was going to work for around thirty developers with varying degrees of expertise. Because this is a one-way thing - 9i Forms, we're going to the web and never coming back - we decided to go for Unix as our development platform, despite, indeed because of, the fact that most of our developers had liitle Unix experience. We had heard enough war stories to convince us we didn't to risk the project going pear-shaped due to platform inconsistencies (details on application).
    Perhaps we were being over cautious. Nevertheless, I would still choose Build on Unix, Deploy on Unix as the strategy for any future Web Forms projects I work on. It's just a whole bunch of errors that cannot trip you up, because the platform doesn't allow you to code them.
    But, if you're comfortable coding on one platform and deploying on another then that's cool. I think the key thing is to build and deploy continuously, one piece at a time.
    Cheers, APC

  • Problem deploying a web application to oc4j in Unix

    Hi! I would like to ask for someone's help on a problem I encountered while accessing a web app deployed to oc4j in Unix. Before deploying the application in Unix, I tried it on a Windows2000 server and it worked fine. I copied the same files (classes, jsps, js, css) to the Unix server and modified the same xml files (data-sources, global-web-application, http-web-site, server). I could access index.jsp of my application but I get a HTTP 404 error on the other pages. Also, the css applied on index.jsp doesn't seem to reflect on the page. Could someone share some insights on this and if you have experienced the same problem, kindly post your suggestions/solutions.
    Thanks a lot,
    Mildred

    Reposting... css problem has been resolved (case sensitivity issue)
    Hi! I would like to ask for someone's help on a problem I encountered while accessing a web app deployed to oc4j in Unix. Before deploying the application in Unix, I tried it on a Windows2000 server and it worked fine. I copied the same files (classes, jsps, js, css) to the Unix server and modified the same xml files (data-sources, global-web-application, http-web-site, server). I could access index.jsp of my application but I get a HTTP 404 error on the other pages. Could someone share some insights on this and if you have experienced the same problem, kindly post your suggestions/solutions.
    Thanks a lot,
    Mildred

  • Crystal Reports for eclipse 2.0 deployed on unix

    Hi,
    We have designed few crystal reports using u201CCrystal Reports for Eclipse 2.0u201D on windows platform. We have embedded this report into a J2EE Web application and deployed the web application on Tomcat 6.X server.
    We are able to generate the reports successfully on windows environment. But when deployed the web Application on to Tomcat server 6.X on Solaris environment we get runtime exception as below.
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKClientDocException: The document has not been opened.---- Error code:-2147215349.
    It is failing at At clientDoc.open(reportName, OpenReportOptions._openAsReadOnly) of the JSP whaich was shared where clientDoc is an object of ReportClientDocument. That is it is failing to open the .rpt.
    The eclipse generated JSP used to invoke the report sa follows.
    <%@ page contentType="text/html; charset=iso-8859-1" pageEncoding="ISO-8859-1" %><%@ page import="com.businessobjects.samples.CRJavaHelper,
    com.crystaldecisions.report.web.viewer.CrystalReportViewer,
    com.crystaldecisions.sdk.occa.report.application.OpenReportOptions,
    com.crystaldecisions.sdk.occa.report.application.ReportClientDocument,
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKExceptionBase,
    java.util.Calendar,
    java.util.Date,
    java.text.DateFormat,
    java.text.SimpleDateFormat" %><%
    // This sample code calls methods from the CRJavaHelper class, which
    // contains examples of how to use the BusinessObjects APIs. You are free to
    // modify and distribute the source code contained in the CRJavaHelper class.
    try {
      HttpSession sessionObj = request.getSession();
      String reportName = "reports/EmailDataReport.rpt";
      String attStartDate = (String)sessionObj.getAttribute("CalendarStartDate");
      String attEndDate = (String)sessionObj.getAttribute("CalendarEndDate");
      //attStartDate = "2/12/2004";
      //attEndDate = "2/17/2009";
      // spliting the start and end date
      String [] arrStDate = null;
      String [] arrEndDate = null;
      arrStDate = attStartDate.split("/");
      arrEndDate = attEndDate.split("/");
      ReportClientDocument clientDoc = (ReportClientDocument) session.getAttribute(reportName);
      if (clientDoc == null) {
       // Report can be opened from the relative location specified in the CRConfig.xml, or the report location
       // tag can be removed to open the reports as Java resources or using an absolute path
       // (absolute path not recommended for Web applications).
       clientDoc = new ReportClientDocument();
    try{
       clientDoc.setReportAppServer(ReportClientDocument.inprocConnectionString); 
       // Open report
       clientDoc.open(reportName, OpenReportOptions._openAsReadOnly);
       //DateFormat df = new SimpleDateFormat("dd/MM/yyyy");
    }catch(Exception e){
    out.println(" -
    Error while opening the report $$$$$$$$$$$"e.toString()"\n");
       // ****** BEGIN SET RUNTIME DATABASE CREDENTIALS **************** 
        String connectString = "XXXXXX
        String driverName = "oracle.jdbc.OracleDriver";
        String JNDIName = "";
        String userName = "YYYYY";   // TODO: Fill in database user
        String password = "ZZZZZZZZZ";  // TODO: Fill in password
        // Switch all tables on the main report and sub reports
        CRJavaHelper.changeDataSource(clientDoc,reportName,null,userName, password, connectString, driverName, JNDIName);
        // logon to database
        CRJavaHelper.logonDataSource(clientDoc, userName, password);
       // ****** END SET RUNTIME DATABASE CREDENTIALS ****************
       // ****** BEGIN CONNECT PARAMETERS SNIPPET **************** 
        // DATE VALUE PARAMETER.
        Calendar calendar = Calendar.getInstance();
        calendar.set(Integer.parseInt(arrStDate[2]), Integer.parseInt(arrStDate[0])-1, Integer.parseInt(arrStDate[1]));
        Date dateParamVal = calendar.getTime(); // TODO: Fill in value
        CRJavaHelper.addDiscreteParameterValue(clientDoc, "", "StartDate", dateParamVal);
        // DATE VALUE PARAMETER.
        Calendar calendar = Calendar.getInstance();
        calendar.set(Integer.parseInt(arrEndDate[2]), Integer.parseInt(arrEndDate[0])-1, Integer.parseInt(arrEndDate[1]));
        Date dateParamVal = calendar.getTime(); // TODO: Fill in value
        CRJavaHelper.addDiscreteParameterValue(clientDoc, "", "EndDate", dateParamVal);
       // ****** END CONNECT PARAMETERS SNIPPET ****************
       // Store the report document in session
       session.setAttribute(reportName, clientDoc);
      // ****** BEGIN CONNECT CRYSTALREPORTPAGEVIEWER SNIPPET **************** 
       // Create the CrystalReportViewer object
       CrystalReportViewer crystalReportPageViewer = new CrystalReportViewer();
       String reportSourceSessionKey = reportName+"ReportSource";
       Object reportSource = session.getAttribute(reportSourceSessionKey);
       if (reportSource == null)
        reportSource = clientDoc.getReportSource();
        session.setAttribute(reportSourceSessionKey, reportSource);
       // set the reportsource property of the viewer
       crystalReportPageViewer.setReportSource(reportSource);
       // Apply the viewer preference attributes
       // Process the report
       crystalReportPageViewer.processHttpRequest(request, response, application, null);
      // ****** END CONNECT CRYSTALREPORTPAGEVIEWER SNIPPET **************** 
    } catch (ReportSDKExceptionBase e) {
         out.println(e);
    %>
    Note : We have not installed any crystal report servers in both windows or UNIX environment.But we have deployed all the relavant crystal report jars for the java runtime environment.
    If anyone has come across such error please help. Also let me know if we need to have external RAS set up for this?By default the the RAS will be set to "inproc:jrc"  which works fine on windows environment.
    regards,
    Madhu

    I am having similar problems.  Environment works perfectly in Windows.  All JARS and config files moved to AIX UNIX machine.  I get nothing more than a Crystal Reports 'Error' on the screen!!!
    Any ideas since this was posted??

  • Display image in forms & reports developed on windows and deployed on Unix

    Hi,
    We are upgrading from Forms and reports 6i to forms10g.
    We need to insert image in forms and reports. Recompile and deploy on unix server.
    So can anyone let me know the exact steps to create jar file containing images, where to place the jar file.
    Corresponding folder, file and configuration changes required on windows and unix.
    Av.

    Hi Frank,
    thanks for the link it helped me in understanding how images work for forms.
    But my real concern is how this will work in reports?
    As we dont have any reportsweb.cfg nor any java path for reports?
    Can you help me in understanding how to embed image in reports that will be displayed even after porting the report on unix oas.
    Regards,
    Av.

  • *Urgent* Deploy java component to UNIX

    Hi everyone,
    I have a little problem, please help.
    I have to write a java executable program
    that will read a XML file parse it and then update the Oracle database version 7.
    I will have to write my code on WinNT, this java execuatable program will be invoked by some other program in UNIX.. I dont have to worry about how to invoke it, beacuse other will have to. My task it only to write the program and store it somewhere on the UNIX file system and tell them where the file is.
    My question is:
    We are using HP and IBM version.
    Do I have to install JDBC to UNIX? Or Do I have to install the JDK or what should the Unix OS should have so that my program can talk to the Database and at the same time use the XML parser.
    Thank you very much for your help
    Lan T

    Hi,
    I don't think that OAS can act as a container for RMI-applications, at least I havent't read about that anywhere. On the other hand, you can easily use rmid from the jdk for that tast, so this shouldn't be the problem.
    What you can do is create an EJB with the JDev-wizard and deploy it to OAS using the deployment wizard. That works fine. But of course, you have to act as an EJB-client to connect to it. (You can find a tutorial for JDev 3.0 on this site choosing Documentation)
    As far as Applicationmodules are concerned, there are wizards included in JDev that let you deploy to OAS. I myself never succeeded in doing so, the wizards and OAS seem to be very buggy. There is a note on metalink.oracle.com: 114335.1 which describes the deployment of Applicationmodules to OAS. Other people report to have succeded, whereas it wouldn't work for me.

Maybe you are looking for

  • I bought a brand new iMac and now i have had five crashes with it.

    Can you help me please! I have no idea. I uninstalled and installed everthing new. The problem wasn´t solved. greetings Sascha This is the information: Anonymous UUID:       8EA6700C-CF68-684F-C5EE-2C42840EDB82 Sun Feb 16 21:35:41 2014 panic(cpu 0 ca

  • High CPU Usage with Flash Player 11

    I am not sure what the problem is but ever since I had those issues I went back to flash archive and installed a previous version that did not come with the flash plug in and I never had any problem with it since I am currently using the Adobe flash

  • ASA PAT UDP source port

    Is there a way to preserve the source port for UDP packets that use a PAT pool? Here is what I need: The client (1.1.1.1) sends a UDP packet from port 5060 to port 5060 on our external 2.2.2.2. This packet is port forwarded to our internal server 10.

  • Disable / enable buttons in .exe

    I have a simple Flash movie with a few buttons - this movie will be my .exe (not on the web). Just like a Main Menu. I noticed that when I click on a button that plays a .swf file over the Main Menu, the buttons on the Main Menu are still active. No

  • Is there a right click disabler ENABLER for Mac?

    This is not a question on how to enable right clicking on the Mac. Here's the question: is there a download or a way with the Mac to re-enable right clicking when there's a php script disabling right clicking on certain websites?