[ 
https://issues.apache.org/jira/browse/GEODE-2874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16001129#comment-16001129
 ] 

Hitesh Khamesra commented on GEODE-2874:
----------------------------------------

Here is the list of files. I think log file was set to log-file="clientLog"


-bash-4.2$ ls
bin  client-01-01.log  client.log  clientLog  failedclientLog.txt  src

> StringIndexOutOfBoundsException while initializing logger
> ---------------------------------------------------------
>
>                 Key: GEODE-2874
>                 URL: https://issues.apache.org/jira/browse/GEODE-2874
>             Project: Geode
>          Issue Type: Bug
>          Components: management
>            Reporter: Hitesh Khamesra
>
> Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String 
> index out of range: -1
>       at java.lang.String.substring(String.java:1967)
>       at 
> org.apache.geode.internal.io.MainWithChildrenRollingFileHandler.calcNextChildId(MainWithChildrenRollingFileHandler.java:47)
>       at 
> org.apache.geode.internal.logging.ManagerLogWriter.getLogNameForOldMainLog(ManagerLogWriter.java:330)
>       at 
> org.apache.geode.internal.logging.log4j.LogWriterAppenders.createLogWriterAppender(LogWriterAppenders.java:144)
>       at 
> org.apache.geode.internal.logging.log4j.LogWriterAppenders.getOrCreateAppender(LogWriterAppenders.java:72)
>       at 
> org.apache.geode.internal.logging.log4j.LogWriterAppenders.getOrCreateAppender(LogWriterAppenders.java:88)
>       at 
> org.apache.geode.distributed.internal.InternalDistributedSystem.initialize(InternalDistributedSystem.java:591)
>       at 
> org.apache.geode.distributed.internal.InternalDistributedSystem.newInstance(InternalDistributedSystem.java:304)
>       at 
> org.apache.geode.distributed.DistributedSystem.connect(DistributedSystem.java:206)
>       at 
> org.apache.geode.cache.client.ClientCacheFactory.basicCreate(ClientCacheFactory.java:235)
>       at 
> org.apache.geode.cache.client.ClientCacheFactory.create(ClientCacheFactory.java:207)
>       at GeodeClient.GeodeClient(GeodeClient.java:22)
>       at GeodeClient.main(GeodeClient.java:10)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to