Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Under what circmustances, is BodyContent null?

843835Jan 16 2002 — edited Feb 12 2006
Hi,

I got a problem with BodyContent in my custom tag. I created the class that extends BodyTagSupport, and I use bodyContent object, which is a field of BodyTagSupport, in doEndTag method.

The problem is "bodyContent is always null." Why is that? Does somebody tell me, under what circumustances, bodyContent is null? And how can I get bodyContent object appropriately?

thanks.

Comments

Billy Verreynne
globalwm wrote:
Just tried to install Oracle Enterprise Linux v5.5 (64 bit) in a VM (Parallels v9) in Mac OS running Intel Core 2 Duo CPU and I'm receiving this message:

Your CPU does not support long mode. Use a 32bit distribution.
Confirm that this is a 64bit CPU that support EM64T and VT? (we only use AMD64 for all our servers)

If so, check if VT is disabled in the CMOS. This could explain why the VM is not able to provide a 64bit VM CPU.
Dude!
Answer
Parallels v9? To my understanding there is VMWare Fusion 3 or Parallels Desktop 5. Both "virtual machines/guest OS" support x86_64 Linux. I recommend Valium, if you have "only" 4 GB of RAM and plan to install Oracle on the "guest OS". It is ok though just for fun or educational purpose.

OEL and CentOS 5.4 x86_64 installs on a MacBook using VMWare without a problem. I use a Macbook Pro myself, but use "triple boot" since none of the "virtual machines" Parallels or VMware support Firewire. It requires to install Apple Bootcamp, create an additional partition for Linux, install grub manually after the OEL installation, and use rEFit boot-loader to support GPT and MBR partition schemas. It is not for beginners. If you do not use a virtual machine, Ubuntu is more suitable for a Macbook since it has better Linux kernel support for the Macbook hardware.
Marked as Answer by 772141 · Sep 27 2020
772141
Confirm that this is a 64bit CPU that support EM64T and VT? (we only use AMD64 for all our servers)

After some more research, this is my issue. No support EM64T and VT....

Edited by: globalwm on May 11, 2010 10:31 AM
772141
Parallels is v5 - sorry.
772141
OEL and CentOS 5.4 x86_64 installs on a MacBook using VMWare without a problem.

Really? OEL in 64bit? On Parallels 5, OEL is not listed but CentOS is. If all I want to do is install a "practice environment" of Oracle RDBMS 11g, will CentOS suffice? I have a Macbook Pro with 8GB of ram also...

Edited by: globalwm on May 11, 2010 10:31 AM

Edited by: globalwm on May 11, 2010 10:32 AM
Dude!
What is the difference between CentOS, Redhat Enterprise and Oracle Enterprise Linux?According to "google" it's just re-branding, different support options, a couple of additional packages, but all the same from a technical perspective. There is no reason why CentOS should work, but not Redhat or OEL. The x86_64 releases of CentOS 5.4 and OEL 5.4 install and run very well under VMware3 using a 2009 MacBook Pro from my own experience. Oracle 11g is another story, but it will work ok for a low profile installation and product evaluation.

There is a detailed comparison at:
http://en.wikipedia.org/wiki/Comparison_of_VMware_Fusion_and_Parallels_Desktop

What reason there could be why CentOS should work and not OEL under Paralles - I don't know. You are not trying to use the distribution for "ia64", are you? You need x86_64. IA64 is a different processor.

Unfortunately neither Parallels or VMware currently provide Firewire support, and so I changed to triple boot with Apple Bootcamp and rEFlt, in which case Ubuntu is the better option because of specific Macbook hardware support, e.g. synaptics touchpad, etc, plus I guess I was looking for something more challanging and it certainly was.

Maybe an intersting side:
http://www.macwindows.com/emulator.html
Dude!
P.S.

Are you sure you're using Parallels 5 and not some older version, which does not support 64-bit guest OS?
http://kb.parallels.com/en/4780

http://forum.parallels.com/showthread.php?t=95452
Parallels Desktop 5 use fully 64-bit virtualization engine

http://en.wikipedia.org/wiki/Parallels_Desktop_for_Mac
- A virtualized CPU of the same type as the host's physical processor

https://answers.launchpad.net/ubuntu/+question/4640
The Core 2 Duo processor does indeed support EM64T (Intel's implementation of AMD64)

http://en.wikipedia.org/wiki/MacBook_Pro
Macbook Pro uses Intel Core 2 Duo

http://en.wikipedia.org/wiki/X86-64
http://en.wikipedia.org/wiki/Long_mode

http://oss.oracle.com/el5/docs/RELEASE-NOTES-U5-en.html
This document covers the following topics regarding Oracle Enterprise Linux 5.5 (OEL 5.5).
The recommended minimal memory requirement on x86 and x86_64 is now 1GB per logical CPU.

http://forum.parallels.com/showthread.php?t=11010
Parallels "long mode" and Leopard 10.6 (2007)

Edited by: waldorfm on May 11, 2010 3:54 PM
772141
Looks like I am EFI64:

$ ioreg -l -p IODeviceTree | awk -F'"' '/firmware-abi/{print $4}'

Returns: EFI64


Does that offer me any different options? I can try and force 64 bit boot using this:

http://yourmacguy.wordpress.com/2009/08/24/boot-snow-leopard-64-bit/
772141
waldorfm wrote:
What reason there could be why CentOS should work and not OEL under Paralles - I don't know. You are not trying to use the distribution for "ia64", are you? You need x86_64. IA64 is a different processor.
I'm following you - I was thinking the same thing. Yes, I'm using x86_64 of OEL.

I'm gonna try that "com.apple.Boot Kernel Flag" setting and see if that helps. But before that, I'll just try to affect the current boot only, by holding down the ’6′ and ’4′ keys during bootup. See if I get different results.

brb...
Dude!
To find out whether your MacOSX Leopard 10.6 is running in 64-bit or 32-bit mode

Apple Menu, About this Mac, More info, Software:
64-bit Kernel extensions: Yes or No.

32-bit is more compatible with 3rd party drivers, but to my understanding does not limit your application abilities to 32-bit.

My Macbook Pro does not use 64-bit kernel extensions (intel Core 2 Duo, 2.53 Mhz) and I installed Centos and OEL 5.4 x86_64 and Oracle 11g without any major issues under VMware. Sorry I have no real experience with Parallels, but according to the specs CPU support should be the same like VMware.

Can you verify that you are using Parallels Desktop version 5 and not some older version that did not support 64-bit guest OS?

Can you try OEL 5.4 instead of 5.5?
Dude!
You may want to check this out...

http://timesoftware.free.fr/k64enabler

Also, check out Applications/Utilities/Activity Monitor, show all processes

Mine shows "kernel_task, Kind: Intel", hence 32-bit mode, but Intel (64 bit) for pretty much everything else.

Don't think that's the problem.
772141
waldorfm wrote:
To find out whether your MacOSX Leopard 10.6 is running in 64-bit or 32-bit mode

Apple Menu, About this Mac, More info, Software:
64-bit Kernel extensions: Yes or No.

Can you verify that you are using Parallels Desktop version 5 and not some older version that did not support 64-bit guest OS?

Can you try OEL 5.4 instead of 5.5?
When I access my Apple Menu - I get:

System Software Overview:

System Version: Mac OS X 10.5.8 (9L31a)
Kernel Version: Darwin 9.8.0
Boot Volume: Macintosh HD
Boot Mode: Normal
Computer Name: MacBook Pro
User Name: (apollo7)
Time since boot: 1:06


I'm using Parallels v5 (latest) and booted holding down the '6' and '4' keys this session. When I tried to start OEL 5.5, I got the same error message. You think using 5.4 would make a difference?
Dude!
Sorry, all I know for sure is that OEL and CentOS 5.4 x86_64 work find using VMware 3. It will probably be the quickest to check if the issue is with 5.5 or Parallels Desktop using the 5.4 distribution.

But, maybe you could try the following first (I don't know who familiar you are with Apple)

Have you downloaded the OEL iso image and burned it to DVD? What did you use?

The system should start form the OEL DVD and you should see the bootload prompt.

- insert the DVD
- restart the computer
- hold down the 'c' key before you hear the startup sound.

Can you verifiy this?

Edited by: waldorfm on May 11, 2010 6:02 PM
772141
waldorfm wrote:
Have you downloaded the OEL iso image and burned it to DVD? What did you use?
Since my download speed is not fast, I ordered the media from Oracle Store.

I have a support issue opened with Parallels that will continue tomorrow working on. I'll post updates.
1 - 14
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Mar 12 2006
Added on Jan 16 2002
3 comments
182 views