[jboss-user] [JBoss Seam] - Re: captcha

tony.herstell@gmail.com do-not-reply at jboss.com
Wed Apr 11 03:21:00 EDT 2007


Try the right cut/paste buffer


  | 
  | Caused by: java.lang.reflect.InvocationTargetException
  |         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  |         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:597)
  |         at org.jboss.seam.util.Reflections.invoke(Reflections.java:20)
  |         at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:123)
  |         ... 143 more
  | Caused by: java.lang.InternalError: Can't connect to X11 window server using 'localhost:10.0' as the value of the DISPLAY variable.
  |         at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
  |         at sun.awt.X11GraphicsEnvironment.access$100(X11GraphicsEnvironment.java:52)
  |         at sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:155)
  |         at java.security.AccessController.doPrivileged(Native Method)
  |         at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:131)
  |         at java.lang.Class.forName0(Native Method)
  |         at java.lang.Class.forName(Class.java:169)
  |         at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:68)
  |         at com.octo.captcha.component.image.fontgenerator.RandomFontGenerator.<init>(RandomFontGenerator.java:66)
  |         at com.octo.captcha.engine.image.gimpy.DefaultGimpyEngine.buildInitialFactories(DefaultGimpyEngine.java:83)
  |         at com.octo.captcha.engine.image.ListImageCaptchaEngine.<init>(ListImageCaptchaEngine.java:47)
  |         at com.octo.captcha.engine.image.gimpy.DefaultGimpyEngine.<init>(DefaultGimpyEngine.java:48)
  |         at com.octo.captcha.service.image.DefaultManageableImageCaptchaService.<init>(DefaultManageableImageCaptchaService.java:32)
  |         at org.jboss.seam.captcha.CaptchaImage.create(CaptchaImage.java:68)
  |         ... 149 more
  | 
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4036236#4036236

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4036236



More information about the jboss-user mailing list