The Oracle Lite Blog

The Rekounas Blog about Oracle's Mobile Enterprise Application Platform

The Oracle Lite Blog header image 2

Setting up Mobile Server with GlassFish

November 17th, 2011 · 4 Comments

With Oracle Database Mobile Server 11g (DMS), Oracle has removed the standalone version of the product.  Some might be squeamish to install Weblogic, but the alternative is to install GlassFish instead.  Install for this is pretty straight forward.  In most cases just select the defaults and let the installer do the rest.  At the end of the installation, make sure you start the server.  I am doing this on windows so the startup would be to go to Start –> All Programs –> Oracle GlassFish Server –> Start Application Server.

Make sure you also have JDK 1.5 installed as well.

Now, you want to start the Oracle Universal Installer by going to the Disk1\install of your DMS download and select setup.exe.  For the ORACLE_HOME location, select the GlassFish install directory (i.e. c:\oracle\glassfish).

Select the Server installation and click next.  When the wizard asks you to run the repwizard, just say “No” for now.  We can run this later.  I have a 10.3.0.3 repository on my machine, so my portion should just upgrade and migrate the server and applications.

Once the wizard is done, navigate to c:\oracle\glassfish\Mobile\Server\admin and run repwizard.bat.

image

image

image

image

This is the only new screen in the Repository Wizard.  The admin port is the glassfish administration console port. And the server port is your sync servers port.

image

image

image

Try really vps hosting cheap vps hosting?

Check to see if mobileserver domain installed successfully:

C:\Oracle\app\glassfish\bin>asadmin stop-domain mobileserver
CLI306 Warning – The server located at C:\Oracle\app\glassfish\domains\mobileser
ver is not running.
Command stop-domain executed successfully.

C:\Oracle\app\glassfish\bin>asadmin start-domain mobileserver
Waiting for mobileserver to start …………………
Successfully started the domain : mobileserver
domain  Location: C:\Oracle\app\glassfish\domains\mobileserver
Log File: C:\Oracle\app\glassfish\domains\mobileserver\logs\server.log
Admin Port: 4848
Command start-domain executed successfully.

Now that the server is started, fire up a browser and go to http://yoururl.com/mobile

First thing you will notice is that Oracle has finally changed the look and feel of the login screen

image

And as you can see from the following screen, the GlassFish server is the mode that is currently running.

image

Let me know if you have questions and I will be glad to help out.

Share

Tags: Oracle Mobile Server

4 responses so far ↓

  • 1 Kazuky wrote on Apr 8, 2012 at 8:44 am

    Hello, I’m trying this but always Oracle Universal Installer shows me an error: “No App Server installed in ORACLE_HOME”

    Although I have already installed glasssfish3 in the same directory “\orahome_1\glassfish3″ and the default domain (domain1) has been started too.

    Could please tell me what am I doing wrong? Thanks


  • 2 Kazuky wrote on Apr 8, 2012 at 9:02 am

    solved
    Instead of specifying the directory “\orahome_1\glassfish3″ (the root install dir for my glassfish installation)

    I used “\orahome_1\glassfish3\glassfish” and It’s working.


  • 3 Shahjahan khan wrote on Apr 22, 2012 at 10:14 pm

    Hello
    i am try to automatic synchronization for android but its not working for win32 platform auto syn successfully.and device manager is also not working .
    please tell me procedure for that i follow all the step of Documentation.


  • 4 R R wrote on May 16, 2012 at 4:54 am

    hi…we can give all solutions for your problems…just follow the link…

    Samanyu is one place for all solutions regarding mobile applications


Leave a Comment

*