geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "n. alex rupp" <rupp0...@umn.edu>
Subject Re: "maven run:main" hangs with annoying Exceptions
Date Mon, 15 Sep 2003 15:54:16 GMT
Delete your application directory.
Check out a clean copy of the CVS files.

$ export CVSROOT=:pserver:anoncvs@cvs.apache.org:/home/cvspublic
$ cvs login
Logging in to :pserver:anoncvs@cvs.apache.org:2401/home/cvspublic
CVS password:
$ cvs checkout incubator-geronimo

Make certain you have the latest version of Maven (1.0-beta-10 or above)

$ cd incubator-geronimo
$ maven build
$ maven run:main

Now go to http://127.0.0.1:8080/ and you'll see a "no default context"
screen if you are successful.


I just did this a minute ago, so I can confirm it works.
--
N. Alex Rupp (n_alex_rupp@users.sf.net)






----- Original Message ----- 
From: "Uijin Hong" <HeartBit@runeconsulting.com>
To: <geronimo-dev@incubator.apache.org>
Sent: Monday, September 15, 2003 6:48 AM
Subject: "maven run:main" hangs with annoying Exceptions


> whenever i do "maven run:main" with current cvs, i got following...
>
> ---
>
> C:\Documents and Settings\HeartBit\My Documents\My Projects\Apache
> Workspace\workspace\incubator-geronimo>maven run:main
>
>  __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0-beta-10
>
> run:main:
>     [java] 20:38:28,562 INFO  [Geronimo] Geronimo Home: file:C:\Documents
> and Settings\HeartBit\My Documents\My Projects
> \Apache Workspace\workspace\incubator-geronimo/target/geronimo-DEV/
>     [java] 20:38:28,562 INFO  [Geronimo] Bootstrap URL: file:C:/Documents
> and Settings/HeartBit/My Documents/My Projects
> /Apache
> Workspace/workspace/incubator-geronimo/target/geronimo-DEV/etc/boot.mlet
>     [java] 20:38:28,562 INFO  [Geronimo] Boot services URL:
> file:C:/Documents and Settings/HeartBit/My Documents/My Proj
> ects/Apache
>
Workspace/workspace/incubator-geronimo/target/geronimo-DEV/etc/boot-service.
> xml
>     [java] 20:38:28,562 INFO  [Geronimo] Log Implementation:
> org.apache.geronimo.kernel.log.CachingLog4jLog
>     [java] 20:38:28,562 INFO  [Geronimo] Starting JMXKernel
>     [java] 20:38:28,781 INFO  [JMXKernel] Booting MLets from URL
> file:C:/Documents and Settings/HeartBit/My Documents/My
>  Projects/Apache
> Workspace/workspace/incubator-geronimo/target/geronimo-DEV/etc/boot.mlet
>     [java] 20:38:29,328 INFO  [Geronimo] Deploying Bootstrap Services from
> file:C:/Documents and Settings/HeartBit/My Do
> cuments/My Projects/Apache
>
Workspace/workspace/incubator-geronimo/target/geronimo-DEV/etc/boot-service.
> xml
>     [java] 20:38:29,578 DEBUG [ServiceDeployment]
> geronimo.deployment:role=DeploymentUnit,type=Service,url="file:/C:/Doc
>
uments%20and%20Settings/HeartBit/My%20Documents/My%20Projects/Apache%20Works
> pace/workspace/incubator-geronimo/target/ger
> onimo-DEV/etc/boot-service.xml" State changed from stopped to starting
>     [java] 20:38:29,593 DEBUG [ServiceDeployment]
> geronimo.deployment:role=DeploymentUnit,type=Service,url="file:/C:/Doc
>
uments%20and%20Settings/HeartBit/My%20Documents/My%20Projects/Apache%20Works
> pace/workspace/incubator-geronimo/target/ger
> onimo-DEV/etc/boot-service.xml" State changed from starting to running
>     [java] 20:38:29,625 WARN  [DeploymentController] Unable to deploy URL
> file:C:/Documents and Settings/HeartBit/My Doc
> uments/My Projects/Apache
>
Workspace/workspace/incubator-geronimo/target/geronimo-DEV/etc/boot-service.
> xml
>     [java] org.apache.geronimo.kernel.deployment.DeploymentException:
> [geronimo.deployment:role=DeploymentScanner] java.
> lang.IllegalArgumentException: Type does not have a registered property
> editor or a String constructor: type=[Ljava.net.
> URL;
>     [java]      at
>
org.apache.geronimo.kernel.deployment.task.CreateMBeanInstance.perform(Creat
> eMBeanInstance.java:222)
>     [java]      at
>
org.apache.geronimo.kernel.deployment.DeploymentPlan.execute(DeploymentPlan.
> java:105)
>     [java]      at
>
org.apache.geronimo.kernel.deployment.DeploymentController.executePlans(Depl
> oymentController.java:300
> )
>     [java]      at
>
org.apache.geronimo.kernel.deployment.DeploymentController.deploy(Deployment
> Controller.java:221)
>     [java]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
>     [java]      at
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
> )
>     [java]      at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> .java:25)
>     [java]      at java.lang.reflect.Method.invoke(Method.java:324)
>     [java]      at
>
mx4j.server.ReflectedMBeanInvoker.invokeImpl(ReflectedMBeanInvoker.java:117)
>     [java]      at
> mx4j.server.ReflectedMBeanInvoker.invoke(ReflectedMBeanInvoker.java:55)
>     [java]      at
>
mx4j.server.interceptor.InvokerMBeanServerInterceptor.invoke(InvokerMBeanSer
> verInterceptor.java:241)
>     [java]      at
>
mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanSer
> verInterceptor.java:128)
>     [java]      at
>
mx4j.server.interceptor.SecurityMBeanServerInterceptor.invoke(SecurityMBeanS
> erverInterceptor.java:86)
>
>     [java]      at
>
mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanSer
> verInterceptor.java:128)
>     [java]      at
>
mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanSer
> verInterceptor.java:128)
>     [java]      at
>
mx4j.server.interceptor.ContextClassLoaderMBeanServerInterceptor.invoke(Cont
> extClassLoaderMBeanServer
> Interceptor.java:161)
>     [java]      at
> mx4j.server.MX4JMBeanServer.invoke(MX4JMBeanServer.java:1068)
>     [java]      at org.apache.geronimo.kernel.Main.run(Main.java:166)
>     [java]      at java.lang.Thread.run(Thread.java:534)
>     [java] Caused by: java.lang.IllegalArgumentException: Type does not
have
> a registered property editor or a String co
> nstructor: type=[Ljava.net.URL;
>     [java]      at
>
org.apache.geronimo.kernel.service.ParserUtil.getValue(ParserUtil.java:347)
>     [java]      at
>
org.apache.geronimo.kernel.deployment.task.CreateMBeanInstance.perform(Creat
> eMBeanInstance.java:172)
>     [java]      ... 18 more
>     [java] 20:38:29,953 ERROR [Geronimo] Error starting Server
>     [java] javax.management.MBeanException: null nested exception is
> org.apache.geronimo.kernel.deployment.DeploymentExc
> eption: [geronimo.deployment:role=DeploymentScanner]
> java.lang.IllegalArgumentException: Type does not have a registered
>  property editor or a String constructor: type=[Ljava.net.URL;
>     [java] org.apache.geronimo.kernel.deployment.DeploymentException:
> [geronimo.deployment:role=DeploymentScanner] java.
> lang.IllegalArgumentException: Type does not have a registered property
> editor or a String constructor: type=[Ljava.net.
> URL;
>     [java]      at
>
org.apache.geronimo.kernel.deployment.task.CreateMBeanInstance.perform(Creat
> eMBeanInstance.java:222)
>     [java]      at
>
org.apache.geronimo.kernel.deployment.DeploymentPlan.execute(DeploymentPlan.
> java:105)
>     [java]      at
>
org.apache.geronimo.kernel.deployment.DeploymentController.executePlans(Depl
> oymentController.java:300
> )
>     [java]      at
>
org.apache.geronimo.kernel.deployment.DeploymentController.deploy(Deployment
> Controller.java:221)
>     [java]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
>     [java]      at
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
> )
>     [java]      at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> .java:25)
>     [java]      at java.lang.reflect.Method.invoke(Method.java:324)
>     [java]      at
>
mx4j.server.ReflectedMBeanInvoker.invokeImpl(ReflectedMBeanInvoker.java:117)
>     [java]      at
> mx4j.server.ReflectedMBeanInvoker.invoke(ReflectedMBeanInvoker.java:55)
>     [java]      at
>
mx4j.server.interceptor.InvokerMBeanServerInterceptor.invoke(InvokerMBeanSer
> verInterceptor.java:241)
>     [java]      at
>
mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanSer
> verInterceptor.java:128)
>     [java]      at
>
mx4j.server.interceptor.SecurityMBeanServerInterceptor.invoke(SecurityMBeanS
> erverInterceptor.java:86)
>
>     [java]      at
>
mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanSer
> verInterceptor.java:128)
>     [java]      at
>
mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanSer
> verInterceptor.java:128)
>     [java]      at
>
mx4j.server.interceptor.ContextClassLoaderMBeanServerInterceptor.invoke(Cont
> extClassLoaderMBeanServer
> Interceptor.java:161)
>     [java]      at
> mx4j.server.MX4JMBeanServer.invoke(MX4JMBeanServer.java:1068)
>     [java]      at org.apache.geronimo.kernel.Main.run(Main.java:166)
>     [java]      at java.lang.Thread.run(Thread.java:534)
>     [java] Caused by: java.lang.IllegalArgumentException: Type does not
have
> a registered property editor or a String co
> nstructor: type=[Ljava.net.URL;
>     [java]      at
>
org.apache.geronimo.kernel.service.ParserUtil.getValue(ParserUtil.java:347)
>     [java]      at
>
org.apache.geronimo.kernel.deployment.task.CreateMBeanInstance.perform(Creat
> eMBeanInstance.java:172)
>     [java]      ... 18 more
>     [java] 20:38:30,250 INFO  [Geronimo] Undeploy Bootstrap Services
>     [java] 20:38:30,265 INFO  [Geronimo] Releasing JMXKernel
>     [java] 20:38:30,265 INFO  [Geronimo] Shutdown complete
>
>
> ---
>
> and it seems like no port has been bind. would anyone please let me know
> what's going wrong?
>
>
> thanks in advance, and i'm sorry for the huge annoyng log dump.
>
>
>
>



Mime
View raw message