Problem Running the program

16 posts / 0 new
Last post
gumarelo
gumarelo's picture
Offline
Joined: 16 Nov 2010
Posts:
Problem Running the program

hi all,
I recently installed 2.4 beta Mosync the same way as explained in
http://www.mosync.com/documentation/manualpage/installing-mosync

when I install everything I try to run the program and I have the following problems:
1 - I do not get the welcome page and does not give me the option to register the product
2 - mosync perspective does not appear and when I try to add the perspective from winddows-> open perspective -> other -> MoSync I get the following error:

Problem opening perspective 'com.mobilesorcery.ui.perspective'

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Sam Pickard
rival's picture
Offline
Mobile Archmage
Joined: 19 Mar 2009
Posts:

Hi, can you tell us which version of Windows you are running on?

gumarelo
gumarelo's picture
Offline
Joined: 16 Nov 2010
Posts:

hi, I'm using Windows XP Profesional with SP3

Sam Pickard
rival's picture
Offline
Mobile Archmage
Joined: 19 Mar 2009
Posts:

Hi, I don't have an easy fix I'm afraid. I've installed it a lot of times on Windows XP without any problems. Did you have a previous version of MoSync, or another installation of Eclipse on the machine?

gumarelo
gumarelo's picture
Offline
Joined: 16 Nov 2010
Posts:

hi, i don't have a previous version of MoSync or Eclipse.

gumarelo
gumarelo's picture
Offline
Joined: 16 Nov 2010
Posts:

now I reinstall the program and when is almost finish appears a black screen and say:

warning: can't open config file c:\some\openssl\dir/ssl/openssl.cnf.
Loadinf 'screen' into random state - done

then disappear the black screen and display a screen similar to this

http://www.mosync.com/files/images/install-win-7.png

but with the difference that in my case appear "close" instead of "finish"

i don't know if this is important or is maybe the problem.

sorry if my English is not so good.

gumarelo
gumarelo's picture
Offline
Joined: 16 Nov 2010
Posts:

sorry, the windows that I get when finish is this with the bottom "close"

http://www.mosync.com/files/images/install-win-5.png

this next window does not appear to me

http://www.mosync.com/files/images/install-win-7.png

Sam Pickard
rival's picture
Offline
Mobile Archmage
Joined: 19 Mar 2009
Posts:

OK, this is helpful. Can you try downloading a slightly older version, and installing that one.

Also, are you installing into the default location?

gumarelo
gumarelo's picture
Offline
Joined: 16 Nov 2010
Posts:

Againg I have the same problem :(

thanks!

Sam Pickard
rival's picture
Offline
Mobile Archmage
Joined: 19 Mar 2009
Posts:

Have you installed to C:\MoSync ?

gumarelo
gumarelo's picture
Offline
Joined: 16 Nov 2010
Posts:

yes.I've installed in C:\MoSync

Tony Hartley
Tony's picture
Offline
Joined: 4 Sep 2007
Posts:

Did you have Cygwin installed on your computer at the time MoSync was installed.
Cygwin sometimes causes collisions.

Sounds like the installer is failing to finish, could be the ssl keygen in the installer.

Niklas can you look into this ?

/Tony

gumarelo
gumarelo's picture
Offline
Joined: 16 Nov 2010
Posts:

hi again.

I could not install any version of MoSync on my machine. It may be something I have installed. What I did now was to install a virtual machine with an empty Windows XP and there MoSync and now it works really well.

I don't know what can be the program that makes it difficult to install on my machine.

I have not installed Cygwin.

Thanks to everyone for the help and hope to start learning now how to use the program

Sam Pickard
rival's picture
Offline
Mobile Archmage
Joined: 19 Mar 2009
Posts:

Cool, that's great news! We will look into the openssl issue though.

gumarelo
gumarelo's picture
Offline
Joined: 16 Nov 2010
Posts:

OK! Thanks

glukosev
glukosev's picture
Offline
Joined: 19 Aug 2011
Posts:

I had similar problem on Windows 7 today. I was installing MoSync 2.6 and got this error:

"warning: can't open config file c:\some\openssl\dir/ssl/openssl.cnf.
Loadinf 'screen' into random state - done"

To solve this do the following:

1. Set windows environment variable OPENSSL_CONF to C:\MoSync\bin\openssl.cnf (or whatever place your MoSync bin is located).

2. From command prompt run single line:

C:\MoSync\bin\openssl.exe genrsa -rand -des -passout pass:default 1024 > C:\MoSync\etc\default.key

3. From command prompt run single line:

C:\MoSync\bin\openssl.exe req -new -x509 -nodes -sha1 -days 3650 -key C:\MoSync\etc\default.key -batch -config C:\MoSync\bin\openssl.cnf > C:\MoSync\etc\default.cert

These two last command lines I found in MoSync install  log. Openssl -config option should solve this by itself, but for some reason doesn't. Adding OPENSSL_CONF variable solved issue with openssl errors.

Now I fighting with the next problem - MoSync doesn't launch - it says Failed to create the Java Virtual Machine.

Update: solved Java Virtual Machine issue according to this: http://www.mosync.com/content/mosync-26-doesnt-start