Genesys CTI User Forum
Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: vma on February 17, 2010, 04:16:12 PM
-
Hello,
I'm new in this business so pls bare with me if I put stupid questions sometime :) thank you!
So I am trying to install the e-mail solution but Interaction Server is not connecting to my stat server and the reason that I see in logs is "Java Host Environment is not initialized". Here is the complete log.
[quote]16:56:25.656 Trc 04112 The Log Output of type 'd:\GENESYS\Logs\StatServerRT' has been created and opened
2010-02-17 16:56:26> Client: Client 288 Connected from '172.26.116.150'(port 3620)
16:56:26.546 Trc 04521 New client 288 connected from '172.26.116.150'
2010-02-17 16:56:26> Client: Creating Client 288
16:56:26.656 Trc 04541 Message RegisterClient received from 288 ( 'MM_COLT_IxnSrv')
2010-02-17 16:56:26> Client: Message from MM_COLT_IxnSrv(288) received
2010-02-17 16:56:26> Client: Message 'RegisterClient'
'PROTOCOL' 'StatExchangeProtocol 2.0.4'
'LIB_INTERNAL_VERSION' 8
'CLIENT_NAME' 'MM_COLT_IxnSrv'
16:56:26.656 Trc 04522 Client 288 authorized, name 'MM_COLT_IxnSrv', type 'Unknown'
2010-02-17 16:56:26> Client: Sending message to MM_COLT_IxnSrv(288)
2010-02-17 16:56:26> Client: Message 'ClientRegistered'
'STRING_VALUE' '7.6.100.12'
'LONG_VALUE' 61
'TM_LENGTH' 1266422186
'TM_SERVER' 1266422186
'USER_REQ_ID' 0
'REQ_ID' 0
16:56:26.656 Trc 04541 Message OpenDataStream received from 288 ( 'MM_COLT_IxnSrv')
2010-02-17 16:56:26> Client: Message from MM_COLT_IxnSrv(288) received
2010-02-17 16:56:26> Client: Message 'OpenDataStream'
'REQ_ID' 1
'USER_REQ_ID' 0
'PROTOCOL_NAME' 'Data Stream Wraper protocol'
'PROTOCOL_DATASOURCE_TYPE' 'Interaction Server 7.6'
'PROTOCOL_VERSION_MAJOR' 1
'PROTOCOL_VERSION_MINOR' 0
'DATASTREAM_TYPE' 1
'DATASTREAM_DATASOURCE_NAME' 'MM_COLT_IxnSrv'
'DATASTREAM_DATACONSUMER_URL' 'eServiceInteractionStat.jar'
2010-02-17 16:56:26> Client: Sending message to MM_COLT_IxnSrv(288)
2010-02-17 16:56:26> Client: Message 'DataStreamOpeningFailure'
'STRING_VALUE' 'Java Host Environment is not initialized'
'LONG_VALUE' 13
'TM_LENGTH' 0
'TM_SERVER' 1266422186
'USER_REQ_ID' 0
'REQ_ID' 1
2010-02-17 16:56:26> Client: Client 288 Disconnected
16:56:26.656 Trc 04524 Client 'MM_COLT_IxnSrv' disconnected
2010-02-17 16:56:26> Client: Removing Client MM_COLT_IxnSrv[/quote]
Can anyone give me a hint pls?
Thank you!
-
Just a guess, have you configured the Stat Server Java sections? Has Java been properly initialised by the Stat Server (check the start up log file)?
Fra
-
Vma
seams like the problem with JRE on host mashine. Check next sequense
1.Did you already install JRE and enable it on Stat Server (I assume that you already have Java Extensions installed)?
2. in [statserver] section set enable-java=true ?
2. in [java-config] section 'jvm-path' should point to correct DLL.
on Windows:
jvm-path=C:\JAVA142\jre\bin\server\jvm.dll
(for Solaris it's libjava.so or libjvm.so)
Correct missing options and then restart StatServer and Interaction Server.
Hope it helpfull
WBR Thaler
-
Thank you for your replays. I did all these in the statserver. Even imported settings from a server that is working but I still get [i]Java Host Environment is not initialized[/i]. I don't get it.
Looking in my add/remove programs I see installed:
- Java DB 10.3.1.4
- Java(TM) 6 Update 4
- Java(TM) SE Development Kit 6 Update 4
My path in jvm-path is correct [i]D:\Java\jdk1.6.0_04\jre\bin\server\jvm.dll[/i].
Is anything I'm missing? Do you need me to post here any of the log or configuration files?
Thank you very much for your help!
Mihai
L.E.
I found this in the statserver logs:
[quote]
09:54:36.156 Std 10008 Loaded Java Virtual Machine from 'D:\Java\jdk1.6.0_04\jre\bin\server\jvm.dll'
2010-02-18 09:54:36> Java: Initialized class-loader from './java/ssjcldr.class', version "1.3"
2010-02-18 09:54:36> Java:
Manifest of [./java/statserver.jar]
{
Implementation-Vendor: "Genesys Telecommunications Laboratories, Inc."
Implementation-Title: "com.genesys.statserver"
Implementation-Version: "1.0"
Specification-Vendor: "Genesys Telecommunications Laboratories, Inc."
Class-Path: kv65_adapter.jar kvlists.jar
Manifest-Version: 1.0
Created-By: 1.5.0_05 (Sun Microsystems Inc.)
Specification-Title: "StatServer Java SDK Classes"
Specification-Version: "1.11"
}
2010-02-18 09:54:36> Java:
Manifest of [./java/statserver_impl.jar]
{
Implementation-Vendor: "Genesys Telecommunications Laboratories, Inc."
Implementation-Title: "com.genesys.statserver_impl"
Implementation-Version: "1.0"
Specification-Vendor: "Genesys Telecommunications Laboratories, Inc."
Class-Path: kv65_adapter.jar kvlists.jar statserver.jar
Manifest-Version: 1.0
Created-By: 1.5.0_05 (Sun Microsystems Inc.)
Specification-Title: "StatServer internal Java Host Environment classes"
Specification-Version: "1.11"
}
2010-02-18 09:54:36> Java: Error: root classloader could not load StatServer Java Classes.
09:54:36.203 Std 10012 Failed to initialize Java host environment
2010-02-18 09:54:36> Init: Error: Java host environment initialization failed
[/quote]
Starting from here nothing works anymore.
-
Stat Server start up log file.
-
I think the problem is in the JVM version. try to JDK 1.4 or 1.5
-
Hi ,
Yes, Timur is right. Stat server does not support jdk 1.6. Downgrade to 1.5.
e.
-
Thank you very much.
Problem solved. After installing jre 1.5 everything works well.