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: [jira] Commented: (GERONIMO-2026) 1.1 Server fails to start by throwing an InvalidConfigException for JMXService GBean
Date Tue, 16 May 2006 13:01:19 GMT
Shiva,
    Few days back I was trying to build and the build failed at
j2ee-installer. I realized that the installer was not updated to
reflect the latest changes in the configuraiotns. So I tried to fix it!
I made the following changes. I was able to genarete a server that
started properly, logged into the console and then it blew up :(. This
is for rev  
405570) :

1. Remove sample applications, they generate long file names that cause
problems on windows.
2. Remove daytrader (?).
3. Install openejb, openejb-deployer, axix-deployer as J2EE.Features. 
4. Change j2ee-security configuration in src/var/config/config.xml. The
JMXService gbean should have this url.

<gbean name="JMXService">
............................................
<attribute
name="urlPath">/jndi/rmi://${PlanServerHostname}:${PlanNamingPort}/JMXConnector</attribute>
         </gbean>
........................     

5. Remove this from j2ee-server configuration.

<gbean name="geronimo:name=EJB,type=NetworkService">

      You can get the latest information about the configurations from
j2ee-*-server/src/var/config/config.xml. I hope this is enough to get
you started...
    
Thanks
Anita


--- Shiva Kumar H R <shivahr@gmail.com> wrote:

> Aaron,
> Thanks for the quick response. Yes I am interested in solving this
> and I am
> currently working on it. Got a few errors while building the Geronimo
> the
> 1.1 server. I am posting the errors onto the dev list to get some
> help.
> 
> Regards,
> Shiva Kumar
> 
> On 5/15/06, Aaron Mulder (JIRA) <dev@geronimo.apache.org> wrote:
> >
> >     [
> >
>
http://issues.apache.org/jira/browse/GERONIMO-2026?page=comments#action_12402330]
> >
> > Aaron Mulder commented on GERONIMO-2026:
> > ----------------------------------------
> >
> > The installer may be deferred for 1.1 since it's gotten a bit out
> of sync
> > with the rest of the product again.  Are you interested in helping
> out with
> > it?
> >
> > > 1.1 Server fails to start by throwing an InvalidConfigException
> for
> > JMXService GBean
> > >
> >
>
------------------------------------------------------------------------------------
> > >
> > >          Key: GERONIMO-2026
> > >          URL: http://issues.apache.org/jira/browse/GERONIMO-2026
> > >      Project: Geronimo
> > >         Type: Bug
> > >     Security: public(Regular issues)
> > >   Components: startup/shutdown
> > >     Versions: 1.1
> > >  Environment: 1) Windows XP   Intel 32bit     Sun Java 1.4.2_11
> > DHCP
> > > 2) Windows XP Intel 32bit     Sun Java 1.5.0_01       DHCP
> > > 3) Open Suse 10.0     Intel 32bit     Sun Java 1.4.2_11      
> DHCP
> > > 4) Fedora Core v5     Intel 32bit     Sun Java 1.4.2_11      
> DHCP
> > >     Reporter: Shiva Kumar H R
> > >     Priority: Blocker
> >
> > >
> > > Apache Geronimo v1.1 was downloaded from
> > http://cvs.apache.org/repository/geronimo/distributions/ and I used
> the
> > following snapshot "geronimo-installer-1.1-SNAPSHOT.jar     
> 13-May-2006
> > 13:15   54M"
> > > 1) Installation was successfull, except for the following
> exception
> > (during the last dialog box)
> > > Found var: TRACE value = false
> > > java.lang.reflect.InvocationTargetException
> > >       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> > >       at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
> Source)
> > >       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> Source)
> > >       at java.lang.reflect.Method.invoke(Unknown Source)
> > >       at
> org.apache.geronimo.installer.processing.ConfigThread.run(
> > ConfigInstaller.java:357)
> > > Caused by: java.lang.RuntimeException: Unable to get method
> object
> > "execute" from LocalConfigInstaller class
> > >       at
> >
>
org.apache.geronimo.installer.processing.ConfigWorker.initLocalConfigInstaller
> > (ConfigInstaller.java:154)
> > >       at
> org.apache.geronimo.installer.processing.ConfigWorker.init(
> > ConfigInstaller.java:192)
> > >       at
> org.apache.geronimo.installer.processing.ConfigWorker.doit(
> > ConfigInstaller.java:135)
> > >       ... 5 more
> > > Exception in thread "Thread-0" java.lang.RuntimeException:
> Exception
> > while executing: ConfigWorker.doit()
> > >       at
> org.apache.geronimo.installer.processing.ConfigThread.run(
> > ConfigInstaller.java:360)
> > > Configuration complete.
> > > FixTextLines: C:\Program Files\Apache
> Geronimo\var\config\config.xml
> > initial rename failed.
> > > FixTextLines: C:\Program Files\Apache
> Geronimo\var\temp\config.xml final
> > rename failed.
> > > FixTextLines processing complete.
> > > 2) Trying to start the server fails with the following
> Exceptions:
> > > Booting Geronimo Kernel (in Java 1.5.0_01)...
> > > Starting Geronimo Application Server v1.1-SNAPSHOT
> > > [***-                 ] 14%   4s  Loading
> > geronimo/j2ee-security/1....19:23:49,
> > > 25 ERROR [GBeanInstanceState] Error while starting; GBean is now
> in the
> > FAILED
> > > tate:
> >
>
abstractName="geronimo/j2ee-security/1.1-SNAPSHOT/car?configurationName=g
> > > ronimo/j2ee-security/1.1-SNAPSHOT/car"
> > > org.apache.geronimo.kernel.config.InvalidConfigException: No
> attribute:
> > url for
> > > gbean:
> >
>
geronimo/j2ee-security/1.1-SNAPSHOT/car?ServiceModule=geronimo/j2ee-secu
> > > ity/1.1-SNAPSHOT/car,j2eeType=GBean,name=JMXService
> > >         at
> >
> org.apache.geronimo.system.configuration.LocalAttributeManager.setAt
> > > ributes(LocalAttributeManager.java:178)
> > >         at
> >
> org.apache.geronimo.system.configuration.LocalAttributeManager.apply
> > > verrides(LocalAttributeManager.java:135)
> > >         at
> >
> org.apache.geronimo.system.configuration.LocalAttributeManager$$Fast
> > > lassByCGLIB$$b20ef545.invoke(<generated>)
> > >         at
> net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
> > >         at
> org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke
> > (FastMetho
> > > Invoker.java:38)
> > >         at
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke
> > (GBeanOperati
> > > n.java:122)
> > >         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke
> > (GBeanInstance
> > > java:817)
> > >         at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(
> > RawInvoker.java:
> > > 7)
> > >         at
> org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke
> > (RawOpera
> > > ionInvoker.java:35)
> > >         at
> >
> org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pr
> > > xyMethodInterceptor.java:96)
> > >         at
> >
> org.apache.geronimo.kernel.config.PersistentConfigurationList$$Enhan
> > > erByCGLIB$$a8a053e2.applyOverrides(<generated>)
> > >         at org.apache.geronimo.kernel.config.Configuration
> > .<init>(Configuration
> > > java:279)
> > >         at
> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> > Method
> > >         at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown
> > Source
> > >         at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
> > So
> > > rce)
> > >         at java.lang.reflect.Constructor.newInstance(Unknown
> Source)
> > >         at
> >
> org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBean
> > > nstance.java:933)
> > >         at
> >
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStar
> > > (GBeanInstanceState.java:267)
> > >         at
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.start
> > (GBeanInst
> > > nceState.java:102)
> > >         at org.apache.geronimo.gbean.runtime.GBeanInstance.start
> > (GBeanInstance.
> > > ava:526)
> > >         at
> org.apache.geronimo.kernel.basic.BasicKernel.startGBean
> > (BasicKernel.
> > > ava:361)
> > >         at
> >
> org.apache.geronimo.kernel.config.KernelConfigurationManager.load(Ke
> > > nelConfigurationManager.java:157)
> > >         at
> >
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadCon
> 
=== message truncated ===


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

Mime
View raw message