[JBoss JIRA] Resolved: (JBCACHE-85) PojoCache object event listener
by Ben Wang (JIRA)
[ http://jira.jboss.com/jira/browse/JBCACHE-85?page=all ]
Ben Wang resolved JBCACHE-85.
-----------------------------
Resolution: Done
> PojoCache object event listener
> -------------------------------
>
> Key: JBCACHE-85
> URL: http://jira.jboss.com/jira/browse/JBCACHE-85
> Project: JBoss Cache
> Issue Type: Feature Request
> Components: PojoCache
> Reporter: Ben Wang
> Assigned To: Ben Wang
> Fix For: POJOCache
>
> Original Estimate: 2 weeks
> Remaining Estimate: 2 weeks
>
> Need to add a TreeCacheAop object event listener. Currently we have TreeCache listener to listen for individual node event. We need to listen the event at the object level instead. User may not be interested to listen at the node level.
> We should have events for:
> * Object level
> * Field level
> 1. We will need to define a PojoCacheListener that has all these callbacks.
> 2. We should use annotation for user to denote interested points, e.g., a la EJB3 style call back
> Class Pojo
> {
> int key;
> @preCreated(pojoEvent)
> @preModified(pojoEvent)
> void someHandler();
> }
> where
> Interface preModified {
> getPojoEvent();
> }
--
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, 10 months
[JBoss JIRA] Created: (JBAS-3429) JSP Pages are broken with tomcat6 snapshot
by Scott M Stark (JIRA)
JSP Pages are broken with tomcat6 snapshot
------------------------------------------
Key: JBAS-3429
URL: http://jira.jboss.com/jira/browse/JBAS-3429
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Web (Tomcat) service
Reporter: Scott M Stark
Assigned To: Remy Maucherat
Priority: Blocker
Fix For: JBossAS-5.0.0.Beta
Something is screwed up with the current tomcat6 snapshot as I can't even load a jsp page from the jxm-console.war due to missing classes:
java.lang.NoClassDefFoundError:
org/apache/commons/el/ExpressionEvaluatorImpl
org.apache.jasper.compiler.JspUtil.<clinit>(JspUtil.java:61)
org.apache.jasper.JspCompilationContext.getServletClassName(JspCompilati
onContext.java:334)
org.apache.jasper.JspCompilationContext.getClassFileName(JspCompilationC
ontext.java:484)
org.apache.jasper.compiler.Compiler.isOutDated(Compiler.java:379)
org.apache.jasper.compiler.Compiler.isOutDated(Compiler.java:332)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:560)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:303)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
The ExpressionEvaluatorImpl should be
org.apache.jasper.el.ExpressionEvaluatorImpl coming from the jasper.jar rather than this commons thing.
[starksm@banshee9100 jbossweb-tomcat6.sar]$ for j in *.jar; do echo $j; jar -tf $j | grep ExpressionEvaluatorImpl; done catalina-ant.jar catalina-manager.jar catalina-optional.jar catalina.jar commons-modeler.jar el-api.jar jasper-compiler-jdt.jar jasper-compiler.jar jasper-el.jar jasper-jdt.jar jasper-runtime.jar jasper.jar org/apache/jasper/el/ExpressionEvaluatorImpl.class
jboss-web-metamodel.jar
jsp-api.jar
jstl.jar
naming-resources.jar
servlet-api.jar
servlets-default.jar
servlets-invoker.jar
servlets-webdav.jar
tomcat-ajp.jar
tomcat-apr.jar
tomcat-coyote.jar
tomcat-dbcp.jar
tomcat-http.jar
tomcat-i18n-es.jar
tomcat-i18n-fr.jar
tomcat-i18n-ja.jar
tomcat-util.jar
tomcat6-service.jar
The problem is that there are two org.apache.jasper.compiler.JspUtil
classes, and the one from jasper-compiler.jar which is loaded is referencing the
[starksm@banshee9100 jbossweb-tomcat6.sar]$ javap -c -classpath jasper-compiler.jar org.apache.jasper.compiler.JspUtil >JspUtil.javap Compiled from "JspUtil.java"
public class org.apache.jasper.compiler.JspUtil extends java.lang.Object{ public static final int CHUNKSIZE;
...
public static void validateExpressions(org.apache.jasper.compiler.Mark,
java.lang.String, java.lang.Class, javax.servlet.jsp.el.FunctionMapper,
org.apache.jasper.compiler.ErrorDispatcher) throws org.apache.jasper.JasperException;
Code:
0: getstatic #143; //Field
expressionEvaluator:Lorg/apache/commons/el/ExpressionEvaluatorImpl;
...
--
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, 10 months
[JBoss JIRA] Assigned: (JBAS-3233) Web services debug logging is causing the classloader to be switched
by Dimitris Andreadis (JIRA)
[ http://jira.jboss.com/jira/browse/JBAS-3233?page=all ]
Dimitris Andreadis reassigned JBAS-3233:
----------------------------------------
Assignee: Darran Lofthouse (was: Scott M Stark)
Darran, is this still happening, after jboss 4.0.x is updated to use jbossws 1.0.1 (which has the fix)? The offending class is not even part of the 4.0.x source tree now, I think.
I'm assigning this to you, if you can handle it.
> Web services debug logging is causing the classloader to be switched
> --------------------------------------------------------------------
>
> Key: JBAS-3233
> URL: http://jira.jboss.com/jira/browse/JBAS-3233
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: ClassLoading
> Affects Versions: JBossAS-4.0.4.GA
> Reporter: Darran Lofthouse
> Assigned To: Darran Lofthouse
> Fix For: JBossAS-4.0.5.CR1
>
> Attachments: ComplexReturnEJB_DocLit.ear
>
>
> Web services debug logging is causing the classloader to be switched.
> Currently the web services stack does not correctly set the classloader for web services deployments when deployed as part of an ear with an issolated classloader (see JBWS-941). However debug logging in the web services code is incorectly causing the deployment to work!
> In the class 'org.jboss.ws.server.ServiceEndpoint' there is a method called 'postProcessResponse', this method contains some logging wrapped with a 'log.isDebugEnabled': -
> // debug the outgoing message
> if(log.isDebugEnabled())
> {
> resMessage.saveChanges();
> SOAPEnvelope soapEnv = resMessage.getSOAPPart().getEnvelope();
> String envStr = DOMWriter.printNode(soapEnv, true);
> log.debug("Outgoing SOAPMessage\n" + envStr);
> }
> If this logging is remove the ClassNotFoundException is thrown regardless of the log4j configuration.
> The ClassNotFoundException is good and shows that the classloader has not been switched.
> I will attach a deployment that can be used to reproduce this.
--
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, 10 months