[JBoss JIRA] (WFLY-9824) Getting javax.ejb.NoSuchEJBException: EJBCLIENT000079: Unable to discover destination for request for EJB EJBHomeLocator for "jsr-77/jsr-77/EJB" in resourceadpater
by shubhashish dash (JIRA)
[ https://issues.jboss.org/browse/WFLY-9824?page=com.atlassian.jira.plugin.... ]
shubhashish dash edited comment on WFLY-9824 at 2/14/18 5:47 AM:
-----------------------------------------------------------------
I have checked all the interim release of Wildfly 11. This issue surfaces in version *{color:red}11.0.0.Beta1{color}* .
This same application EAR.ear is working fine in 11.0.0.Alpha1.
was (Author: subhadash):
I have checked all the interim release of Wildfly 11. This issue surfaces in version 11.0.0.Beta1 .
This same application EAR.ear is working fine in 11.0.0.Alpha1.
> Getting javax.ejb.NoSuchEJBException: EJBCLIENT000079: Unable to discover destination for request for EJB EJBHomeLocator for "jsr-77/jsr-77/EJB" in resourceadpater
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: WFLY-9824
> URL: https://issues.jboss.org/browse/WFLY-9824
> Project: WildFly
> Issue Type: Bug
> Affects Versions: 11.0.0.Final
> Reporter: shubhashish dash
> Assignee: Jason Greene
> Priority: Critical
> Attachments: EAR.ear, server.log
>
>
> I have deployed a EAR in wildfly 11.0.0 Final. The EAR has two sub deplyoment one is a .rar and another is a .war . The both the deployment contains below code
> ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
> final InitialContext initialContext = new InitialContext();
> final ManagementHome mejb = (ManagementHome) initialContext.lookup("ejb/mgmt/MEJB");
> final ObjectName searchpattern = new ObjectName("*:j2eeType=J2EEServer,*");
> final Management management = mejb.create();
> final Set<ObjectName> set = management.queryNames(searchpattern, null);
> if (set != null && set.size() != 0) {
> final String s = management.getAttribute(set.iterator().next(), "serverVendor").toString();
> System.out.println(s);
> }
> ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
> But while running the application I am getting "javax.ejb.NoSuchEJBException: EJBCLIENT000079: Unable to discover destination for request for EJB EJBHomeLocator for "jsr-77/jsr-77/EJB"" error. This error only comes in case of rar and not in the war.
> I have attached the sample app with this issue.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 2 months
[JBoss JIRA] (WFLY-9824) Getting javax.ejb.NoSuchEJBException: EJBCLIENT000079: Unable to discover destination for request for EJB EJBHomeLocator for "jsr-77/jsr-77/EJB" in resourceadpater
by shubhashish dash (JIRA)
[ https://issues.jboss.org/browse/WFLY-9824?page=com.atlassian.jira.plugin.... ]
shubhashish dash updated WFLY-9824:
-----------------------------------
Description:
I have deployed a EAR in wildfly 11.0.0 Final. The EAR has two sub deplyoment one is a .rar and another is a .war . The both the deployment contains below code
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
final InitialContext initialContext = new InitialContext();
final ManagementHome mejb = (ManagementHome) initialContext.lookup("ejb/mgmt/MEJB");
final ObjectName searchpattern = new ObjectName("*:j2eeType=J2EEServer,*");
final Management management = mejb.create();
final Set<ObjectName> set = management.queryNames(searchpattern, null);
if (set != null && set.size() != 0) {
final String s = management.getAttribute(set.iterator().next(), "serverVendor").toString();
System.out.println(s);
}
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
But while running the application I am getting "javax.ejb.NoSuchEJBException: EJBCLIENT000079: Unable to discover destination for request for EJB EJBHomeLocator for "jsr-77/jsr-77/EJB"" error. This error only comes in case of rar and not in the war.
I have attached the sample app with this issue.
was:
I have deployed a EAR in wildfly 11.0.0 Final. The EAR has two sub deplyoment one is a .rar and another is a .war . The both the deployment contains below code
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
final InitialContext initialContext = new InitialContext();
final ManagementHome mejb = (ManagementHome) initialContext.lookup("ejb/mgmt/MEJB");
final ObjectName searchpattern = new ObjectName("*:j2eeType=J2EEServer,*");
final Management management = mejb.create();
final Set<ObjectName> set = management.queryNames(searchpattern, null);
if (set != null && set.size() != 0) {
final String s = management.getAttribute(set.iterator().next(), "serverVendor").toString();
System.out.println(s);
}
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
But while running the application I am getting "javax.ejb.NoSuchEJBException: EJBCLIENT000079: Unable to discover destination for request for EJB EJBHomeLocator for "jsr-77/jsr-77/EJB"" error. This error only comes incase of rar and not in the war.
I have attached the sample app with this issue.
> Getting javax.ejb.NoSuchEJBException: EJBCLIENT000079: Unable to discover destination for request for EJB EJBHomeLocator for "jsr-77/jsr-77/EJB" in resourceadpater
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: WFLY-9824
> URL: https://issues.jboss.org/browse/WFLY-9824
> Project: WildFly
> Issue Type: Bug
> Affects Versions: 11.0.0.Final
> Reporter: shubhashish dash
> Assignee: Jason Greene
> Priority: Critical
> Attachments: EAR.ear, server.log
>
>
> I have deployed a EAR in wildfly 11.0.0 Final. The EAR has two sub deplyoment one is a .rar and another is a .war . The both the deployment contains below code
> ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
> final InitialContext initialContext = new InitialContext();
> final ManagementHome mejb = (ManagementHome) initialContext.lookup("ejb/mgmt/MEJB");
> final ObjectName searchpattern = new ObjectName("*:j2eeType=J2EEServer,*");
> final Management management = mejb.create();
> final Set<ObjectName> set = management.queryNames(searchpattern, null);
> if (set != null && set.size() != 0) {
> final String s = management.getAttribute(set.iterator().next(), "serverVendor").toString();
> System.out.println(s);
> }
> ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
> But while running the application I am getting "javax.ejb.NoSuchEJBException: EJBCLIENT000079: Unable to discover destination for request for EJB EJBHomeLocator for "jsr-77/jsr-77/EJB"" error. This error only comes in case of rar and not in the war.
> I have attached the sample app with this issue.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 2 months
[JBoss JIRA] (WFLY-9788) EJB over HTTP fails with Arrays in Request
by Heiko Lettmann (JIRA)
[ https://issues.jboss.org/browse/WFLY-9788?page=com.atlassian.jira.plugin.... ]
Heiko Lettmann commented on WFLY-9788:
--------------------------------------
Never mind. There was another instance of WildFly running...
> EJB over HTTP fails with Arrays in Request
> ------------------------------------------
>
> Key: WFLY-9788
> URL: https://issues.jboss.org/browse/WFLY-9788
> Project: WildFly
> Issue Type: Bug
> Components: EJB
> Affects Versions: 11.0.0.Final
> Reporter: Heiko Lettmann
> Attachments: Test.zip
>
>
> I stumbled over the issue WFLY-9573. Then I updated to wildfly-http-client-1.0.9.Final which made a few invocations work. There I discovered another issue. I attached a modified Quickstart version to demonstrate it!
> Exception is on the client side:
> Exception in thread "main" javax.ejb.EJBException: java.io.IOException: java.lang.ClassCastException: java.lang.Class cannot be cast to java.lang.String
> at org.jboss.as.ejb3.remote.AssociationImpl.receiveInvocationRequest(AssociationImpl.java:128)
> at org.wildfly.httpclient.ejb.HttpInvocationHandler.lambda$handleInternal$0(HttpInvocationHandler.java:130)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at java.lang.Thread.run(Thread.java:748)
> Caused by: java.io.IOException: java.lang.ClassCastException: java.lang.Class cannot be cast to java.lang.String
> at org.wildfly.httpclient.ejb.HttpInvocationHandler$1.getRequestContent(HttpInvocationHandler.java:204)
> at org.jboss.as.ejb3.remote.AssociationImpl.receiveInvocationRequest(AssociationImpl.java:126)
> ... 4 more
> Caused by: java.lang.ClassCastException: java.lang.Class cannot be cast to java.lang.String
> at org.wildfly.httpclient.ejb.HttpInvocationHandler$1.getRequestContent(HttpInvocationHandler.java:178)
> ... 5 more
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 2 months
[JBoss JIRA] (WFCORE-3605) NPE at VaultAddHandler.rollbackRuntime()
by Richard Opalka (JIRA)
Richard Opalka created WFCORE-3605:
--------------------------------------
Summary: NPE at VaultAddHandler.rollbackRuntime()
Key: WFCORE-3605
URL: https://issues.jboss.org/browse/WFCORE-3605
Project: WildFly Core
Issue Type: Bug
Components: Security
Reporter: Richard Opalka
Assignee: Richard Opalka
Fix For: 4.0.0.Beta1
[Host Controller] &#27;[31m] failed handling operation rollback -- java.lang.NullPointerException: java.lang.NullPointerException&#27;[0m
[Host Controller] &#27;[31m<>at org.jboss.as.server.services.security.VaultAddHandler.rollbackRuntime(VaultAddHandler.java:97)&#27;[0m
[Host Controller] &#27;[31m<>at org.jboss.as.controller.AbstractAddStepHandler$1$1.handleRollback(AbstractAddStepHandler.java:156)&#27;[0m
[Host Controller] &#27;[31m<>at org.jboss.as.controller.AbstractOperationContext$RollbackDelegatingResultHandler.handleResult(AbstractOperationContext.java:1528)&#27;[0m
[Host Controller] &#27;[31m<>at org.jboss.as.controller.AbstractOperationContext$Step.invokeResultHandler(AbstractOperationContext.java:1500)&#27;[0m
[Host Controller] &#27;[31m<>at org.jboss.as.controller.AbstractOperationContext$Step.handleResult(AbstractOperationContext.java:1482)&#27;[0m
[Host Controller] &#27;[31m<>at org.jboss.as.controller.AbstractOperationContext$Step.finalizeInternal(AbstractOperationContext.java:1439)&#27;[0m
[Host Controller] &#27;[31m<>at org.jboss.as.controller.AbstractOperationContext$Step.finalizeStep(AbstractOperationContext.java:1422)&#27;[0m
[Host Controller] &#27;[31m<>at org.jboss.as.controller.AbstractOperationContext$Step.access$400(AbstractOperationContext.java:1286)&#27;[0m
[Host Controller] &#27;[31m<>at org.jboss.as.controller.AbstractOperationContext.executeResultHandlerPhase(AbstractOperationContext.java:859)&#27;[0m
[Host Controller] &#27;[31m<>at org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:739)&#27;[0m
[Host Controller] &#27;[31m<>at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:450)&#27;[0m
[Host Controller] &#27;[31m<>at org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1408)&#27;[0m
[Host Controller] &#27;[31m<>at org.jboss.as.controller.ModelControllerImpl.boot(ModelControllerImpl.java:516)&#27;[0m
[Host Controller] &#27;[31m<>at org.jboss.as.controller.AbstractControllerService.boot(AbstractControllerService.java:468)&#27;[0m
[Host Controller] &#27;[31m<>at org.jboss.as.host.controller.DomainModelControllerService.boot(DomainModelControllerService.java:666)&#27;[0m
[Host Controller] &#27;[31m<>at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:370)&#27;[0m
[Host Controller] &#27;[31m<>at java.lang.Thread.run(Thread.java:748)&#27;[0m
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 2 months
[JBoss JIRA] (WFLY-9788) EJB over HTTP fails with Arrays in Request
by Heiko Lettmann (JIRA)
[ https://issues.jboss.org/browse/WFLY-9788?page=com.atlassian.jira.plugin.... ]
Heiko Lettmann commented on WFLY-9788:
--------------------------------------
I am quiet new to this...
The test fails right away probably because of authentication.
How can I fix that for a test?
FAILURE! - in org.jboss.as.test.integration.ejb.remote.jndi.HttpRemoteEJBJndiBasedInvocationTestCase
testRemoteSLSBInvocation(org.jboss.as.test.integration.ejb.remote.jndi.HttpRemoteEJBJndiBasedInvocationTestCase) Time elapsed: 0.251 sec <<< ERROR!
javax.ejb.EJBException: java.io.IOException: WFHTTP000005: Invalid response code 401 (full response ClientResponse{responseHeaders={www-authenticate=[Digest realm="ApplicationRealm", nonce="AAAAIwAAoXKJXzv3W5R125f3GCFcHfQK/52LjVnQIIBT3dsTFBkAoKdmYF4=", opaque="00000000000000000000000000000000", algorithm=MD5, qop=auth], x-powered-by=[Undertow/1], server=[WildFly/11], content-length=[77], content-type=[text/html], date=[Wed, 14 Feb 2018 10:10:35 GMT]}, responseCode=401, status='', protocol=HTTP/2.0})
> EJB over HTTP fails with Arrays in Request
> ------------------------------------------
>
> Key: WFLY-9788
> URL: https://issues.jboss.org/browse/WFLY-9788
> Project: WildFly
> Issue Type: Bug
> Components: EJB
> Affects Versions: 11.0.0.Final
> Reporter: Heiko Lettmann
> Attachments: Test.zip
>
>
> I stumbled over the issue WFLY-9573. Then I updated to wildfly-http-client-1.0.9.Final which made a few invocations work. There I discovered another issue. I attached a modified Quickstart version to demonstrate it!
> Exception is on the client side:
> Exception in thread "main" javax.ejb.EJBException: java.io.IOException: java.lang.ClassCastException: java.lang.Class cannot be cast to java.lang.String
> at org.jboss.as.ejb3.remote.AssociationImpl.receiveInvocationRequest(AssociationImpl.java:128)
> at org.wildfly.httpclient.ejb.HttpInvocationHandler.lambda$handleInternal$0(HttpInvocationHandler.java:130)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at java.lang.Thread.run(Thread.java:748)
> Caused by: java.io.IOException: java.lang.ClassCastException: java.lang.Class cannot be cast to java.lang.String
> at org.wildfly.httpclient.ejb.HttpInvocationHandler$1.getRequestContent(HttpInvocationHandler.java:204)
> at org.jboss.as.ejb3.remote.AssociationImpl.receiveInvocationRequest(AssociationImpl.java:126)
> ... 4 more
> Caused by: java.lang.ClassCastException: java.lang.Class cannot be cast to java.lang.String
> at org.wildfly.httpclient.ejb.HttpInvocationHandler$1.getRequestContent(HttpInvocationHandler.java:178)
> ... 5 more
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 2 months