Upgrade broke dev environment

Questions and Answers on installation, deployment, management, locking, tranasactions of Servoy Application Server

Upgrade broke dev environment

Postby ryan.m.beasley » Fri Feb 14, 2020 12:21 am

Hello,
I recently upgraded from servoy 8 to servoy 2019 on my dev environment (our company is pushing out java 8.241 updates which doesn't work with earlier versions of servoy). I did this and now I can no longer access the application server website from a location that isn't the actual server. When attempting to access the web page within the server it works fine, but every time I try to hit it from my laptop I get an ERR_CONNECTION_REFUSED error.

I have no idea why this is, I'm receiving no errors in my logs as the service is running just fine and works within the actual server, just nowhere else. The only thing I did was put the new updated files from the 2019 version in the application server I'm hosting on my server.

This is kind of urgent, I'm trying to get this ready for testing next week.

Thanks,
Ryan Beasley
ryan.m.beasley
 
Posts: 61
Joined: Wed Oct 10, 2018 8:51 pm

Re: Upgrade broke dev environment

Postby sean » Fri Feb 14, 2020 10:04 pm

Hi Ryan, is this .war deployment or classic Servoy Server (bundled tomcat) ?

You have no logs? including tomcat logs ?

The only thing I did was put the new updated files from the 2019 version in the application server I'm hosting on my server.


What does this mean? Which files copied from where to where ?
Software Engineer
Servoy USA
sean
 
Posts: 370
Joined: Mon May 21, 2007 6:26 pm
Location: USA

Re: Upgrade broke dev environment

Postby ryan.m.beasley » Mon Feb 17, 2020 4:11 am

There are no logs I could find, everything is running fine on the server. It's accessing the web site that I'm hosting.

So when I'm in the actual server and I go to the browser within the server I can access the landing page and the servoy admin page just fine. If I try and hit the actual site from a different computer, like my laptop, it doesn't load. The service is running and working, i'm just unable to access it from anywhere but within the server. I'll post my .servoy file since I'm thinking it might be some config setting that got messed up, but as for logs, there aren't any logs that show any errors since the application is working. I'm also checking locally with server admins in my company to see if it's a server issue; however, since it happened after I upgraded to the newest version of servoy I'm thinking there's some configuration setting that's causing the issue. This isn't a war deployment, this is the application server section from the latest download on your website. Is there an all-in-one installer that you have for this version because I couldn't use it and I was forced to just copy the whole zip file onto my server?

#servoy
#Sun Dec 08 05:21:29 EST 2019
ApplicationServer.pingDelay=300
ServerManager.numberOfServers=4
SocketFactory.compress=true
SocketFactory.rmiServerFactory=com.servoy.j2db.server.rmi.tunnel.ServerTunnelRMISocketFactoryFactory
SocketFactory.tcpNoDelay=true
SocketFactory.tunnelConnectionMode=http&socket
SocketFactory.tunnelUseSSLForHttp=false
SocketFactory.useSSL=true
directory.jasper.report=C\:\\Servoy\\application_server\\reports
java.rmi.server.hostname=<host ip>
mail.from=<email address>
mail.smtp.host=<host address>
mail.smtp.port=25
pdf_forms_plugin_servername=pdf_forms
pushLnfToMac=false
rmi.connection.timeout=120
server.0.URL=<db server url>
server.0.catalog=<none>
server.0.connectionValidationType=0
server.0.driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
server.0.enabled=true
server.0.maxConnectionsActive=30
server.0.maxConnectionsIdle=10
server.0.maxPreparedStatementsIdle=100
server.0.password=<password encrypted>
server.0.prefixTables=false
server.0.queryProcedures=false
server.0.schema=<none>
server.0.serverName=repository_server
server.0.skipSysTables=false
server.0.userName=<username>
servoy.FileServerService.defaultFolder=C\:\\Windows\\System32\\config\\systemprofile\\.servoy\\uploads\\b21e0b86-cca3-445a-856e-9f99c85581d2
servoy.admin_email_address=<email address>
servoy.allowExistingClientActivate=true
servoy.allowSolutionBrowsing=true
servoy.application_server.allowClientRepositoryAccess=false
servoy.application_server.maintenance_mode=false
servoy.application_server.startRepositoryAsTeamProvider=false
servoy.branding=true
servoy.branding.hideframewhileloading=false
servoy.branding.loadingimage=/lib/images/spc_logo.png
servoy.branding.webstart.loadinglogo=/lib/images/gear_64x64.png
servoy.branding.webstart.shortcuttitle=AppName
servoy.branding.webstart.shortcuttooltip=AppName
servoy.branding.webstart.splash=lib/splash.png
servoy.branding.webstart.vendor=Some Corporation
servoy.branding.windowicon=/lib/images/gear_64x64.png
servoy.branding.windowtitle=SPCentral
servoy.client.javafx=false
servoy.client.report.max.valuelist.items=true
servoy.clientDesktopShortcutCreation=true
servoy.clientJarLoadOption=eager
servoy.clientTrustDataAsHtml=false
servoy.disableDataChangeNotify=false
servoy.disableServersidePack=false
servoy.fastClientStartup=true
servoy.import.activatesolution=true
servoy.import.addtoadministratorsgroup=false
servoy.import.allowdatachanges=true
servoy.import.allowsqlkeywords=true
servoy.import.compactsolution=false
servoy.import.displaydatamodelchanges=false
servoy.import.importi18ndata=false
servoy.import.importmetadata=true
servoy.import.importsolutiondata=false
servoy.import.importusers=0
servoy.import.insertnewi18n=false
servoy.import.maintanencemode=true
servoy.import.overridedefaultvalues=false
servoy.import.overrideesequencetypes=false
servoy.import.overwritesecurity=true
servoy.import.overwritestyles=true
servoy.import.skipdatabaseviews=false
servoy.import.updatesequences=false
servoy.import.usefileimportsettings=false
servoy.log.clientstats=true
servoy.ngclient.enableWebResourceOptimizer=true
servoy.ngclient.testingMode=false
servoy.ngclient.useHttpSession=false
servoy.objectPoolSize=50000
servoy.record.lock.lockInDB=false
servoy.rmiStartPort=####
servoy.server.start.rmi=true
servoy.smartclient.allowLAFWindowDecoration=false
servoy.smartclient.max_java_version=Java8
servoy.smartclient.min_java_version=Java8
servoy.smartclient.showMenuBar=true
servoy.smartclient.showStatusBar=true
servoy.smartclient.showToolBar=true
servoy.smartclient.usepack200=true
servoy.use.client.timezone=true
servoy.vmClientArgs=-XX\:SoftRefLRUPolicyMSPerMB\=3600000
servoy.webclient.basic.authentication=false
servoy.webclient.blockinputonrequest=false
servoy.webclient.debug.wicketpath=false
servoy.webclient.enableAnchors=true
servoy.webclient.enforceSecureCookies=false
servoy.webclient.hideloadingindicator=false
servoy.webclient.nice.urls=false
servoy.webclient.pushClassToHTMLElement=false
servoy.webclient.useAjax=true
useSystemPrintDialog=false
usedRMIRegistryPort=####
waitForNativeStartup=false
ryan.m.beasley
 
Posts: 61
Joined: Wed Oct 10, 2018 8:51 pm

Re: Upgrade broke dev environment

Postby sean » Tue Feb 18, 2020 5:45 pm

Doesn't seem like the request is making it to your web application at all. This could be do to some external netwroking, i.e. firewall/reverse proxie, etc
You could confirm by looking at your tomcat HTTP logs to see if it even registers your external request. If not, then you should perhaps chase your IT folks. Because it may be outside your individual server setup. Otherwise, you may see something on your catalina log file indicating what happened to the request.
Software Engineer
Servoy USA
sean
 
Posts: 370
Joined: Mon May 21, 2007 6:26 pm
Location: USA

Re: Upgrade broke dev environment

Postby ryan.m.beasley » Tue Feb 18, 2020 10:10 pm

So the default port right now is 8080. The port we used to serve the application server was port 80. Is there a way to change it back to port 80 within the settings?
ryan.m.beasley
 
Posts: 61
Joined: Wed Oct 10, 2018 8:51 pm

Re: Upgrade broke dev environment

Postby sean » Tue Feb 18, 2020 11:38 pm

Hi Ryan,

From the instructions on our wiki docs

The HTTP port, used to expose many of the services of the Servoy Application Server can be configured by editing the server.xml file located in ../application_server/server/conf. This file contains the following entry by default:

Code: Select all
<Connector
   port="8080"
   protocol="HTTP/1.1"
   maxThreads="500"
   connectionTimeout="60000"
   redirectPort="8443"
   useBodyEncodingForURI="true"
/>


By altering the value of the 'port' attribute, for example to 9090 or 80, the port on which the services of the Servoy Application Server are exposed can be changed. In order for the changes to go into effect a restart of the Application Server is required.

NOTE: that on some operating systems, like Linux of FreeBSD, binding a process to a port number lower than 1024 (for example the default HTTP port 80) required the process to run as root or under administrator privileges.
Software Engineer
Servoy USA
sean
 
Posts: 370
Joined: Mon May 21, 2007 6:26 pm
Location: USA

Re: Upgrade broke dev environment

Postby ryan.m.beasley » Wed Feb 19, 2020 7:35 pm

Thanks!
ryan.m.beasley
 
Posts: 61
Joined: Wed Oct 10, 2018 8:51 pm


Return to Servoy Server

Who is online

Users browsing this forum: No registered users and 6 guests