remoteswinglibrary
remoteswinglibrary copied to clipboard
Start Application opens app and then freeze
remote stderr says:
Trying to connect to Class:javax.swing.SwingUtilities$SharedOwnerFrame Name:frame0 Visible:false AppContext:sun.awt.AppContext[threadGroup=system]
Trying to connect to Class:com.jcoffee.gui.client.swing.container.SplashScreen Name:win0 Visible:true AppContext:sun.awt.AppContext[threadGroup=system]
Trying to connect to Class:com.jcoffee.gui.client.swing.container.SwingContainer Name:SwingContainer Visible:false AppContext:sun.awt.AppContext[threadGroup=system]
Trying to connect to Class:javax.swing.SwingUtilities$SharedOwnerFrame Name:frame0 Visible:false AppContext:sun.awt.AppContext[threadGroup=system]
Trying to connect to Class:com.jcoffee.gui.client.swing.container.SplashScreen Name:win0 Visible:true AppContext:sun.awt.AppContext[threadGroup=system]
Trying to connect to Class:com.jcoffee.gui.client.swing.container.SwingContainer Name:SwingContainer Visible:false AppContext:sun.awt.AppContext[threadGroup=system]
log4j:WARN No appenders could be found for logger (org.jnp.interfaces.NamingContext).
log4j:WARN Please initialize the log4j system properly.
Trying to connect to Class:javax.swing.SwingUtilities$SharedOwnerFrame Name:frame0 Visible:false AppContext:sun.awt.AppContext[threadGroup=system]
Trying to connect to Class:com.jcoffee.gui.client.swing.container.SplashScreen Name:win0 Visible:true AppContext:sun.awt.AppContext[threadGroup=system]
Trying to connect to Class:com.jcoffee.gui.client.swing.container.SwingContainer Name:SwingContainer Visible:false AppContext:sun.awt.AppContext[threadGroup=system]
Trying to connect to Class:javax.swing.SwingUtilities$SharedOwnerFrame Name:frame0 Visible:false AppContext:sun.awt.AppContext[threadGroup=system]
Trying to connect to Class:com.jcoffee.gui.client.swing.container.SplashScreen Name:win0 Visible:false AppContext:sun.awt.AppContext[threadGroup=system]
Trying to connect to Class:com.jcoffee.gui.client.swing.container.SwingContainer Name:SwingContainer Visible:true AppContext:sun.awt.AppContext[threadGroup=system]
Connected to Class:com.jcoffee.gui.client.swing.container.SwingContainer Name:SwingContainer Visible:true AppContext:sun.awt.AppContext[threadGroup=system]
2020-08-01 16:27:36.649:INFO:oejs.Server:jetty-7.x.y-SNAPSHOT
2020-08-01 16:27:36.696:INFO:oejsh.ContextHandler:started o.e.j.s.ServletContextHandler{/,null}
2020-08-01 16:27:36.774:INFO:oejs.AbstractConnector:Started [email protected]:58890
remote stdout says:
SL: Logger factory bound: com.jcoffee.base.sl.client.RemoteSystemLoggerFactory
Using org.netbeans.jemmy.drivers.DefaultDriverInstaller driver installer
These are java opts that my start script have to use:
set JAVA_OPTS=%JAVA_OPTS% -a -Xloggc:"%GCLOGPATH%\GC_Log_%SESSIONNAME%_%FD%_%FT%.log"
set JAVA_OPTS=%JAVA_OPTS% -a -XX:+PrintGCDetails
set JAVA_OPTS=%JAVA_OPTS% -a -XX:+PrintGCTimeStamps
set JAVA_OPTS=%JAVA_OPTS% -a -XX:+PrintGCDateStamps
:NOGCLOG
set JAVA_OPTS=%JAVA_OPTS% -a -Xmx512m
set JAVA_OPTS=%JAVA_OPTS% -a -XX:MaxPermSize=128m
set JAVA_OPTS=%JAVA_OPTS% -a -Dsun.java2d.d3d=false
set JAVA_OPTS=%JAVA_OPTS% -a -Djava.library.path=%NETDIR%\bin
set JAVA_OPTS=%JAVA_OPTS% -a -Dpasx.reports.path="%NETDIR%\reports"
set JAVA_OPTS=%JAVA_OPTS% -a -Duser.timezone=[WLT_ZEITZONE]
set JAVA_OPTS=%JAVA_OPTS% -a com.jcoffee.gui.client.swing.container.SwingContainer
When I try to run an application by my self and then use Application Started keyword, it results with
RemoteSwingLibraryTimeoutError('Agent port not received before timeout') RemoteSwingLibraryTimeoutError: Agent port not received before timeout
system: Windows Server 2012 R2 Standard Python version: 3.7.7 Java version that my app is running:
java version "1.7.0_76"
Java(TM) SE Runtime Environment (build 1.7.0_76-b13)
Java HotSpot(TM) Client VM (build 24.76-b04, mixed mode)
Also, I have installed version of java which shows as default:
openjdk version "1.8.0_262"
OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_262-b10)
OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.262-b10, mixed mode)
@k-szewczyk Sorry for not answering to you sooner. Is this still an issue?