[JBoss JIRA] (WFLY-9817) JSON-P 1.1 is not loaded when ee8.preview.mode property is defined in standalone.xml file, seems that Elytron uses JSON-P stuff too early
by James Perkins (JIRA)
[ https://issues.jboss.org/browse/WFLY-9817?page=com.atlassian.jira.plugin.... ]
James Perkins commented on WFLY-9817:
-------------------------------------
I think the solution will be for core to temporarily provide it's own JSON-P module that Elytron, or other core components, can rely on.
> JSON-P 1.1 is not loaded when ee8.preview.mode property is defined in standalone.xml file, seems that Elytron uses JSON-P stuff too early
> -----------------------------------------------------------------------------------------------------------------------------------------
>
> Key: WFLY-9817
> URL: https://issues.jboss.org/browse/WFLY-9817
> Project: WildFly
> Issue Type: Bug
> Components: Server
> Reporter: Rostislav Svoboda
> Assignee: James Perkins
> Priority: Critical
>
> JSON-P 1.1 is not loaded when ee8.preview.mode property is defined in standalone.xml file.
> Early investigation done by James and Stuart indicates that Elytron uses JSON-P stuff too early and it prevents JSON-P 1.1 activation when ee8.preview.mode property is defined in standalone.xml file.
> CCing [~jamezp] [~swd847] [~jason.greene] [~kabirkhan] [~brian.stansberry]
--
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:
--------------------------------------
Sorry to say that it still does'nt work. Also tried with wildfly master now.
Stack trace here is a little different:
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:129)
at org.wildfly.httpclient.ejb.HttpInvocationHandler.lambda$handleInternal$0(HttpInvocationHandler.java:131)
at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1979)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1481)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1374)
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:203)
at org.jboss.as.ejb3.remote.AssociationImpl.receiveInvocationRequest(AssociationImpl.java:127)
... 5 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:179)
... 6 more
How would I submit a test case that ist actually usable by you? Although all I am doing here is to call this:
@Stateful
@Remote(RemoteCounter.class)
public class CounterBean implements RemoteCounter {
public List<String> test2(String[] s1, String[] s2) {
System.out.println("Hello!");
return null;
}
}
> 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] (ELY-1513) Verify public API signatures during build.
by Ilia Vassilev (JIRA)
Ilia Vassilev created ELY-1513:
----------------------------------
Summary: Verify public API signatures during build.
Key: ELY-1513
URL: https://issues.jboss.org/browse/ELY-1513
Project: WildFly Elytron
Issue Type: Enhancement
Components: Build
Reporter: Ilia Vassilev
Fix For: 2.0.0.Alpha1
This task will involve adding the ability to generate a signature for a specific version and verify them during the build - we only want this to apply to packages identified as public API.
Animal Sniffer seems a good candidate http://www.mojohaus.org/animal-sniffer/
Generation of a signature we can likely make on-demand as we only really need that at the point we tag a release.
We would definitely want checking to run for CI PR processing but can decide if all builds should be checking with an option to disable or all disabled with an option to enable.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 2 months