Upgrade myApp to v500

Post any questions regarding Installing or Upgrading to V5, including problems starting and using the Ebase Server or Designer

Moderators: Jon, Steve, Ian, Dave

armin_kessler
Ebase User
Posts: 27
Joined: Sun Jan 08, 2012 2:39 am

Upgrade myApp to v500

#1

Postby armin_kessler » Wed Oct 28, 2015 4:56 pm

I applicate the upgrade process and all seems OK, but when I open
the principal form, on the second page appears ...

Code: Select all

This page cannot be displayed due to an unexpected error, or invalid content.
It may display if you undo your last action.
What I'm doing wrong ?

Thanks Armin
0 x
Armin Kessler

Jon
Moderator
Moderator
Posts: 1342
Joined: Wed Sep 12, 2007 12:49 pm

#2

Postby Jon » Wed Oct 28, 2015 5:07 pm

This usually means there is some invalid HTML on the page somewhere, but it might be caused by another problem. Could you please export the form and all associated entities (this will create a zip file) and email it to support@ebasetech.com and we'll check it out. Can you add the name of the page that causes the problem to the email.
0 x

armin_kessler
Ebase User
Posts: 27
Joined: Sun Jan 08, 2012 2:39 am

Upgrade myApp to v500

#3

Postby armin_kessler » Wed Oct 28, 2015 5:56 pm

Jon:

I sended you the form and all associated entities ...
Thanks Armin
0 x
Armin Kessler

armin_kessler
Ebase User
Posts: 27
Joined: Sun Jan 08, 2012 2:39 am

Upgrade myApp to v500

#4

Postby armin_kessler » Thu Oct 29, 2015 1:42 pm

Configuring Database Connection, I use Sybase, in parameters I include
same values as in version 4.5.2

Code: Select all

driverClassName : com.sybase.jdbc3.jdbc.SybDriver
url: jdbc:sybase:Tds:localhost:2658?ServiceName=BASES&CHARSET=utf8
username: DBA
pasword: SQL
The driver jconn3 is on directory ...tomcat\lib
Server type : Integrated

And received this error:

Code: Select all

JavaException: com.ebasetech.ufs.kernel.FormException: java.sql.SQLException: SQLException in StandardPoolDataSource:getConnection exception: java.sql.SQLException: SQLException in StandardPoolDataSource:getConnection no connection available java.sql.SQLException: Error trying to load driver: com.sybase.jdbc3.jdbc.SybDriver : com.sybase.jdbc3.jdbc.SybDriver
What I'm doing wrong?
Thanks Armin
0 x
Armin Kessler

Jon
Moderator
Moderator
Posts: 1342
Joined: Wed Sep 12, 2007 12:49 pm

#5

Postby Jon » Thu Oct 29, 2015 2:35 pm

The url you are using is for the JTDS driver distributed with Ebase, so the driver name should be net.sourceforge.jtds.jdbc.Driver. Alternatively you can use the sybase supplied driver and url, in this case you will need to add the driver file to IntegratedServer/lib and/or UfsServer/tomcat/lib depending on which server type you are using.

The easiest way to set up a sybase database connection is to use the Database Connection Wizard:
  • o From the designer, start the admin app - Tools > Start Server Admin App. If you've upgraded from V4 you should be able to sign on using ebaseuser.
    o Click Database Connections
    o Click the wizard icon on the toolbar and complete the fields - this includes selecting sybase as the database type. This will give you a url using the supplied JTDS driver.
Once you've created a connection, you can use it with any of the Ebase database entities: Database Resource, Stored Procedure Resource, Dynamic List etc. You can also get a connection from a Javascript script using:

Code: Select all

var con = system.getDatabaseConnection(databaseConnectionName);
0 x

armin_kessler
Ebase User
Posts: 27
Joined: Sun Jan 08, 2012 2:39 am

Upgrade myApp to v500

#6

Postby armin_kessler » Thu Oct 29, 2015 2:42 pm

Hi all ...

I started the tomcat server on the updated version 5 , and when I started the Designer on File / Prefrences / Test Server / Select Use External Server options : locahost/3030/ufs pressed button OK ,and all works well , but when I enter in Start Server Admin App

Code: Select all

User* : Admin    Password*: ????

This is the upgraded version , I tryed ebaseuser / admin and received 
message [b]Invalid logon [/b]
What is wrong? ... Armin
0 x
Armin Kessler

Jon
Moderator
Moderator
Posts: 1342
Joined: Wed Sep 12, 2007 12:49 pm

#7

Postby Jon » Thu Oct 29, 2015 2:58 pm

It's probably ebaseuser/ebaseuser unless you changed the password on your V4 system.
0 x

armin_kessler
Ebase User
Posts: 27
Joined: Sun Jan 08, 2012 2:39 am

Upgrade myApp to v500

#8

Postby armin_kessler » Thu Oct 29, 2015 3:19 pm

Jon:

You are right , my mistake ...

Thank you very much.

Armin
0 x
Armin Kessler


Who is online

Users browsing this forum: No registered users and 4 guests