[
https://issues.redhat.com/browse/WFLY-14274?page=com.atlassian.jira.plugi...
]
Cheng Fang commented on WFLY-14274:
-----------------------------------
So this happened in IDE during development, not when deploying to WildFly?
This is probably because the tool cannot find the schema definition for urn:security:1.1,
either through its internal registry, or public internet location. I think the app should
deploy fine to WildFly, and it's just a tool's failure to resolve the relevant
schema segment. Can you make sure these schemas are all added into your IDE's schema
registry?
Validation Issues With jboss-ejb3.xml
-------------------------------------
Key: WFLY-14274
URL:
https://issues.redhat.com/browse/WFLY-14274
Project: WildFly
Issue Type: Bug
Components: EJB
Affects Versions: 18.0.1.Final
Reporter: Patrick Buchheit
Assignee: Cheng Fang
Priority: Major
When attempting to add a <s:security> section to the <assembly-descriptor> of
jboss-ejb3.xml I get the following error:
{code:java}
Invalid element name: - security One of the following is expected: - security-role -
method-permission - container-transaction - interceptor-binding - message-destination -
exclude-list - application-exception - assembly-descriptor-entry Error indicated by:
{urn:security:1.1} with code:{code}
I copied and pasted the exact text given in the example here:
[
https://docs.wildfly.org/18/Developer_Guide.html#jboss-ejb3] so I'm not quite sure
what the issue is. I found several bugs that seemed to describe the same behaviour, but
they were all marked as fixed. See:
https://issues.redhat.com/browse/JBIDE-18316 and
[
https://bugzilla.redhat.com/show_bug.cgi?id=1302544] for examples.
Is there something wrong with the given documentation or is there still a bug in the
schemas?
Environment:
Eclipse Photon (4.17)
Jboss Tools plugin
Wildfly 18.0.1 Final
--
This message was sent by Atlassian Jira
(v8.13.1#813001)