Mantis - Resin
Viewing Issue Advanced Details
4241 minor always 10-04-10 16:26 10-13-10 12:49
alex  
ferg  
normal  
closed 4.0.11  
fixed  
none    
none 4.0.12  
0004241: Nubmer format exception when reading repository
Rep by: James Gittelson
Platform: Windows.


Please note, that the 'j' is missing in the console output.

"ava.lang.NumberFormatException: For input string: "1
        at java.lang.NumberFormatException.forInputString(NumberFormatException.
java:48)
        at java.lang.Long.parseLong(Long.java:419)
        at java.lang.Long.parseLong(Long.java:468)
        at com.caucho.env.repository.RepositoryTagMap.<init>(RepositoryTagMap.ja
va:79)
        at com.caucho.env.repository.AbstractRepository.updateTagMap(AbstractRep
ository.java:128)
        at com.caucho.env.repository.AbstractRepository.updateLoad(AbstractRepos
itory.java:122)
        at com.caucho.env.repository.AbstractRepository.update(AbstractRepositor
y.java:115)
        at com.caucho.env.repository.FileRepository.checkForUpdate(FileRepositor
y.java:75)
        at com.caucho.env.repository.AbstractRepository.start(AbstractRepository
.java:84)
        at com.caucho.env.repository.LocalRepositoryService.start(LocalRepositor
yService.java:85)
        at com.caucho.env.service.ResinSystem.startServices(ResinSystem.java:470
)
        at com.caucho.env.service.ResinSystem.start(ResinSystem.java:442)
        at com.caucho.server.resin.Resin.start(Resin.java:884)
        at com.caucho.server.resin.Resin.initMain(Resin.java:1013)
        at com.caucho.server.resin.Resin.main(Resin.java:1284)
Oct 4, 2010 2:53:44 PM com.caucho.boot.WatchdogChildProcess logStatus
WARNING: Watchdog detected close of Resin[,pid=0]
  exit reason: BAD_CONFIG (exit code=2)

Notes
(0004776)
alex   
10-05-10 09:05   
It happens every time I restart resin.

1: Install resin
2: configure resin.xml
3: start resin.
4: stop resin.
5: start resin.
        Exception occurs.
6: delete resin-data folder to clear problem.
3: start resin.
4: stop resin.
5: start resin.
        Exception occurs.

Happens every time.
(0004778)
alex   
10-06-10 11:44   
running Resin in gui mode, when I reported that I stopped resin, I meant that I would press the "Quit" button.

If instead I click the Stop radio button, then the Start radio button then I get a very slightly different error message.

"ava.lang.NumberFormatException: For input string: "2
        at java.lang.NumberFormatException.forInputString(NumberFormatException.
java:48)
        at java.lang.Long.parseLong(Long.java:419)
        at java.lang.Long.parseLong(Long.java:468)
        at com.caucho.env.repository.RepositoryTagMap.<init>(RepositoryTagMap.ja
va:79)
        at com.caucho.env.repository.AbstractRepository.updateTagMap(AbstractRep
ository.java:128)
        at com.caucho.env.repository.AbstractRepository.updateLoad(AbstractRepos
itory.java:122)
        at com.caucho.env.repository.AbstractRepository.update(AbstractRepositor
y.java:115)
        at com.caucho.env.repository.FileRepository.checkForUpdate(FileRepositor
y.java:75)
        at com.caucho.env.repository.AbstractRepository.start(AbstractRepository
.java:84)
        at com.caucho.env.repository.LocalRepositoryService.start(LocalRepositor
yService.java:85)
        at com.caucho.env.service.ResinSystem.startServices(ResinSystem.java:470
)
        at com.caucho.env.service.ResinSystem.start(ResinSystem.java:442)
        at com.caucho.server.resin.Resin.start(Resin.java:884)
        at com.caucho.server.resin.Resin.initMain(Resin.java:1013)
        at com.caucho.server.resin.Resin.main(Resin.java:1284)
Oct 6, 2010 2:06:51 PM com.caucho.boot.WatchdogChildProcess logStatus
WARNING: Watchdog detected close of Resin[,pid=0]