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

Remote EJBs very slow #21285

Closed
glassfishrobot opened this issue Jan 11, 2015 · 8 comments
Closed

Remote EJBs very slow #21285

glassfishrobot opened this issue Jan 11, 2015 · 8 comments

Comments

@glassfishrobot
Copy link

We upgraded to Glassfish 4.1. We have a problem with our remote EJBs returning very slowly. What used to return in 1 second on Glassfish 3.1 now returns in 30 seconds.
We have this problem on several projects. All these remote EJBs fetch different data from MySQL (EclipseLink). Execution enviroment: the same hardware and the same Glassfish container.
Also it works fine with local EJB access (not remote).

We have found similar issues here https://java.net/projects/glassfish/lists/users/archive/2014-10/message/49
They made test project https://github.com/jamie-lb/GF4ProblemProject

Environment

Windows 7, jdk 1.7.0.65, EclipseLink 2.5.2.v20140319

Affected Versions

[4.1]

@glassfishrobot
Copy link
Author

@glassfishrobot Commented
Reported by sjkj

@glassfishrobot
Copy link
Author

@glassfishrobot Commented
smillidge-c2b2 said:
Please try the latest pre-release build of Payara as we believe we have fixed an issue similar to this. If it works for you we'll raise the fix on the GlassFish JIRA for the relevant project.

http://www.payara.fish/upstream_builds

@glassfishrobot
Copy link
Author

@glassfishrobot Commented
sjkj said:
I tried Payara pre-release and it works fine for me. Thanks a lot

@glassfishrobot
Copy link
Author

@glassfishrobot Commented
payara_steve said:
I've raised this JIRA https://java.net/jira/browse/GLASSFISH_CORBA-16

@glassfishrobot
Copy link
Author

@glassfishrobot Commented
This issue was imported from java.net JIRA GLASSFISH-21285

@glassfishrobot
Copy link
Author

@limingdawn Commented
Hi,
I do several tests In current glassfish version 5.0.
Firstly, using ACC client and @ejb dependency injection, the test totally cost 13 seconds. Then I do test without @ejb dependency injection, and use JNDI lookup, it takes 6 seconds. And also I run test without ACC client and @ejb dependency injection, it only takes less than one seconds. It seems like the most time cost in ACC, it's not EJB container issue.

@glassfishrobot
Copy link
Author

@amykang2020 Commented
Based on early comments from Payara, close the issue as duplicate of
javaee/glassfish-corba#16

@glassfishrobot
Copy link
Author

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

No branches or pull requests

1 participant