Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start Application opens app and then freeze #91

Open
k-szewczyk opened this issue Aug 1, 2020 · 1 comment
Open

Start Application opens app and then freeze #91

k-szewczyk opened this issue Aug 1, 2020 · 1 comment

Comments

@k-szewczyk
Copy link

k-szewczyk commented Aug 1, 2020

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 SelectChannelConnector@0.0.0.0: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)
@rticau
Copy link
Contributor

rticau commented Feb 22, 2021

@k-szewczyk Sorry for not answering to you sooner. Is this still an issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants