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.

System.out.println("Display-"+GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice().toString());
 

the above returns this: 


Display-Win32GraphicsDevice[screen=1]

Please somebody Help me ! :-) 


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3963861
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to