new ebase installation, integrated server is broken

Post any questions you have about using the Verj.io Studio, including client and server-side programming with Javascript or FPL, and integration with databases, web services etc.

Moderators: Jon, Steve, Ian, Dave

Segi
Ebase User
Posts: 649
Joined: Mon Dec 09, 2013 6:37 pm

new ebase installation, integrated server is broken

#1

Postby Segi » Wed Aug 31, 2016 11:19 pm

I did a fresh install of Ebase 5.1.1 (server and client). I renamed the default webapp ebase to ROOT and renamed C:\ebaseXi\UfsServer\tomcat\conf\Catalina\localhost\ebase.xml to ROOT.xml and tested it out and everything works fine as far as loading the default documentation.

In designer, I went into prefs->Test server and selected External Test Server and set it with the following settings:

Hostname: localhost
Port: 80
Web application name: ROOT

but the integrated server doesn't start. The only error in UFSClient/logs says

Code: Select all

2016-08-31 15:50:06,933 ERROR [AWT-EventQueue-1] ELogger.log(31) :: I/O error contacting server on http://localhost:80/ROOT/designer - check that the start designer parameters are set correctly
Why doesn't this work ?
0 x

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

#2

Postby Jon » Thu Sep 01, 2016 9:31 am

I think it's the upper case ROOT - I'm not sure this is valid in a URL. It's best to always use lower case names.
0 x

Segi
Ebase User
Posts: 649
Joined: Mon Dec 09, 2013 6:37 pm

#3

Postby Segi » Thu Sep 01, 2016 4:58 pm

so even if I change the External Test Server to root as the webapp the test server won't server. In fact the external test server won't start no matter what parameters I use and even if I change the default web app back to ebase
0 x

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

#4

Postby Jon » Fri Sep 02, 2016 7:29 am

Yes I have seen Tomcat behaviour like that - I don't know why it continues to refuse to start. It's probably quicker to just install a fresh server then change that to what you want.
0 x

Segi
Ebase User
Posts: 649
Joined: Mon Dec 09, 2013 6:37 pm

#5

Postby Segi » Fri Sep 02, 2016 7:55 am

Jon,

I did just that. It seems that the problem starts if you change the default web app ebase to ROOT. After doing this I was not able to get the test server to work as external even after I set the main webapp back to ebase internal did work but is not how I needed it to be.

I did a fresh install and it's fine although for obvious reasons I haven't changed the webapp from the default.
0 x

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

#6

Postby Jon » Fri Sep 02, 2016 7:57 am

Yes, as I said I think it doesn't like the upper case name. If you change it to "root" it should be OK.
0 x

Segi
Ebase User
Posts: 649
Joined: Mon Dec 09, 2013 6:37 pm

#7

Postby Segi » Fri Sep 02, 2016 8:12 am

I did that in both the webapps folder and the xml both in lowercase but then the URL has to be on the form /root/some forms.eb. I'm almost positive that the folder name in webapps has to be ROOT as required by Tomcat
0 x


Who is online

Users browsing this forum: No registered users and 21 guests