[JBoss JIRA] Resolved: (JBCACHE-645) Providing xml schema or dtd for configuration validation
by Galder Zamarreno (JIRA)
[ http://jira.jboss.com/jira/browse/JBCACHE-645?page=all ]
Galder Zamarreno resolved JBCACHE-645.
--------------------------------------
Fix Version/s: 2.1.0.GA
(was: 2.0.0.GA)
Resolution: Deferred
Elements such as:
<attribute name="CacheMode">REPL_SYNC</attribute>
Cannot be defined in an XML schema. We can't define that
if name is "CacheMode", this particular element can contain x,y,z...
This comes from legacy XML configuration for MBeans.
The configuration should be revised before attempting to create an XML schema for it.
> Providing xml schema or dtd for configuration validation
> --------------------------------------------------------
>
> Key: JBCACHE-645
> URL: http://jira.jboss.com/jira/browse/JBCACHE-645
> Project: JBoss Cache
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Affects Versions: 1.3.0.SP2
> Reporter: Galder Zamarreno
> Assigned To: Galder Zamarreno
> Fix For: 2.1.0.GA
>
>
> It'd be nice if JBossCache could distribute an XML schema or dtd
> that would allow for configuration to be validated before JBossCache
> was actually deployed or started.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
19 years, 3 months
[JBoss JIRA] Created: (JBPORTAL-1094) ClassCastException when casting SubSession to List in PortalSessionSynchronizationInterceptor
by Poul Bildsoee Moeller (JIRA)
ClassCastException when casting SubSession to List in PortalSessionSynchronizationInterceptor
---------------------------------------------------------------------------------------------
Key: JBPORTAL-1094
URL: http://jira.jboss.com/jira/browse/JBPORTAL-1094
Project: JBoss Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Portal Portlet
Affects Versions: 2.4 Final
Environment: Portal Clustered using both Portal-ha-2.4.1CR1 and 2.4.0-ha running on JBoss AS 4.0.4
Reporter: Poul Bildsoee Moeller
Assigned To: Julien Viet
Priority: Minor
In org.jboss.portal.portlet.aspects.portlet.PortalSessionSynchronizationInterceptor the following code is executed (code partially inserted):
HttpSession session = req.getSession(false);
if (session != null)
{
ss = (SubSession)session.getAttribute(key);
}
//
try
{
// Set the sub session for the portlet synchronization
if (ss != null && ss.isActivated())
{
invocation.setAttribute("subsession", ss);
}
//
invocation.invokeNext();
}
finally
{
List modifications = (List)invocation.getAttribute("subsession");
The code sets the SubSession as an attribute on invocation and then later tries to fetch this again and at the same time cast to List. This doesn't work since SubSession isn't a List. I am not sure what is meant to happen so I cannot really fix the problem myself.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
19 years, 3 months
[JBoss JIRA] Created: (EJBTHREE-869) better exception message need when some SLSB doesn't implement a remote, web service, or local interface
by Joseph Marques (JIRA)
better exception message need when some SLSB doesn't implement a remote, web service, or local interface
--------------------------------------------------------------------------------------------------------
Key: EJBTHREE-869
URL: http://jira.jboss.com/jira/browse/EJBTHREE-869
Project: EJB 3.0
Issue Type: Bug
Affects Versions: EJB 3.0 RC9 - Patch 1
Environment: JBoss 4.0.5, EJB 3.0 RC9 Patch 1
Reporter: Joseph Marques
Steps to reproduce:
1) Annotate some class with @Stateless
2) Don't create and / or forget to implement that SLSB with remote / web service / local
3) Start up the server, you will receive deploy errors such as:
3:40:08,206 WARN [ServiceController] Problem creating service jboss.j2ee:service=EJB3,module=on-enterprise-server-ejb.ejb3 java.lang.RuntimeException: bean class has no local, webservice, or remote interfaces defined and does not implement at least one business interface
at org.jboss.ejb3.ProxyFactoryHelper.getLocalInterfaces(ProxyFactoryHelper.java:107)
at org.jboss.ejb3.ProxyDeployer.initializeLocalBindingMetadata(ProxyDeployer.java:115)
at org.jboss.ejb3.SessionContainer.instantiated(SessionContainer.java:110)
at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:415)
at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:397)
at org.jboss.ejb3.Ejb3Deployment.deployUrl(Ejb3Deployment.java:378)
at org.jboss.ejb3.Ejb3Deployment.deploy(Ejb3Deployment.java:350)
at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:305)
It would be infinitely more helpful if this error message, instead of printing a long internal stack trace, would tell me which class(es) had the error in it.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
19 years, 3 months