[JBoss JIRA] (JBJCA-1363) IOException: Could not delete C:\ProgramFiles\JBoss\ironjacamar-1.2.7.Final\tmp\scortcicsecirar-3.1.0.rar\bouncycastle-1.04.jar
by Francis ANDRE (JIRA)
[ https://issues.jboss.org/browse/JBJCA-1363?page=com.atlassian.jira.plugin... ]
Francis ANDRE updated JBJCA-1363:
---------------------------------
Priority: Major (was: Blocker)
> IOException: Could not delete C:\ProgramFiles\JBoss\ironjacamar-1.2.7.Final\tmp\scortcicsecirar-3.1.0.rar\bouncycastle-1.04.jar
> -------------------------------------------------------------------------------------------------------------------------------
>
> Key: JBJCA-1363
> URL: https://issues.jboss.org/browse/JBJCA-1363
> Project: IronJacamar
> Issue Type: Bug
> Components: Deployer
> Affects Versions: 1.0.17.Final, 1.2.7.Final
> Environment: C:\ProgramFiles\JBoss\ironjacamar-1.2.7.Final\bin>"%java_home%\bin\java" -version
> java version "1.7.0_80"
> Java(TM) SE Runtime Environment (build 1.7.0_80-b15)
> Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode)
> Windows 10
> Reporter: Francis ANDRE
>
> Hi
> Got this exception when deploying a EIS rar
> C:\ProgramFiles\JBoss\ironjacamar-1.2.7.Final\bin>run
> ===============================================================================
> IronJacamar
> IRON_JACAMAR_HOME: C:\ProgramFiles\JBoss\ironjacamar-1.2.7.Final
> JAVA: C:\Program Files\Java\jdk1.7.0_80\bin\java
> JAVA_OPTS: -Xmx512m
> ===============================================================================
> 10:16:49,330 INFO [Fungal] Fungal 0.11.0.Final started
> 10:16:49,908 INFO [Version] HV000001: Hibernate Validator 5.0.1.Final
> 10:16:50,065 INFO [WebServer] Jetty 8.1.3.v20120416 started
> 10:16:50,143 INFO [RADeployer] IJ020001: Required license terms for file:/C:/ProgramFiles/JBoss/ironjacamar-1.2.7.Final/system/jdbc-xa.rar
> 10:16:50,221 INFO [RADeployer] IJ020001: Required license terms for file:/C:/ProgramFiles/JBoss/ironjacamar-1.2.7.Final/system/jdbc-local.rar
> 10:16:50,268 INFO [RADeployer] IJ020001: Required license terms for file:/C:/ProgramFiles/JBoss/ironjacamar-1.2.7.Final/system/scortcicsecirar-3.1.0.rar
> 10:16:50,362 INFO [WARDeployer] Deployed: file:/C:/ProgramFiles/JBoss/ironjacamar-1.2.7.Final/system/root.war
> 10:16:50,362 INFO [WARDeployer] Deployed: file:/C:/ProgramFiles/JBoss/ironjacamar-1.2.7.Final/system/console.war
> 10:16:50,362 SEVERE [Fungal] Deployment file:/C:/ProgramFiles/JBoss/ironjacamar-1.2.7.Final/deploy/scortcicsecirar-3.1.0.rar failed: com.github.fungal.spi.deployers.DeployException: Deployment file:/C:/ProgramFiles/JBoss/ironjacamar-1.2.7.Final/deploy/scortcicsecirar-3.1.0.rar failed
> at org.jboss.jca.deployers.fungal.RADeployer.deploy(RADeployer.java:209)
> at com.github.fungal.impl.MainDeployerImpl.deploy(MainDeployerImpl.java:144)
> at com.github.fungal.impl.KernelImpl$UnitDeployer.run(KernelImpl.java:1947)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: java.io.IOException: Could not delete C:\ProgramFiles\JBoss\ironjacamar-1.2.7.Final\tmp\scortcicsecirar-3.1.0.rar\bouncycastle-1.04.jar
> at com.github.fungal.api.util.FileUtil.delete(FileUtil.java:378)
> at com.github.fungal.api.util.FileUtil.extract(FileUtil.java:179)
> at org.jboss.jca.deployers.fungal.RADeployer.deploy(RADeployer.java:131)
> ... 5 more
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 4 months
[JBoss JIRA] (ELY-1481) Coverity, Explicit null dereferenced in FileSystemSecurityRealm
by Martin Choma (JIRA)
Martin Choma created ELY-1481:
---------------------------------
Summary: Coverity, Explicit null dereferenced in FileSystemSecurityRealm
Key: ELY-1481
URL: https://issues.jboss.org/browse/ELY-1481
Project: WildFly Elytron
Issue Type: Bug
Components: Authentication Client
Affects Versions: 1.2.0.Beta11
Reporter: Martin Choma
There are 2 occurences of call to PasswordFactory.getInstance(algorithm) in FileSystemSecurityRealm where algorithm can be null, because algorithm is optional in wildfly-config.xml
{code:xml|title=elytron-1_0_1.xsd}
<xsd:complexType name="credential-type">
<xsd:simpleContent>
<xsd:extension base="xsd:string">
<xsd:attribute name="algorithm" type="xsd:string" use="optional"/>
<xsd:attribute name="format" type="xsd:string" use="optional"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<xsd:complexType name="otp-credential-type">
<xsd:simpleContent>
<xsd:extension base="xsd:string">
<xsd:attribute name="algorithm" type="xsd:string" use="optional"/>
<xsd:attribute name="hash" type="xsd:string" use="optional"/>
<xsd:attribute name="seed" type="xsd:string" use="optional"/>
<xsd:attribute name="sequence" type="xsd:string" use="optional"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
{code}
Algorithm is dereferenced in PasswordFactory.getInstance(algorithm) down in
{code:java|title=java.security.Provider$ServiceKey.java}
private ServiceKey(String type, String algorithm, boolean intern) {
this.type = type;
this.originalAlgorithm = algorithm;
algorithm = algorithm.toUpperCase(ENGLISH);
this.algorithm = intern ? algorithm.intern() : algorithm;
}
{code}
[1] https://scan7.coverity.com/reports.htm#v23632/p11778/fileInstanceId=44847...
[2] https://scan7.coverity.com/reports.htm#v23632/p11778/fileInstanceId=44847...
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 4 months
[JBoss JIRA] (ELY-1480) Coverity, Explicit null dereferenced in FileSystemSecurityRealm
by Martin Choma (JIRA)
Martin Choma created ELY-1480:
---------------------------------
Summary: Coverity, Explicit null dereferenced in FileSystemSecurityRealm
Key: ELY-1480
URL: https://issues.jboss.org/browse/ELY-1480
Project: WildFly Elytron
Issue Type: Bug
Components: Authentication Client
Affects Versions: 1.2.0.Beta11
Reporter: Martin Choma
There are 2 occurences of call to PasswordFactory.getInstance(algorithm) in FileSystemSecurityRealm where algorithm can be null, because algorithm is optional in wildfly-config.xml
{code:xml|title=elytron-1_0_1.xsd}
<xsd:complexType name="credential-type">
<xsd:simpleContent>
<xsd:extension base="xsd:string">
<xsd:attribute name="algorithm" type="xsd:string" use="optional"/>
<xsd:attribute name="format" type="xsd:string" use="optional"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<xsd:complexType name="otp-credential-type">
<xsd:simpleContent>
<xsd:extension base="xsd:string">
<xsd:attribute name="algorithm" type="xsd:string" use="optional"/>
<xsd:attribute name="hash" type="xsd:string" use="optional"/>
<xsd:attribute name="seed" type="xsd:string" use="optional"/>
<xsd:attribute name="sequence" type="xsd:string" use="optional"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
{code}
Algorithm is dereferenced in PasswordFactory.getInstance(algorithm) down in
{code:java|title=java.security.Provider$ServiceKey.java}
private ServiceKey(String type, String algorithm, boolean intern) {
this.type = type;
this.originalAlgorithm = algorithm;
algorithm = algorithm.toUpperCase(ENGLISH);
this.algorithm = intern ? algorithm.intern() : algorithm;
}
{code}
[1] https://scan7.coverity.com/reports.htm#v23632/p11778/fileInstanceId=44847...
[2] https://scan7.coverity.com/reports.htm#v23632/p11778/fileInstanceId=44847...
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 4 months
[JBoss JIRA] (DROOLS-2207) Validation and Verification panel is missing
by Jozef Marko (JIRA)
[ https://issues.jboss.org/browse/DROOLS-2207?page=com.atlassian.jira.plugi... ]
Jozef Marko updated DROOLS-2207:
--------------------------------
Affects Version/s: 7.5.0.Final
> Validation and Verification panel is missing
> --------------------------------------------
>
> Key: DROOLS-2207
> URL: https://issues.jboss.org/browse/DROOLS-2207
> Project: Drools
> Issue Type: Bug
> Components: Guided Decision Table Editor
> Affects Versions: 7.5.0.Final, 7.6.0.Final
> Reporter: Jozef Marko
> Assignee: Toni Rikkola
> Priority: Critical
>
> The Validation and Verification panel is missing. The server log contains error [1], however looking into the workbench war, all v&v jars seems to be present.
> [1]
> ERROR [org.drools.workbench.services.verifier.plugin.backend.VerifierWebWorkerServlet] (default task-119) Failed to load verifier web worker.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 4 months
[JBoss JIRA] (ELY-1479) Coverity, Missing call to superclass in AbstractGssapiMechanism
by Martin Choma (JIRA)
Martin Choma created ELY-1479:
---------------------------------
Summary: Coverity, Missing call to superclass in AbstractGssapiMechanism
Key: ELY-1479
URL: https://issues.jboss.org/browse/ELY-1479
Project: WildFly Elytron
Issue Type: Bug
Components: Authentication Mechanisms
Affects Versions: 1.2.0.Beta11
Reporter: Martin Choma
super.getNegotiatedProperty() is not called in AbstractGssapiMechanism#getNegotiatedProperty, although it is called in similar cases in Gs2SaslServer, DigestSaslServer, AnonymousSaslClient.
{code:java|title=AbstractGssapiMechanism.java}
@Override
public Object getNegotiatedProperty(String propName) {
assertComplete();
switch (propName) {
case Sasl.QOP:
return selectedQop.getName();
case Sasl.MAX_BUFFER:
return Integer.toString(actualMaxReceiveBuffer != 0 ? actualMaxReceiveBuffer : configuredMaxReceiveBuffer);
case Sasl.RAW_SEND_SIZE:
return Integer.toString(maxBuffer);
}
return null;
}
{code}
This coverity report is not caused by recent change in AbstractGssapiMechanism but rather Gs2SaslServer and DigestSaslServer
[1] https://scan7.coverity.com/reports.htm#v23632/p11778/fileInstanceId=44847...
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 4 months
[JBoss JIRA] (WFCORE-2251) ObjectTypeValidator should not implement AllowedValuesValidator
by Brian Stansberry (JIRA)
[ https://issues.jboss.org/browse/WFCORE-2251?page=com.atlassian.jira.plugi... ]
Brian Stansberry reassigned WFCORE-2251:
----------------------------------------
Assignee: Brian Stansberry
> ObjectTypeValidator should not implement AllowedValuesValidator
> ---------------------------------------------------------------
>
> Key: WFCORE-2251
> URL: https://issues.jboss.org/browse/WFCORE-2251
> Project: WildFly Core
> Issue Type: Bug
> Components: Domain Management
> Reporter: Brian Stansberry
> Assignee: Brian Stansberry
> Priority: Minor
>
> ObjectTypeValidator is incorrectly implementing AllowedValuesValidator and should not implement it at all.
> The values returned from an AllowedValuesValidator are meant to be an enumeration of the *complete* legal values for the attribute. ObjectTypeValidator is simply returning the legal keys for the fields in the object, which are not complete legal values.
> The result of this is any attribute that uses this validator (which all complex objects probably do) will report bogus and unnecessary data in the read-resource-description "allowed-values" metadata. Unnecessary because the description of the attribute already includes full details of the fields via the "value-type" metadata.
> I'm classifying this as minor because the bogus metadata likely does no harm.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 4 months
[JBoss JIRA] (DROOLS-2210) Drools 7.3.0 serialization null pointer exceptions with sliding windows
by Manjunath S Paramesan (JIRA)
Manjunath S Paramesan created DROOLS-2210:
---------------------------------------------
Summary: Drools 7.3.0 serialization null pointer exceptions with sliding windows
Key: DROOLS-2210
URL: https://issues.jboss.org/browse/DROOLS-2210
Project: Drools
Issue Type: Bug
Components: core engine
Affects Versions: 7.3.0.Final
Reporter: Manjunath S Paramesan
Assignee: Mario Fusco
Priority: Critical
We have a fairly large rule-base with temporal reasoning and sliding windows.
While serializing the drools session we observe random null pointer exceptions as see below:
Exception in thread "pool-92-thread-98" java.lang.NullPointerException
at org.drools.core.rule.SlidingTimeWindow$BehaviorJobContextTimerOutputMarshaller.serialize(SlidingTimeWindow.java:323)
at org.drools.core.marshalling.impl.ProtobufOutputMarshaller.writeTimers(ProtobufOutputMarshaller.java:880)
at org.drools.core.marshalling.impl.ProtobufOutputMarshaller.serializeSession(ProtobufOutputMarshaller.java:210)
at org.drools.core.marshalling.impl.ProtobufOutputMarshaller.writeSession(ProtobufOutputMarshaller.java:118)
at org.drools.core.marshalling.impl.ProtobufMarshaller.marshall(ProtobufMarshaller.java:162)
at org.drools.core.marshalling.impl.ProtobufMarshaller.marshall(ProtobufMarshaller.java:146)
at com.mlnms.common.fmwk.drools.impl.DroolsClientImpl.backupKieSession(DroolsClientImpl.java:743)
at com.mlnms.common.fmwk.drools.impl.DroolsClientImpl.lambda$processStatefulEvents$0(DroolsClientImpl.java:506)
at java.lang.Thread.run(Thread.java:745)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 4 months
[JBoss JIRA] (ELY-1478) Use System.lineSeparator() when generating PEM content to avoid issues on Windows
by Farah Juma (JIRA)
Farah Juma created ELY-1478:
-------------------------------
Summary: Use System.lineSeparator() when generating PEM content to avoid issues on Windows
Key: ELY-1478
URL: https://issues.jboss.org/browse/ELY-1478
Project: WildFly Elytron
Issue Type: Task
Components: Utils
Reporter: Farah Juma
Assignee: Farah Juma
A couple of the new tests in {{KeyStoresTestCase}} in the PR for WFCORE-3305 have started failing recently on Windows due to newline characters not being written properly in generated PEM files:
{code}
KeyStoresTestCase.testExportCertificatePem
java.lang.AssertionError: array lengths differed, expected.length=1068 actual.length=1050
at org.wildfly.extension.elytron.KeyStoresTestCase.testExportCertificate(KeyStoresTestCase.java:566)
at org.wildfly.extension.elytron.KeyStoresTestCase.testExportCertificatePem(KeyStoresTestCase.java:542)
{code}
{code}
KeyStoresTestCase.testGenerateCertificateSigningRequest
java.lang.AssertionError: array lengths differed, expected.length=782 actual.length=769
at org.wildfly.extension.elytron.KeyStoresTestCase.testGenerateCertificateSigningRequest(KeyStoresTestCase.java:327)
{code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 4 months