[Apache Geronimo Wiki] Updated: FrontPage
Date: 2004-02-15T16:45:24 Editor: 209.181.233.150 Wiki: Apache Geronimo Wiki Page: FrontPage URL: http://wiki.apache.org/geronimo/FrontPage no comment Change Log: -- @@ -68,6 +68,7 @@ * WebConsole - The Web Console * SwingConsole - The Swing Console * ConsoleCommons - Common Console API + * JmxDebuggingTool - The JMX Debug Console * [wiki:OpenEJBNova OpenEJB Nova] - EJB Container
[Apache Geronimo Wiki] New: JmxDebuggingTool
Date: 2004-02-15T16:51:20 Editor: 209.181.233.150 Wiki: Apache Geronimo Wiki Page: JmxDebuggingTool URL: http://wiki.apache.org/geronimo/JmxDebuggingTool no comment New Page: = Intro = The purpose of the debugging tool is to allow developers (including the Geronimo developers) to monitor the state of the running server using JMX and to debug their applications. == Brief Architectural Overview == The Debugging Tool uses Velocity templates to output information from the JMX server. == Developers == Geir Magnusson Jr.
[Apache Geronimo Wiki] Updated: JmxDebuggingTool
Date: 2004-02-15T16:51:40 Editor: 209.181.233.150 Wiki: Apache Geronimo Wiki Page: JmxDebuggingTool URL: http://wiki.apache.org/geronimo/JmxDebuggingTool no comment Change Log: -- @@ -1,8 +1,8 @@ = Intro = The purpose of the debugging tool is to allow developers (including the Geronimo developers) to monitor the state of the running server using JMX and to debug their applications. -== Brief Architectural Overview == += Brief Architectural Overview = The Debugging Tool uses Velocity templates to output information from the JMX server. -== Developers == += Developers = Geir Magnusson Jr.
cvs commit: incubator-geronimo/modules/remoting/src/java/org/apache/geronimo/remoting DeMarshalingInterceptor.java MarshalingInterceptor.java
adc 2004/02/16 09:51:02 Modified:modules/remoting/src/java/org/apache/geronimo/remoting DeMarshalingInterceptor.java MarshalingInterceptor.java Log: Proper separation of application and server exceptions. Revision ChangesPath 1.5 +5 -17 incubator-geronimo/modules/remoting/src/java/org/apache/geronimo/remoting/DeMarshalingInterceptor.java Index: DeMarshalingInterceptor.java === RCS file: /home/cvs/incubator-geronimo/modules/remoting/src/java/org/apache/geronimo/remoting/DeMarshalingInterceptor.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- DeMarshalingInterceptor.java 15 Feb 2004 18:23:28 - 1.4 +++ DeMarshalingInterceptor.java 16 Feb 2004 17:51:02 - 1.5 @@ -79,13 +79,6 @@ this.classloader = classloader; } -public static class ThrowableWrapper implements Serializable { -ThrowableWrapper(Throwable exception) { -this.exception = exception; -} -public Throwable exception; -} - /** * @return */ @@ -112,21 +105,16 @@ marshalledInvocation = (Invocation) mo.get(); } catch (Throwable e) { // Could not deserialize the invocation... -mo.set(new ThrowableWrapper(e)); +mo.set(e); return new SimpleInvocationResult(false, mo); } try { InvocationResult rc = next.invoke(marshalledInvocation); -if (rc.isNormal()) { -mo.set(rc.getResult()); -return new SimpleInvocationResult(true, mo); -} else { -mo.set(new ThrowableWrapper((Throwable)rc.getResult())); -return new SimpleInvocationResult(false, mo); -} +mo.set(rc); +return new SimpleInvocationResult(true, mo); } catch (Throwable e) { -mo.set(new ThrowableWrapper(e)); +mo.set(e); return new SimpleInvocationResult(false, mo); } 1.4 +6 -8 incubator-geronimo/modules/remoting/src/java/org/apache/geronimo/remoting/MarshalingInterceptor.java Index: MarshalingInterceptor.java === RCS file: /home/cvs/incubator-geronimo/modules/remoting/src/java/org/apache/geronimo/remoting/MarshalingInterceptor.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- MarshalingInterceptor.java26 Nov 2003 20:54:28 - 1.3 +++ MarshalingInterceptor.java16 Feb 2004 17:51:02 - 1.4 @@ -86,22 +86,20 @@ // Demarshal the result. mo = (MarshalledObject) rc.getResult(); -Object result; +InvocationResult result; try { -result = mo.get(); +result = (InvocationResult)mo.get(); } catch ( ClassNotFoundException e ) { // Weird. Thread.currentThread().setContextClassLoader(MarshalingInterceptor.class.getClassLoader()); -result = mo.get(); +result = (InvocationResult)mo.get(); } // Are we demarshalling a thrown exception. -if (result instanceof DeMarshalingInterceptor.ThrowableWrapper) { -throw ((DeMarshalingInterceptor.ThrowableWrapper) result).exception; -} -return new SimpleInvocationResult(true, result); +if (result.isException()) throw result.getException(); +return new SimpleInvocationResult(result.isNormal(), result.getResult()); } finally { Thread.currentThread().setContextClassLoader(originalLoader);
[Apache Geronimo Wiki] Updated: FrontPage
Date: 2004-02-16T10:48:55 Editor: 209.181.233.150 Wiki: Apache Geronimo Wiki Page: FrontPage URL: http://wiki.apache.org/geronimo/FrontPage no comment Change Log: -- @@ -68,7 +68,7 @@ * WebConsole - The Web Console * SwingConsole - The Swing Console * ConsoleCommons - Common Console API - * JmxDebuggingTool - The Raw JMX Debuging Tool + * JmxDebuggingTool - The JMX Debugging Tool * [wiki:OpenEJBNova OpenEJB Nova] - EJB Container
cvs commit: incubator-geronimo/modules/security project.xml
djencks 2004/02/16 13:21:45 Modified:modules/connector project.xml modules/core project.xml modules/jetty project.xml modules/maven-xmlbeans-plugin plugin.jelly project.xml modules/maven-xmlbeans-plugin/src/java/org/apache/geronimo/tools/xmlbeans SchemaCompilerWrapper.java modules/naming project.xml modules/security project.xml Log: xmlbeans plugin now does not regenerate classes for precompiled schemas in the maven dependencies marked with xmlbeanstrue/xmlbeans in properties Revision ChangesPath 1.9 +2 -1 incubator-geronimo/modules/connector/project.xml Index: project.xml === RCS file: /home/cvs/incubator-geronimo/modules/connector/project.xml,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- project.xml 12 Feb 2004 20:38:17 - 1.8 +++ project.xml 16 Feb 2004 21:21:44 - 1.9 @@ -98,6 +98,7 @@ artifactIdgeronimo-spec-j2eeschema/artifactId versionDEV/version properties +xmlbeanstrue/xmlbeans /properties /dependency 1.45 +2 -1 incubator-geronimo/modules/core/project.xml Index: project.xml === RCS file: /home/cvs/incubator-geronimo/modules/core/project.xml,v retrieving revision 1.44 retrieving revision 1.45 diff -u -r1.44 -r1.45 --- project.xml 12 Feb 2004 18:17:17 - 1.44 +++ project.xml 16 Feb 2004 21:21:44 - 1.45 @@ -79,6 +79,7 @@ artifactIdgeronimo-spec-j2eeschema/artifactId versionDEV/version properties +xmlbeanstrue/xmlbeans /properties /dependency 1.17 +2 -1 incubator-geronimo/modules/jetty/project.xml Index: project.xml === RCS file: /home/cvs/incubator-geronimo/modules/jetty/project.xml,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- project.xml 14 Feb 2004 01:50:14 - 1.16 +++ project.xml 16 Feb 2004 21:21:44 - 1.17 @@ -120,6 +120,7 @@ artifactIdgeronimo-spec-j2eeschema/artifactId versionDEV/version properties +xmlbeanstrue/xmlbeans /properties /dependency 1.5 +12 -0 incubator-geronimo/modules/maven-xmlbeans-plugin/plugin.jelly Index: plugin.jelly === RCS file: /home/cvs/incubator-geronimo/modules/maven-xmlbeans-plugin/plugin.jelly,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- plugin.jelly 10 Feb 2004 23:06:31 - 1.4 +++ plugin.jelly 16 Feb 2004 21:21:44 - 1.5 @@ -28,6 +28,17 @@ j:if test=${xmlconfigs == null} failMissing required attribute: xmlconfigs/fail /j:if + +!-- set up classpath for already-compiled schemas -- +j:forEach var=artifact items=${pom.artifacts} +j:set var=dependency value=${artifact.dependency}/ +j:set var=pathseparator value=/ +j:if test=${dependency.getProperty('xmlbeans') == 'true'} +j:set var=xmlbeans.classpath value=${classpath}${pathseparator}${artifact.path}/ +j:set var=pathseparator value=,/ +/j:if +/j:forEach + j:jelly xmlns=jelly:ant j:set var=uptodatePropName value=xmlbeans.uptodate/ @@ -47,6 +58,7 @@ j:arg type=java.lang.String value=${xmlconfigs}/ j:arg type=java.lang.String value=${targetdir}/ j:arg type=java.lang.String value=${cataloglocation}/ +j:arg type=java.lang.String value=${xmlbeans.classpath}/ /j:invokeStatic touch file=${uptodateFile}/ 1.3 +0 -1 incubator-geronimo/modules/maven-xmlbeans-plugin/project.xml Index: project.xml === RCS file: /home/cvs/incubator-geronimo/modules/maven-xmlbeans-plugin/project.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- project.xml 8 Feb 2004 19:37:00 - 1.2 +++ project.xml 16 Feb 2004 21:21:44 - 1.3 @@ -34,7 +34,6 @@ /properties /dependency - /dependencies build 1.3 +13 -6