" /> Having 2 GAD in one Tomcat - Genesys CTI User Forum

Author Topic: Having 2 GAD in one Tomcat  (Read 3201 times)

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Having 2 GAD in one Tomcat
« on: June 21, 2010, 09:47:58 PM »
Advertisement
Hi guys,
I'm trying to have 2 GADs with 1 Tomcat. I can make one work but the second one fails, both are pointing to different applications on CME...I get this message:

[quote]
21 06 16:04:30:713 [              Inner*] INFO  Ail.Log.LogComponent  Startup file appender created at Ail.20100621_160430_713.log
21 06 16:04:31:416 [      Init Ail Logic] WARN              GD.Init  AIL is not initialized: Already Running
21 06 16:04:31:416 [      Init Ail Logic] INFO                  LCA  LCA change statusINITIALIZING to UNAVAILABLE
[/quote]

What can I do???

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: Having 2 GAD in one Tomcat
« Reply #1 on: June 22, 2010, 03:33:21 AM »
Completing the info...why do I want this? Well because I'm doing a multitenant environment and GAD supports only 1 tenant...damn.

Offline Timur Karimov

  • Sr. Member
  • ****
  • Posts: 415
  • Karma: 2
Re: Having 2 GAD in one Tomcat
« Reply #2 on: June 22, 2010, 05:41:40 AM »
Hi there cav!
Do not start to complicate your life! Forget about this. Just set up 2 GAD with their one tomcat in different folder. don't forget about change port options for tomcat, gad applications and apache/iis redirector. And start it as complete independent services. it works =)

WBR Thaler



RoboH

  • Guest
Re: Having 2 GAD in one Tomcat
« Reply #3 on: June 24, 2010, 07:08:20 AM »
Hi Cav

Can you really have two Gdesktops running at one Apache/Tomcat Server?
As far as I know the CME object points just to an web Server installation directory and SCI monitors whether the web Server is running.

You Can install two GDesktops to one web server. Take the gdesktop.war file rename it to an gdesktop1.war. Then start tomcat. Tomcat will deploy an web application to separate directory.

Both Gdesktop Application will be up and running as separate webapps.
But how you will manage their connections and options? As I wrote before the CME point to an Apache/Tomcat instalation dir and SCI monitors if this application is running.

The best way from my point of view is to install two separate web servers that will be configured as two separate CME applications. Each web server will have it's own GDesktop.

This way you can monitor/start/stop them separately from SCI, I think.

Regards
Robo

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: Having 2 GAD in one Tomcat
« Reply #4 on: June 24, 2010, 03:46:36 PM »
[quote author=Timur Karimov link=topic=5652.msg24709#msg24709 date=1277185300]
Hi there cav!
Do not start to complicate your life! Forget about this. Just set up 2 GAD with their one tomcat in different folder. don't forget about change port options for tomcat, gad applications and apache/iis redirector. And start it as complete independent services. it works =)

WBR Thaler
[/quote]

This worked fine! I was trying to do the hardest way when it was easy stuff...
Thanks!

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: Having 2 GAD in one Tomcat
« Reply #5 on: June 24, 2010, 03:47:37 PM »
[quote author=RoboH link=topic=5652.msg24722#msg24722 date=1277363300]
Hi Cav

Can you really have two Gdesktops running at one Apache/Tomcat Server?
As far as I know the CME object points just to an web Server installation directory and SCI monitors whether the web Server is running.

You Can install two GDesktops to one web server. Take the gdesktop.war file rename it to an gdesktop1.war. Then start tomcat. Tomcat will deploy an web application to separate directory.

Both Gdesktop Application will be up and running as separate webapps.
But how you will manage their connections and options? As I wrote before the CME point to an Apache/Tomcat instalation dir and SCI monitors if this application is running.

The best way from my point of view is to install two separate web servers that will be configured as two separate CME applications. Each web server will have it's own GDesktop.

This way you can monitor/start/stop them separately from SCI, I think.

Regards
Robo
[/quote]

Well if tomcat is up then both GADs should be up, if Tomcat is down both will be down, there is no way that one webapp works and the other doesn't...