Aware IM User Forums Forum Index Aware IM User Forums
Discussions, questions, ideas, opinions about Aware IM
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Setting up remote Configuration Tool setup with Ubuntu 7.04

 
Post new topic   Reply to topic    Aware IM User Forums Forum Index -> General discussion and questions about Aware IM
View previous topic :: View next topic  
Author Message
woof65



Joined: 05 Aug 2007
Posts: 16
Location: Louisville, KY

PostPosted: Sun Aug 05, 2007 4:43 pm    Post subject: Setting up remote Configuration Tool setup with Ubuntu 7.04 Reply with quote

I'm trying out AwareIM right now. I am attempting to set up a PC running Ubuntu 7.04 (Feisty Fawn) as my server, but I want to have the Configuration Tool run on OS X and XP machines. (I am reading sections 6.1 and 6.2 of the Installation Guide.) I have been going through the instructions and have ran into some snags, mainly based on my comparative lack of knowledge about Ubuntu and AwareIM.

- Instruction 1b in sec 6.1 implies that what I am attempting is not possible with the built-in Cloudscape/Derby database. Is this correct?

- The instruction 2 in sec 6.2 ask me to change all references to "localhost" in the BASSserver.props file to the Ubuntu computer's network name. Where can I find that name?

Also, instructions 3 and 4 in sec. 6.2 mention how to set up the Configuration Tool on XP and Linux. How do I set it up on a Mac so that I can remotely configure AwareIM serving from Ubuntu?

Thanks for your help.
Back to top
View user's profile Send private message Visit poster's website
aware_support



Joined: 24 Apr 2005
Posts: 4671

PostPosted: Sun Aug 05, 2007 11:51 pm    Post subject: Reply with quote

- Instruction 1b in sec 6.1 implies that what I am attempting is not possible with the built-in Cloudscape/Derby database. Is this correct?

No it is not correct. It is quite possible to do what you want with Derby database.

- The instruction 2 in sec 6.2 ask me to change all references to "localhost" in the BASSserver.props file to the Ubuntu computer's network name. Where can I find that name?

Not sure. You need to check the operating system manual on how to find this under Ubuntu. You may possibly find it in the etc/host file

Also, instructions 3 and 4 in sec. 6.2 mention how to set up the Configuration Tool on XP and Linux. How do I set it up on a Mac so that I can remotely configure AwareIM serving from Ubuntu?

You need to do the following:
1. Install complete versions of Aware IM on both Linux machine and Mac OS
2. Change all references to localhost to the network name of your Linux machine
3. Edit the following files on Mac OS X machine:
a) UIConfig.props file located in AwareIM.app/Contents/Resources/java/bin directory to replace the HostServer property from localhost to the network name of your Linux machine
b) webapp.props file located in AwareIM.app/Contents/Resources/java/Tomcat/webapps/AwareIM directory to replace the ServerName property from localhost to the server name of your Linux machine

That's it - you will then be able to run both the Configuration Tool and the browser from Mac machine.
_________________
Aware IM Support Team
Back to top
View user's profile Send private message Send e-mail Visit poster's website
woof65



Joined: 05 Aug 2007
Posts: 16
Location: Louisville, KY

PostPosted: Sun Aug 12, 2007 6:15 pm    Post subject: Still need some help Reply with quote

I got tired of Ubuntu's seeming inability to put itself on the network no matter whose instructions for setting up samba I followed. I have reverted back to a Win2003 Server setup. (Maybe I'll come back one day when Ubuntu decides to use a GUI for setting up network file sharing like the big boys do.)

I have AwareIM fully installed on both a Mac OS X Tiger machine and the Win2k3 PC. The Win2k3 machines local IP number is 192.168.254.119, and its name under SMB on the network is Webserver01. Using this information, can you tell me everything I need to do to get the OS X machine be the client of the Win2k3 computer, and have the Mac be the the one running Configuration Tool. Assume complete ignorance on my part; I'm not proud. And feel free to use examples.
Back to top
View user's profile Send private message Visit poster's website
woof65



Joined: 05 Aug 2007
Posts: 16
Location: Louisville, KY

PostPosted: Sun Aug 12, 2007 7:04 pm    Post subject: Some other stuff Reply with quote

I also read an instruction on the installation manual that says to "make sure that the file etc/hosts has the following entries:

Code:
127.0.0.1 localhost.localdomain local host
x.x.x.x serverName


where x.x.x.x is the IP address of the server where IM is running and serverName is the network name of the server.

Here is my etc/hosts file as it is now. It would seem that Apple doens't want people messing with it. How should it look after I am through with it?

##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
Back to top
View user's profile Send private message Visit poster's website
aware_support



Joined: 24 Apr 2005
Posts: 4671

PostPosted: Sun Aug 12, 2007 11:40 pm    Post subject: Reply with quote

Don't worry about etc/host file for the time being. Just follow my previous instructions, i.e.

1. Search for "localhost" in the BASServer.props file located in the BIN directory of your Aware IM installation on the Windows machine and replace "localhast" with Webserver01
2. Edit the following files on Mac OS X machine:
a) UIConfig.props file located in AwareIM.app/Contents/Resources/java/bin directory to replace the HostServer property from localhost to Webserver01
b) webapp.props file located in AwareIM.app/Contents/Resources/java/Tomcat/webapps/AwareIM directory to replace the ServerName property from localhost to Webserver01
3. Re-start Aware IM on the server
4. Start the Configuration Tool on the Mac OS-X machine by opening the Terminal window and entering the following commands:
cd /Applications/AwareIM.app/Contents/Resources/java/bin
bash ClientStarter.sh

This should start the Configuration Tool that will be talking to the Aware IM server on Windows machine. You can also start the Safari browser and
enter the following URL:
http://Webserver01:8080/AwareIM/logon.jsp

to start the Aware IM login page for the Operation mode.

That's it! It shouldn't be difficult at all.
_________________
Aware IM Support Team
Back to top
View user's profile Send private message Send e-mail Visit poster's website
woof65



Joined: 05 Aug 2007
Posts: 16
Location: Louisville, KY

PostPosted: Mon Aug 13, 2007 2:53 am    Post subject: Reply with quote

I did everything as you said and I got and error message saying that the "Host server name Webserver01 is invalid or not online." I tried capitalizing and uncapitalizing the W in the name in all the files, and got the same results.

I then went to the Win2K3 box and right-clicked My Computer. It gave me the name "webserver01." as the full computer name. Note the period. Should that matter?

Also, I noticed several of the files I edited mentioned port numbers. It is likely that some of these ports are blocked by the Mac's firewall, and by Win2K3. Should I open some ports? Which ones?

Sorry for all the bother.
Back to top
View user's profile Send private message Visit poster's website
aware_support



Joined: 24 Apr 2005
Posts: 4671

PostPosted: Mon Aug 13, 2007 6:10 am    Post subject: Reply with quote

Well, it looks like Webserver01 is not the right name. Can you try the following:

1) Replace Webserver01 in the BASServer.props file on the Windows machine back to localhost
2) Start Aware IM on the Windows machine
3) If it starts successfully open the browser on the Windows machine and enter the following URL:
http://Webserver01:8080/AwareIM/logon.jsp

Let me know what you see after you type in this URL

Don't worry about the ports for the time being
_________________
Aware IM Support Team
Back to top
View user's profile Send private message Send e-mail Visit poster's website
mraath



Joined: 10 Oct 2007
Posts: 41
Location: South Africa

PostPosted: Wed Oct 31, 2007 10:02 am    Post subject: Is remote confi possible? Reply with quote

Hi
I purchased the latest developer edition.
I was told by support that he "Lite Config tool" is not longer available, and that i would not be able to configure locally, and update the operation mode of a hosted win2003 server. Is this correct or can i develop locally on a mac and have the changes updated to a hosted win2003 server?

Thanks
Marcus
South Africa

aware_support wrote:
Don't worry about etc/host file for the time being. Just follow my previous instructions, i.e.

1. Search for "localhost" in the BASServer.props file located in the BIN directory of your Aware IM installation on the Windows machine and replace "localhast" with Webserver01
2. Edit the following files on Mac OS X machine:
a) UIConfig.props file located in AwareIM.app/Contents/Resources/java/bin directory to replace the HostServer property from localhost to Webserver01
b) webapp.props file located in AwareIM.app/Contents/Resources/java/Tomcat/webapps/AwareIM directory to replace the ServerName property from localhost to Webserver01
3. Re-start Aware IM on the server
4. Start the Configuration Tool on the Mac OS-X machine by opening the Terminal window and entering the following commands:
cd /Applications/AwareIM.app/Contents/Resources/java/bin
bash ClientStarter.sh

This should start the Configuration Tool that will be talking to the Aware IM server on Windows machine. You can also start the Safari browser and
enter the following URL:
http://Webserver01:8080/AwareIM/logon.jsp

to start the Aware IM login page for the Operation mode.

That's it! It shouldn't be difficult at all.

_________________
Best Regards
Marcus Raath
+27823009607
Back to top
View user's profile Send private message Send e-mail
aware_support



Joined: 24 Apr 2005
Posts: 4671

PostPosted: Wed Oct 31, 2007 11:42 am    Post subject: Reply with quote

When working with the Configuration Tool remotely there is one issue that you need to clearly understand:

When your server is running within the same LAN as your Configuration Tool (i.e. both the Configuration Tool and the server are behind the firewall) there are no problems. All the above discussion applies to this scenario.

If, however, you are trying to access the server hosted by a third party from the Configuration Tool via the Internet, you may not be able to access the server, as the server is probably behind the firewall and the Configuration Tool is outside).
_________________
Aware IM Support Team
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Sergej



Joined: 30 Aug 2011
Posts: 192
Location: Russian Federation

PostPosted: Tue Jan 10, 2012 10:22 am    Post subject: Reply with quote

Getting the same error while connecting with configtool
"Host server name server.elight.ru is invalid or not online."
2 days ago from same computer I connected without problem.

There were no any manual changes on remote serevr or local computer. On remote server IP of local comp is allowed in file hosts.allow.
What could be the reason?
_________________
AwareIM 5.1a build 1454, Debian 64bit , MySQL
Back to top
View user's profile Send private message
aware_support



Joined: 24 Apr 2005
Posts: 4671

PostPosted: Tue Jan 10, 2012 10:23 pm    Post subject: Reply with quote

The reason is exactly what it says in the error message - there MUST HAVE BEEN some changes with your server
_________________
Aware IM Support Team
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Aware IM User Forums Forum Index -> General discussion and questions about Aware IM All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group