geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "A Carbone" <aca...@hotmail.com>
Subject Re: Simplified build
Date Wed, 18 Feb 2004 17:13:42 GMT
dain I seem to be having a problem doing this.
I have a fresh build, from cvs

ran the build had some test problems(other emails) but other then that ran
fine
then I tried to

maven run:server and the following happens

Is there some config that I'm missing? sounds that way cuase other peopel
don't seem to be having this problem, still learning though

Adam

C:\geronimo dev\incubator-geronimo>maven run:server
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT

run:server:
    [echo] Running in target/bin
    [java] Feb 18, 2004 11:22:34 AM org.apache.geronimo.kernel.Kernel boot
    [java] INFO: Starting boot
    [java] Feb 18, 2004 11:22:35 AM mx4j.log.CommonsLogger log
    [java] INFO: Created MBeanServer with ID:
1b26af3:fac96f8d07:-8000:home12:1
    [java] Feb 18, 2004 11:22:35 AM org.apache.geronimo.kernel.Kernel boot
    [java] INFO: Booted
    [java] Feb 18, 2004 11:22:35 AM org.apache.geronimo.kernel.Kernel load
    [java] INFO: Loaded Configuration
geronimo.config:name="org/apache/geronimo/System"
    [java] Feb 18, 2004 11:22:35 AM
org.apache.geronimo.kernel.config.Configuration doStart
    [java] INFO: Started configuration org/apache/geronimo/System
    [java] 11:22:35,734 WARN  [SingleProxy] Exception occured while
attempting to fully start:
objectName=geronimo.system:role=LogAppender,type=DailyR
ollingFileAppender
    [java] java.lang.IllegalArgumentException
    [java]      at
org.apache.geronimo.system.serverinfo.ServerInfo.resolvePath(ServerInfo.java
:146)
    [java]      at
org.apache.geronimo.system.serverinfo.ServerInfo$$FastClassByCGLIB$$b0711d6f
invoke(<generated>)
    [java]      at
net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:87)
    [java]      at
org.apache.geronimo.gbean.jmx.FastMethodInvoker.invoke(FastMethodInvoker.jav
a:78)
    [java]      at
org.apache.geronimo.gbean.jmx.GBeanMBeanOperation.invoke(GBeanMBeanOperation
java:193)
    [java]      at
org.apache.geronimo.gbean.jmx.GBeanMBean.invoke(GBeanMBean.java:502)
    [java]      at
mx4j.server.interceptor.InvokerMBeanServerInterceptor.invoke(InvokerMBeanSer
verInterceptor.java:224)
    [java]      at
mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanSer
verInterceptor.java:121)
    [java]      at
mx4j.server.interceptor.SecurityMBeanServerInterceptor.invoke(SecurityMBeanS
erverInterceptor.java:86)
    [java]      at
mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanSer
verInterceptor.java:121)
    [java]      at
mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanSer
verInterceptor.java:121)
    [java]      at
mx4j.server.interceptor.ContextClassLoaderMBeanServerInterceptor.invoke(Cont
extClassLoaderMBeanServerInterceptor.java:205)
    [java]      at
mx4j.server.MX4JMBeanServer.invoke(MX4JMBeanServer.java:1077)
    [java]      at
org.apache.geronimo.kernel.jmx.InvokeMBean.invoke(InvokeMBean.java:138)
    [java]      at
org.apache.geronimo.gbean.jmx.ProxyMethodInterceptor.intercept(ProxyMethodIn
terceptor.java:162)
    [java]      at
org.apache.geronimo.system.serverinfo.ServerInfo$$EnhancerByCGLIB$$bb345fab.
resolvePath(<generated>)
    [java]      at
org.apache.geronimo.system.logging.log4j.appender.FileAppenderService.setApp
enderFile(FileAppenderService.java:119)
    [java]      at
org.apache.geronimo.system.logging.log4j.appender.FileAppenderService.doStar
t(FileAppenderService.java:109)
    [java]      at
org.apache.geronimo.gbean.jmx.GBeanMBean.doStart(GBeanMBean.java:386)
    [java]      at
org.apache.geronimo.gbean.jmx.AbstractManagedObject.attemptFullStart(Abstrac
tManagedObject.java:514)
    [java]      at
org.apache.geronimo.gbean.jmx.SingleProxy.attemptFullStart(SingleProxy.java:
194)
    [java]      at
org.apache.geronimo.gbean.jmx.SingleProxy.addTarget(SingleProxy.java:159)
    [java]      at
org.apache.geronimo.gbean.jmx.GBeanMBeanReference.handleNotification(GBeanMB
eanReference.java:318)
    [java]      at
mx4j.server.interceptor.NotificationListenerMBeanServerInterceptor$ListenerW
rapper.handleNotification(NotificationListenerMBeanServ
erInterceptor.java:57)
    [java]      at
javax.management.NotificationBroadcasterSupport.handleNotification(Notificat
ionBroadcasterSupport.java:343)
    [java]      at
javax.management.NotificationBroadcasterSupport.sendNotification(Notificatio
nBroadcasterSupport.java:317)
    [java]      at
org.apache.geronimo.gbean.jmx.AbstractManagedObject.sendNotification(Abstrac
tManagedObject.java:282)
    [java]      at
org.apache.geronimo.gbean.jmx.AbstractManagedObject.attemptFullStart(Abstrac
tManagedObject.java:535)
    [java]      at
org.apache.geronimo.gbean.jmx.AbstractManagedObject.start(AbstractManagedObj
ect.java:317)
    [java]      at
org.apache.geronimo.gbean.jmx.AbstractManagedObject.startRecursive(AbstractM
anagedObject.java:341)
    [java]      at
org.apache.geronimo.gbean.jmx.GBeanMBean$8.invoke(GBeanMBean.java:631)
    [java]      at
org.apache.geronimo.gbean.jmx.GBeanMBeanOperation.invoke(GBeanMBeanOperation
java:193)
    [java]      at
org.apache.geronimo.gbean.jmx.GBeanMBean.invoke(GBeanMBean.java:502)
    [java]      at
mx4j.server.interceptor.InvokerMBeanServerInterceptor.invoke(InvokerMBeanSer
verInterceptor.java:224)
    [java]      at
mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanSer
verInterceptor.java:121)
    [java]      at
mx4j.server.interceptor.SecurityMBeanServerInterceptor.invoke(SecurityMBeanS
erverInterceptor.java:86)
    [java]      at
mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanSer
verInterceptor.java:121)
    [java]      at
mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanSer
verInterceptor.java:121)
    [java]      at
mx4j.server.interceptor.ContextClassLoaderMBeanServerInterceptor.invoke(Cont
extClassLoaderMBeanServerInterceptor.java:205)
    [java]      at
mx4j.server.MX4JMBeanServer.invoke(MX4JMBeanServer.java:1077)
    [java]      at
org.apache.geronimo.gbean.jmx.AbstractManagedObject.startRecursive(AbstractM
anagedObject.java:348)
    [java]      at
org.apache.geronimo.gbean.jmx.GBeanMBean$8.invoke(GBeanMBean.java:631)
    [java]      at
org.apache.geronimo.gbean.jmx.GBeanMBeanOperation.invoke(GBeanMBeanOperation
java:193)
    [java]      at
org.apache.geronimo.gbean.jmx.GBeanMBean.invoke(GBeanMBean.java:502)
    [java]      at
mx4j.server.interceptor.InvokerMBeanServerInterceptor.invoke(InvokerMBeanSer
verInterceptor.java:224)
    [java]      at
mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanSer
verInterceptor.java:121)
    [java] org.apache.geronimo.kernel.config.InvalidConfigException: Invalid
GBean configuration for geronimo.config:name="org/apache/geronimo/System"

    [java]      at
org.apache.geronimo.kernel.Kernel.startRecursiveGBean(Kernel.java:397)
    [java]      at
mx4j.server.interceptor.SecurityMBeanServerInterceptor.invoke(SecurityMBeanS
erverInterceptor.java:86)
    [java]      at org.apache.geronimo.Geronimo.main(Geronimo.java:148)
    [java] Caused by: java.lang.IllegalArgumentException
    [java]      at
mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanSer
verInterceptor.java:121)
    [java]      at
org.apache.geronimo.system.serverinfo.ServerInfo.resolvePath(ServerInfo.java
:146)
    [java]      at
org.apache.geronimo.system.serverinfo.ServerInfo$$FastClassByCGLIB$$b0711d6f
invoke(<generated>)
    [java]      at
mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanSer
verInterceptor.java:121)
    [java]      at
net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:87)
    [java]      at
mx4j.server.interceptor.ContextClassLoaderMBeanServerInterceptor.invoke(Cont
extClassLoaderMBeanServerInterceptor.java:205)
    [java]      at
mx4j.server.MX4JMBeanServer.invoke(MX4JMBeanServer.java:1077)
    [java]      at
org.apache.geronimo.gbean.jmx.FastMethodInvoker.invoke(FastMethodInvoker.jav
a:78)
    [java]      at
org.apache.geronimo.gbean.jmx.GBeanMBeanOperation.invoke(GBeanMBeanOperation
java:193)
    [java]      at
org.apache.geronimo.kernel.Kernel.startRecursiveGBean(Kernel.java:391)
    [java]      at org.apache.geronimo.Geronimo.main(Geronimo.java:148)
    [java]      at
org.apache.geronimo.gbean.jmx.GBeanMBean.invoke(GBeanMBean.java:502)
    [java] Caused by: java.net.URISyntaxException: Illegal character in path
at index 12: /C:/geronimo dev/incubator-geronimo/target//.
    [java]      at
mx4j.server.interceptor.InvokerMBeanServerInterceptor.invoke(InvokerMBeanSer
verInterceptor.java:224)
    [java]      at java.net.URI$Parser.fail(URI.java:2752)
    [java]      at java.net.URI$Parser.checkChars(URI.java:2925)
    [java]      at
mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanSer
verInterceptor.java:121)
    [java]      at
mx4j.server.interceptor.SecurityMBeanServerInterceptor.invoke(SecurityMBeanS
erverInterceptor.java:86)
    [java]      at java.net.URI$Parser.parseHierarchical(URI.java:3009)
    [java]      at java.net.URI$Parser.parse(URI.java:2967)
    [java]      at
mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanSer
verInterceptor.java:121)
    [java]      at java.net.URI.<init>(URI.java:574)
    [java]      at
mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanSer
verInterceptor.java:121)
    [java]      at
org.apache.geronimo.system.serverinfo.ServerInfo.resolvePath(ServerInfo.java
:138)
    [java]      ... 52 more
    [java]      at
mx4j.server.interceptor.ContextClassLoaderMBeanServerInterceptor.invoke(Cont
extClassLoaderMBeanServerInterceptor.java:205)
    [java] 11:22:35,937 INFO  [ReadOnlyRepository] Repository root is
file:/C:/geronimo%20dev/incubator-geronimo/target/repository/
    [java] 11:22:35,953 INFO  [Kernel] Starting kernel shutdown
    [java]      at
mx4j.server.MX4JMBeanServer.invoke(MX4JMBeanServer.java:1077)
    [java]      at
org.apache.geronimo.kernel.jmx.InvokeMBean.invoke(InvokeMBean.java:138)
    [java] 11:22:35,953 INFO  [Kernel] Kernel shutdown complete
    [java]      at
org.apache.geronimo.gbean.jmx.ProxyMethodInterceptor.intercept(ProxyMethodIn
terceptor.java:162)
    [java]      at
org.apache.geronimo.system.serverinfo.ServerInfo$$EnhancerByCGLIB$$bb345fab.
resolvePath(<generated>)
    [java]      at
org.apache.geronimo.system.logging.log4j.appender.FileAppenderService.setApp
enderFile(FileAppenderService.java:119)
    [java]      at
org.apache.geronimo.system.logging.log4j.appender.FileAppenderService.doStar
t(FileAppenderService.java:109)
    [java]      at
org.apache.geronimo.gbean.jmx.GBeanMBean.doStart(GBeanMBean.java:386)
    [java]      at
org.apache.geronimo.gbean.jmx.AbstractManagedObject.attemptFullStart(Abstrac
tManagedObject.java:514)
    [java]      at
org.apache.geronimo.gbean.jmx.AbstractManagedObject.start(AbstractManagedObj
ect.java:317)
    [java]      at
org.apache.geronimo.gbean.jmx.AbstractManagedObject.startRecursive(AbstractM
anagedObject.java:341)
    [java]      at
org.apache.geronimo.gbean.jmx.GBeanMBean$8.invoke(GBeanMBean.java:631)
    [java]      at
org.apache.geronimo.gbean.jmx.GBeanMBeanOperation.invoke(GBeanMBeanOperation
java:193)
    [java]      at
org.apache.geronimo.gbean.jmx.GBeanMBean.invoke(GBeanMBean.java:502)
    [java]      at
mx4j.server.interceptor.InvokerMBeanServerInterceptor.invoke(InvokerMBeanSer
verInterceptor.java:224)
    [java]      at
mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanSer
verInterceptor.java:121)
    [java]      at
mx4j.server.interceptor.SecurityMBeanServerInterceptor.invoke(SecurityMBeanS
erverInterceptor.java:86)
    [java]      at
mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanSer
verInterceptor.java:121)
    [java]      at
mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanSer
verInterceptor.java:121)
    [java]      at
mx4j.server.interceptor.ContextClassLoaderMBeanServerInterceptor.invoke(Cont
extClassLoaderMBeanServerInterceptor.java:205)
    [java]      at
mx4j.server.MX4JMBeanServer.invoke(MX4JMBeanServer.java:1077)
    [java]      at
org.apache.geronimo.gbean.jmx.AbstractManagedObject.startRecursive(AbstractM
anagedObject.java:348)
    [java]      at
org.apache.geronimo.gbean.jmx.GBeanMBean$8.invoke(GBeanMBean.java:631)
    [java]      at
org.apache.geronimo.gbean.jmx.GBeanMBeanOperation.invoke(GBeanMBeanOperation
java:193)
    [java]      at
org.apache.geronimo.gbean.jmx.GBeanMBean.invoke(GBeanMBean.java:502)
    [java]      at
mx4j.server.interceptor.InvokerMBeanServerInterceptor.invoke(InvokerMBeanSer
verInterceptor.java:224)
    [java]      at
mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanSer
verInterceptor.java:121)
    [java]      at
mx4j.server.interceptor.SecurityMBeanServerInterceptor.invoke(SecurityMBeanS
erverInterceptor.java:86)
    [java]      at
mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanSer
verInterceptor.java:121)
    [java]      at
mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanSer
verInterceptor.java:121)
    [java]      at
mx4j.server.interceptor.ContextClassLoaderMBeanServerInterceptor.invoke(Cont
extClassLoaderMBeanServerInterceptor.java:205)
    [java]      at
mx4j.server.MX4JMBeanServer.invoke(MX4JMBeanServer.java:1077)
    [java]      at
org.apache.geronimo.gbean.jmx.AbstractManagedObject.startRecursive(AbstractM
anagedObject.java:348)
    [java]      at
org.apache.geronimo.gbean.jmx.GBeanMBean$8.invoke(GBeanMBean.java:631)
    [java]      at
org.apache.geronimo.gbean.jmx.GBeanMBeanOperation.invoke(GBeanMBeanOperation
java:193)
    [java]      at
org.apache.geronimo.gbean.jmx.GBeanMBean.invoke(GBeanMBean.java:502)
    [java]      at
mx4j.server.interceptor.InvokerMBeanServerInterceptor.invoke(InvokerMBeanSer
verInterceptor.java:224)
    [java]      at
mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanSer
verInterceptor.java:121)
    [java]      at
mx4j.server.interceptor.SecurityMBeanServerInterceptor.invoke(SecurityMBeanS
erverInterceptor.java:86)
    [java]      at
mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanSer
verInterceptor.java:121)
    [java]      at
mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanSer
verInterceptor.java:121)
    [java]      at
mx4j.server.interceptor.ContextClassLoaderMBeanServerInterceptor.invoke(Cont
extClassLoaderMBeanServerInterceptor.java:205)
    [java]      at
mx4j.server.MX4JMBeanServer.invoke(MX4JMBeanServer.java:1077)
    [java]      at
org.apache.geronimo.kernel.Kernel.startRecursiveGBean(Kernel.java:391)
    [java]      ... 1 more
    [java] Caused by: java.net.URISyntaxException: Illegal character in path
at index 12: /C:/geronimo dev/incubator-geronimo/target//.
    [java]      at java.net.URI$Parser.fail(URI.java:2752)
    [java]      at java.net.URI$Parser.checkChars(URI.java:2925)
    [java]      at java.net.URI$Parser.parseHierarchical(URI.java:3009)
    [java]      at java.net.URI$Parser.parse(URI.java:2967)
    [java]      at java.net.URI.<init>(URI.java:574)
    [java]      at
org.apache.geronimo.system.serverinfo.ServerInfo.resolvePath(ServerInfo.java
:138)
    [java]      ... 55 more

BUILD FAILED
File...... file:/C:/geronimo dev/incubator-geronimo/
Element... java
Line...... 31
Column.... 34
Java returned: 3
Total time: 4 seconds
Finished at: Wed Feb 18 11:22:36 EST 2004




----- Original Message ----- 
From: "Dain Sundstrom" <dain@coredevelopers.net>
To: <geronimo-dev@incubator.apache.org>
Sent: Tuesday, February 17, 2004 3:28 AM
Subject: Simplified build


> I think I have finally gotten our maven the way we want... simple.
>
> After a cvs update or fresh checkout, this is what you need to do to
> build:
>
> $ maven
> $ maven run:server
>
> Thats it.
>
> Now I only tested this on my apple, so if it doesn't work for you,
> please include your os and java version in the post.  Also, make sure
> you are using maven rc1.
>
> If you have built Geronimo before, there will be cruft in your local
> maven repository, so I suggest you either move it to a backup location,
> or just delete it.  Maven also likes to stick the plugin jars in the
> "plugins" directory under in the installed maven directory, and I
> suggest you remove the cruft from there also.  Basically, I just search
> for anything named "geronimo*" under ~/.maven and
> ~/maven-1.0-rc1/plugins on my apple (of course the location will be
> different on Windows).
>
> Details
> =======
> I converted the assembly directory into a module at
> <root>modules/assembly.  The assembly module creates out output
> distribution at <root>/target.  To start the server you can use "maven
> run:server" or "maven debug:server", but using maven to start the
> server disables the our shutdown hooks.  This means that out normal
> clean-up code will not run, which not currently critical, but will
> become critical over time.  The best way to start the server is using
> java directly at the command line as follows:
>
> $ java -jar target/bin/server.jar target/config-store
> org/apache/geronimo/System org/apache/geronimo/Server
>
> One thing to note is we no longer need the geronimo.base.dir system
> variable.  The SystemInfo gbean can now locate the base directory
> automatically.  I hope to get rid of the rest of standard
> command-line-arguments soon.
>
> We also no longer need the separate "maven plugins" step, as the
> plugins are fully incorporated into the main build process.  The trick
> to eliminating this step, was to not run the plugin:install task from
> build.  Instead, we build a normal jar using jar:jar, and then
> explicitly copy that jar to geronimo/plugins/abcd.jar.  A module that
> needs to use the xmlbeans plugins only has to include the following
> dependancy:
>
> <dependency>
>      <groupId>geronimo</groupId>
>      <artifactId>geronimo-xmlbeans-plugin</artifactId>
>      <version>DEV</version>
>      <type>plugin</type>
> </dependency>
>
> Apparently, when the type is "plugin" maven automatically installs and
> loads that plugin.
>
> Good luck everyone,
>
> -dain
>
> /*************************
>   * Dain Sundstrom
>   * Partner
>   * Core Developers Network
>   *************************/
>
>

Mime
View raw message