Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: paulbudd on August 11, 2009, 08:20:45 AM

Title: GIS will not start ..new deployment
Post by: paulbudd on August 11, 2009, 08:20:45 AM
I have deployed GIS 7.1 but it will not start, it just goes pending in SCI. I installed .NET 2, Java 1.4.19, and Tomcat 4, as per the deployment guide. It appears that it cannot initialise properly as it doesn't even get far enough to generate a log. Checking the directory tree defined in the deployment guide I have noticed is there is no gis.war file, is this the issue ? 
Title: Re: GIS will not start ..new deployment
Post by: René on August 11, 2009, 10:24:41 AM
Hi Paul,

It would be difficult to find out what is wrong without logs... Try to start GIS from command line and you should see what's happening and probably where the issue is.

R.
Title: Re: GIS will not start ..new deployment
Post by: paulbudd on August 11, 2009, 04:31:14 PM
managed to get the start up text from the command window..anybody seen this error before..

11-Aug-2009 17:12:46 org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /gis from URL file:C:\GCTI\GIS_71\webapps\gis
08/11/09 17:12:47.922  Standard  GIS  Std 04503 Connected to ConfigServer 'confserv' at host 'w2k3server', port 2020
17:12:47.932 Std 04503 Connected to ConfigServer 'confserv' at host 'w2k3server', port 2020
08/11/09 17:12:47.962  Standard  GIS  Configuration to XML exception
08/11/09 17:12:47.962  Standard  GIS  Can't read GIS_71 server configuration on ConfigServer!

Title: Re: GIS will not start ..new deployment
Post by: paulbudd on August 11, 2009, 05:16:53 PM
getting a bit further..GIS now starts but then stops.  seeing this java error in cmd window
does anyone know if this is a fatal error or should I be looking at something else

StandardServer.await: create[8005]: java.net.BindException: Address already in use: JVM_Bind
java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:331)
at java.net.ServerSocket.bind(ServerSocket.java:318)
at java.net.ServerSocket.<init>(ServerSocket.java:185)
at org.apache.catalina.core.StandardServer.await(StandardServer.java:496)
at org.apache.catalina.startup.Catalina.await(Catalina.java:619)
at org.apache.catalina.startup.Catalina.start(Catalina.java:579)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.genesyslab.gis.framework.GISBootStrap.go(GISBootStrap.java:273)
at com.genesyslab.gis.framework.GISBootStrap.process(GISBootStrap.java:72)
at com.genesyslab.gis.framework.GISBootStrap.main(GISBootStrap.java:292)
08/11/09 17:45:40.439  Standard  GIS  LicenseControl::ReleaseAll

Title: Re: GIS will not start ..new deployment
Post by: cavagnaro on August 11, 2009, 05:45:45 PM
seems like something else is running on that port, try doing a netstat to find it out.
Title: Re: GIS will not start ..new deployment
Post by: catanirex on August 12, 2009, 06:03:40 AM
GIS comes it with it's own bundled Tomcat or the possibility to deploy it within an existing Tomcat. So if you have installed GIS "standalone" and also have installed Tomcat - then the two Tomcats probably tries to use the same ports?
Title: Re: GIS will not start ..new deployment
Post by: paulbudd on August 12, 2009, 03:40:47 PM
Thanks catanirex, I didn't realise Tomcat was bundled with GIS, I installed java, .net and Tomcat before I installed the GIS. It's all working now I have changed the connector port and the shutdown port.  So I only needed to install .net and java before installing GIS if I read you correctly.

Thanks Paul
Title: Re: GIS will not start ..new deployment
Post by: René on August 12, 2009, 04:02:18 PM
Paulbudd,

.NET isn't required by GIS as it is pure Java application (Tomcat + set of Java Servlets).

R.
Title: Re: GIS will not start ..new deployment
Post by: paulbudd on August 17, 2009, 10:12:52 AM
thanks to all who replied to my post, GIS is now up and running ok. The only reason i installed Tomcat and .NET is because the deployment guide said they were pre requisites !! It certainly wasn't stated that Tomcat came bundled with the GIS application .

Why can't the deployment guide be as clear as you guys are  ;D

So I can access the GIS website which tells me all is running ok. but is there any test application that I can connect to the GIS to simulate a wallboard or retrieve stats to finally prove it's doing what I need ?
Title: Re: GIS will not start ..new deployment
Post by: René on August 17, 2009, 02:37:03 PM
[quote]So I can access the GIS website which tells me all is running ok. but is there any test application that I can connect to the GIS to simulate a wallboard or retrieve stats to finally prove it's doing what I need ?[/quote]

You can download the application "DotNetServicesStudio" from Genesys DevZone website that allows you to test GIS and test particular services provided by GIS. The other option is to download sample application named "Statistics App" from the same source. You would need Microsoft Visual Studio to compile this sample.

R.
Title: Re: GIS will not start ..new deployment
Post by: paulbudd on August 18, 2009, 04:33:44 PM
many thaks