geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anita kulshreshtha <a_kuls...@yahoo.com>
Subject Re: Maven2... we are almost there!
Date Tue, 08 Aug 2006 19:12:06 GMT
Prasad,
   The hot-deployer config has changed recently. I had submitted a
patch for that along with the plugin patch. This is a known issue. The
patch must  be applied and a typo must be fixed in the plugin to make
the hot deploy work. The following line must be changed in
PlanProcessor file:

else if ("car".equalsIgnoreCase(type) &&
("runtime").equalsIgnoreCase(type))
    The second 'type' must be 'scope' 
    i.e. the new line is :
else if ("car".equalsIgnoreCase(type) &&
("runtime").equalsIgnoreCase(scope))
 
     This was in the controversial car-maven-plugin.patch. 

Thanks
Anita 

--- Prasad Kashyap <goyathlay.geronimo@gmail.com> wrote:

> Bill I had seen a similar error while doing a hot deploy.
> http://www.mail-archive.com/dev@geronimo.apache.org/msg27975.html
> 
> Let me investigate this further.
> 
> Cheers
> Prasad
> 
> On 8/8/06, Bill Dudney <bdudney@apache.org> wrote:
> > Hi Joe,
> > Could you try to deploy via the console. I'm not having any luck
> with
> > that (about to post a JIRA about it) would be nice to know if
> anyone
> > else is able to deploy via the console.
> >
> > Basically it appears that the DeploymentFactoryImpl (from geronimo-
> > deploy-jsr88) is not being started and thus there are no deployers
> > (at least for the console).
> >
> > I'm still poking around but a confirmation would be nice :-)
> >
> > TTFN,
> >
> > -bd
> > On Aug 8, 2006, at 11:09 AM, Joe Bohn wrote:
> >
> > > Ok, once I learned to ignore the errors (and work around the
> > > windows pathlength issues) I was able to get a successful build.
> > > Things went pretty smoothly ... nice work!!!
> > >
> > > There seems to be a problem with the minimal assemblies.  They do
> > > not include the deployer.jar in the image which kinda makes it
> > > difficult to deploy things.   However, when I deployed my
> > > application into the minimal assembly using the deployer from the
> > > j2ee assembly it seemed to work well!
> > >
> > > Joe
> > >
> > > David Jencks wrote:
> > >> On Aug 8, 2006, at 8:16 AM, Joe Bohn wrote:
> > >>> I'm trying to build with m2 on windows with some suspicious
> results.
> > >>>
> > >>> Right now I'm getting a number of errors just trying to run
> > >>> bootstrap.
> > >>>
> > >>> One of my windows machines claims that it is successful while
> > >>> the  other one fails with this error:
> > >>> [ERROR] BUILD ERROR
> > >>> [INFO]
> > >>>
> --------------------------------------------------------------------
> > >>> -- --
> > >>> [INFO] Destination
> c:\geronimo\m2-assemblies\geronimo-tomcat-j2ee
> > >>> \target\archive-tmp\repository\org\apache\geronimo\configs
> > >>> \webconsole-tomcat\1.2-SNAPSHOT\webconsole-tomcat-1.2-
> > >>> SNAPSHOT.car  already exists!
> > >>> [INFO]
> > >>>
> --------------------------------------------------------------------
> > >>> -- --
> > >>> [INFO] For more information, run Maven with the -e switch
> > >>> [INFO]
> > >>>
> --------------------------------------------------------------------
> > >>> -- --
> > >>> [INFO] Total time: 5 minutes 3 seconds
> > >>> [INFO] Finished at: Tue Aug 08 09:24:29 EDT 2006
> > >>> [INFO] Final Memory: 55M/104M
> > >>> [INFO]
> > >>>
> --------------------------------------------------------------------
> > >>> -- --
> > >>> bootstrap: Bootstrap failed in stage assemble
> > >>>
> > >>> I was talking with Prasad offline on this and he thinks that
> the
> > >>> failure is because of the windows long name issue causing the
> > >>> cleanup to fail. I'll manually clean things up and try again on
> > >>> that machine.
> > >>>
> > >>>
> > >>>
> > >>> However, both machines received a ton of other errors.   Are
> all
> > >>> of  these "excepted" problems?  If so, then if we can't clean
> > >>> them up I  think we should at least warn people to expect them.
> > >>>
> > >>> Here are the errors that were in the logs (I can't attach the
> > >>> logs  because they are too large).
> > >> I believe most or all of these were always happening, we just
> see
> > >> them now  because jason figured out how to set up log4j for the
> > >> tests  properly -- previously all this was not getting recorded
> in
> > >> any  obvious place.
> > >> thanks
> > >> david jencks
> > >>>
> > >>> several of these:
> > >>>
> > >>> 09:09:01,062 ERROR [GBeanInstanceState] Error while starting;
> > >>> GBean  is now in the FAILED state:
> abstractName="test/3/3.3/bar?
> > >>> j2eeType=GBean,name=gbean3"
> > >>>
> > >>> java.lang.RuntimeException: FAILING
> > >>>     at
> > >>>
> org.apache.geronimo.kernel.config.ConfigurationManagerTest.checkFail
> > >>>  (ConfigurationManagerTest.java:663)
> > >>>     at
> > >>>
> org.apache.geronimo.kernel.config.ConfigurationManagerTest.access
> > >>> $300(ConfigurationManagerTest.java:54)
> > >>>     at
> org.apache.geronimo.kernel.config.ConfigurationManagerTest
> > >>> $TestBean.<init>(ConfigurationManagerTest.java:809)
> > >>>     at sun.reflect.NativeConstructorAccessorImpl.newInstance0
> > >>> (Native  Method)
> > >>>     at sun.reflect.NativeConstructorAccessorImpl.newInstance
> > >>> (NativeConstructorAccessorImpl.java:39)
> > >>>     at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance
> > >>> (DelegatingConstructorAccessorImpl.java:27)
> > >>>     at
> java.lang.reflect.Constructor.newInstance(Constructor.java:
> > >>> 274)
> > >>>     at
> > >>> org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance
> > >>> (GBeanInstance.java:933)
> > >>>     at
> > >>>
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStar
> > >>> t( GBeanInstanceState.java:267)
> > >>>     at
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.start
> > >>> (GBeanInstanceState.java:102)
> > >>>     at
> > >>>
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive
> > >>> (GBeanInstanceState.java:124)
> > >>>     at
> > >>> org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive
> > >>> (GBeanInstance.java:540)
> > >>>     at
> > >>>
> org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean
> > >>> (BasicKernel.java:379)
> > >>>     at
> > >>>
> org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurati
> > >>> on GBeans(ConfigurationUtil.java:374)
> > >>>     at
> > >>>
> org.apache.geronimo.kernel.config.KernelConfigurationManager.start (
> > >>> KernelConfigurationManager.java:187)
> > >>>     at
> > >>>
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.restart
> > >>> Co nfiguration(SimpleConfigurationManager.java:628)
> > >>>     at
> > >>>
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.restart
> > >>> Co nfiguration(SimpleConfigurationManager.java:588)
> > >>>     at
> > >>>
> org.apache.geronimo.kernel.config.ConfigurationManagerTest.testResta
> > >>> rt Exception(ConfigurationManagerTest.java:236)
> > >>>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> > >>>         at sun.reflect.NativeMethodAccessorImpl.invoke
> > >>> (NativeMethodAccessorImpl.java:39)
> > >>>     at sun.reflect.DelegatingMethodAccessorImpl.invoke
> > >>> (DelegatingMethodAccessorImpl.java:25)
> > >>>     at java.lang.reflect.Method.invoke(Method.java:324)
> > >>>     at junit.framework.TestCase.runTest(TestCase.java:154)
> > >>>     at junit.framework.TestCase.runBare(TestCase.java:127)
> > >>>     at
> junit.framework.TestResult$1.protect(TestResult.java:106)
> > >>>     at
> junit.framework.TestResult.runProtected(TestResult.java:124)
> > >>>     at junit.framework.TestResult.run(TestResult.java:109)
> > >>>     at junit.framework.TestCase.run(TestCase.java:118)
> > >>>     at junit.framework.TestSuite.runTest(TestSuite.java:208)
> > >>>     at junit.framework.TestSuite.run(TestSuite.java:203)
> > >>>     at sun.reflect.GeneratedMethodAccessor17.invoke(Unknown
> Source)
> > >>>     at sun.reflect.DelegatingMethodAccessorImpl.invoke
> > >>> (DelegatingMethodAccessorImpl.java:25)
> > >>>     at java.lang.reflect.Method.invoke(Method.java:324)
> > >>>     at org.apache.maven.surefire.junit.JUnitTestSet.execute
> > >>> (JUnitTestSet.java:210)
> > >>>     at
> > >>>
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTe
> > >>> st Set(AbstractDirectoryTestSuite.java:135)
> > >>>     at
> > >>>
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute 
=== message truncated ===


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Mime
View raw message