You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Geir Magnusson Jr <ge...@4quarters.com> on 2004/02/18 17:50:17 UTC
JMXDebug webapp
is now in CVS. Things to note :
1) It's under Apache 2.0 license. Everything has to go under that
eventually, so start changing everything else as you run across it.
Will post a separate note to the list re this
2) To have the thing actually run is a hack because I don't grok the
deployment stuff. Here's what I do (and will put in Wiki)
a) modify modules/assembly/src/plan/server-config.xml and add the
following :
<dependency>
<uri>xerces/jars/xercesImpl-2.6.0.jar</uri>
</dependency>
<dependency>
<uri>xerces/jars/xmlParserAPIs-2.2.1.jar</uri>
</dependency>
<gbean
name="geronimo.server:type=WebApp,container=Jetty,app=test"
class="org.apache.geronimo.jetty.JettyWebApplicationContext">
<attribute name="URI" type="java.net.URI">file:[your
path]/incubator-geronimo/applications/jmxdebug/target/geronimo-
jmxdebug</attribute>
<attribute name="ContextPath"
type="java.lang.String">/jmxdebug</attribute>
<reference
name="JettyContainer">geronimo.server:
type=WebContainer,container=Jetty</reference>
</gbean>
I'll clean this up to get a better URI, and quite frankly, the
xerces stuff should be there for anyone not using JDK1.5, I think
b) put the xerces jars (from maven repo, for ex) in
target/repository/xerces/jars
Then you can just run it. Go to
http://localhost:8080/jmxdebug/
It ain't fancy...
--
Geir Magnusson Jr 203-247-1713(m)
geir@4quarters.com
Re: JMXDebug webapp
Posted by Geir Magnusson Jr <ge...@4quarters.com>.
On Feb 18, 2004, at 12:11 PM, Kristian Köhler wrote:
> Hi
>
>> b) put the xerces jars (from maven repo, for ex) in
>> target/repository/xerces/jars
>
> Why not adding a dependency enrty in project.xml for the assembly
> module?
> This would make life easier for people working with JDK 1.4? ;-)
'cuz I had no clue how things worked. I only work w/ 1.3 and 1.4 so
need to have this for myself :)
Thanks
>
> Kristian
>
> --- 8< ---
>
> <dependency>
> <groupId>xerces</groupId>
> <artifactId>xercesImpl</artifactId>
> <version>2.6.0</version>
> <properties>
> <repository>true</repository>
> </properties>
> </dependency>
>
> <dependency>
> <groupId>xerces</groupId>
> <artifactId>xmlParserAPIs</artifactId>
> <version>2.2.1</version>
> <properties>
> <repository>true</repository>
> </properties>
> </dependency>
>
> --- 8< ---
>
>
--
Geir Magnusson Jr 203-247-1713(m)
geir@4quarters.com
Re: JMXDebug webapp
Posted by Kristian Köhler <Kr...@gmx.de>.
Hi
> b) put the xerces jars (from maven repo, for ex) in
> target/repository/xerces/jars
Why not adding a dependency enrty in project.xml for the assembly module?
This would make life easier for people working with JDK 1.4? ;-)
Kristian
--- 8< ---
<dependency>
<groupId>xerces</groupId>
<artifactId>xercesImpl</artifactId>
<version>2.6.0</version>
<properties>
<repository>true</repository>
</properties>
</dependency>
<dependency>
<groupId>xerces</groupId>
<artifactId>xmlParserAPIs</artifactId>
<version>2.2.1</version>
<properties>
<repository>true</repository>
</properties>
</dependency>
--- 8< ---