Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - QNX/Momentics 6.3.2 on openSUSE 10.3: (13 Items)
   
QNX/Momentics 6.3.2 on openSUSE 10.3  
Hi,

After having sucessfully installed Momentics 6.3.2 on openSUSE 10.2, I
upgraded the operating system to version 10.3. The IDE now didn't work
any more. Uninstallation, and re-installation didn't work either. When I
run the installer (momentics-6.3.2-200709070203-linux.bin) on the
upgraded machine, it tells me that Java Virtual Machine is initialized,
prints out lots of dots, and then silently stops running.

Then I tried it on an openSUSE 10.3 machine that had never seen
QNX/Momentics before. Similar effect, except that after the many lines
with dots I get an error message from the Java system:
Exception in thread "main" java.lang.OutOfMemoryError
        at java.util.zip.ZipFile.open(Native Method)
        at java.util.zip.ZipFile.<init>(Unknown Source)
        at java.util.jar.JarFile.<init>(Unknown Source)
        at java.util.jar.JarFile.<init>(Unknown Source)
        at sun.misc.URLClassPath$JarLoader.getJarFile(Unknown Source)
        at sun.misc.URLClassPath$JarLoader.<init>(Unknown Source)
        at sun.misc.URLClassPath$3.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.misc.URLClassPath.getLoader(Unknown Source)
        at sun.misc.URLClassPath.getLoader(Unknown Source)
        at sun.misc.URLClassPath.getResource(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)

The upgraded systems have Java 1.5 installed. I'm pretty sure that
openSUSE 10.2 also had 1.5.

Has anybody seen this? And, maybe, solved the issue? Any suggestions
would be very welcome.

Regards,
Armin



RE: QNX/Momentics 6.3.2 on openSUSE 10.3  
What exactly happened when you say 'The IDE now didn't work any more'?

For installer how long did you wait before you kill it? Sometimes it is
looking for java very long time (like half hour).

How much RAM you have?
RE: QNX/Momentics 6.3.2 on openSUSE 10.3  
Hi Armin,
Can you, please describe in details your machine specs and step-by-step
upgrade process from SuSE 10.2 to 10.3 (how did you do the upgrade process).
Thank you!
Regards,
Yov

Yov Yovchev - R&D Software Verification - QNX Software Systems
Work: (613)591-0836 ext.2302 Mobile: (613)255-5566
QNX source code is now available!
Get the award-winning QNX Neutrino microkernel source code.
New community portal Join Foundry27 - the new QNX developer forum. 
Free QNX Momentics evaluation. Download your 90-day evaluation of this
Eclipse-based development suite.
Re: RE: QNX/Momentics 6.3.2 on openSUSE 10.3  
Ok, 

I was running the stuff on a DELL Latitude D800 laptop (Pentium M 1.4 GHz, 2 GB RAM).

"The IDE doesn't run" means: I start the program shortcut that used to fire up the IDE before, the cursor becomes active
 for a while (obviously the system tries to start something), but not even the splash screen appears, and the cursor 
switches back to the inactive state. After that, I can't see anything in the process list (ps -ax command).

The upgrade from 10.2 to 10.3 was the standard way, just by running the installation DVD and telling Yast to update the 
existing system.


Armin
Re: QNX/Momentics 6.3.2 on openSUSE 10.3  
Armin,

For the fresh install of QNX Momentics 6.3.2 on Suse 10.3, you can try starting the launcher using java that's bundled 
in the installer (as opposed to the one that's provided with Suse 10.3).  You'll need to extract java from the .bin file
 and use that to run the installer.   

Natalia
Re: QNX/Momentics 6.3.2 on openSUSE 10.3  
Sorry, how can I extract Java from the .bin file?
I can see a qnx_linux_setup.jar file on the CD, does that mean anything in this context?


Armin
Re: QNX/Momentics 6.3.2 on openSUSE 10.3  
There are several ways to do that.  Here is one:
- copy .jar and .bin files to a temporary location (/tmp)
extract linux-sun-1.5.0.bin
- ./momentics-6.3.2-nnnnnnnnn.bin -is:extract
- ./linux-sun-1.5.0.bin
now you can run the installer:
- <path_to_java> -jar qnx_linux_setup.jar
(for example: /tmp/bin/java -jar qnx_linux_setup.jar)

Hope this helps.

Natalia
RE: QNX/Momentics 6.3.2 on openSUSE 10.3  
I was able to reproduce the issue on VMware installation of SuSE 10.3.
Using the extracted from the installer java would also not work.

It seems that SuSE 10.3 is coming with a specific JRE tailored for itself.

The following is the process I used in order to install QNX Momentics 6.3.2
on a clean SuSE 10.3 VMware session and to start the Momentics IDE. Using
the original SuSE 10.3 java made the QNX Momentics 6.3.2 installation
successful:

- login as root
- insert the QNX Momentics 6.3.2 for Linux install CD and copy all files to
/tmp/QNXM632 (new temporary folder to store the install files)
- open terminal
- execute "chmod 755 /tmp/QNXM632/*"
- cd /tmp/QNXM632
- execute "java -jar ./ qnx_linux_setup.jar"
- follow the install process
- reboot the SuSE 10.3 and login as root
- open terminal
- execute "PATH=$QNX_HOST/usr/bin:$PATH"
- execute "LD_LIBRARY_PATH=$QNX_HOST/usr/bin:$LD_LIBRARY_PATH"
- execute "export LD_LIBRARY_PATH"
- execute "export PATH"
- execute "cp -R /opt/qnx632/host/linux/x86/usr/qde/eclipse/jre
/opt/qnx632/host/linux/x86/usr/qde/eclipse/jre_ORIGINAL"
- execute "rm -rf /opt/qnx632/host/linux/x86/usr/qde/eclipse/jre"
- start the IDE using the original SuSE 10.3 jre:
"/opt/qnx632/host/linux/x86/usr/qde/eclipse/qde"

I hope that helps as a work around. The issue have been captured in a
Problem Report. Thank you!

Regards,
Yov Yovchev
Re: RE: QNX/Momentics 6.3.2 on openSUSE 10.3  
Hello,

I'm followed successfully the modified installation procedure.

qde is working, but most of the help functions are not working.

Regards

--Armin Steinhoff
Re: RE: QNX/Momentics 6.3.2 on openSUSE 10.3  
With this workaround I can see the installer starting! A big step forward.

Unfortunately, after having upgraded my machine from openSUSE 10.2 to 10.3, the uninstaller didn't work, and now the 
installer complains that the software is already installed.

I removed the installation directory in /opt, removed /etc/qnx, but that didn't help. Could you give me a hint how the 
installer finds out that the product is installed. It might check the presence of some file, I guess.

Armin
RE: RE: QNX/Momentics 6.3.2 on openSUSE 10.3  
Hi Armin,

Check for vpd.properties in /root, ~ or /tmp (assuming you installed from
there). If you find that file, remove it. You should then be able to install
without getting that error.

I've not used the linux hosted version but on Windows I do the following to
insure a clean installation:

1. Are the Environment variables set? If you're starting from a fresh
install, 
       then the environment variables shouldn't be set. You can check/change
these 
       by doing the following:
       1a) Right click on My Computer and select Properties
       1b) Select the Advanced Tab
       1c) Press the Environment Variables button. If QNX_HOST and
QNX_TARGET are set, clear them.
  2. If you're installing fresh, then ensure that QNX630/install is cleared
out.
  3. To completely remove QNX from a Windows installation, ensure that the
following do not exist.
       <drive>:\QNX630\host
       <drive>:\QNX630\target
       <drive>:\Program Files\QNX Software Systems
       <drive>:\Windows\vpd.properties

Correct the paths for Linux as required.

Cheers,
-Brian

-----Original Message-----
From: Armin Falb [mailto:armin.falb@web.de] 
Sent: Wednesday, November 21, 2007 15 03
To: momenticsgs-community
Subject: Re: RE: QNX/Momentics 6.3.2 on openSUSE 10.3

With this workaround I can see the installer starting! A big step forward.

Unfortunately, after having upgraded my machine from openSUSE 10.2 to 10.3,
the uninstaller didn't work, and now the installer complains that the
software is already installed.

I removed the installation directory in /opt, removed /etc/qnx, but that
didn't help. Could you give me a hint how the installer finds out that the
product is installed. It might check the presence of some file, I guess.

Armin


_______________________________________________
QNX Momentics Getting Started
http://community.qnx.com/sf/go/post2837
RE: RE: QNX/Momentics 6.3.2 on openSUSE 10.3  
In the utils subdirectory on the CD we've included a utility to clean up any
unwanted bits left after an un-installation. There are two versions: one for
Linux and one for Windows.

Cheers,
Keith 

-----Original Message-----
From: Brian K Hlady [mailto:bhlady@qnx.com] 
Sent: November 21, 2007 15:29
To: momenticsgs-community
Subject: RE: RE: QNX/Momentics 6.3.2 on openSUSE 10.3

Hi Armin,

Check for vpd.properties in /root, ~ or /tmp (assuming you installed from
there). If you find that file, remove it. You should then be able to install
without getting that error.

I've not used the linux hosted version but on Windows I do the following to
insure a clean installation:

1. Are the Environment variables set? If you're starting from a fresh
install, 
       then the environment variables shouldn't be set. You can check/change
these 
       by doing the following:
       1a) Right click on My Computer and select Properties
       1b) Select the Advanced Tab
       1c) Press the Environment Variables button. If QNX_HOST and
QNX_TARGET are set, clear them.
  2. If you're installing fresh, then ensure that QNX630/install is cleared
out.
  3. To completely remove QNX from a Windows installation, ensure that the
following do not exist.
       <drive>:\QNX630\host
       <drive>:\QNX630\target
       <drive>:\Program Files\QNX Software Systems
       <drive>:\Windows\vpd.properties

Correct the paths for Linux as required.

Cheers,
-Brian

-----Original Message-----
From: Armin Falb [mailto:armin.falb@web.de] 
Sent: Wednesday, November 21, 2007 15 03
To: momenticsgs-community
Subject: Re: RE: QNX/Momentics 6.3.2 on openSUSE 10.3

With this workaround I can see the installer starting! A big step forward.

Unfortunately, after having upgraded my machine from openSUSE 10.2 to 10.3,
the uninstaller didn't work, and now the installer complains that the
software is already installed.

I removed the installation directory in /opt, removed /etc/qnx, but that
didn't help. Could you give me a hint how the installer finds out that the
product is installed. It might check the presence of some file, I guess.

Armin


_______________________________________________
QNX Momentics Getting Started
http://community.qnx.com/sf/go/post2837

_______________________________________________
QNX Momentics Getting Started
http://community.qnx.com/sf/go/post2838
RE: QNX/Momentics 6.3.2 on openSUSE 10.3  
Using the uninstall script on the CD was right. QDE is running now.

Thanks a lot to all of you for your help.

Armin