[JBoss JIRA] (AS7-2951) Pooled connection factory does not support client-id
by Martin Vecera (Created) (JIRA)
Pooled connection factory does not support client-id
----------------------------------------------------
Key: AS7-2951
URL: https://issues.jboss.org/browse/AS7-2951
Project: Application Server 7
Issue Type: Bug
Components: JMS
Affects Versions: 7.1.0.Beta1
Reporter: Martin Vecera
Assignee: Clebert Suconic
The following snippet is from standalone.xml. Client-id is silently ignored and deleted from the configuration file. It is not possible to create durable topic subscription with this factory (the sevrer complaints about missing client-id).
{code:xml}
<pooled-connection-factory name="DURABLE_SUB_CONNECTION_FACTORY">
<transaction mode="xa"/>
<connectors>
<connector-ref connector-name="netty"/>
</connectors>
<entries>
<entry name="jms/DURABLE_SUB_CONNECTION_FACTORY"/>
</entries>
<client-id>cts3</client-id>
</pooled-connection-factory>
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 3 months
[JBoss JIRA] (AS7-1338) Remote JNDI support for AS7
by Yong Hao Gao (Commented) (JIRA)
[ https://issues.jboss.org/browse/AS7-1338?page=com.atlassian.jira.plugin.s... ]
Yong Hao Gao commented on AS7-1338:
-----------------------------------
Well it looks like more than what I thought it to be, which would be just a re-packaging or re-wrapping of the good old JNDI impl in pre-eap6 servers. Thanks Jason.
> Remote JNDI support for AS7
> ---------------------------
>
> Key: AS7-1338
> URL: https://issues.jboss.org/browse/AS7-1338
> Project: Application Server 7
> Issue Type: Task
> Components: Naming
> Reporter: Richard Opalka
> Assignee: John Bailey
> Priority: Critical
> Labels: eap6-req
> Fix For: 7.1.0.Final
>
>
> Add support for remote JNDI after all. It was agreed that:
> * Remote JNDI would run over Remoting
> * Remote JNDI for EJB is strictly a legacy access protocol, deprecated in favor of "ejb:"
> * The Remote JNDI service would proxy to a specific Context of the server JNDI tree - maybe "java:jboss/shared", maybe something else
> * Server-side services would opt-in to Remote JNDI; initially we'd only support:
> ** Remote EJB interfaces
> ** HornetQ connection factories
> * In the future we may support:
> ** User bindings, so long as they're serializable
> * In the future we will never support:
> ** Proxied DataSources
> ** Proxied JMS invocations
> Initial project tree is at https://github.com/dmlloyd/jboss-remote-jndi for now.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 3 months
[JBoss JIRA] Created: (AS7-1970) VFSResourceLoader doesn't load the PackageSpec correctly
by jaikiran pai (JIRA)
VFSResourceLoader doesn't load the PackageSpec correctly
--------------------------------------------------------
Key: AS7-1970
URL: https://issues.jboss.org/browse/AS7-1970
Project: Application Server 7
Issue Type: Bug
Components: Server
Affects Versions: 7.0.2.Final
Reporter: jaikiran pai
Assignee: jaikiran pai
There appears to be a bug in the VFSResourceLoader#getPackageSpec(final String name) where it doesn't correctly load the MainAttributes from the Manifest and also doesn't covert the "dot" separated package name to "/" separated path for loading entry attributes from the manifest.
See the referenced forum thread for details.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 3 months
[JBoss JIRA] (AS7-2814) Mail description and resource disjunct
by Heiko Braun (Created) (JIRA)
Mail description and resource disjunct
--------------------------------------
Key: AS7-2814
URL: https://issues.jboss.org/browse/AS7-2814
Project: Application Server 7
Issue Type: Bug
Components: Domain Management
Reporter: Heiko Braun
Assignee: Brian Stansberry
Fix For: 7.1.0.CR1
According to the description the attribute "smtp-server" should be a String, but it isn't.
{noformat}
[standalone@localhost:9999 /] /subsystem=mail/mail-session=java\:jboss\/mail\/Default:read-resource-description
{
"outcome" => "success",
"result" => {
"description" => "Mail session configuration",
"head-comment-allowed" => true,
"tail-comment-allowed" => true,
"attributes" => {
"jndi-name" => {
"description" => "JNDI name to where mail session should be bound",
"type" => STRING,
"required" => true,
"access-type" => "read-only",
"storage" => "configuration"
},
"debug" => {
"description" => "If this is true the MailSessionConfiguration will be set to debug mode",
"type" => STRING,
"required" => false,
"access-type" => "read-only",
"storage" => "configuration"
},
"smtp-server" => {
"description" => "The address of a SMTP Mail Server",
"type" => STRING,
"required" => false,
"access-type" => "read-only",
"storage" => "configuration"
},
"imap-server" => {
"description" => "The address of an IMAP Mail Server",
"type" => STRING,
"required" => false,
"access-type" => "read-only",
"storage" => "configuration"
},
"pop3-server" => {
"description" => "The address of a POP3 Mail Server",
"type" => STRING,
"required" => false,
"access-type" => "read-only",
"storage" => "configuration"
}
}
}
}
[standalone@localhost:9999 /] /subsystem=mail/mail-session=java\:jboss\/mail\/Default:read-resource
{
"outcome" => "success",
"result" => {
"debug" => "false",
"jndi-name" => "java:jboss/mail/Default",
"smtp-server" => {"outbound-socket-binding-ref" => "mail-smtp"}
}
}
{noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 3 months
[JBoss JIRA] (AS7-2716) Mail subsystem resource attributes are all marked as read-only
by jaikiran pai (Created) (JIRA)
Mail subsystem resource attributes are all marked as read-only
--------------------------------------------------------------
Key: AS7-2716
URL: https://issues.jboss.org/browse/AS7-2716
Project: Application Server 7
Issue Type: Bug
Environment: AS7 upstream
Reporter: jaikiran pai
The mail subsystem has all its model attributes marked as read-only:
{code}
[standalone@localhost:9999 /] /subsystem=mail:read-resource-description(recursive=true)
{
"outcome" => "success",
"result" => {
"description" => "The mail subsystem",
"head-comment-allowed" => true,
"tail-comment-allowed" => true,
"namespace" => "urn:jboss:domain:mail:1.0",
"children" => {"mail-session" => {
"description" => "Defines the mail sessions.",
"min-occurs" => 1,
"model-description" => {"*" => {
"description" => "Mail session configuration",
"head-comment-allowed" => true,
"tail-comment-allowed" => true,
"attributes" => {
"jndi-name" => {
"description" => "JNDI name to where mail session should be bound",
"type" => STRING,
"required" => true,
"access-type" => "read-only",
"storage" => "configuration"
},
"debug" => {
"description" => "If this is true the MailSessionConfiguration will be set to debug mode",
"type" => STRING,
"required" => false,
"access-type" => "read-only",
"storage" => "configuration"
},
"smtp-server" => {
"description" => "The address of a SMTP Mail Server",
"type" => STRING,
"required" => false,
"access-type" => "read-only",
"storage" => "configuration"
},
"imap-server" => {
"description" => "The address of an IMAP Mail Server",
"type" => STRING,
"required" => false,
"access-type" => "read-only",
"storage" => "configuration"
},
"pop3-server" => {
"description" => "The address of a POP3 Mail Server",
"type" => STRING,
"required" => false,
"access-type" => "read-only",
"storage" => "configuration"
}
}
}}
}}
}
}
{code}
The resource definition needs to be implemented to provide write access to those attributes.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 3 months
[JBoss JIRA] (AS7-3162) RESTEasy: Unknown servet name javax.ws.rs.core.Application when javax.ws.rs.core.Application subclass is on classpath
by Weinan Li (Commented) (JIRA)
[ https://issues.jboss.org/browse/AS7-3162?page=com.atlassian.jira.plugin.s... ]
Weinan Li commented on AS7-3162:
--------------------------------
You have mixed up the concept of javax.ws.rs.core.Application and the servlet in servlet-mapping.
The servlet-name in servlet-mapping is an instance of HttpServlet30Dispatcher or HttpServletDispatcher not a class that extends Application.
So I hate the servlet name used in as7 container. It creates confusions :-)
Let me repeat the concept more concisely here:
1. Use @ApplicationPath in your class that extends Application
2. Use servlet-mapping with servlet name "javax.ws.rs.core.Application"(which is actually an HttpServlet30Dispatcher servlet that AS7 has created for you.)
3. Use the traditional method to configure your application(listeners, context params, servlet, mappings). I've given you an example on this: https://github.com/liweinan/try-resteasy
> RESTEasy: Unknown servet name javax.ws.rs.core.Application when javax.ws.rs.core.Application subclass is on classpath
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: AS7-3162
> URL: https://issues.jboss.org/browse/AS7-3162
> Project: Application Server 7
> Issue Type: Bug
> Components: REST
> Affects Versions: 7.1.0.CR1b
> Reporter: Pavel Janousek
> Assignee: Weinan Li
> Priority: Blocker
>
> I've deployment like this:
> {code}
> @Deployment
> public static Archive<?> deploy() {
> WebArchive war = ShrinkWrap.create(WebArchive.class, "jaxrsnoap.war");
> war.addPackage(HttpRequest.class.getPackage());
> war.addClasses(ApplicationTestCase.class, ApplicationInvalid1.class);
> war.addAsWebInfResource(
> WebXml.get("<servlet-mapping>\n"
> + " <servlet-name>javax.ws.rs.core.Application</servlet-name>\n"
> + " <url-pattern>/myjaxrs/*</url-pattern>\n"
> + "</servlet-mapping>\n" + "\n"), "web.xml");
> return war;
> }
> {code}
> This deployment fails during deploying because of "Context [/jaxrsnoap] startup failed due to previous errors: java.lang.IllegalArgumentException: Servlet mapping specifies an unknown servlet name javax.ws.rs.core.Application"
> ApplicationInvalid1 is empty subclass of javax.ws.rs.core.Application like:
> {code}
> public class ApplicationInvalid1 extends Application {
> private Set<Class<?>> classes = new HashSet<Class<?>>();
> public ApplicationInvalid1() {
> }
> @Override
> public Set<Class<?>> getClasses() {
> return classes;
> }
> }
> {code}
> There isn't any reference to this class in web.xml or somewhere else. Only class is placed on classpath. If I remove this class from deployment (= change appropriate line to "war.addClasses(ApplicationTestCase.class);", everything will be OK.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 3 months
[JBoss JIRA] Created: (JBRULES-3161) CEP - event both in and out of time window at the same time
by Radai Rosenblatt (JIRA)
CEP - event both in and out of time window at the same time
-----------------------------------------------------------
Key: JBRULES-3161
URL: https://issues.jboss.org/browse/JBRULES-3161
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: drools-core
Affects Versions: 5.2.0.Final
Environment: jre 6u24, windows 7 x64
Reporter: Radai Rosenblatt
Assignee: Mark Proctor
Priority: Critical
given this object:
public class Event {
private Date started;
private Date finished;
private long duration;
//getters and setters
}
the following drools code:
declare Event
@role( event )
@duration ( duration )
@timestamp( started )
end
rule "Event Exists In Window"
when
$eventOne : Event() over window:time( 1h ) from entry-point "Event Stream"
then
//nothing
end
rule "No Event Exists In Window"
when
not ( Event() over window:time( 1h ) from entry-point "Event Stream" )
then
//nothing
end
and the following scenario:
now-1.5h the event now+1h
|---------------------------------------|
the window
|------------------|
---------------------------------|-------------> T
now
(an event at time T that start at T-1.5h and ends at T+1h)
both of the above rules fire. im not sure which of them _should_ fire for this scenario, but im pretty sure its either one or the other (to my understanding the conditions are logically exclusive - there either exists an event in the window or there doesnt)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 3 months
[JBoss JIRA] Created: (JBRULES-3130) Regression. Rule misfires due to constraint list[0].field1/2 in two rules
by Wolfgang Laun (JIRA)
Regression. Rule misfires due to constraint list[0].field1/2 in two rules
-------------------------------------------------------------------------
Key: JBRULES-3130
URL: https://issues.jboss.org/browse/JBRULES-3130
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 5.2.0.Final
Reporter: Wolfgang Laun
Assignee: Mark Proctor
Priority: Critical
Fix For: 5.2.1.Final
A pair of constraints suich as list[0].a == null and list[0].b == null in two different rules causes one of the rules not to fire and the other one to fire erroneously (see results at the end).
Java:
================================================================
public class Three {
private String a;
private String b;
private String c;
public Three( String a, String b, String c ){
this.a = a;
this.b = b;
this.c = c;
}
public String getA(){ return a; }
public String getB(){ return b; }
public String getC(){ return c; }
}
================================================================
import java.util.*;
public class ListOfThree {
private List<Three> list;
private Class<?> clazz;
public ListOfThree( Three three, Class<?> clazz ){
list = new ArrayList<Three>();
list.add( three );
this.clazz = clazz;
}
public List<Three> getList(){ return list; }
public Class<?> getClazz(){ return clazz; }
}
================================================================
// Insertion of facts
Three three = new Three( "a", "b", "c" );
ListOfThree listof3 = new ListOfThree( three, java.lang.Object.class );
kSession.insert( listof3 );
three = new Three( "x", null, "z" );
listof3 = new ListOfThree( three, java.lang.String.class );
kSession.insert( listof3 );
three = new Three( null, "q", "r" );
listof3 = new ListOfThree( three, java.lang.Integer.class );
kSession.insert( listof3 );
===================================================================
rule 'rule1'
############################ dialect "mvel" ## does not matter
when
ListOfThree( list[0].a == null, $c: clazz );
then
System.out.println( "rule1 " + $c.getSimpleName() );
end
rule 'rule2'
############################ dialect "mvel" ## does not matter
when
ListOfThree( list[0].b == null, $c: clazz );
then
System.out.println( "rule2 " + $c.getSimpleName() );
end
=================================================================
Results:
rule2 Integer
rule1 Integer
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 3 months