主题 : jcapcha异常
级别: 白丁
UID: 72249
积分:9 加为好友
威望: 0 精华: 0
主题:1 回复:2
注册时间:2015-01-27
在线时长:0
1#   发表于:2015-01-27 16:36:56  IP:124.139.*.*
CMS版本2.x,网站经常抱下面异常,并且以前在windows server上运行正常,这段时间移植到ubuntu上时,运行两天就不能访问了,内存查看并没有什么问题


Caused by: com.octo.captcha.CaptchaException: word is too tall: try to use less letters, smaller font or bigger background:  text bounds = {text=13823
java.awt.geom.Rectangle2D$Float[x=0.0,y=-17.675781,w=8.105469,h=27.929688] ascent=17.675781 descent=10.253906 leading=-0.0 
java.awt.geom.Rectangle2D$Float[x=28.105469,y=-21.513672,w=11.591797,h=26.601562] ascent=21.513672 descent=5.0878906 leading=-0.0 
java.awt.geom.Rectangle2D$Float[x=59.697266,y=-21.704956,w=7.99292,h=35.698975] ascent=21.704956 descent=-0.70495605 leading=14.698975 
java.awt.geom.Rectangle2D$Float[x=87.690186,y=-16.826172,w=10.8984375,h=22.236328] ascent=16.826172 descent=5.4101562 leading=-0.0 
java.awt.geom.Rectangle2D$Float[x=118.58862,y=-16.826172,w=10.8984375,h=22.236328] ascent=16.826172 descent=5.4101562 leading=-0.0 
} with fonts {java.awt.Font[family=SimSun-ExtB,name=SimSun-ExtB,style=bolditalic,size=20]
java.awt.Font[family=Sakkal Majalla,name=Sakkal Majalla,style=bolditalic,size=20]
java.awt.Font[family=Microsoft JhengHei,name=Microsoft JhengHei,style=italic,size=20]
java.awt.Font[family=Gabriola,name=Gabriola,style=italic,size=21]
java.awt.Font[family=Bell MT,name=Bell MT,style=bolditalic,size=20]
} versus image width = 100, height = 40
at com.octo.captcha.component.image.textpaster.ChangeableAttributedString.moveToRandomSpot(ChangeableAttributedString.java:184)
at com.octo.captcha.component.image.textpaster.ChangeableAttributedString.moveToRandomSpot(ChangeableAttributedString.java:111)
at com.octo.captcha.component.image.textpaster.DecoratedRandomTextPaster.pasteText(DecoratedRandomTextPaster.java:82)
at com.octo.captcha.component.image.wordtoimage.ComposedWordToImage.pasteText(ComposedWordToImage.java:130)
at com.octo.captcha.component.image.wordtoimage.AbstractWordToImage.getImage(AbstractWordToImage.java:52)
at com.octo.captcha.image.gimpy.GimpyFactory.getImageCaptcha(GimpyFactory.java:77)
... 32 more
级别: 版主
UID: 70293
积分:78391 加为好友
威望: 1 精华: 0
主题:7 回复:68397
注册时间:2014-12-03
在线时长:0
2#   发表于:2015-01-27 16:38:09  IP:182.217.*.*
2.x的版本我们已经不再维护了,建议您换成5或者6的
1
级别: 白丁
UID: 72249
积分:9 加为好友
威望: 0 精华: 0
主题:1 回复:2
注册时间:2015-01-27
在线时长:0
3#   发表于:2015-01-27 16:40:17  IP:124.139.*.*
回复第2楼之前我看有人遇到这个异常,你们也没有解决
级别: 版主
UID: 70293
积分:78391 加为好友
威望: 1 精华: 0
主题:7 回复:68397
注册时间:2014-12-03
在线时长:0
4#   发表于:2015-01-27 16:40:48  IP:182.217.*.*
也是2.x的版本吗
1
级别: 白丁
UID: 72249
积分:9 加为好友
威望: 0 精华: 0
主题:1 回复:2
注册时间:2015-01-27
在线时长:0
5#   发表于:2015-01-27 16:51:40  IP:124.139.*.*
回复第4楼   http://bbs.jeecms.com/bug/4344.jhtml这个贴
级别: 版主
UID: 70293
积分:78391 加为好友
威望: 1 精华: 0
主题:7 回复:68397
注册时间:2014-12-03
在线时长:0
6#   发表于:2015-01-27 16:52:47  IP:182.217.*.*
版本太老了,我们已经不再维护了
1
1 共1页