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

Jakarta Transcations TCK : Refactor appclient tests #1560

Merged
merged 1 commit into from
Oct 4, 2024

Conversation

alwin-joseph
Copy link
Contributor

Related Issue(s)
#1375

Describe the change

  • Refactor the appclient (ejb, appclient vehicles) tests in Jakarta transactions platform TCK.
  • Update the glassfish runner to execute the 29 tests.

Total appclient tests : 29
Test failures : 6

Caused by: javax.naming.NamingException: Lookup failed for java:comp/env/ejb/MyEjbReference in SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.url.pkgs=com.sun.enterprise.naming, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl}] [Root exception is javax.naming.NameNotFoundException: No object bound for java:comp/env/ejb/MyEjbReference]
at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:836)
at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:257)
at java.naming/javax.naming.InitialContext.lookup(InitialContext.java:409)
at com.sun.ts.lib.util.TSNamingContext.lookup(TSNamingContext.java:70)
at com.sun.ts.lib.util.TSNamingContext.lookup(TSNamingContext.java:56)
at com.sun.ts.tests.jta.ee.txpropagationtest.Client.setup(Client.java:83)
... 10 more
Caused by: javax.naming.NameNotFoundException: No object bound for java:comp/env/ejb/MyEjbReference
at com.sun.enterprise.naming.impl.JavaURLContext.lookup(JavaURLContext.java:135)
at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:818)
... 15 more
Suppressed: javax.naming.NameNotFoundException: No object bound to name java:comp/env/ejb/MyEjbReference in namespace JavaNamespace[name=client_jta_ejb_vehicle_client_com.sun.ts.tests.jta.ee.txpropagationtest.ClientEjbTest, keys=[java:comp/env/ejb, java:comp/, java:comp/env/, java:/, java:comp, java:, java:comp/env, java:comp/env/ejb/EJBVehicle]]
at com.sun.enterprise.naming.impl.GlassfishNamingManagerImpl.lookup(GlassfishNamingManagerImpl.java:617)

Additional context

@scottmarlow scottmarlow merged commit 63faf2f into jakartaee:main Oct 4, 2024
1 of 2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants