Hi all,
  I have solved my this problem (still using java 1.6_04) , i removed
the j2ee.jar which I added earlier in Add external JAR (because I
cannot get javax.ejb resolved earlier) .
   After removing , the server starts , and seems working fine. I can
access the console using localhost:8080
and manage to log on using system / manager .

However, in a short while (about 30seconds) , the geronimo
automatically shutdown itself. It does not happen if I start from
terminal. This is really a headache  >.<

The geronimo.log at that moment is as below

14:04:59,435 INFO  [PortletContextManager] Portlet Context
'/plan-creator' removed.
14:04:59,462 INFO  [PortletContextManager] Portlet Context
'/system-database' removed.
14:04:59,566 INFO  [PortletContextManager] Portlet Context '/activemq' removed.
14:04:59,567 INFO  [PortletContextManager] Portlet Context '/activemq' removed.
14:04:59,568 INFO  [PortletContextManager] Portlet Context '/activemq' removed.
14:04:59,587 INFO  [PortletContextManager] Portlet Context '/plugin' removed.
14:04:59,588 INFO  [PortletContextManager] Portlet Context '/plugin' removed.
14:04:59,591 INFO  [PortletContextManager] Portlet Context '/plugin' removed.
14:04:59,598 INFO  [KernelContextGBean] unbound gbean
org.apache.geronimo.framework/rmi-naming/2.1/car?ServiceModule=org.apache.geronimo.framework/rmi-naming/2.1/car,j2eeType=Context,name=GeronimoContext
at name ger:
14:05:11,478 INFO  [KernelContextGBean] unbound gbean
org.apache.geronimo.framework/rmi-naming/2.1/car?ServiceModule=org.apache.geronimo.framework/rmi-naming/2.1/car,j2eeType=Context,name=JavaCompContext
at name java:comp
14:05:11,478 INFO  [KernelContextGBean] unbound gbean
org.apache.geronimo.configs/javamail/2.1/car?ServiceModule=org.apache.geronimo.configs/javamail/2.1/car,j2eeType=JavaMailResource,name=mail/MailSession
at name org.apache.geronimo.configs/javamail/JavaMailResource/mail/MailSession
14:05:11,486 INFO  [KernelContextGBean] unbound gbean
org.apache.geronimo.plugins/mconsole-ds/2.1/car?J2EEApplication=null,JCAConnectionFactory=MonitoringClientDS,JCAResource=org.apache.geronimo.plugins/mconsole-ds/2.1/car,ResourceAdapter=org.apache.geronimo.plugins/mconsole-ds/2.1/car,ResourceAdapterModule=org.apache.geronimo.plugins/mconsole-ds/2.1/car,j2eeType=JCAManagedConnectionFactory,name=MonitoringClientDS
at name 
org.apache.geronimo.plugins/mconsole-ds/JCAManagedConnectionFactory/MonitoringClientDS
14:05:11,491 INFO  [KernelContextGBean] unbound gbean
org.apache.geronimo.plugins/agent-ds/2.1/car?J2EEApplication=null,JCAConnectionFactory=jdbc/ActiveDS,JCAResource=org.apache.geronimo.plugins/agent-ds/2.1/car,ResourceAdapter=org.apache.geronimo.plugins/agent-ds/2.1/car,ResourceAdapterModule=org.apache.geronimo.plugins/agent-ds/2.1/car,j2eeType=JCAManagedConnectionFactory,name=jdbc/ActiveDS
at name 
org.apache.geronimo.plugins/agent-ds/JCAManagedConnectionFactory/jdbc/ActiveDS
14:05:11,492 INFO  [KernelContextGBean] unbound gbean
org.apache.geronimo.plugins/agent-ds/2.1/car?J2EEApplication=null,JCAConnectionFactory=jdbc/ArchiveDS,JCAResource=org.apache.geronimo.plugins/agent-ds/2.1/car,ResourceAdapter=org.apache.geronimo.plugins/agent-ds/2.1/car,ResourceAdapterModule=org.apache.geronimo.plugins/agent-ds/2.1/car,j2eeType=JCAManagedConnectionFactory,name=jdbc/ArchiveDS
at name 
org.apache.geronimo.plugins/agent-ds/JCAManagedConnectionFactory/jdbc/ArchiveDS
14:05:11,539 INFO  [KernelContextGBean] unbound gbean
org.apache.geronimo.configs/activemq-ra/2.1/car?J2EEApplication=null,JCAResource=org.apache.geronimo.configs/activemq-ra/2.1/car,ResourceAdapter=org.apache.geronimo.configs/activemq-ra/2.1/car,ResourceAdapterModule=org.apache.geronimo.configs/activemq-ra/2.1/car,j2eeType=JCAAdminObject,name=SendReceiveQueue
at name org.apache.geronimo.configs/activemq-ra/JCAAdminObject/SendReceiveQueue
14:05:11,540 INFO  [KernelContextGBean] unbound gbean
org.apache.geronimo.configs/activemq-ra/2.1/car?J2EEApplication=null,JCAConnectionFactory=DefaultActiveMQConnectionFactory,JCAResource=org.apache.geronimo.configs/activemq-ra/2.1/car,ResourceAdapter=org.apache.geronimo.configs/activemq-ra/2.1/car,ResourceAdapterModule=org.apache.geronimo.configs/activemq-ra/2.1/car,j2eeType=JCAManagedConnectionFactory,name=DefaultActiveMQConnectionFactory
at name 
org.apache.geronimo.configs/activemq-ra/JCAManagedConnectionFactory/DefaultActiveMQConnectionFactory
14:05:11,543 INFO  [KernelContextGBean] unbound gbean
org.apache.geronimo.configs/activemq-ra/2.1/car?J2EEApplication=null,JCAResource=org.apache.geronimo.configs/activemq-ra/2.1/car,ResourceAdapter=org.apache.geronimo.configs/activemq-ra/2.1/car,ResourceAdapterModule=org.apache.geronimo.configs/activemq-ra/2.1/car,j2eeType=JCAAdminObject,name=MDBTransferBeanOutQueue
at name 
org.apache.geronimo.configs/activemq-ra/JCAAdminObject/MDBTransferBeanOutQueue
14:05:11,544 INFO  [KernelContextGBean] unbound gbean
org.apache.geronimo.configs/system-database/2.1/car?J2EEApplication=null,JCAConnectionFactory=NoTxDatasource,JCAResource=org.apache.geronimo.configs/system-database/2.1/car,ResourceAdapter=org.apache.geronimo.configs/system-database/2.1/car,ResourceAdapterModule=org.apache.geronimo.configs/system-database/2.1/car,j2eeType=JCAManagedConnectionFactory,name=NoTxDatasource
at name 
org.apache.geronimo.configs/system-database/JCAManagedConnectionFactory/NoTxDatasource
14:05:11,546 INFO  [KernelContextGBean] unbound gbean
org.apache.geronimo.configs/system-database/2.1/car?J2EEApplication=null,JCAConnectionFactory=SystemDatasource,JCAResource=org.apache.geronimo.configs/system-database/2.1/car,ResourceAdapter=org.apache.geronimo.configs/system-database/2.1/car,ResourceAdapterModule=org.apache.geronimo.configs/system-database/2.1/car,j2eeType=JCAManagedConnectionFactory,name=SystemDatasource
at name 
org.apache.geronimo.configs/system-database/JCAManagedConnectionFactory/SystemDatasource
14:05:13,355 INFO  [KernelContextGBean] unbound gbean
org.apache.geronimo.configs/transaction/2.1/car?ServiceModule=org.apache.geronimo.configs/transaction/2.1/car,j2eeType=Context,name=ResourceBindings
at name jca:
14:05:13,359 INFO  [KernelContextGBean] unbound gbean
org.apache.geronimo.framework/rmi-naming/2.1/car?ServiceModule=org.apache.geronimo.framework/rmi-naming/2.1/car,j2eeType=Context,name=JavaContext
at name java:










On Mon, Mar 3, 2008 at 5:23 AM, Kevan Miller <[EMAIL PROTECTED]> wrote:
>
>
> On Feb 29, 2008, at 10:07 PM, CG wrote:
> No luck , it is still the same.
>
> Are you running both Eclipse and Gernimo using 1.6 or 1.5? If 1.6, could you
> try to run them both on 1.5? May be time to get an Ubuntu system setup...
> ;-)
>
> --kevan
>
>
>
> On Sat, Mar 1, 2008 at 7:02 AM, Jacek Laskowski <[EMAIL PROTECTED]>
> wrote:
> On Fri, Feb 29, 2008 at 9:25 AM, CG <[EMAIL PROTECTED]> wrote:
>
>
>  Caused by: java.io.InvalidClassException:
>
>  javax.security.jacc.WebRoleRefPermission; local class incompatible:
>
>  stream classdesc serialVersionUID = 7625355096788237915, local class
>
>  serialVersionUID = 1
>
>         at
> java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:562)
>
>  That's what makes Geronimo unhappy. Can't figure out what it might be
>  caused by. Can you try running Eclipse and Geronimo with the same JVM
>  and see what happens?
>
>

Reply via email to