Just installed the Pre-Built Java Developer Virtual Machine need help!

Hello,

I’m fairly new to this so I apologize if some of my questions are stupid. I’ve googled for an hour, and searched the OTN forums for these answers, and even tried a few different things out myself (with no luck); so now I am seeking help here:

I downloaded the :Oracle WebCenter Portal Framework 11g Hands-on VM" from this page: http://www.oracle.com/technetwork/community/developer-vm/index.html but I’m having trouble getting a few things working, and finding answers to some of my beginner development questions.

Could you please help me get started? Here are my questions and issues:

#1. When I try to open any of the sites in this VM such as Content Server or the Pagelet Producer I get the following error:
“Firefox can’t establish a connection to the server at 127.0.0.1:16200.” I tried to configure the port forwarding, but I am new to this so I’m not sure if I used the correct addresses. For the HOST IP’s I used the IP of the VM, which I retrieved from hovering my mouse over the adapter settings icon in the bottom right corner. For the GUEST IP I used the IP of my machine that I am running the VM on - this does not feel right to me, but I can’t seem to find any information or references that work.

#2. I got an error message saying that the shared folder for D:\TEMP\Host was not created so I went into the Shared Folders settings for this VM and assigned it to a folder ‘Host’ that I created on my hard drive. Is this O.K.?

I would like to use this VM to create and modify task flows and deploy them to a Web Center instance so that I can hopefully find a good entry level job this year with Oracle software. Please help!

Many thanks,
S

These aren’t really Java issues.

Run your VM network interface in Bridged Mode. That way it will get an IP from the DHCP and you can directly hit the IP:Port that has the application you want to use.

I appreciate your support iackay, I posted in a couple of VM help forums but I wasn’t successful there so I decided to post here. Thank you!

I set it up like so:

Attached to: Birdged Adapter
Name: Intel(R) 82567LM-3 Gigabit Network Connection
Advanced>
Adapter Type: Intel PRO/1000 MT Desktop (82540EM)
Promiscuous Mode: Deny
Mac Address: (whatever it gave me by default)
Cable Connected: True

I’m still not able to open any of the sites pointing to local host within the vm. Do you have any idea what I should be googling to figure this out? I’m really at a loss here… I’ve tried “how to set up VM VirtualBox Network settings” … “how to configure…” etc. The things I’m finding are really high level/vague overviews, but nothing that has led me down a specific path that might help aside from what you’ve given me iackay. I appreciate your advice sir.

I don’t think I can help you as I don’t have time to install that VM and muck with it. You might want to Grab a copy of Fedora Core 16 and head over to http://www.if-not-true-then-false.com and look at putting the VirtualBox guest additions on it.

Once you do that, you can also follow their great tutorial on putting JDK 7 and Eclipse Indigo on Fedora. Once you do that, you’ll want to put Maven on your VM.

Once you get JDK, Indigo and maven on your VM you’ll want to put Tomcat 7 on there.

Hints:

Get the J2EE Developer edition of Eclipse Indigo, once Maven is installed you can install the maven plugin.

You don’t need to do step 3 in JDK/JRE tutorial if you are in GUI mode in Fedora. You can execute the RPM from the download manager and it will install properly. Your JDK and JRE can be invoked with the -version switch. Use the latest JDK as the JRE comes along for the ride with it.

Use step 6 from the Eclipse Indigo to get maven to work.

Server-world.info/en has great article on how to get Tomcat7 working step by step from the tarball.

Then get to know Maven and J2EE development. Learn techniques like Dependency Injection with Spring 3 and you’ll go far. You can use Mysql (easy install with yum).

There are great Linux tutorials at Linode.com in their user library you can use for free too.

I am not sure what type of entry level job you want to get with an enterprise Portal. Stick to MVC J2EE apps that use servlets not portlets.