Ejbc and container generated files

Anyone seen a problem with ejbc and weblogic 6.1 where the CMP classes that are generated by ejbc are not syntactically correct. I have a problem where in the findByPrimaryKey method where it attemps to set class variables for the bean, but never declares a reference to the bean(i.e. tries __WL_Bean.memberName with no Bean __WL_Bean). I'm trying to create a ejb1.1 bean using a wl6.1 server and cmp1.1 persistence.

Jeff,
What service pack are you using? Have you tried the <beahome>/samples/examples/ejb/basic/containerManaged
example? Does that deploy and function correctly?
Chuck Nelson
Developer Relations Engineer
BEA Technical Support

Similar Messages

  • Application running in Solaris 9 container generating core files. what to do?

    My solaris 9 zone configuration in solaris 10 looks like:
    zonecfg:sms> info
    zonename: sms
    zonepath: /zone/sms
    brand: solaris9
    autoboot: true
    bootargs:
    pool:
    limitpriv: default,proc_priocntl,proc_clock_highres,proc_lock_memory,sys_time,priv_proc_priocntl,priv_sys_time,net_rawaccess,sys_ipc_config,priv_proc_lock_memory
    scheduling-class:
    ip-type: exclusive
    hostid:
    [max-shm-memory: 4G]
    [max-shm-ids: 100]
    [max-sem-ids: 100]
    fs:
      dir: /var
      special: /dev/dsk/c1t0d0s5
      raw: /dev/rdsk/c1t0d0s5
      type: ufs
      options: []
    net:
      address not specified
      physical: bge0
      defrouter not specified
    device
      match: /dev/dsk/c1t0d0s5
    device
      match: /dev/rdsk/c1t0d0s5
    device
      match: /dev/dsk/c1t0d0s6
    device
      match: /dev/rdsk/c1t0d0s6
    device
      match: /dev/dsk/c1t0d0s7
    device
      match: /dev/rdsk/c1t0d0s7
    capped-cpu:
      [ncpus: 2.00]
    capped-memory:
      physical: 4G
      [swap: 8G]
      [locked: 2G]
    attr:
      name: hostid
      type: string
      value: 84b18f64
    attr:
      name: machine
      type: string
      value: sun4u
    rctl:
      name: zone.max-sem-ids
      value: (priv=privileged,limit=100,action=deny)
    rctl:
      name: zone.max-shm-ids
      value: (priv=privileged,limit=100,action=deny)
    rctl:
      name: zone.max-shm-memory
      value: (priv=privileged,limit=4294967296,action=deny)
    rctl:
      name: zone.max-swap
      value: (priv=privileged,limit=8589934592,action=deny)
    rctl:
      name: zone.max-locked-memory
      value: (priv=privileged,limit=2147483648,action=deny)
    rctl:
      name: zone.cpu-cap
      value: (priv=privileged,limit=200,action=deny)
    Solaris 9 zone /etc/system file looks like:
    * The directive below is not applicable in the virtualized environment.
    * The directive below is not applicable in the virtualized environment.
    * The directive below is not applicable in the virtualized environment.
    * The directive below is not applicable in the virtualized environment.
    * The directive below is not applicable in the virtualized environment.
    * The directive below is not applicable in the virtualized environment.
    set noexec_user_stack=1
    set semsys:seminfo_semmni=100
    set semsys:seminfo_semmns=1024
    set semsys:seminfo_semmsl=256
    set semsys:seminfo_semvmx=32767
    set shmsys:shminfo_shmmax=4294967295
    set shmsys:shminfo_shmmin=1
    set shmsys:shminfo_shmmni=100
    set shmsys:shminfo_shmseg=10
    set rlim_fd_max=65536
    set rlim_fd_cur=60000
    * The directive below is not applicable in the virtualized environment.
    My questions are:
    1. Application running in solaris 9 container generating core files. what to do???
    2. My prstat -Z for zone shows almost 95% percent cpu usage. what to do???
    3. Kindly can share how to move solaris 9 into solaris 10 containers ??

    Based on the new questions for the same post you wrote in the other communities, some posts are removed as duplicate, here is the answer :
    For the point #3, please look on table 17-1 in the following URL :
    Zone Components - System Administration Guide: Oracle Solaris Containers-Resource Management and Oracle Solaris Zones
    You can also customize your container /etc/system file but it cannot exceeds the global zone and the zone configuration value.
    For the other point, #2, this can be complicated without a complete image of what the complete system do.
    Try fist to check if you have not a busy process in your zone, then you can check if a bottleneck exists in the I/O side. You use maybe wrong parameters, a wrong configuration or your system configuration is insufficient in term of resources.
    What I can see in the outputs that you provided is that the S9 zone uses the half of the swap space. This can impact your zone performance and I/O activity, and can have in this case a side effect on some processes. Check why your zone uses the swap and how you can remedy this.

  • Hybrid Web Container: Overriding Generated Files

    Hey Experts.
    I am working with SUP 2.1 Mobile Workflow or Hybrid Web Container applications.  I was curious if anyone out there has been able to modify the template files for when a Mobile Worklfow is generated? 
    Specifically my use case is to display header and footer in Android and Blackberry.  These by default are not shown.  For example in the generated workflow_jQueryMobileLookAndFeel.html file string on line 1821 we have the following JavaScript:
                $('div[data-role="header"]').css('display', 'none');
                $('div[data-role="footer"]').css('display', 'none');
    I of course can undo this in the customBeforeShowScreen method but prefer modifying the template for generation of the html file as it is arguably 'cleaner'.
    There is an instance where an override wont work such as the above example.  I also want to show my headers without the default back button.  In the jquery.mobile-1.0a4.1.js file on line 1607 there is an option that enables the back button by default when there are no other buttons.  Again I want to show the header on the login screen but dont want to show a back button - its not relevant:
    $.widget( "mobile.page", $.mobile.widget, ,
              keepNative: null
    Any ideas?  Thanks.

    There are a few approaches you can take.  When using the designer, you can inject the changes via JavaScript, as you have noted.  You can also include the changes in files jquery.mobile.fix.js or jquery.mobile.fix.css that will get included after the jquery mobile files are included.  You can also include changes in files that don't get overridden like API.js or Utils.js.
    Another approach is to turn the Generate checkbox off.  Doing so will break the lnk between changes made in the designer and the generated code, but it will leave with a nice easy way to continue to repackage and redeploy your changes.
    Finally, you can stop using the designer altogether and manually create the .zip file and its contents.

  • How Do RoboHelp 9 WebHelp Generated Files Handle Map IDs and Aliases?

    The text below was written by our team's developer/architect. I am the help author who uses RoboHelp to write content and generate the help files, but I am clueless how it all gets generated and is deployed. Please help. We use RoboHelp 9. I use it in Windows XP and our app and help run on IE 7, 9, and Firefox (multiple versions).
    "Our application uses the numeric identifiers associated with the Map ID. For example, to get to the <appname>_home_page.htm file, we use the number 1053. <appname> = pecs, in this example.
    All of this is used in a call to a RoboHelp method defined in the RoboHelp_CSH.js file. The mehtod we are calling is the RH_ShowHelp() JavaScript method and the code to perform the call, when you click on Page Help, is this:
    RH_ShowHelp(0, ''/pecsHelp/index.htm>pecsHelp',HH_HELP_CONTEXT,topic);
    Topic is translated to the Map ID number for the page help. HH_HELP_CONTEXT is defined in the RoboHelp_CSH.js file. This method translates into a URL and from what I have seen, the URL that gets generated is this:
    http://{server}[:port]/pecsHelp/index.htm/{server}[:port]/pecsHelp/index.htm#<id=1053>>pecsHelp
    Server and port get replaced with the appropriate values. I have no clue how id=1053 is supposed to get translated to mean "pecs_home_page.htm". If you check the PECS_help.h file, you will see the following entry:
    #define PECS_Home_Page1 1053
    Then in the RoboHelp alias file (PECS 3.0.ali), the following line is in the file:
    <alias name="PECS_Home_Page1" link="pecs_home_page.htm"> </alias>
    But both of these files are used during the WebHelp generation process and I don't know how the WebHelp generated files handle the Map ID and aliases."

    You need to assign the numbers you find in the pecs_help.h file to topics in your help. You do this in Context Sensitive Help > Map Files > All Map IDs. (From RH7, but I assume the location is similar in RH9.) This creates the entries in the .ali file.
    Peter Grainge suggests a couple of sites to read for a greater understanding here:
    http://www.grainge.org/pages/authoring/calling_webhelp/using_map_ids.htm
    (Although the second  site is based on RH X5, the basic concepts and procedures should be very similar. )
    HTH,
    Amber

  • Generated files and layout

    After generating automatic documents in Frame9 suchs as TOC, List of Figures and the like I have saved these as templates. Trying to import these formats into newly generated documents will not import the chapter and pagenumbers nor their layout even though these have been included on the reference pages. Adjusting these afterwards often does not affect position, style or layout. More concrete: the numbers in front of the titles are specified yet missing, the page numbers are directly behind the titles instead of at the configured tab stop. Moreover, titles are in Arial, while the pagenums having the same paragraph tag are times new roman. Something I cannot seem to change.  Why does Frame not import the settings from the template or respond to my adjustments after updating. Sometimes it only partly updates.
    Any help and ideas are welcome

    Pieter van de Sande wrote:
    Ok that's what I thought when posing the question. Index and TOC are incompatible. To me they are simply generated files and if I configure the page numbers to be on the right in the Arial font in the TOC I expect these to be the same after importing formats into another generated file. I guess I need to change my train of thought.
    Yes, the're independent from each other. If you look on the TOC reference page, you'll find entries like:
    <$paratext>(tab character) <$pagenum>
    This entry is formatted using the assigned "TOC" paragraph style, e.g. if you're reading a paragraph style named "Heading1", this entry is formatted using the "Heading1TOC" paragraph style. If this style is set to Arial, the whole line (paragraph text and page number) will be formatted using the Arial font, as long as you don't use separate character styles for the placeholders (<$paratext> or <$pagenum>).
    Looking on the SIX reference page, there are other entries. You'll see e.g.
    Level1SIX (tab character)
    (tab character)<$pagenum>
    In this case the text entry is formatted using the "Level1SIX" paragraph format, and the page number is formatted using the "IndexSIX" format. These may specify different fonts. You see, there are completely different formats and "building blocks" which are used to create a TOC and an Index entry.
    Bernd

  • Problems converting PDF to MS Word document.  I successfuly converted 4 files and now subsequent files generate a "conversion failure" error when attempting to convert the file.  I have a large manuscript and I separated each chapter to assist with the co

    Problems converting PDF to MS Word document.  I successfully converted 4 files and now subsequent files generate a "conversion failure" error when attempting to convert the file.  I have a large manuscript and I separated each chapter to assist with the conversion; like I said, first 4 parts no problem, then conversion failure.  I attempted to convert the entire document and same result.  I specifically purchased the export to Word feature.  Please assist.  I initially had to export the Word Perfect document into PDF and attempting to go from PDF to MS Word.

    Hi sdr2014,
    I'm sorry to hear your conversion process has stalled. It sounds as though the problem isn't specific to one file, as you've been unable to convert anything since the first four chapters converted successfully.
    So, let's try this:
    If you're converting via the ExportPDF website, please log out, clear the browser cache, and then log back in. If you're using Reader, please choose Help > Check for Updates to make sure that you have the most current version installed.
    Please let us know how it goes.
    Best,
    Sara

  • How to compile and execute a generated file

    Hi,
    Can somebody help me please? My program goes like this:
    I'm creating a program wherein there are two TextArea, left and right, and a button. The role of the left TextArea is where I will type a Java code (what i mean is a class). After typing, the next thing is to press the button. The role of the button, in a user side view, is to show the output of the written java code from the left TextArea to the right TextArea. To have an idea of the program I am creating please refer at this link, http://w3schools.com/html/tryit.asp?filename=tryhtml_tables. This is similar to what im doing.
    My idea is to transfer all what are written in the left TextArea in a file using FileOutputStream and name the file by default as "Testing.java". Definitely the user shall be forced to write a class named Testing.java in the left TextArea. My question is, how am I gonna compile the generated Testing.java, run it at once and post the output at the left TextArea?
    I hope somebody could help me regarding this matter. Below is my code I've done:
    import java.io.*;
    import java.awt.*;
    import java.awt.event.*;
    public class Test extends Frame implements ActionListener
    private TextArea ta_code; //where the java code is written
    private TextArea ta_output; //where the output of the java code will be printed
    private Button btn_ExecComp; //compiles the program written in the ta_code. Execute's the generated class and print the result in the ta_output
    private Panel btn_panel;
    private Panel ta_output_panel;
    private Panel ta_code_panel;
    private Panel ta_panel;
    private Panel main_panel;
    private String str_code;
    private String str_output;
    public Test()
    initialize();
    setupObj();
    public void initialize()
    String text = "public class Testing \n";
    text = text + "{\n";
    text = text + " \n";
    text = text + "public static void main(String args[]) \n";
    text = text + "{ \n";
    text = text + " //insert your code here \n";
    text = text + "} \n";
    text = text + "\n";
    text = text + "} \n";
    ta_code = new TextArea(text);
    ta_output = new TextArea();
    btn_ExecComp = new Button("Execute Code");
    btn_panel = new Panel();
    ta_code_panel = new Panel();
    ta_output_panel = new Panel();
    ta_panel = new Panel();
    main_panel = new Panel();
    public void setupObj()
    btn_ExecComp.addActionListener(this);
    btn_panel.setLayout(new FlowLayout());
    ta_code_panel.setLayout(new FlowLayout());
    ta_output_panel.setLayout(new FlowLayout());
    ta_panel.setLayout(new FlowLayout());
    main_panel.setLayout(new FlowLayout());
    btn_panel.add(btn_ExecComp);
    ta_output_panel.add(ta_output);
    ta_code_panel.add(ta_code);
    ta_panel.add(ta_code_panel);
    ta_panel.add(ta_output_panel);
    main_panel.add(btn_panel);
    main_panel.add(ta_panel);
    this.add(main_panel);
    this.pack();
    this.setVisible(true);
    public void actionPerformed(ActionEvent ae)
    if(ae.getSource() == btn_ExecComp)
    str_code = ta_code.getText();
    try
    byte[] byte_code = str_code.getBytes();
    FileOutputStream fos = new FileOutputStream("Testing.java");
    fos.write(byte_code);
    System.out.println("Testing.java successfully written");
    * How am i be able to compile, run the generated class file and post the output at the right TextArea namely ta_output?
    System.out.println("compiling...");
    System.out.println("compiling successful");
    System.out.println("executing...");
    catch(Exception e)
    e.printStackTrace();
    public static void main(String a[])
    Test t = new Test();
    }

    Hi All,
    After reading Pro*C Question thread I have tried below steps to compile my .C program, but failed with the given errors
    $->cc -I$ORACLE_HOME/precomp/public -L$ORACLE_HOME/lib first.c -o sample
    ld: 0711-317 ERROR: Undefined symbol: .sqlcxt
    ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
    collect2: ld returned 8 exit statusAfter receiving above error I tried below command as an alternative
    $->cc -I$ORACLE_HOME/precomp/public -L$ORACLE_HOME/lib first.c -o first -lclntsh -lsql10
    collect2: library libsql10 not foundCould you please help in resolving above error? Whats missing exactly?

  • Why does FireFox freeze and the only way to unfreeze it is to open the task manager and close the plugin-container.exe file??? It has been happening more and more often and it is getting VERY AGGRAVATING!!!!!

    When Firefox does freeze (not responding appears in parentheses in the page tab) I am not able to access any of the webpages (the entire webpage is hidden behind a vaguely white transparent foreground) and more often than not any files I might be downloading are stopped before the entire file has been transferred - which means that I have to start those downloads from the beginning AGAIN. This has been happening for quite some time and I AM SICK AND TIRED OF IT HAPPENING!!
    If it continues to happen for much longer I will swear off FireFox FOREVER!!!!! Either a program works or it does not work and lately Firefox has not worked worth a damn...........
    The ONLY way to force Firefox to allow me to access it is for me to end the plugin-container.exe file process using Task Manager. Clearing there is a SERIOUS problem here that has not been resolved - why not???

    The pluging container opens up unnecessary copies as the cookies/history are cleared, this is a known issue, it might be what you are seeing, and it is hoped to be fixed in some future release of firerox.
    There are some hangs affecting some users, with symptoms being high cpu usage, occurring as bookmark changes or syncing is in progress, there is a work around for that.
    Firefox hanging as you close it see:
    *[[firefox hangs]]
    * [[firefox is already running but is not responding]]

  • Turning on verbose in EJBC generated files

    Hi All,
    Is there a command line switch that can be used to set the __WL_verbose flag
    to true in the ejbc generated files? I can see the flag in the generated
    .java files, but cannot seem to find a way to set it to true.
    byeeeeeeeeeeeeeeee

    java weblogic.ejbc -keepgenerated
    Andy Marks wrote:
    Hi All,
    Is there a command line switch that can be used to set the __WL_verbose flag
    to true in the ejbc generated files? I can see the flag in the generated
    .java files, but cannot seem to find a way to set it to true.
    byeeeeeeeeeeeeeeee

  • Problem printing Illustrator files, and PDFs containing Illustrator files

    I have encountered weird problem with differenf Adobe file formats. Here are the files I had problems with
    1. opening PSD / JPEG files which had placed or embedded Illustrator graphs/ charts.
    2. printing PDFs from an InDesign file which had a placed or embedded Illustrator (eps) file
    3. printing original Illustrator files, or PDFs saved from the original Illustrator files.
    Initially I thought that  the problem with with my external drive, where I had versions of the InDesign and PSD files stored. But then I tried removing Illustrations from PSD and Indesign files and they printed without any problems.
    Some illustrations are created in the Illustrator itself, others were downloaded from a stock photography site.
    Please help me figure out what is the problem.
    Thanks,
    Marina

    Hi Jacob,
    I will find out re Post Script driver.
    The printing window shows that I am connected to the printer (it's a network office printer) and that the document is printing, but nothing really happens. Meanwhile none of my colleagues can print anything because my file freezes the printer (if this is possible).
    It sometimes says "client-error-not possible"
    And below is the error message that i see when i try to open some of the Illustrator files (this one contained graphs and charts). It does open the file, however, and i can even edit it. But, both, a PSD and a JPEG file that contain graaphs from the Illustrator file below fails to open on my colleagues computer.
    I forgot to say that I work on a Mac.
    I am wondering whether the files are damaged, or the Illustrator needs to be reinstalled.

  • Generated file combining LOF and LOR

    Sorry if this is something I should have been able to work out for myself – it would be really handy to generate a document that shows me figure captions (a LOF including :figcap styles) and a list of graphics (a LOR including imported graphics)
    The aim is to have a single list I can hand over to people who need to know which file (or files) is referenced for each illustration. I've managed to make one with copy/paste, a text editor and a spreadsheet, but was wondering whether there might be a niftier solution.
    N

    You could generate a LOP that is built from just the paragraphs used in the LOF and LOR .
    It turns that this actually works, with a couple of caveats:
    Frame doesn't list the generated paragraph types, from generated files, in the LOP setup dialog. You need to add the generated para names (such as Heading1TOC or Level1IX) to the Para Catalog of a non-generated file.
    You probably have to run Update Book twice to capture in the LOP any changes to the other generated files.

  • It can't find URL when i use HLS for vod and the vod file name contain Chinese.

    It can't find URL when i use HLS for vod and the vod file name contain Chinese。eg: http://127.0.0.1:8134/hls-vod/你好.mp4.m3u8.
    How does it support Chinese path?

    To answer the post title FireFox save all downloads automatically in the download folder, which you can find in the Documents folder. If you want to choose where to save your downloads go to tools>options>check always ask me where to save files.
    Secondly, I am assuming you have IE 8 installed as this is the only version that supports this fix that is currently not in beta. Go to control panel>internet options>advanced tab and reset the settings at the bottom. This may or may not fix the problem but it is a good first step.

  • HT1014 I'm working with imovie 08 and converted movie originally from VHS tape to .m4v files imovie wouldn't recognize it.  I converted to .mov files and imovie generated thumbnails (for hours) and shows a New Event but there is nothing there. Any help?

    I'm working with imovie 08 on Macbook pro OS X and converted movie originally from VHS tape to .m4v files imovie wouldn't recognize it.  I converted to .mov files and imovie generated thumbnails (for hours) and shows a New Event but there is nothing there. Any help?

    markmc78 wrote:
    .. I'm really struggling with the concept of events/clips/projects.
    consider usage of a diff. editor.. iMovieHD6, you're entitled for a free downlaod at apple.com:
    http://www.apple.com/support/downloads/imovieHD6.html
    but IF you're relaxed, opened your mind, follow the bright light, ommmm.. for Events & Stuff:
    your intended workflow will add another step of quality-degradition (8mm>>avi>>mp4>>iM08) ..
    consider the free tool Mpeg Streamclip www.squared5.com for 'chopping' that 90min beast into pieces..
    rename these new chunks, follow advice given on my site:
    http://karsten.schluter.googlepages.com/im08changeeventdate
    there's the manual..
    http://manuals.info.apple.com/en/iMovie08_GettingStarted.pdf
    and the most recommended books from Mr Pogue's Missing Manual series..

  • Migration from 2003 - 2010, OAB errors on client, and OAB virtual directory does not contain any files.

    Migration from 2003 - 2010, OAB errors on client, and OAB virtual directory does not contain any files. 

    Hi,
    Please re-create the Outlook profile to have a try. If the issue persists, we can do the further checks in Exchange server.
    Please make sure you have changed the OAB generation server to Exchange 2010 and enable Web distribution on the Exchange 2010 Client Access server:
    Move-OfflineAddressBook "Default Offline Address List" -Server <MBX2010>
    If all configurations are correct, please check whether there is any folder in the following path in Exchange sever 2010:
    a. OAB generation in Mailbox:
    \\Program Files\Microsoft\Exchange Server\V14\ExchangeOAB
    b. OAB distribution in Client Access:
    \\Program Files\Microsoft\Exchange Server\V14\ClientAccess\OAB
    Thanks,
    Winnie Liang
    TechNet Community Support

  • Generate and disaply excel file as iview in ep6?

    Hello, everybody.
    I built a iView in EP5 that can generate and display excel file on the run-time. I used contecttype in httpservletresponse to set the content type to excel so the browser will see the data as excel.
    But it looks like the setcontenttype for httpservletresponse does not work anymore in EP6, does anybody know how to make the broswer "sees" the data as an excel file in EP6?
    I am using EP6 SP9

    Hi Gary,
    you definitely can set the content type if you call an AbstractPortalComponent and set all things within method doOnNodeReady (search for both terms on SDN forums, you'll find a heap of hints).
    In addition, I don't know if you create "real" Excel data or use the html trick. If you don't know the latter, see Export Portal data to Excel
    Hope it helps
    Detlev

Maybe you are looking for

  • SQL Developer - Database connection problem

    Hi all, I had SQL Developer 1.5.4 with JDK, when connect to database with connection type TNS, test connection successfully, but when I try to open tables; here the error that I got: java.lang.NullPointerException      at oracle.javatools.db.ora.Base

  • Printer wont print, not sure why.   New to Mac

    Hey Guys, I installed my printer more easily then anything I have ever installed it on before. I was almost worried because the mac effortlessly found and installed it. I tried to print something today and the other day however and it just doest prin

  • AE CS6 & Facilis Terrablock import problems.

    Hello, I am having some problems wich I hope some of you can help me with. At our company we are running 4 gfx station (3 x HP Z800 and 1 Dell Precision T7500). These stations are connected to a Facilis Terrablock via Fibrechannel. We work with Adobe

  • Listing Related Files in the Related Files Bar

    I've been enjoying the new ability in CS4 to see the source code and related files in the file bar, but am puzzled by an inconsistency. The related files are not always listed in the bar. My sites are fairly small and simple. The related files are us

  • Can't find iPhoto pics in new MBPro

    I just got a new MBPro 13 Retina and had Apple do the data migration from my old MBPro. However, I can't find the pics on either computer. Where are they?