[JBoss JIRA] Created: (AS7-1393) Make Infinispan default 2nd level cache provider for hibernate
by Paul Ferraro (JIRA)
Make Infinispan default 2nd level cache provider for hibernate
--------------------------------------------------------------
Key: AS7-1393
URL: https://issues.jboss.org/browse/AS7-1393
Project: Application Server 7
Issue Type: Enhancement
Components: JPA / Hibernate
Affects Versions: 7.0.0.Final
Reporter: Paul Ferraro
Assignee: Scott Marlow
Fix For: 7.0.1.Final, 7.1.0.Alpha1
I thought this was the already the case, but apparently it isn't yet.
Users should not need to specify a value for hibernate.cache.region.factory_class in their persistence.xml.
If undefined, the jpa subsystem should default the hibernate.cache.region.factory_class to "org.hibernate.cache.infinispan.JndiInfinispanRegionFactory". Likewise, the requisite hibernate.cache.infinispan.cachemanager property should default to "java:jboss/infinispan/hibernate".
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 5 months
[JBoss JIRA] Created: (JGRP-1347) UNICAST/UNICAST2: message can get delivered multiple times
by Bela Ban (JIRA)
UNICAST/UNICAST2: message can get delivered multiple times
----------------------------------------------------------
Key: JGRP-1347
URL: https://issues.jboss.org/browse/JGRP-1347
Project: JGroups
Issue Type: Bug
Reporter: Bela Ban
Assignee: Bela Ban
Fix For: 2.12.2, 3.0
In handleDataReceived(), when our connection is not the same as the conn_id of the incoming message, we (1) remove the window and (2) create a new one and add it.
However, (1) and (2) are *not* synchronized: when multiple threads go through this code concurrently, we could have a sequence 1-2-1, meaning the window is removed, a new one is created, but then - because another thread got conn_id != our conn_id true, the window will be removed again !
This means that a message #1 might get added to the new window and delivered to the app, and then the same thing could happen again, because we re-create the window again !
SOLUTION: synchronization around: check for conn_id match, removal and creation of the new window
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 5 months
[JBoss JIRA] Created: (JBDEPLOY-276) End of file new line in aliases.txt creates empty alias
by Pontus Ullgren (JIRA)
End of file new line in aliases.txt creates empty alias
-------------------------------------------------------
Key: JBDEPLOY-276
URL: https://issues.jboss.org/browse/JBDEPLOY-276
Project: JBoss Deployers
Issue Type: Bug
Components: vfs
Affects Versions: JBDEPLOY-2.2.1.GA
Reporter: Pontus Ullgren
Priority: Minor
A empty line in aliases.txt will result in a alias without name being created.
This becomes obvious when two modules happens to have a empty new line in the end of the aliases.txt file the result is then
Caused by: java.lang.IllegalStateException:
_Alias_AbstractKernelController[29048474] is already installed.
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:716)
My suggestion is to simply filter out any empty line in org.jboss.deployers.vfs.plugins.dependency.AliasesParserDeployer#parse(...).
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 5 months
[JBoss JIRA] Created: (AS7-1390) NullPointerException in CMTTxInterceptor when invoking EJB3 bean
by Gonne Martens (JIRA)
NullPointerException in CMTTxInterceptor when invoking EJB3 bean
----------------------------------------------------------------
Key: AS7-1390
URL: https://issues.jboss.org/browse/AS7-1390
Project: Application Server 7
Issue Type: Bug
Components: EJB
Affects Versions: 7.1.0.Alpha1
Environment: Java 1.6.0_23 64bit, Windows 7 64bit
Reporter: Gonne Martens
Assignee: Carlo de Wolf
A call to any EJB3 bean results in a NullPointerException.
{code}
15:04:08,888 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/JBoss7Playground].[de.mobileview.playground.TestServlet]] (http-127.0.0.1-127.0.0.1-8080-1) Servlet.service() for servlet de.mobileview.playground.TestServlet threw exception: java.lang.NullPointerException
at org.jboss.ejb3.tx2.impl.CMTTxInterceptor.invoke(CMTTxInterceptor.java:209)
at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:35)
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:287)
at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:146)
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:287)
at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:76)
at de.mobileview.playground.TestBean$$$view1.ping(Unknown Source) [classes:]
at de.mobileview.playground.TestServlet.doGet(TestServlet.java:21) [classes:]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:734) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.1.Final.jar:7.1.0.Alpha1-SNAPSHOT]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.1.Final.jar:7.1.0.Alpha1-SNAPSHOT]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.1.Final.jar:7.1.0.Alpha1-SNAPSHOT]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.1.Final.jar:7.1.0.Alpha1-SNAPSHOT]
at org.jboss.as.web.NamingValve.invoke(NamingValve.java:57) [jboss-as-web-7.1.0.Alpha1-SNAPSHOT.jar:7.1.0.Alpha1-SNAPSHOT]
at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:49) [jboss-as-jpa-7.1.0.Alpha1-SNAPSHOT.jar:7.1.0.Alpha1-SNAPSHOT]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:154) [jbossweb-7.0.1.Final.jar:7.1.0.Alpha1-SNAPSHOT]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.1.Final.jar:7.1.0.Alpha1-SNAPSHOT]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.1.Final.jar:7.1.0.Alpha1-SNAPSHOT]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [jbossweb-7.0.1.Final.jar:7.1.0.Alpha1-SNAPSHOT]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.1.Final.jar:7.1.0.Alpha1-SNAPSHOT]
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:667) [jbossweb-7.0.1.Final.jar:7.1.0.Alpha1-SNAPSHOT]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:952) [jbossweb-7.0.1.Final.jar:7.1.0.Alpha1-SNAPSHOT]
at java.lang.Thread.run(Unknown Source) [:1.6.0_23]
{code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 5 months
[JBoss JIRA] Created: (JBRULES-3151) jaxb generated fact loaded into Guvnor throws errors when using the ' is contained in the comma separated list' operator
by sreeram vadlamudi (JIRA)
jaxb generated fact loaded into Guvnor throws errors when using the ' is contained in the comma separated list' operator
------------------------------------------------------------------------------------------------------------------------
Key: JBRULES-3151
URL: https://issues.jboss.org/browse/JBRULES-3151
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 5.2.0.CR1
Environment: weblogic 10.3.3 and windows XP
Reporter: sreeram vadlamudi
Assignee: Mark Proctor
I have a jaxb generated class loaded through the model jar into Guvnor to be used as a fact in the Guided Decision Table editor.
When I use a field ACTIVITYCODE of type String from the JAXB generated class with 'is contained in the comma separated list' operator, I get compilation errors.
Unable to Analyse Expression ACTIVITYCODE == "A" || ACTIVITYCODE == "B": [Error: no such identifier: ACTIVITYCODE] [Near : {... ACTIVITYCODE == "A" || ACTIVI ....}] ^ [Line: 1, Column: 1]
But when I use equal to operator to compare value to just a string value, it compiles fine.
3. | rule "Row 1 dds"
4. | ruleflow-group "None"
5. | dialect "mvel"
6. | when
7. | factClass : FACTCLASS( ACTIVITYCODE in ("A", "B"))
8. | then
9. | factClass.setRATE( "5.25" );
10. | end
The below rule compiles fine.
3. | rule "Row 1 dds"
4. | ruleflow-group "None"
5. | dialect "mvel"
6. | when
7. | factClass : FACTCLASS ( ACTIVITYCODE =="A")
8. | then
9. | factClass.setRATE( "5.25" );
10. | end
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 5 months
[JBoss JIRA] Created: (JBAS-7447) PersistentManager for sessions is broken
by Emilio Davis (JIRA)
PersistentManager for sessions is broken
----------------------------------------
Key: JBAS-7447
URL: https://jira.jboss.org/jira/browse/JBAS-7447
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Web (Tomcat) service
Affects Versions: JBossAS-5.1.0.GA
Reporter: Emilio Davis
Assignee: Remy Maucherat
Using the following context.xml
<Context cookies="true" crossContext="true">
<Manager className="org.apache.catalina.session.PersistentManager" maxIdleSwap="1200" saveOnRestart="true">
<Store checkInterval="60" className="org.apache.catalina.session.JDBCStore" connectionURL="jdbc:mysql://localhost:3306/XXX?user=XXX&password=XXX" driverName="com.mysql.jdbc.Driver" sessionAppCol="app_name" sessionDataCol="session_data" sessionIdCol="session_id" sessionLastAccessedCol="last_access" sessionMaxInactiveCol="max_inactive" sessionTable="tomcat_sessions" sessionValidCol="valid_session"/>
</Manager>
<InstanceListener>org.jboss.web.tomcat.security.RunAsListener</InstanceListener>
</Context>
That used to work in jboss4.0.5GA and correct according to tomcat 6 documentation jboss 5.1.0GA fails to start tomcat with the following exception:
2009-11-02 23:11:54,292 INFO [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (main) deplo
y, ctxPath=/
2009-11-02 23:11:55,619 ERROR [org.jboss.web.tomcat.service.deployers.JBossContextConfig] (main) XML
error parsing: context.xml
org.jboss.xb.binding.JBossXBException: Failed to parse source: Store not found as a child of Manager
in unordered_sequence: attributes?
at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:203)
at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:183)
at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:133)
at org.jboss.web.tomcat.service.deployers.JBossContextConfig.processContextConfig(JBossContextCo
nfig.java:573)
at org.jboss.web.tomcat.service.deployers.JBossContextConfig.init(JBossContextConfig.java:536)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:279)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at org.apache.catalina.core.StandardContext.init(StandardContext.java:5436)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4148)
at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeploymen
t.java:310)
at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:1
42)
at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)
at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
at org.jboss.web.deployers.WebModule.start(WebModule.java:97)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
at $Proxy38.start(Unknown Source)
I opened a thread in the tomcat integration forum (http://www.jboss.org/index.html?module=bb&op=viewtopic&t=163337) but got no response.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 5 months