1 Reply Latest reply on Aug 9, 2006 12:05 AM by Peter Johnson

    Please Help robot.createScreenCapture(rectangle); from J2EE

    Alex Kissel Newbie

      When running jboss from the standart bat file my application functions as expected, ie. takes a screen shot of the host mashine and writes it into the browser window, but when I run Jboss as a service:

      "JBossService.exe -install JBoss C:\AVPB\jdk1.5.0_04\jre\bin\server\jvm.dll -Xmx400m -Djava.class.path=C:\AVPB\jdk1.5.0_04\lib\tools.jar;C:\AVPB\jboss-4.0.3SP1\bin\run.jar -start org.jboss.Main -stop org.jboss.Main -method systemExit -out C:\AVPB\jboss-4.0.3SP1\stdout.log -err C:\AVPB\jboss-4.0.3SP1\stderr.log -current C:\AVPB\jboss-4.0.3SP1 -auto
      sc start Jboss"

      It doesn't seem to function correctly, I don't see any errors but it returns solid black image instead of a current screen shot.


      the above returns this:


      Please somebody Help me ! :-)