Pdf report viewing problem using Sun appserver9

i want to generate a report from my web application.if i use appserver8.2 it can view report in pdf ,html and csv format.but when use appserver 9 it cant show the report in pdf format.message is shown as File is not a valid postscript document.i am using fedora core 4 and mozilla firefox.pls help someone

Hi user;
Please check below thread and related docs,suggestion
Re: Print pdf direct from concurrent manager
Re: How to print PDF file with hp-ux 11.31 on itanium
Hope it helps
Regard
Helios

Similar Messages

  • PDF report viewer Axtivex Control

    Its an Urgent,can any one please suggest about a PDF report viewer Axtivex Control that is compatible with VS2005.That report viewer should be compatible with both 32 bit and 64 bit Windows operating system.And it should be freeware.

    I have problem with Windows Vista Os in 64 bit.The problem is that i have a webbrowser control in Windows application in VS2005 for displaying PDF file.Its working fine in 32 bit operating system.The PDF file is shown within the control.But when i deploy the application in 64 bit Vista operating system,its give an error and the pdf is open in new window.Please can you provide any PDF viewer control that is free and compatible with VS2005,so that pdf should open in that control and is compatible with both 32 bit and 64 bit OS.

  • Crystal report viewer problem

    Hi,
    We have CR 2008 SP2 license version and We are using visual studio 2010 and downloaded CR for visual studio 2010. After upgrading when we run the application, report displays successfully with new report viewer  but when i try to open another report it displays in new window rather than in current window. This issue occurs in Internet Explorer only. When i run this apllication in firefox it works....!!!! In firefox, it does not open new window for each report.
    So, can you tell me this issue is related to browser or report viewer and what should we do to solve this issue?
    Thanx in advance for any help.

    Hi,
    I got the exact problem which was occurred. We do have 3 frames in an aspx page. From the link given in one frame (left frame), we are loading new form in another frame(main frame) by giving the "target=main" in link. Suppose in left frame i have given options to load different reports. Report is loaded in main frame after clicking on one of the link given in left frame. Report is displayed successfully in main frame but after that if i click on any of the links given in left frame, page will be loaded in new window. That is the exact issue occurred over here.
    By searching the solution for this problem, I got to know the reason.  It is specified in community forum that in frames concept,  frame name is taken "filter" by default. So i have to chahge my main frame id and name to "filter". I did that and the isuue is resolved...!!!! But for this reason, i have to change frame name in the application. May i know why this was happened..??? In earlier version i did not face this problem then why in upgraded version ...???
    Thanks,

  • PDF report font problem

    Dear all,
    All our reports are developed by reports builder 10g (under windows) and deployed on an Application Server 10g (on Linux).
    We had a problem with displaying the arabic letters, but this was solved by following the steps in the metalink doc no 726205.1 for generating arabic pdf reports on unix.
    Now, the problem is that the font used in the reports is ARIAL, but when the reports are displayed (in PDF format) the font is TAHOMA. This font conversion happens in both Arabic and English reportsl.
    I wonder how can I correct this behaviour.
    Thanks in advance for your time.
    Naglaa

    I am not sure if this may be the solution, but I think you need to use font-subsetting.
    Please have a look at the following documents:
    Generating a Unicode PDF File - 11g Release 1 (11.1.1)
    Building a Report with Multibyte Characters for PDF Output - 11g Release 1 (11.1.1)
    Regards
    Markus

  • Display Pdf report on Frame using iText library

    Hi,
    I am able to generate pdf reports using iText library. but i want to display these generated pdf into frame. can u please help for this.
    this is web based application. Through servlet i am generating the pdf report using iText library. I am waiting for your reply ....

    Does this PDF file absolutely need to be displayed within a JFrame? You say you are generating this document on the server side, so if this is a web application, what I might do is place the generated document on directory accessible through http, then on the client browser side open a pop-up browser window with a URL to the PDF document.
    Most browsers have a PDF viewer plugin of some kind.
    If this is a swing application then you can do the same thing but instead of redirecting the browser to the PDF file you can use iText to convert the PDF document to an RTF document and use an RTFEditorKit within a JEditorPane to display the same document in RTF format.

  • PDF reports generation problem from single oracle reports in 10G

    Hi All,
    i am generating 4 PDF reports from one Oracle reports in 10 G.
    i used RUN_REPORT_OBJECT built in 4 times with some different parameter list at a single time.
    some time it generates but some time it generate 2 or 3 out of 4.
    Can you anyone help me on this issue.
    Regards,
    Abhishek
    Code that i used for generation of report:
    on key-F0:
    DECLARE
    PL_ID PARAMLIST;
    PL_NAME VARCHAR2(10) := 'REP';
    USRNM VARCHAR2(50);
    pl_id2 paramlist;
    pl_name2 varchar2(10):= 'REP';
    usrnm2 varchar2(50);
    pl_id3 paramlist;
    pl_name3 varchar2(10):= 'REP';
    usrnm3 varchar2(50);
    pl_id4 paramlist;
    pl_name4 varchar2(10):= 'REP';
    usrnm4 varchar2(50);
    BEGIN
    USRNM := GET_APPLICATION_PROPERTY(USERNAME);
    PL_ID := GET_PARAMETER_LIST(PL_NAME);
    IF NOT ID_NULL(PL_ID) THEN
    DESTROY_PARAMETER_LIST(PL_ID);
    END IF;
    PL_ID := CREATE_PARAMETER_LIST(PL_NAME);
    IF ID_NULL(PL_ID) THEN
    MESSAGE('Error Creating Parameter List ');
    END IF;
    ADD_PARAMETER(PL_ID, 'P_PRNT_C_FAM_ID', TEXT_PARAMETER, :PRNT_C_FAM_ID);
    ADD_PARAMETER(PL_ID, 'P_NOTICE_DATE', TEXT_PARAMETER, TO_CHAR(:FRONT_END.NOTICE_DATE,'MM/DD/RRRR'));
    ADD_PARAMETER(PL_ID, 'P_REDET_DATE', TEXT_PARAMETER, TO_CHAR(:FRONT_END.REDET_DATE,'MM/DD/RRRR'));
    ADD_PARAMETER(PL_ID, 'USR_NM', TEXT_PARAMETER, USRNM);
    ADD_PARAMETER(PL_ID, 'SCHEDULE', TEXT_PARAMETER, :RUN_TIME);
    ADD_PARAMETER(PL_ID,'P_PRNT_PROV',TEXT_PARAMETER,'PRNT');
    ADD_PARAMETER(PL_ID, 'P_ENG_SP', TEXT_PARAMETER,'N');
    REDET_REPORT('506',PL_ID,'CT506_Parent_FamId_Eng'||To_Char(sysdate,'MMDDRRRR-HHMISS'));
    USRNM2 := GET_APPLICATION_PROPERTY(USERNAME);
    PL_ID2 := GET_PARAMETER_LIST(PL_NAME2);
    IF NOT ID_NULL(PL_ID2) THEN
    DESTROY_PARAMETER_LIST(PL_ID2);
    END IF;
    PL_ID2 := CREATE_PARAMETER_LIST(PL_NAME2);
    IF ID_NULL(PL_ID2) THEN
    MESSAGE('Error Creating Parameter List');
    END IF;
    ADD_PARAMETER(PL_ID2,'P_PRNT_C_FAM_ID',TEXT_PARAMETER,:PRNT_C_FAM_ID);
    ADD_PARAMETER(PL_ID2,'P_NOTICE_DATE',TEXT_PARAMETER,TO_CHAR(:FRONT_END.NOTICE_DATE,'MM/DD/RRRR'));
    ADD_PARAMETER(PL_ID2,'P_REDET_DATE',TEXT_PARAMETER,TO_CHAR(:FRONT_END.REDET_DATE,'MM/DD/RRRR'));
    ADD_PARAMETER(PL_ID2,'USR_NM',TEXT_PARAMETER,USRNM2);
    ADD_PARAMETER(PL_ID2,'SCHEDULE',TEXT_PARAMETER,:RUN_TIME);
    ADD_PARAMETER(PL_ID2,'P_PRNT_PROV',TEXT_PARAMETER,'PRNT');
    ADD_PARAMETER(PL_ID2,'P_ENG_SP',TEXT_PARAMETER,'Y');
    REDET_REPORT('506',PL_ID2,'CT506_Parent_FamId_Sp'||To_Char(sysdate,'MMDDRRRR-HHMISS'));
    USRNM3 := GET_APPLICATION_PROPERTY(USERNAME);
    PL_ID3 := GET_PARAMETER_LIST(PL_NAME3);
    IF NOT ID_NULL(PL_ID3) THEN
    DESTROY_PARAMETER_LIST(PL_ID3);
    END IF;
    PL_ID3 := CREATE_PARAMETER_LIST(PL_NAME3);
    IF ID_NULL(PL_ID3) THEN
    MESSAGE('Error Creating Parameter List');
    END IF;
    ADD_PARAMETER(PL_ID3,'P_PRNT_C_FAM_ID',TEXT_PARAMETER,:PRNT_C_FAM_ID);
    ADD_PARAMETER(PL_ID3,'P_NOTICE_DATE',TEXT_PARAMETER,TO_CHAR(:FRONT_END.NOTICE_DATE,'MM/DD/RRRR'));
    ADD_PARAMETER(PL_ID3,'P_REDET_DATE',TEXT_PARAMETER,TO_CHAR(:FRONT_END.REDET_DATE,'MM/DD/RRRR'));
    ADD_PARAMETER(PL_ID3,'USR_NM',TEXT_PARAMETER,USRNM3);
    ADD_PARAMETER(PL_ID3,'SCHEDULE',TEXT_PARAMETER,:RUN_TIME);
    ADD_PARAMETER(PL_ID3,'P_PRNT_PROV',TEXT_PARAMETER,'PROV');
    ADD_PARAMETER(PL_ID3,'P_ENG_SP',TEXT_PARAMETER,'N');
    REDET_REPORT('506',PL_ID3,'CT506_Prov_ProvId_Eng'||To_Char(sysdate,'MMDDRRRR-HHMISS'));
    USRNM4 := GET_APPLICATION_PROPERTY(USERNAME);
    PL_ID4 := GET_PARAMETER_LIST(PL_NAME4);
    IF NOT ID_NULL(PL_ID4) THEN
    DESTROY_PARAMETER_LIST(PL_ID4);
    END IF;
    PL_ID4 := CREATE_PARAMETER_LIST(PL_NAME4);
    IF ID_NULL(PL_ID4) THEN
    MESSAGE('Error Creating Parameter List');
    END IF;
    ADD_PARAMETER(PL_ID4,'P_PRNT_C_FAM_ID',TEXT_PARAMETER,:PRNT_C_FAM_ID);
    ADD_PARAMETER(PL_ID4,'P_NOTICE_DATE',TEXT_PARAMETER,TO_CHAR(:FRONT_END.NOTICE_DATE,'MM/DD/RRRR'));
    ADD_PARAMETER(PL_ID4,'P_REDET_DATE',TEXT_PARAMETER,TO_CHAR(:FRONT_END.REDET_DATE,'MM/DD/RRRR'));
    ADD_PARAMETER(PL_ID4,'USR_NM',TEXT_PARAMETER,USRNM4);
    ADD_PARAMETER(PL_ID4,'SCHEDULE',TEXT_PARAMETER,:RUN_TIME);
    ADD_PARAMETER(PL_ID4,'P_PRNT_PROV',TEXT_PARAMETER,'PROV');
    ADD_PARAMETER(PL_ID4,'P_ENG_SP',TEXT_PARAMETER,'Y');
    REDET_REPORT('506',PL_ID4,'CT506_Prov_ProvId_Sp'||To_Char(sysdate,'MMDDRRRR-HHMISS'));
    Message('Notice Submitted For Printing');
    EXIT_FORM;
    END;
    Program unit:
    PROCEDURE REDET_REPORT(rep_name in Varchar2,plist in ParamList,rep_pdf_name in Varchar2)IS
    filecode varchar(2);
    Repnm varchar(30);
    report_id REPORT_OBJECT;
    report_id_hear REPORT_OBJECT;
    report_prop VARCHAR2(20);
    v_rep VARCHAR2(100);
    rep_status VARCHAR2(200);
    bat_loc varchar2(200);
    time_slot varchar2(100);
    rep_folder_name varchar2(100):='Redet Notice for Packets Sent\';
    BEGIN
    Filecode := init.GetFileNmCode;
    if filecode 'FL' then
    if upper(substr(rep_name,1,2)) ='CC' then
    RepNm := filecode||substr(rep_name,3);
    else
    if rep_name != 'viewerr' then
    RepNm := filecode||rep_name;
    else
    RepNm := rep_name;
    end if;
    end if;
    end if;
    Begin
    begin
    report_id := find_report_object(RepNm);
    if error_code = '41219' then
    Message('Unable to execute : '|| RepNm);
    Raise FORM_TRIGGER_FAILURE;
    end if;
    end;
    set_report_object_property(report_id, REPORT_FILENAME, RepNm);
    set_report_object_property(report_id, REPORT_SERVER, init.Appl_Repserver);
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_EXECUTION_MODE, BATCH);
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_COMM_MODE,SYNCHRONOUS);
    set_report_object_property(report_id, REPORT_DESFORMAT,'PDF');
    select rprm_param_val||rep_folder_name||rep_pdf_name||'.pdf' into bat_loc from rprm where rprm_param_name = 'BAT_LOC';
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESTYPE,FILE);
    SET_REPORT_OBJECT_PROPERTY(REPORT_ID,REPORT_DESNAME,'"'||bat_loc||'"');
    begin
    v_rep := RUN_REPORT_OBJECT(report_id,plist);
    exception when others then
    Message('Error While executing running reports ::'||error_code);
    end;
    end;
    END;

    Thanx Frank
    Well one solution is that i can decrease the length of my report name and the problem does not occur than.
    any ways thanx ..but where to get the patch from.
    Kindly provide me with the link if possible.
    Thanx,
    Qaiser Qayyum Malik.
    [email protected]

  • Binary compatibility problems using Sun Studio 12

    I'm working in a project that uses Orbix [1] third-party libraries. I have installed the Sun Studio 12 on Solaris 10 SPARC but I have got some strange segfault problems (the exactly same code works fine in a Linux box - using g++). I read the 1.4 section of Sun Studio 12 C++ Userguide [2] but I have a doubt:
    Is there no way to compile my code using Sun Studio 12 using shared libraries compiled against earlier Sun Studio C++ compiler versions (like Sun Studio 8 or some version before Sun Studio 11)?
    I think my problem is related to the fact that Orbix team used Sun Studio 8 as some notes found in their headers indicate:
    "IONA Technologies ART IDL Compiler POA C++ Generator asp 6.3.3 SunOS 5.8 CC_5.5 2008/06/13 21:04:37 EDT"
    A secondary question: Is CC 5.5 present in Sun Studio 8, right?
    Can anyone help me? Every tips are welcome :) Thanks in advance!
    [1] http://web.progress.com/en/orbix/orbix_standard.html
    [2] http://docs.sun.com/app/docs/doc/820-7599/6nirkt6f7?a=view

    AmadeuBarbosa wrote:
    I'm working in a project that uses Orbix [1] third-party libraries. I have installed the Sun Studio 12 on Solaris 10 SPARC but I have got some strange segfault problems (the exactly same code works fine in a Linux box - using g++). I read the 1.4 section of Sun Studio 12 C++ Userguide [2] but I have a doubt:I don't think 1.4 Binary Compatibility Verification applies in your case. It's referring to processor capability to execute certain (new) instructions; if your third-party libraries were compiled a while ago, it's highly unlikely they use instructions not implemented by the processor you have.
    Is there no way to compile my code using Sun Studio 12 using shared libraries compiled against earlier Sun Studio C++ compiler versions (like Sun Studio 8 or some version before Sun Studio 11)?Generally speaking, any library compiled with older Sun Studio C++ compiler is supposed to be compatible with any library or executable compiled with newer version provided that all parties did everything right. For example, that third-party libraries should not be statically linked with C++ run-time support libraries; your executable should be linked with latest compiler driver (CC) so that it records correct dependencies on support libraries.
    Of course, there could be (and actually are) compiler bugs standing in the way of compatibility. Some of them can be fixed, some - like demangler issue described in http://docs.sun.com/source/820-4155/c++.html - can't. There is no easy way to tell if you hit a compiler bug or bulding/linking issue, or bug in the code that was previously unseen.
    I think my problem is related to the fact that Orbix team used Sun Studio 8 as some notes found in their headers indicate:
    "IONA Technologies ART IDL Compiler POA C++ Generator asp 6.3.3 SunOS 5.8 CC_5.5 2008/06/13 21:04:37 EDT"Yes, looks like it was compiled by 5.5, which is part of Sun Studio 8
    >
    A secondary question: Is CC 5.5 present in Sun Studio 8, right?That's correct.

  • SAP LVS Report Viewer Problem?

    I installed the SAP LVS Service and SAP LVS Client AddOn to all Workstation Successfully, but when i generate the SAP LVS Report Viewer, there was no report Generated.

    Bonifacio,
    The report viewer gets information from the LVS database and the database by default is only updated each day at 23:00 hours.  You can change this in the ReportClasses.xml file that is located in the "LV Service" folder.  If you change the time to update the LVS Db, you will also need to stop and then restart the LVS Service.  Also, be careful as the  LVS Db will grow in size the more often it is updated.
    You may want to wait until you hit the 23:00 hours mark and then try the reports.  Also, verify the  Business One clients add-on is running or information will also not be collected.
    Eddy

  • Crystal Report XI problem using Command

    Post Author: Elie_123
    CA Forum: General
    Hi all,
    I am trying to make report using Crystal XI where to get all contacts that weren't contacted during a specific user date range.I have one table for contacts: Contact1 and another table for history records: Conthistaccountno is the key.
    I wrote a command:
    Select company, city, key4, department from contact1
    where accountno
    NOT IN (select distinct accountno from conthist where conthist.ondate between
    {?startDate} and {?endDate}) order by company
    If the year of start date and year of end Date is the same than no problem and report generate correct data. if year of start date is less than year of end date (ie: startdate= 01/01/2007 and endate=01/01/2008) than no records are displayed and report is not working fine.
    Knowing that i used the same query in SQL Query builder and it is working fine for any date values.
    Any ideas?
    regards

    Post Author: Elie_123
    CA Forum: General
    here is the query i am writing in my software (GoldMine) SQL query builder. it is on dbase.Select company, city, key4, department from contact1
    where accountno
    NOT IN (select distinct accountno from conthist where conthist.ondate between "01.01.2006" and "29.08.2008") order by company

  • Crystal report ReportPageViewer problem using Stored Procedure

    Hi,
    I'm using the ReportPageViewer component in my jsf page, to visualize cystal reports on my web application.
    Everything is working fine when my crystal report queries a table. But, for performances issues, we've changed this to use a stored procedure.
    However, when trying to run the report from my jsf pages, I obtained the following error:
    The QE parameter ''{0}'' could not be found.
    The parameters are exactly the same as before. I can see in the Reportsource that I'm passing to the ReportPageviewer that all the parameters are set with the proper values.
    When running the report from crystal report, I obatin the results, using the same database login/password than my web application.
    Any help would be really appreciated!
    Thanks,
    M�lanie

    Hi Andy Hendrickson,
    Let me understand your problem correctly.
    1) When you run the procedure from command prompt the table gets populated. It is clear.
    2)When you run the procedure in before report trigger you get nothing. Let us analyze why but for now it is clear.
    3) What you mean by "I run the procedure from the command line and leave the data, then run the report I get updated data in the table, but nothing returned to the report."
    Can you please explain a bit more and also update code snippets of what you are using ?
    Thanks,
    Vinod
    Oracle Reports Team

  • Embbebed pdf plugin viewer problem

    Hi,
    I´m developing a web application and in my web page I use the HTML Object
    in order to show a embebed PDF using Firefox plugin.
    This is my code:
    <object id="pdf" data="test.pdf#zoom=58&amp;toolbar=0&amp;navpanes=0&amp;scrollbar=1" type="application/pdf" width="100%" height="500">
    </object>
    At first time Firefox show me a strange viewer with my pdf preview at the viewer´s bottom and without correct zoom.
    If I refresh my page the viewer show me pdf file perfectly centered and with correct 58 percent zoom.
    In other browsers like IE and Chrome works ok at first time
    Maybe a Firefox Adobe Acrobat plugin's bug?
    Thank you,
    Javier

    These are the preview images,
    in the first picture the viewer show me gray background and not centered picture but when I refresh show me second picture (ok pdf).

  • Crystal XI R1 (version 11) report viewing problem

    I am using a custom DLL to display 128 barcodes in a report using the Additional Functions feature.  The majority of the time the report displays correctly with the barcode, but there is a problem where the report displays without the barcodes being displayed.  The problem occurs in an all or nothing fashion, either all barcodes are displayed or none are displayed.
    This custom dll has been used successfully with Crystal 8.5 for several years, and I have failed to reproduce this issue using that setup.
    I've also exhausted the possibility that the problem lies within the custom DLL itself.  I've added debugging to the DLL and determined that the DLL is never called when barcodes do not display on the report.
    I believe the problem is occurring within Crystal's functionality of displaying the report. 
    The setup is web based reporting within an ASP.Net application and can be reproduced on two different web server setups:
    Windows 2000 SP4
    Windows 2003 SP1
    Is there a way to further debug into crystal runtime to see what is and what is not being execute?
    Are there any known issues in Crystal XI v. 11 interacting with 3rd party / custom dlls?
    Are there any compatibility issues with Crystal XI v.11 and Windows 2000 SP 4 or Windows 2003 SP 1?

    Is there a way to further debug into crystal runtime to see what is and what is not being execute?
    - does the report work as expected in the CR designer?
    Are there any known issues in Crystal XI v. 11 interacting with 3rd party / custom dlls?
    - there are no known issues - unless this is a UFL?
    Are there any compatibility issues with Crystal XI v.11 and Windows 2000 SP 4 or Windows 2003 SP 1?
    - not as long as you have the latest SP for CR XI r1:
    https://smpdl.sap-ag.de/~sapidp/012002523100006008952008E/crXIwin_sp4.zip

  • Problem using sun deploytool

    I am trying to use the deploytool on a simple bean in the book 'Mastering EJBs'
    I added the EJB and reference and made an appclient. When I go to verify I get the following error:
    Problem in parsing the xml file
    cvc-complex-type.2.4.a: Invalid content was found starting with element 'ejb-local-ref'. One of '{"http://java.sun.com/xml/ns/j2ee":display-name, "http://java.sun.com/xml/ns/j2ee":icon, "http://java.sun.com/xml/ns/j2ee":env-entry, "http://java.sun.com/xml/ns/j2ee":ejb-ref, "http://java.sun.com/xml/ns/j2ee":service-ref, "http://java.sun.com/xml/ns/j2ee":resource-ref, "http://java.sun.com/xml/ns/j2ee":resource-env-ref, "http://java.sun.com/xml/ns/j2ee":message-destination-ref, "http://java.sun.com/xml/ns/j2ee":callback-handler, "http://java.sun.com/xml/ns/j2ee":message-destination}' is expected.
    When I run the appclient I get:
    appclient -client hellotestClient.jar
    Mar 10, 2005 9:38:15 PM com.sun.enterprise.appclient.Main <init>
    WARNING: ACC006: No application client descriptor defined for: [null]

    <?xml version='1.0' encoding='UTF-8'?> <ejb-jar ������version="2.1" ������xmlns="http://java.sun.com/xml/ns/j2ee" ������xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ������xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd" ������> ���<display-name>Ejb1</display-name> ���<enterprise-beans> ������<session> ���������<display-name>HelloBean</display-name> ���������<ejb-name>HelloBean</ejb-name> ���������<home>examples.HelloHome</home> ���������<remote>examples.Hello</remote> ���������<local-home>examples.HelloLocalHome</local-home> ���������<local>examples.HelloLocal</local> ���������<ejb-class>examples.HelloBean</ejb-class> ���������<session-type>Stateful</session-type> ���������<transaction-type>Bean</transaction-type> ���������<ejb-ref> ������������<ejb-ref-name>ejb/helloBean</ejb-ref-name> ������������<ejb-ref-type>Session</ejb-ref-type> ������������<home>examples.HelloHome</home> ������������<remote>examples.Hello</remote> ���������</ejb-ref> ���������<security-identity> ������������<use-caller-identity> ������������</use-caller-identity> ���������</security-identity> ������</session> ���</enterprise-beans> </ejb-jar

  • Remote Interface problem using Sun ONE App & web server

    HI,
    1) I am using an S'less SB. I have local & remote interfaces. I am using the sun one appserver7 & the sun ones's htttp server. By default it doesnt pick up the remote interfaces is it ? How do i make my remote interfaces work ? what are the changes required in config/xml ?
    2) However i changed my client code (i.e my action class which is called by the struts action servlet ) to access the localhome rather than the remote home, but then i get java.lang.classcastexception.
    pls help !
    sanjay

    Hi parsuram,
    Thanks for the tip. After looking at the sample source code, I did finally figure out the solution - so I'll post it in case anyone else happens to be working with websphere studio has the same issue deploying on sun one.
    To access local interface ejb, you must have the following
    1. ejb-local-ref tag in the ejb-jar.xml like so underneath the <session> or <entity> tag of the bean which you plan to access the local ejb with.
    <ejb-local-ref>
    <ejb-ref-name>TestL</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <local-home>memory.simple.TestLLocalHome</local-home>
    <local>memory.tool.simple.TestLLocal</local>
    <ejb-link>TestL</ejb-link>
    </ejb-local-ref>
    2. similar ejb-ref tag in sun-ejb-jar.xml
    <ejb-ref>
    <ejb-ref-name>TestL</ejb-ref-name>
    <jndi-name>localejbs/module_memory.betaEJB/TestL68640023372300293</jndi-name>
    </ejb-ref>
    note: sun generates the <jndi-name> and overwrites whatever you put in that tag no matter what you put in there.
    3. here is the code to access
    Context initial = new InitialContext();
    TestLLocalHome tlHome=(TestLLocalHome) Initial.lookup
    ("TestL");
    //the string must match <ejb-ref-name> underneath <ejb-local-ref>
    4. note that the jndi name for the local interface bean becomes irrelevant. only the <ejb-ref-name> in the ejb-jar and sun-ejb-jar matter. furthermore, both <ejb-ref-name> must be the same or you won't be able to deploy.
    5. This is completely my fault for not checking the "proper" way to access local interfaces. in websphere, they let you get away without the ejb-ref tags and just use the string "local:/TestL"!
    -matt

  • Landscape PDF Report Print Problem....?

    Dear All,
    I have campiled 6i report (Landscape PDF) in Report10g and successfully deploy on web through OAS 10g forms and report services.
    When we run this report on web it gives perfect landscape preview but it always prints as Portrait.
    Please guide us to get Landscape print.
    Thanks
    Rana

    Yes I did. We don't want this because some of our reports direclty goes to printer.
    So it wiil chang the format of thos reports.
    Kindly gives the proper solution so that it will not change other report's format.
    Regards
    Rana

Maybe you are looking for

  • Problem loading external XML

    Hi, I"m having a problem with an Applet. I wrote a program that acceses an external XML file located on my webspace, but when I converted this program to run in a webbrowser I get console errors when trying to acces the file. Here's my code: package

  • Reel to reel tape stop effect?

    Does anyone know of a way to make an effect similar to that of a reel to reel tape recorder stopping in the middle of a track -- so that you hear the sound slowing down and stopping really fast? MacBook Pro, 2.33 GHz Intel Core 2 Duo   Mac OS X (10.4

  • How to create tab pane in jsf

    i have two pages file.jsp file1.jsp i want to open these page in diff tab. both pages contains ajax tags how i will do this.

  • Adobe marketing videos? Hype vs. reality? Please weigh in...

    Howdy, all... So, I just finished watching this video piece that was emailed to me by Adobe: http://tv.adobe.com/watch/cs-55-production-premium-feature-tour-/premiere-pros-64bit-editi ng-and-grading-power- In this video, they show a laptop displaying

  • Counting Records by Age Category

    Hi - need some help with the following usiing BO XI Web. I am trying to form 6 or 7 categories for records that are >= 0 Days old, >= 30 Days old, >= 60 Days old, >= 90 Days old, >= 120 Days old, >= 180 Days old, >= 360 Days old. I have a field calle