Four Js Development Tools Forum

Discussions by product => GAS and GBC => Topic started by: Benjamin G. on August 25, 2014, 10:45:14 am



Title: webproxy logging ...
Post by: Benjamin G. on August 25, 2014, 10:45:14 am
Hi,

Anybody can help us about this messages in our Webproxy log file :

       "TextCodec" No handler for charset '646'

Thanks for your help
Benjamin


Title: Re: webproxy logging ...
Post by: . on August 25, 2014, 02:54:03 pm

Hi Benjamin,

Basically, this message means that the GAS didn't succeed to convert the page into the asked charset.
But to identify why you get this message, we would need more information on the context: GAS version, OS, application state when getting the message etc. Also, can you send the whole GAS logs corresponding to the message ?

Regards,
Guney



Title: Re: webproxy logging ...
Post by: Benjamin G. on August 25, 2014, 05:00:01 pm
Hi,

Here is the log ...

#Version: 1.0
#Date: 2014/08/25 14:43:28.888005
#Fields: time event-type event-params
#Ulimits:
#   core file size     : unlimited (unlimited)
#   data seg size      : unlimited (unlimited)
#   file size          : unlimited (unlimited)
#   open files         : 65536 (65536)
#   stack size         : 8388608 (unlimited)
#   cpu time           : unlimited (unlimited)
#   virtual memory     : unlimited (unlimited)
14:43:28.888063 "Info-Product" Component=html5proxy,Version=2.50.18,Build=134114,Target=__s640900
14:43:28.888092 "XML library initialization ............................................ " -
14:43:28.888352 "Application Server startup ............................................ " -
14:43:28.888464 "System Encoding" 646
14:43:28.888544 "File System initialization ............................................ " -
14:43:28.907699 "Configuration loading ................................................. " -
14:43:28.909266 "TextCodec" No handler for charset '646'
14:43:28.910689 "Start process" PID=24729 CommandLine=/bin/ksh /prov/users/ten/fd520020.sh
14:43:28.911673 "Process was started" PID=24729 CommandLine=/bin/ksh /prov/users/ten/fd520020.sh
14:43:29.033416 "TextCodec" No handler for charset '646'
14:43:29.421230 "Response Sent" Value=10.10.16.222 - - - "GET /wa/r/fd520020?ConnectorURI=/gas&Bootstrap=done 1.1" 200 13829 "http://btaw/gas/wa/r/fd520020" "Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_3 like Mac OS X; en-gb) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8F190 Safari/6533.18.5 Zetakey/3.2"
14:43:35.999232 "Response Sent" Value=10.10.16.222 - - - "POST /wa/sua/e7b158cac06d74bf88c11dbcbddc64bd/0/1?ConnectorURI=/gas& 1.1" 200 199 "http://btaw/gas/wa/r/fd520020" "Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_3 like Mac OS X; en-gb) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8F190 Safari/6533.18.5 Zetakey/3.2"
14:48:06.683265 "Response Sent" Value=10.10.16.222 - - - "POST /wa/ka/e7b158cac06d74bf88c11dbcbddc64bd/0?ConnectorURI=/gas& 1.1" 204 0 "http://btaw/gas/wa/r/fd520020" "Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_3 like Mac OS X; en-gb) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8F190 Safari/6533.18.5 Zetakey/3.2"
14:53:06.683526 "TLV" Received STOP event
14:53:06.972936 "STOP" Waiting 2 tasks to finish
14:53:07.973016 "STOP" Waiting 1 tasks to finish
14:53:08.973076 "STOP" Waiting 1 tasks to finish
14:53:09.973138 "STOP" Waiting 1 tasks to finish
14:53:10.973198 "STOP" Waiting 1 tasks to finish
14:53:11.973259 "STOP" Waiting 1 tasks to finish
14:53:12.973318 "STOP" Exiting - 1 tasks not ending after 5 seconds


Title: Re: webproxy logging ...
Post by: . on August 27, 2014, 11:28:51 am
Hi Benjamin,

Can you give the output of your locale before you start the GAS dispatcher ? (just execute the command 'locale')
Also, can you set LC_ALL="en_US.ISO8859-1" and LANG="en_US.ISO8859-1"?
Does it help ?

Regards,
Guney


Title: Re: webproxy logging ...
Post by: Benjamin G. on August 27, 2014, 04:05:03 pm
Hi,

system locale are :

# locale
LANG=
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_ALL=

but when we start an application the shell script initialize LANG to "fr_BE.ISO8859-15" (see sample below)

cd /prov/fourjs/ten/PROD/fd520020/bin
FADISLOG=/prov/fourjs/ten/PROD/log/fadis.fd520020
export FADISLOG
FGLSQLDEBUG=0
export FGLSQLDEBUG
FGLWSDEBUG=0
export FGLWSDEBUG
GREDEBUG=0
export GREDEBUG
INFORMIXSERVER=prd
export INFORMIXSERVER
INFORMIXDIR=/opt/informix
export INFORMIXDIR
LD_LIBRARY_PATH=$INFORMIXDIR/lib:$INFORMIXDIR/lib/esql:$INFORMIXDIR/lib/tools:$INFORMIXDIR/lib/cli:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
export FGLDBPATH=/prov/fourjs/ten/PROD/lib:/prov/fourjs/ten:/prov/fourjs/ten/PROD/fd520020;
export FGLLDPATH=/prov/fourjs/ten/PROD/lib:/prov/fourjs/ten/PROD/fd520020/bin:/prov/fourjs/ten:/prov/fourjs/ten/PROD/fd520020;
export FGLRESOURCEPATH=/prov/fourjs/ten/PROD/lib:/prov/fourjs/ten:/prov/fourjs/ten/PROD/fd520020;
export FGLSOURCEPATH=/prov/fourjs/ten/PROD/lib:/prov/fourjs/ten:/prov/fourjs/ten/PROD/fd520020;
LANG=fr_BE.ISO8859-15
export LANG

#fglrun -p -M fd520020.42r
fglrun fd520020.42r

Regards



Title: Re: webproxy logging ...
Post by: . on September 02, 2014, 03:35:39 pm

Hi Benjamin,

We can see that command "locale" gives NULL values for LANG and LC_ALL, which can explain the issue as I supposed it.
You initialize the variables with your script but it seems that it is done after the GAS dispatcher has been started. So can you set LANG (and also LC_ALL) before starting the dispatcher ?

Does it help ?

Regards,
Guney
 


Title: Re: webproxy logging ...
Post by: Benjamin G. on September 02, 2014, 04:14:09 pm
Hi,

I've export LANG and LC_ALL in  "$FGLASDIR"/envas script and all seems ok.

Thanks for your help