[JBoss JIRA] (DROOLS-980) KieBase.getFactType should only be used to retrieve declared beans.
by Alejo Jara (JIRA)
[ https://issues.jboss.org/browse/DROOLS-980?page=com.atlassian.jira.plugin... ]
Alejo Jara updated DROOLS-980:
------------------------------
Attachment: droolsBug980.zip
my_rules-2.jar
> KieBase.getFactType should only be used to retrieve declared beans.
> -------------------------------------------------------------------
>
> Key: DROOLS-980
> URL: https://issues.jboss.org/browse/DROOLS-980
> Project: Drools
> Issue Type: Bug
> Components: core engine
> Affects Versions: 6.3.0.Final
> Reporter: Alejo Jara
> Assignee: Mario Fusco
> Attachments: droolsBug980.zip, my_rules-1.jar, my_rules-2.jar
>
>
> Error inesperado en la ejecucion del artefacto
> java.lang.UnsupportedOperationException: KieBase.getFactType should only be used to retrieve declared beans. Class com.example.types.Person exists outside DRL
> at org.drools.core.definitions.impl.KnowledgePackageImpl.getFactType(KnowledgePackageImpl.java:635)
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 8 months
[JBoss JIRA] (JBAS-9574) Spring + Maven + Apache CXF + Jboss 6 Soap Service error
by Shailesh Karwa (JIRA)
[ https://issues.jboss.org/browse/JBAS-9574?page=com.atlassian.jira.plugin.... ]
Shailesh Karwa commented on JBAS-9574:
--------------------------------------
Thanks
> Spring + Maven + Apache CXF + Jboss 6 Soap Service error
> --------------------------------------------------------
>
> Key: JBAS-9574
> URL: https://issues.jboss.org/browse/JBAS-9574
> Project: Application Server 3 4 5 and 6
> Issue Type: Feature Request
> Reporter: Shailesh Karwa
> Priority: Optional
>
> DEPLOYMENTS IN ERROR: Deployment "vfs:///D:/jboss-6.0.0.Final/server/default/deploy/SpringWebServiceTest.war" is in error due to the following reason(s): java.lang.RuntimeException: Neither any mapped-name/lookup/jndi-name specified nor any ResourceProvider could process resource-env-ref named env/org.apache.cxf.ws.policy.AssertionBuilderRegistryImpl/bus of type org.apache.cxf.Bus
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 8 months
[JBoss JIRA] (JBVFS-203) VirtualFile and SuffixMatchFilter not necessary char allocation
by Tomaz Cerar (JIRA)
Tomaz Cerar created JBVFS-203:
---------------------------------
Summary: VirtualFile and SuffixMatchFilter not necessary char allocation
Key: JBVFS-203
URL: https://issues.jboss.org/browse/JBVFS-203
Project: JBoss VFS
Issue Type: Enhancement
Affects Versions: 3.2.9.Final
Reporter: Konstantin Bulanov
Assignee: Tomaz Cerar
Priority: Minor
Fix For: 3.2.11.Final
org.jboss.vfs.util.SuffixMatchFilter#accepts duplicate formating and string concationation
org.jboss.vfs.VirtualFile#getPathName(boolean) use recursive string concatenation with new StringBuilder for eacht step, as result we allocate annesesary char[] during start server.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 8 months
[JBoss JIRA] (WFLY-5668) wildfly-singleton_1_0.xsd has the wrong cardinality for singleton-policy
by Paul Ferraro (JIRA)
[ https://issues.jboss.org/browse/WFLY-5668?page=com.atlassian.jira.plugin.... ]
Paul Ferraro commented on WFLY-5668:
------------------------------------
[~kabirkhan] Whoops! Thanks for spotting and fixing this.
> wildfly-singleton_1_0.xsd has the wrong cardinality for singleton-policy
> ------------------------------------------------------------------------
>
> Key: WFLY-5668
> URL: https://issues.jboss.org/browse/WFLY-5668
> Project: WildFly
> Issue Type: Bug
> Components: Clustering
> Reporter: Kabir Khan
> Assignee: Paul Ferraro
>
> Noticed while working on https://issues.jboss.org/browse/WFLY-5658, the fix is:
> {code}
> diff --git a/clustering/singleton/extension/src/main/resources/schema/wildfly-singleton_1_0.xsd b/clustering/singleton/extension/src/main/resources/schema/wildfly-singleton_1_0.xsd
> index b591c6c..1b02079 100644
> --- a/clustering/singleton/extension/src/main/resources/schema/wildfly-singleton_1_0.xsd
> +++ b/clustering/singleton/extension/src/main/resources/schema/wildfly-singleton_1_0.xsd
> @@ -20,7 +20,7 @@
>
> <xs:complexType name="singleton-policies">
> <xs:sequence>
> - <xs:element name="singleton-policy" type="tns:singleton-policy">
> + <xs:element name="singleton-policy" type="tns:singleton-policy" maxOccurs="unbounded">
> <xs:annotation>
> <xs:documentation>Defines a singleton policy</xs:documentation>
> </xs:annotation>
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 8 months
[JBoss JIRA] (JBAS-9574) Spring + Maven + Apache CXF + Jboss 6 Soap Service error
by Shailesh Karwa (JIRA)
[ https://issues.jboss.org/browse/JBAS-9574?page=com.atlassian.jira.plugin.... ]
Shailesh Karwa commented on JBAS-9574:
--------------------------------------
I am not having idea to post it as forum question, so created an issue.
> Spring + Maven + Apache CXF + Jboss 6 Soap Service error
> --------------------------------------------------------
>
> Key: JBAS-9574
> URL: https://issues.jboss.org/browse/JBAS-9574
> Project: Application Server 3 4 5 and 6
> Issue Type: Feature Request
> Reporter: Shailesh Karwa
> Priority: Optional
>
> DEPLOYMENTS IN ERROR: Deployment "vfs:///D:/jboss-6.0.0.Final/server/default/deploy/SpringWebServiceTest.war" is in error due to the following reason(s): java.lang.RuntimeException: Neither any mapped-name/lookup/jndi-name specified nor any ResourceProvider could process resource-env-ref named env/org.apache.cxf.ws.policy.AssertionBuilderRegistryImpl/bus of type org.apache.cxf.Bus
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 8 months
[JBoss JIRA] (JBAS-9574) Spring + Maven + Apache CXF + Jboss 6 Soap Service error
by Tomaz Cerar (JIRA)
[ https://issues.jboss.org/browse/JBAS-9574?page=com.atlassian.jira.plugin.... ]
Tomaz Cerar closed JBAS-9574.
-----------------------------
Fix Version/s: (was: Open To Community)
Resolution: Rejected
This looks like forum question. Not a bug report.
Also keep in mind that JBoss AS 6.x is no longer maintained.
All development has moved over to WildFly (new name for JBoss AS) which currently at version 10 and is actively maintained and developed.
> Spring + Maven + Apache CXF + Jboss 6 Soap Service error
> --------------------------------------------------------
>
> Key: JBAS-9574
> URL: https://issues.jboss.org/browse/JBAS-9574
> Project: Application Server 3 4 5 and 6
> Issue Type: Feature Request
> Reporter: Shailesh Karwa
> Priority: Optional
>
> DEPLOYMENTS IN ERROR: Deployment "vfs:///D:/jboss-6.0.0.Final/server/default/deploy/SpringWebServiceTest.war" is in error due to the following reason(s): java.lang.RuntimeException: Neither any mapped-name/lookup/jndi-name specified nor any ResourceProvider could process resource-env-ref named env/org.apache.cxf.ws.policy.AssertionBuilderRegistryImpl/bus of type org.apache.cxf.Bus
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 8 months
[JBoss JIRA] (WFLY-5170) WildFlySecurityManager throws exception by some tests with security manager
by Ivo Studensky (JIRA)
[ https://issues.jboss.org/browse/WFLY-5170?page=com.atlassian.jira.plugin.... ]
Ivo Studensky commented on WFLY-5170:
-------------------------------------
DsWithSecurityDomainTestCase fails due to an IronJacamar issue JBJCA-1304. I've filed JBEAP-1898 for it.
> WildFlySecurityManager throws exception by some tests with security manager
> ---------------------------------------------------------------------------
>
> Key: WFLY-5170
> URL: https://issues.jboss.org/browse/WFLY-5170
> Project: WildFly
> Issue Type: Bug
> Components: Test Suite
> Reporter: Marek Kopecký
> Assignee: Ivo Studensky
>
> *Description of problem:*
> WildFlySecurityManager throws ExceptionInInitializerError exception by some tests with security manager.
> *Affected tests found so far:*
> * org.jboss.as.test.integration.batch.deployment.JobControlTestCase#testStop
> * org.jboss.as.test.integration.ejb.mdb.ejb2x.MDB20MessageSelectorTestCase#retestMessageSelectors
> * org.jboss.as.test.integration.ejb.mdb.ejb2x.MDB20QueueTestCase#testEjb20MDB
> * org.jboss.as.test.integration.ejb.mdb.ejb2x.MDB20TopicTestCase#testEjb20TopicMDBs
> * org.jboss.as.test.integration.ejb.mdb.ejb2x.MDB21TestCase#testSimple21MDB
> * org.jboss.as.test.integration.ejb.pool.lifecycle.PooledEJBLifecycleTestCase#testMDB
> * org.jboss.as.test.xts.annotation.compensationScoped.CompensationScopedTestCase#shouldSeeDifferentValuesInDifferentTransactions
> * org.jboss.as.test.xts.wsat.client.ATTestCase#testWSATVoteReadOnly
> * org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase#testWSBACoordinatorSimple
> *Steps to Reproduce for MDB20QueueTestCase:*
> # ./integration-tests.sh -fae -Dmaven.test.failure.ignore=true -Dnode0=$MYTESTIP_1 -Dnode1=$MYTESTIP_2 -DfailIfNoTests=false -Dsecurity.manager -Dts.basic -Dts.noSmoke -Dtest=MDB20QueueTestCase
> *Actual results:*
> {noformat}
> testEjb20MDB(org.jboss.as.test.integration.ejb.mdb.ejb2x.MDB20QueueTestCase) Time elapsed: 0.094 sec <<< ERROR!
> java.lang.ExceptionInInitializerError: null
> at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:273)
> at org.wildfly.security.manager.WildFlySecurityManager.checkPropertyAccess(WildFlySecurityManager.java:496)
> at java.lang.System.getProperty(System.java:717)
> at java.lang.Integer.getInteger(Integer.java:1101)
> at java.lang.Integer.getInteger(Integer.java:1057)
> at org.jboss.as.test.shared.TimeoutUtil.<clinit>(TimeoutUtil.java:39)
> at org.jboss.as.test.integration.ejb.mdb.ejb2x.MDB20QueueTestCase.testEjb20MDB(MDB20QueueTestCase.java:110)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 8 months
[JBoss JIRA] (JBJCA-1304) Subject.doAs should be invoked inside of doPrivileged block
by Ivo Studensky (JIRA)
[ https://issues.jboss.org/browse/JBJCA-1304?page=com.atlassian.jira.plugin... ]
Ivo Studensky commented on JBJCA-1304:
--------------------------------------
PR:
https://github.com/ironjacamar/ironjacamar/pull/434
> Subject.doAs should be invoked inside of doPrivileged block
> -----------------------------------------------------------
>
> Key: JBJCA-1304
> URL: https://issues.jboss.org/browse/JBJCA-1304
> Project: IronJacamar
> Issue Type: Bug
> Components: JDBC
> Affects Versions: WildFly/IronJacamar 1.3.1.Final
> Reporter: Ivo Studensky
> Assignee: Ivo Studensky
>
> If the server is running with Security Manager enabled and a deployment invokes {{getConnection()}} method a DataSource, it fails with the following exception:
> {noformat}
> &#27;[0m&#27;[33m15:08:52,138 WARN [org.jboss.jca.core.connectionmanager.pool.strategy.PoolBySubject] (pool-2-thread-1) IJ000604: Throwable while attempting to get a new connection: null: java.security.AccessControlException: WFSM000001: Permission check failed (permission "("javax.security.auth.AuthPermission" "doAs")" in code source "(vfs:/content/test.ear/lib/single.jar <no signer certificates>)" of "null")
> at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:273)
> at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:175)
> at javax.security.auth.Subject.doAs(Subject.java:410)
> at org.jboss.jca.adapters.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:243)
> at org.jboss.jca.core.connectionmanager.pool.mcp.SemaphoreConcurrentLinkedDequeManagedConnectionPool.createConnectionEventListener(SemaphoreConcurrentLinkedDequeManagedConnectionPool.java:1336)
> at org.jboss.jca.core.connectionmanager.pool.mcp.SemaphoreConcurrentLinkedDequeManagedConnectionPool.getConnection(SemaphoreConcurrentLinkedDequeManagedConnectionPool.java:501)
> at org.jboss.jca.core.connectionmanager.pool.AbstractPool.getSimpleConnection(AbstractPool.java:633)
> at org.jboss.jca.core.connectionmanager.pool.AbstractPool.getConnection(AbstractPool.java:605)
> at org.jboss.jca.core.connectionmanager.AbstractConnectionManager.getManagedConnection(AbstractConnectionManager.java:603)
> at org.jboss.jca.core.connectionmanager.tx.TxConnectionManagerImpl.getManagedConnection(TxConnectionManagerImpl.java:430)
> at org.jboss.jca.core.connectionmanager.AbstractConnectionManager.allocateConnection(AbstractConnectionManager.java:761)
> at org.jboss.jca.adapters.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:138)
> at org.jboss.as.connector.subsystems.datasources.WildFlyDataSource.getConnection(WildFlyDataSource.java:66)
> at org.jboss.as.test.integration.jca.security.DsWithSecurityDomainTestCase.deploymentTest(DsWithSecurityDomainTestCase.java:101)
> {noformat}
> {{LocalManagedConnectionFactory#createManagedConnection(Subject, ConnectionRequestInfo)}} invokes {{Subject.doAs()}} without {{doPrivileged}} block. Hence, the deployment needs to have doAs permissions.
> {{Subject.doAs}} should be invoked within {{doPrivileged}}.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 8 months
[JBoss JIRA] (JBAS-9574) Spring + Maven + Apache CXF + Jboss 6 Soap Service error
by Tomaz Cerar (JIRA)
[ https://issues.jboss.org/browse/JBAS-9574?page=com.atlassian.jira.plugin.... ]
Tomaz Cerar updated JBAS-9574:
------------------------------
Fix Version/s: Open To Community
> Spring + Maven + Apache CXF + Jboss 6 Soap Service error
> --------------------------------------------------------
>
> Key: JBAS-9574
> URL: https://issues.jboss.org/browse/JBAS-9574
> Project: Application Server 3 4 5 and 6
> Issue Type: Feature Request
> Reporter: Shailesh Karwa
> Priority: Blocker
> Fix For: Open To Community
>
>
> DEPLOYMENTS IN ERROR: Deployment "vfs:///D:/jboss-6.0.0.Final/server/default/deploy/SpringWebServiceTest.war" is in error due to the following reason(s): java.lang.RuntimeException: Neither any mapped-name/lookup/jndi-name specified nor any ResourceProvider could process resource-env-ref named env/org.apache.cxf.ws.policy.AssertionBuilderRegistryImpl/bus of type org.apache.cxf.Bus
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 8 months