4.1.0 Final - Installer issues

There seem to be some issues with the 4.1.0 Final installer.
I downloaded the crossplatform installer (.jar) and did a clean install. At the end of the installation the following error popped up:

I selected yes and launched Servoy. No problems so far.
After this I wanted to install the Subversive plugins but hit a wall because of this error:

Okay, so it looks like the Final installer has issues…no problem…still got the rc2 installer.
Installed rc2 in a new directory. Ran the servoy_updater jar and it updated it all the way up to release 651 (4.1 final).
Tried to install the Subversive plugin again and no go. Same javascript core error.

This seems very much related to viewtopic.php?t=11648

ROCLASI:
There seem to be some issues with the 4.1.0 Final installer.
I downloaded the crossplatform installer (.jar) and did a clean install. At the end of the installation the following error popped up:

It seems somehow a CTRL-M (Carriage Return) was in 2 files (the file mentioned and servoy_server.sh), which not all mac versions can eat.
We discoverd this ourselfs last night and just replaced the installer.

About the not able to install plugins because eclipse thinks that there is a missing plugin (which is really installed and working just fine…)
we need to investigate that a bit more but you can fix this by updating the feature.xml in the developer\features\com.servoy.eclipse.feature_4.1.0.651 dir to

<?xml version="1.0" encoding="UTF-8"?>
<feature id="com.servoy.eclipse.feature" label="Servoy Feature" version="4.1.0.651" provider-name="Servoy" plugin="com.servoy.eclipse.core" os="linux,macosx,win32">
   <description url="http://www.servoy.com/developer/description.html">
      [Feature Description]
   </description>
   <copyright url="http://www.servoy.com/developer/copyright.html">
      [Copyright Description]
   </copyright>
   <license url="http://www.servoy.com/developer/license.txt">
      [License Description]
   </license>
   <requires>
      <import plugin="org.eclipse.core.runtime" version="3.1.0" match="greaterOrEqual"/>
      <import plugin="org.eclipse.ui" version="3.1.0" match="greaterOrEqual"/>
      <import plugin="org.eclipse.core.resources" version="3.1.0" match="greaterOrEqual"/>
      <import plugin="org.eclipse.ui.ide" version="3.1.0" match="greaterOrEqual"/>
      <import plugin="org.eclipse.core.filesystem" version="1.1.0" match="greaterOrEqual"/>
      <import plugin="org.eclipse.swt" version="3.2.0" match="greaterOrEqual"/>
      <import plugin="org.eclipse.jface" version="3.1.0" match="greaterOrEqual"/>
      <import plugin="org.eclipse.ui.workbench" version="3.2.0" match="greaterOrEqual"/>
      <import plugin="org.eclipse.debug.core" version="3.2.0" match="greaterOrEqual"/>
      <import plugin="org.eclipse.debug.ui" version="3.2.0" match="greaterOrEqual"/>
      <import plugin="org.eclipse.ui.editors" version="3.2.0" match="greaterOrEqual"/>
      <import plugin="org.eclipse.jface.databinding" version="1.1.0" match="compatible"/>
      <import plugin="org.eclipse.team.core" version="3.2.0" match="greaterOrEqual"/>
      <import plugin="org.eclipse.team.ui" version="3.3.0" match="greaterOrEqual"/>
      <import plugin="org.eclipse.core.expressions" version="3.1.0" match="greaterOrEqual"/>
      <import plugin="org.eclipse.jface.text" version="3.1.0" match="compatible"/>
      <import plugin="org.eclipse.ui.workbench.texteditor" version="3.1.0" match="greaterOrEqual"/>
      <import plugin="org.eclipse.search" version="0.0.0" match="greaterOrEqual" />
      <import plugin="org.eclipse.ui.console" version="3.1.0" match="greaterOrEqual"/>
      <import plugin="org.eclipse.ui.forms" version="3.2.0" match="greaterOrEqual"/>
      <import plugin="org.eclipse.core.databinding" version="0.0.0" match="greaterOrEqual" />
      <import plugin="org.eclipse.core.databinding.beans" version="0.0.0" match="greaterOrEqual" />
      <import plugin="com.ibm.icu" version="0.0.0" match="greaterOrEqual"/>
   </requires>
   <plugin id="com.servoy.eclipse.core" os="" download-size="0" install-size="0" version="4.1.0.651" unpack="false"/>
   <plugin id="com.servoy.eclipse.debug" download-size="0" install-size="0" version="4.1.0.651" unpack="false"/>
   <plugin id="com.servoy.eclipse.designer" download-size="0" install-size="0" version="4.1.0.651" unpack="false"/>
   <plugin id="com.servoy.eclipse.team" download-size="0" install-size="0" version="4.1.0.651" unpack="false"/>
   <plugin id="com.servoy.eclipse.ui" download-size="0" install-size="0" version="4.1.0.651" unpack="false"/>
   <plugin id="ServoyCoreLib" download-size="0" install-size="0" version="4.1.0.651" unpack="false"/>
   <plugin id="ServoyLib" download-size="0" install-size="0" version="4.1.0.651" unpack="false"/>
   <plugin id="com.servoy.eclipse.appserver" download-size="0" install-size="0" version="4.1.0.651" unpack="false"/>
</feature>

BTW this issue occurs only for those that installed a ‘fresh’ Servoy Developer 4.1.
Those that followed the upgrade path should have no issue…

Hi Marcel,

IT2Be:
BTW this issue occurs only for those that installed a ‘fresh’ Servoy Developer 4.1.
Those that followed the upgrade path should have no issue…

Which of the 2 issues are you refering to ?

Hi Johan,

Seems this ‘feature.xml’ issue does more than hampering the installations of plugins. On Linux it would pretty much be a show stopper if it wasn’t for the manual fix you suggested (unless you only want to use the JDBC to ODBC driver).
See viewtopic.php?f=11&t=11727 .

About the not able to install plugins because eclipse thinks that there is a missing plugin (which is really installed and working just fine…)

I was referring to this issue.

BTW I know that the issue has been identified. Not sure if they solved it already for the next release though.

Hi Marcel,

As you can read in the first post of this thread I did an installation with the installer AND with the updater resulting in the same error.
Are you suggesting they fixed the updater but not the installer ?

Are you suggesting they fixed the updater but not the installer ?

Not suggesting anything.
They have identified the issue, not solved/released it as far as I know.
For me the installation of a new version on Mac and Win showed the described issue. Upgrades of both did not…

we have fixed it for 4.1.1

Hi Johan,

Any idea when 4.1.1 will be released?

Thanks and Happy Holidays to the Servoy team!

Rich Coulombre

Next month, in the new year…

On Windows Vista, we are having the same difficulty getting Sybase to launch when Servoy Developer starts, even when using the upated ‘feature.xml’ file from Johan Compagner. In an attempt to work around this problem, we start Sybase manually by issuing the following code using the Windows Command Prompt (run as Administrator):

C:"Program Files (x86)“\Servoy\application_server\sybase_db\dbspawn.exe|C:"Program Files (x86)”\Servoy\application_server\sybase_db\dbsrv10.exe|@sybase_db\sybase.config

Once the Sybase ‘lightening bolt’ appears in the Windows System Tray, we launch Servoy Developer, and it loads the Servoy CRM sample but reports hundreds of errors and warnings in the solution (eg. cannot connect to the UDM database even though connect is not marked with the white ‘x’ in the red circle). If we try to view the CRM in Servoy Client, a number of error windows pop up, and after closing them, the Client screen is blank.

Looking at the ‘servoy_repository.log’ file, there are strange characters appearing in the text (see attachment).

We are stumped at this point and do not know how to proceed. It’s been a month…is version 4.1.1 with a fix for this ready to go yet? Or, is there a viable workaround for this problem?

servoy_repository.log.txt (192 KB)

Found the problem with Windows Vista!

We disabled Windows Vista UAC (user account control), and now Servoy runs normally. For others having this problem, here is what we did:

If the ‘Run’ command is not visible on t’he Start Menu, right click on the Start Menu, select ‘Properties’, select the ‘Start Menu’ tab, make certain the ‘Start Menu’ radio button is selected, then click on the ‘Customize’ button. Scroll down the list that appears until you find ‘Run command’ and check the box next to it. Click ‘OK’ twice to exit. The ‘Run’ command will now appear on the Start Menu.
Click on the ‘Run’ command, and a window appears. In the ‘Open:’ field, type ‘msconfig’, then click on the ‘OK’ button, and the System Configuration screen appears. Click on the ‘Tools’ tab and scroll down until you find ‘Disable UAC’ and click to highlight it. Then, click on the ‘Launch’ button. A Command Prompt screen will appear that executed the disable command. Close the Command Prompt and any other windows left open.
Restart the computer for the change to take effect.

NOTE: disabling UAC supposedly leaves your computer open to malicious software and hacks. It also gets rid of the annoying pop-up messages whenever you try to change ‘administrative’ settings. The UAC should be treated as a temporary work-around until a permanent solution can be found.

I hope this helps!

Kim

We disabled Windows Vista UAC (user account control), and now Servoy runs normally.

When you would search (or would have searched) the forum you see that it is mentioned that it is best not to install Servoy in the programs folder of a Vista machine but in the users folder.
When you do that your issue is solved.
It has to do with read/write rights.

I am not sure that it is in the docs but I can imagine it is…

It has to do with read/write rights.

Obviously, Servoy is not handling access rights properly in Vista! We have other programs installed in the ‘Program Files’ folder of Vista that work just fine, so Servoy is suspect. And, if it is a known problem, why does the installer continue to install Servoy in the ‘Program Files’ folder rather than some other folder?

Does your recommendation of installing Servoy in the ‘Users’ folder work for a multi-user server environment? We are attempting to install Servoy on our server, not local workstations, for multi-user access. We want Servoy to run as a service, not as a user launched program.

Also, Vista wants to controll the ‘Users’ folder which previously was under the ‘Documents and Settings’ folder. We have discovered other ‘rights’ problems sharing files amongst users this way (most likely due to the UAC).

We did search for answers before posting on the forum; that’s how we found this thread. We used the search keywords "version 4 install vista’ but could not find the item you referenced. Perhaps, you could post a link to it.

Thanks!

Kim

problem is that in vista and for certain in vista 64 bits the program cant write anymore in the programs folder. (this should be the case from the beginning of windows, now it is just legacy that they try to support)

But if you install it you install sybase database in it. And that one wants to write of course in its databases that are in the programs folder.

Besides that we have properties and log files. But for the properties file we already have support that it writes in the user dir.

i guess we have to see how we are going to change our installer so that installs the database to some other dir.

Hi all,

I came across this issue when installing Subversive plugins and copied and pasted the code from Johan’s post below into the ‘feature.xml’ to replace existing text, saved this new file and launched Servoy and went to install the plugins and got this error:
[attachment=0]Picture 2.png[/attachment]

Any more ideas please

Cheers
Harry

jcompagner:
About the not able to install plugins because eclipse thinks that there is a missing plugin (which is really installed and working just fine…)
we need to investigate that a bit more but you can fix this by updating the feature.xml in the developer\features\com.servoy.eclipse.feature_4.1.0.651 dir to

<?xml version="1.0" encoding="UTF-8"?>
[Feature Description] [Copyright Description] [License Description] > ```

dont install the Subversive mylyn optional plugins

Done and dusted - installing as I write this

Thanks Johan

Cheers
Harry :D