Admin page not accessible from remote pc

Questions and answers for all installation-related topics for Servoy products

Admin page not accessible from remote pc

Postby jdbruijn » Fri Mar 01, 2013 10:32 am

I've got a strange problem. Because of a hardware crash I've moved 2 servoy applications to a new laptop (win7). I used the install_service.bat to install the windows service for both instances. The first instance (running on port 8080) is running without problems and I can access it from another laptop.
The second instance (running on port 83) is behaving strangely. When I start the servoy server as a windows service, I cannot access the admin page from a remote laptop (using http://lt07:83/servoy-admin), but http://lt07:83/ does give me the client page. However when I start the servoy server using the servoy_server.bat file I can connect to the admin page from a remote laptop.
Any idea what can cause this problem?

Note: first instance is Servoy 6.0.9, second instance is 6.1.4rc1.
Jos de Bruijn
Focus Feedback BV
Servoy Certified Developer
Image
jdbruijn
 
Posts: 492
Joined: Sun Apr 11, 2010 6:34 pm

Re: Admin page not accessible from remote pc

Postby ngervasi » Fri Mar 01, 2013 1:54 pm

Weird, can you try to use port 8081 instead of 83?
Nicola Gervasi
sintpro.com
SAN Partner
ngervasi
 
Posts: 1485
Joined: Tue Dec 21, 2004 12:47 pm
Location: Arezzo, Italy

Re: Admin page not accessible from remote pc

Postby jdbruijn » Fri Mar 01, 2013 5:03 pm

I've tried changing the server port, but without success: when running as a service I cannot access the admin page remotely and running the batch file I can access the admin page remotely.
Jos de Bruijn
Focus Feedback BV
Servoy Certified Developer
Image
jdbruijn
 
Posts: 492
Joined: Sun Apr 11, 2010 6:34 pm

Re: Admin page not accessible from remote pc

Postby ngervasi » Fri Mar 01, 2013 5:11 pm

Ok, check the server.log (application_folder) and the service log, there must be something there.
Nicola Gervasi
sintpro.com
SAN Partner
ngervasi
 
Posts: 1485
Joined: Tue Dec 21, 2004 12:47 pm
Location: Arezzo, Italy

Re: Admin page not accessible from remote pc

Postby jdbruijn » Fri Mar 01, 2013 5:19 pm

I've included the logfiles
Attachments
servoy_log.txt
(52 KiB) Downloaded 303 times
.service_log.txt
(13.61 KiB) Downloaded 307 times
Jos de Bruijn
Focus Feedback BV
Servoy Certified Developer
Image
jdbruijn
 
Posts: 492
Joined: Sun Apr 11, 2010 6:34 pm

Re: Admin page not accessible from remote pc

Postby ngervasi » Fri Mar 01, 2013 5:35 pm

This looks like a problem:
Code: Select all
STATUS | wrapper  | 2013/03/01 16:00:09 | --> Wrapper Started as Service
STATUS | wrapper  | 2013/03/01 16:00:09 | Java Service Wrapper Standard Edition 32-bit 3.3.5
STATUS | wrapper  | 2013/03/01 16:00:09 |   Copyright (C) 1999-2009 Tanuki Software, Ltd.  All Rights Reserved.
STATUS | wrapper  | 2013/03/01 16:00:09 |     http://wrapper.tanukisoftware.org
STATUS | wrapper  | 2013/03/01 16:00:09 |   Licensed to Servoy for ServoyApplicationServer
STATUS | wrapper  | 2013/03/01 16:00:09 |
STATUS | wrapper  | 2013/03/01 16:00:10 | Launching a JVM...
INFO   | jvm 1    | 2013/03/01 16:00:10 | Error occurred during initialization of VM
INFO   | jvm 1    | 2013/03/01 16:00:10 | Could not reserve enough space for object heap
INFO   | jvm 1    | 2013/03/01 16:00:10 | Error: Could not create the Java Virtual Machine.
INFO   | jvm 1    | 2013/03/01 16:00:10 | Error: A fatal exception has occurred. Program will exit.
ERROR  | wrapper  | 2013/03/01 16:00:10 | JVM exited while loading the application.
STATUS | wrapper  | 2013/03/01 16:00:14 | Launching a JVM...
INFO   | jvm 2    | 2013/03/01 16:00:16 | WrapperManager: Initializing...


How much memory do you have? How much memory dedicated to servoy server? Can you try to stop the other servoy instance to see if this starts working correctly?
Nicola Gervasi
sintpro.com
SAN Partner
ngervasi
 
Posts: 1485
Joined: Tue Dec 21, 2004 12:47 pm
Location: Arezzo, Italy

Re: Admin page not accessible from remote pc

Postby jdbruijn » Tue Mar 05, 2013 2:27 pm

The laptop has 6GB memory, so that should not be an issue.

I've tried disabling the first instance, but with no success.
I think there is a strange issue with the firewall on that laptop, because now I also cannot access the postgress db anymore with pgadmin, that did work correctly.
Jos de Bruijn
Focus Feedback BV
Servoy Certified Developer
Image
jdbruijn
 
Posts: 492
Joined: Sun Apr 11, 2010 6:34 pm

Re: Admin page not accessible from remote pc

Postby ngervasi » Tue Mar 05, 2013 4:18 pm

jdbruijn wrote:The laptop has 6GB memory, so that should not be an issue.


Is it a 32bit system? Looks like you assigned too much memory to the Java process. Check the service configuration file, remember thatJava 32bit can handle 2GB max so you shouldn't assign more than 1.3-1.4GB (more or less).
Nicola Gervasi
sintpro.com
SAN Partner
ngervasi
 
Posts: 1485
Joined: Tue Dec 21, 2004 12:47 pm
Location: Arezzo, Italy


Return to Installation

Who is online

Users browsing this forum: No registered users and 4 guests

cron