You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geronimo.apache.org by jklcom99 <je...@yahoo.com> on 2008/07/06 07:22:01 UTC

Geronimo 2.1.2-SNAPSHOT Server Start-Up Failed

I'm running 07/03 build

     [java] Booting Geronimo Kernel (in Java 1.6.0)...
     [java] Starting Geronimo Application Server v2.1.2-SNAPSHOT
     [java] 
     [java] [                                        ]   0%   0s Loading                   
     				[                                        ]   0%   1s Loading                   
     				[                                        ]   0%   1s  Loading
org.apache.ger...
     				[**                                      ]   6%   1s  Loading
org.apache.ger...
     				[**                                      ]   6%   1s Starting
org.apache.ger...
     				[**                                      ]   6%   1s  Loading
org.apache.ger...
     				[**                                      ]   7%   1s  Loading
org.apache.ger...
     				[***                                     ]   8%   1s Starting
org.apache.ger...
     				[***                                     ]   8%   1s  Loading
org.apache.ger...
     				[***                                     ]   8%   1s  Loading
org.apache.ger...
     				[***                                     ]   9%   1s Starting
org.apache.ger...
     				[***                                     ]   9%   1s  Loading
org.apache.ger...
     				[****                                    ]  10%   1s  Loading
org.apache.ger...
     				[****                                    ]  10%   1s Starting
org.apache.ger...
     				[****                                    ]  10%   1s  Loading
org.apache.ger...

....

     				[******************************          ]  76%  17s Starting
org.apache.ger...
     				[******************************          ]  76%  17s  Loading
org.apache.ger...
     				[******************************          ]  77%  18s  Loading
org.apache.ger...
     				[******************************          ]  77%  18s Starting
org.apache.ger...
     				[******************************          ]  77%  19s Starting
org.apache.ger...
     				01:05:12,633 ERROR [NameService] Incorrect level of org.omg.CORBA
classes found.Likely cause is an incorrect java.endorsed.dirs configuration
     [java] 01:05:12,648 ERROR [GBeanInstanceState] Error while starting;
GBean is now in the FAILED state:
abstractName="org.apache.geronimo.configs/j2ee-corba-yoko/2.1.2-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/j2ee-corba-yoko/2.1.2-SNAPSHOT/car,j2eeType=CORBANameService,name=NameServer"
     [java] org.apache.geronimo.gbean.InvalidConfigurationException: CORBA
usage requires Yoko CORBA spec classes in java.endorsed.dirs classpath
     [java] 	at
org.apache.geronimo.corba.NameService.doStart(NameService.java:168)
     [java] 	at
org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:998)
     [java] 	at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:268)
     [java] 	at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
     [java] 	at
org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:541)
     [java] 	at
org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:111)
     [java] 	at
org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:146)
     [java] 	at
org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:120)
     [java] 	at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:176)
     [java] 	at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:44)
     [java] 	at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:254)
     [java] 	at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:294)
     [java] 	at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
     [java] 	at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:124)
     [java] 	at
org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:555)
     [java] 	at
org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379)
     [java] 	at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:456)
     [java] 	at
org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:188)
     [java] 	at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:562)
     [java] 	at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
     [java] 	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     [java] 	at java.lang.reflect.Method.invoke(Method.java:597)
     [java] 	at
org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
     [java] 	at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
     [java] 	at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:832)
     [java] 	at
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
     [java] 	at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
     [java] 	at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
     [java] 	at
org.apache.geronimo.gbean.GBeanLifecycle$$EnhancerByCGLIB$$f5f33b45.startConfiguration(<generated>)
     [java] 	at
org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:162)
     [java] 	at
org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:79)
     [java] 	at
org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45)
     [java] 	at
org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:67)
     [java] 	at
org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:30)
     [java] Caused by: java.lang.NoSuchMethodError:
org.omg.PortableInterceptor.IORInterceptor_3_0.adapter_manager_state_changed(Ljava/lang/String;S)V
     [java] 	at
org.apache.yoko.orb.OB.PIManager.adapterManagerStateChange(PIManager.java:532)
     [java] 	at
org.apache.yoko.orb.OBPortableServer.POAManager_impl.activate(POAManager_impl.java:221)
     [java] 	at
org.apache.yoko.orb.CosNaming.tnaming.TransientNameService.initialize(TransientNameService.java:131)
     [java] 	at
org.apache.yoko.orb.CosNaming.tnaming.TransientNameService.run(TransientNameService.java:116)
     [java] 	at
org.apache.geronimo.yoko.ORBConfigAdapter.createNameService(ORBConfigAdapter.java:175)
     [java] 	at
org.apache.geronimo.corba.NameService.doStart(NameService.java:164)
     [java] 	... 33 more
     [java] 01:05:12,648 ERROR [GBeanInstanceState] Error while starting;
GBean is now in the FAILED state:
abstractName="org.apache.geronimo.configs/j2ee-corba-yoko/2.1.2-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/j2ee-corba-yoko/2.1.2-SNAPSHOT/car,j2eeType=CORBANameService,name=NameServer"
     [java] org.apache.geronimo.corba.security.config.ConfigException: Error
starting transient name service
     [java] 	at
org.apache.geronimo.yoko.ORBConfigAdapter.createNameService(ORBConfigAdapter.java:179)

-- 
View this message in context: http://www.nabble.com/Geronimo-2.1.2-SNAPSHOT-Server-Start-Up-Failed-tp18298989s134p18298989.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Re: Geronimo 2.1.2-SNAPSHOT Server Start-Up Failed

Posted by jklcom99 <je...@yahoo.com>.
Yes, that was it.

Now it's not finding my config.properties file which is included in the
myApp.jar:
config.properties
Manifest.mf
persistence.xml
...

InputStream is = this.getClass().getResourceAsStream( "/" + bundleFileName
); 


     Starting myApp...10:03:22,072 FATAL [Server] Could not find bundle.
Name: config.properties apps.config.ConfigBundleException: Could not find
bundle. Name: config.properties

Thank you
-- 
View this message in context: http://www.nabble.com/Geronimo-2.1.2-SNAPSHOT-Server-Start-Up-Failed-tp18298989s134p18317837.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Re: Geronimo 2.1.2-SNAPSHOT Server Start-Up Failed

Posted by Lin Sun <li...@gmail.com>.
Hi,

Did you intend to use "tcp://localhost:8989" instead of the default
value "tcp://localhost:61616" for the ConnectionFactory's ServerUrl?
If you want to use a different port than the default port, you'll need
to update the geronimo_home/var/config/config_substitutions.properties
file accordingly.

HTH, Lin

On Sun, Jul 6, 2008 at 5:54 PM, jklcom99 <je...@yahoo.com> wrote:
>
> I added  <jvmarg value="-Djava.endorsed.dirs=${GeronimoHome}/lib/endorsed" />
> and it was happy a little bit.
>
> but now I'm getting this error:
>
> I tried setting the port but still getting this error.
> Here's what I have in geronimo-ra.xml
>
> Thanks for your help.
>
>    <resourceadapter>
>        <!-- connect to the JMS Server -->
>        <resourceadapter-instance>
>            <resourceadapter-name>ConnectionFactory</resourceadapter-name>
>            <config-property-setting
> name="ServerUrl">tcp://localhost:8989</config-property-setting>
>            <config-property-setting
> name="UserName">******</config-property-setting>
>            <config-property-setting
> name="Password">******</config-property-setting>
>            <workmanager
> xmlns='http://geronimo.apache.org/xml/ns/naming-1.2'>
>                <gbean-link>DefaultWorkManager</gbean-link>
>            </workmanager>
>        </resourceadapter-instance>
>        <!-- defines a ConnectionFactory -->
>        <outbound-resourceadapter>
>            <connection-definition>
>
> <connectionfactory-interface>javax.jms.ConnectionFactory</connectionfactory-interface>
>                <connectiondefinition-instance>
>                    <name>ConnectionFactory</name>
>
> <implemented-interface>javax.jms.QueueConnectionFactory</implemented-interface>
>
> <implemented-interface>javax.jms.TopicConnectionFactory</implemented-interface>
>                    <connectionmanager>
>                        <xa-transaction>
>                            <transaction-caching/>
>                        </xa-transaction>
>                        <single-pool>
>                            <max-size>10</max-size>
>                            <min-size>0</min-size>
>                            <match-one/>
>                        </single-pool>
>                    </connectionmanager>
>                </connectiondefinition-instance>
>            </connection-definition>
>        </outbound-resourceadapter>
>    </resourceadapter>
>
>
>     ERROR [MCFConnectionInterceptor] Error occurred creating
> ManagedConnection for
> org.apache.geronimo.connector.outbound.ConnectionInfo@b9f64ejavax.resource.ResourceException:
> Could not create connection.
>     [java]     at
> org.apache.activemq.ra.ActiveMQManagedConnectionFactory.createManagedConnection(ActiveMQManagedConnectionFactory.java:112)
>     [java]     at
> org.apache.geronimo.connector.outbound.MCFConnectionInterceptor.getConnection(MCFConnectionInterceptor.java:48)
>     [java]     at
> org.apache.geronimo.connector.outbound.XAResourceInsertionInterceptor.getConnection(XAResourceInsertionInterceptor.java:41)
> ...
>
>
>     [java] Caused by: javax.jms.JMSException: Could not connect to broker
> URL: tcp://localhost:8989. Reason: java.net.ConnectException: Connection
> refused: connect
>     [java]     at
> org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:33)
>     [java]     at
> org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:280)
>     [java]     at
> org.apache.activemq.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:168)
>     [java]     at
> org.apache.activemq.ra.ActiveMQResourceAdapter.makeConnection(ActiveMQResourceAdapter.java:108)
>     [java]     at
> org.apache.activemq.ra.ActiveMQResourceAdapter.makeConnection(ActiveMQResourceAdapter.java:102)
>     [java]     at
> org.apache.activemq.ra.ActiveMQManagedConnectionFactory.createManagedConnection(ActiveMQManagedConnectionFactory.java:109)
>     [java]     ... 42 more
>
>
>
> Jacek Laskowski wrote:
>>
>> On Sun, Jul 6, 2008 at 7:22 AM, jklcom99 <je...@yahoo.com> wrote:
>>>
>>> I'm running 07/03 build
>>>
>>>     [java] Booting Geronimo Kernel (in Java 1.6.0)...
>>
>> Change the JVM version and let us know how it goes. AFAIR, the CORBA
>> stuff was exactly what made us stay at Java SE 5.0-level.
>>
>> Jacek
>>
>> --
>> Jacek Laskowski
>> Notatnik Projektanta Java EE - http://www.JacekLaskowski.pl
>>
>>
>
> --
> View this message in context: http://www.nabble.com/Geronimo-2.1.2-SNAPSHOT-Server-Start-Up-Failed-tp18298989s134p18307079.html
> Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
>
>

Re: Geronimo 2.1.2-SNAPSHOT Server Start-Up Failed

Posted by jklcom99 <je...@yahoo.com>.
I added  <jvmarg value="-Djava.endorsed.dirs=${GeronimoHome}/lib/endorsed" /> 
and it was happy a little bit.

but now I'm getting this error:

I tried setting the port but still getting this error.
Here's what I have in geronimo-ra.xml

Thanks for your help.

    <resourceadapter>
        <!-- connect to the JMS Server -->
        <resourceadapter-instance>
            <resourceadapter-name>ConnectionFactory</resourceadapter-name>
            <config-property-setting
name="ServerUrl">tcp://localhost:8989</config-property-setting>
            <config-property-setting
name="UserName">******</config-property-setting>
            <config-property-setting
name="Password">******</config-property-setting>
            <workmanager
xmlns='http://geronimo.apache.org/xml/ns/naming-1.2'>
                <gbean-link>DefaultWorkManager</gbean-link>
            </workmanager>
        </resourceadapter-instance>
        <!-- defines a ConnectionFactory -->
        <outbound-resourceadapter>
            <connection-definition>
               
<connectionfactory-interface>javax.jms.ConnectionFactory</connectionfactory-interface>
                <connectiondefinition-instance>
                    <name>ConnectionFactory</name>
                   
<implemented-interface>javax.jms.QueueConnectionFactory</implemented-interface>
                   
<implemented-interface>javax.jms.TopicConnectionFactory</implemented-interface>
                    <connectionmanager>
                        <xa-transaction>
                            <transaction-caching/>
                        </xa-transaction>
                        <single-pool>
                            <max-size>10</max-size>
                            <min-size>0</min-size>
                            <match-one/>
                        </single-pool>
                    </connectionmanager>
                </connectiondefinition-instance>
            </connection-definition>
        </outbound-resourceadapter>
    </resourceadapter>


     ERROR [MCFConnectionInterceptor] Error occurred creating
ManagedConnection for
org.apache.geronimo.connector.outbound.ConnectionInfo@b9f64ejavax.resource.ResourceException:
Could not create connection.
     [java]     at
org.apache.activemq.ra.ActiveMQManagedConnectionFactory.createManagedConnection(ActiveMQManagedConnectionFactory.java:112)
     [java]     at
org.apache.geronimo.connector.outbound.MCFConnectionInterceptor.getConnection(MCFConnectionInterceptor.java:48)
     [java]     at
org.apache.geronimo.connector.outbound.XAResourceInsertionInterceptor.getConnection(XAResourceInsertionInterceptor.java:41)
...


     [java] Caused by: javax.jms.JMSException: Could not connect to broker
URL: tcp://localhost:8989. Reason: java.net.ConnectException: Connection
refused: connect
     [java]     at
org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:33)
     [java]     at
org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:280)
     [java]     at
org.apache.activemq.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:168)
     [java]     at
org.apache.activemq.ra.ActiveMQResourceAdapter.makeConnection(ActiveMQResourceAdapter.java:108)
     [java]     at
org.apache.activemq.ra.ActiveMQResourceAdapter.makeConnection(ActiveMQResourceAdapter.java:102)
     [java]     at
org.apache.activemq.ra.ActiveMQManagedConnectionFactory.createManagedConnection(ActiveMQManagedConnectionFactory.java:109)
     [java]     ... 42 more



Jacek Laskowski wrote:
> 
> On Sun, Jul 6, 2008 at 7:22 AM, jklcom99 <je...@yahoo.com> wrote:
>>
>> I'm running 07/03 build
>>
>>     [java] Booting Geronimo Kernel (in Java 1.6.0)...
> 
> Change the JVM version and let us know how it goes. AFAIR, the CORBA
> stuff was exactly what made us stay at Java SE 5.0-level.
> 
> Jacek
> 
> -- 
> Jacek Laskowski
> Notatnik Projektanta Java EE - http://www.JacekLaskowski.pl
> 
> 

-- 
View this message in context: http://www.nabble.com/Geronimo-2.1.2-SNAPSHOT-Server-Start-Up-Failed-tp18298989s134p18307079.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Re: Geronimo 2.1.2-SNAPSHOT Server Start-Up Failed

Posted by Jacek Laskowski <ja...@laskowski.net.pl>.
On Sun, Jul 6, 2008 at 7:22 AM, jklcom99 <je...@yahoo.com> wrote:
>
> I'm running 07/03 build
>
>     [java] Booting Geronimo Kernel (in Java 1.6.0)...

Change the JVM version and let us know how it goes. AFAIR, the CORBA
stuff was exactly what made us stay at Java SE 5.0-level.

Jacek

-- 
Jacek Laskowski
Notatnik Projektanta Java EE - http://www.JacekLaskowski.pl