users@glassfish.java.net

Re: Synchronisation Issues

From: Nicholas Irving <nirving_at_darkedges.com>
Date: Thu, 21 Feb 2008 13:31:58 +1100

I thought as much. As I have tried doing the same via Windows (not vm) and I
could start and stp to my hearts content and not see this issue.

here is what I am doing.

   1. Installing a server version of CentOS 5.1 via VMWare Workstaion
   6.0.0 build-45731 and ISO from
   http://mirror.pacific.net.au/linux/CentOS/5.1/isos/i386/CentOS-5.1-i386-netinstall.iso
   2. Standard VM setup, using RedHat Enterprise 5 as the base GOS and
   CDRom configured to use above ISO.
   3. When prompted choose English and click Ok
   4. When prompted choose us and click OK
   5. When prompted choose HTTP and click OK
   6. When prompted disable Enable IPv6 support and select Manual
   configuration for IPv4 and click OK
   7. When prompted provide the following information
   IPv4 address: x.x.x.x / 255.255.255.0
   Gateway: x.x.x.x
   Name Server: x.x.x.x
   and click OK
   8. When prompted provide the following information
   Website: mirror.pacific.net.au
   directory: /linux/CentOS/5.1/os/i386/
   and click OK
   9. Wait for the GUI to start.
   10. Press the Next button.
   11. When prompted to initialize the drive press the Yes button.
   12. Press the Next button.
   13. When prompted press the Yes button.
   14. Change the hostname to deki.nirving.local and press the Next
   button.
   15. Select Australia/Melbourne and press the Next button.
   16. When prompted provide the following
   Root Password: password
   Confirm: Password
   and press the next button
   17. Select Server and Packages from CentOS Extras and press the Next
   button
   18. Press the Next button to begin the installation process.
   19. Wait for the installation to reboot.
   20. We need to disable the firewall, by selecting the Firewall
   configuration and pressing the Run Tool button.
   21. When prompted select the following
   Security Level: Disabled
   SELinux: Disabled
   press the OK button
   22. Press the Exit button.

When completed restart the VM and we will add JDK1.5.0.14

   1. issue the following command via SSH to get the necessary library.
   yum –y install rpm-build.i386
   yum -y install libXp.so.6
   2. Download from
http://java.sun.com/javase/downloads/index_jdk5.jspto
/usr/src/redhat/SOURCES/
   3. change directory to /root/java
   cd /root/java
   4. Download the following files
   wget
   http://mirrors.dotsrc.org/jpackage/1.7/generic/non-free/SRPMS/java-1.5.0-sun-1.5.0.14-1jpp.nosrc.rpm
   5. Change directory to /usr/src/redhat/RPMS/i586/
   cd /usr/src/redhat/RPMS/i586/
   6. Install
   rpm -Uvh java-1.5.0-sun-1.5.0.14-1jpp.i586.rpm
   rpm -Uvh java-1.5.0-sun-devel-1.5.0.14-1jpp.i586.rpm

Next download and install Glassfish 2UR1

   1. Download GlassFish v2 from
   http://java.net/download/javaee5/v2ur1/promoted/Linux/glassfish-installer-v2ur1-b09d-linux.jarto
/opt/
   2. change directory to /opt/
   cd /opt/
   3. Start the installation wizard
   java -Xmx256m -jar glassfish-installer-v2ur1-b09d-linux.jar
   4. Change directory to /root/wiki/glassfish
   cd /opt/glassfish
   5. Start the GlassFish configuration
   chmod -R +x lib/ant/bin
   lib/ant/bin/ant -f setup-cluster.xml
   6. Start the domain
   /opt/glassfish/bin/asadmin start-domain
   7. Confirm it has started by going to
   http://deki.nirving.local:4848
   8. Create a node agent
   /opt/glassfish/bin/asadmin create-node-agent nodeagent1
   9. Create a new instance
   /opt/glassfish/bin/asadmin create-instance --user admin --passwordfile
   /opt/glassfish/passwords --host localhost --port 4848 --nodeagent nodeagent1
   --systemproperties
   "JMX_SYSTEM_CONNECTOR_PORT=8687:IIOP_LISTENER_PORT=3330:IIOP_SSL_LISTENER_PORT=4440:IIOP_SSL_MUTUALAUTH_PORT=5550:HTTP_LISTENER_PORT=8080:HTTP_SSL_LISTENER_PORT=8180"
   instance1

Add a large WAR such as xwiki (it is 36 meg in size) and you may find it
will not sync.

I hope this helps.
Nirving



On 21/02/2008, glassfish_at_javadesktop.org <glassfish_at_javadesktop.org> wrote:
>
> Interesting. VMWare is the culprit :)
>
> This is something that we haven't tried. Everything is set up using the
> "same user account", right?
>
> I haven't seen this error (probably is very long time). So, please let me
> know the instructions and
> I will try to try it out (on a Mac OS).
>
> - Kedar
> [Message sent by forum member 'km' (km)]
>
> http://forums.java.net/jive/thread.jspa?messageID=260008
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>