You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geronimo.apache.org by Jacek Laskowski <ja...@laskowski.net.pl> on 2008/03/01 00:02:19 UTC
Re: Geronimo WTP client for eclipse , server cannot start
On Fri, Feb 29, 2008 at 9:25 AM, CG <le...@gmail.com> 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?
Jacek
--
Jacek Laskowski
http://www.JacekLaskowski.pl
Re: Geronimo WTP client for eclipse , server cannot start
Posted by CG <le...@gmail.com>.
I didn't know about GShell . When I start from a terminal windows, I
am using start-server
Yes, I got this result
Geronimo Application Server started
Geronimo Server started in 0:00:32.673 (the timing of course is different)
But if I start in Eclipse,
only the first line is displayed.
On Tue, Mar 4, 2008 at 12:06 PM, Kevan Miller <ke...@gmail.com> wrote:
>
>
>
> On Mon, Mar 3, 2008 at 7:10 PM, CG <le...@gmail.com> wrote:
> > On the Console tab, it is started.
> > but in on the "Servers" tab , it is starting
> >
> > However, I can still access localhost:8080 a few seconds after the
> > "Geronimo Application Server started" message appear
>
> Thanks for the info. So, it seems your server is starting fine. However,
> eclipse is not recognizing this and is timing out the server startup (and
> killing the server).
>
> I believe you can configure the server startup parameters. When I double
> click on the server when in the "Java EE" perspective, I get a Server
> Overview. Part of this overview is "Server Startup" with Ping Delay, Ping
> Interval, and Maximum Pings. You could make this timeout essentially
> infinite. However, I doubt that you'll be able to do anything useful with
> the server from Eclipse (it will probably wait for the server to start
> before deploying apps, etc.
>
> Hoping that Tim, or someone else familiar with GEP, can comment on how the
> plugin detects server startup.
>
> GShell detects server startup, also. Is that working for you? When you start
> the server from a terminal window using either 'gsh geronimo/start-server'
> or the 'startserver' shell script, do you see the following displayed as the
> final output?
>
>
> Geronimo Application Server started
> Geronimo Server started in 0:00:32.673
>
> --kevan
Re: Geronimo WTP client for eclipse , server cannot start
Posted by Kevan Miller <ke...@gmail.com>.
On Mon, Mar 3, 2008 at 7:10 PM, CG <le...@gmail.com> wrote:
> On the Console tab, it is started.
> but in on the "Servers" tab , it is starting
>
> However, I can still access localhost:8080 a few seconds after the
> "Geronimo Application Server started" message appear
Thanks for the info. So, it seems your server is starting fine. However,
eclipse is not recognizing this and is timing out the server startup (and
killing the server).
I believe you can configure the server startup parameters. When I double
click on the server when in the "Java EE" perspective, I get a Server
Overview. Part of this overview is "Server Startup" with Ping Delay, Ping
Interval, and Maximum Pings. You could make this timeout essentially
infinite. However, I doubt that you'll be able to do anything useful with
the server from Eclipse (it will probably wait for the server to start
before deploying apps, etc.
Hoping that Tim, or someone else familiar with GEP, can comment on how the
plugin detects server startup.
GShell detects server startup, also. Is that working for you? When you start
the server from a terminal window using either 'gsh geronimo/start-server'
or the 'startserver' shell script, do you see the following displayed as the
final output?
Geronimo Application Server started
Geronimo Server started in 0:00:32.673
--kevan
Re: Geronimo WTP client for eclipse , server cannot start
Posted by CG <le...@gmail.com>.
On the Console tab, it is started.
but in on the "Servers" tab , it is starting
However, I can still access localhost:8080 a few seconds after the
"Geronimo Application Server started" message appear
By the way, if I start it at terminal
Below the msg "Geronimo Application Server started", it still have
another message saying "Geronimo server start in xx:xx" , and it never
automatically shutdown.
On Mon, Mar 3, 2008 at 10:21 PM, Kevan Miller <ke...@gmail.com> wrote:
>
>
>
> On Mar 3, 2008, at 1:00 AM, CG wrote:
> 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 >.<
>
> Glad you found your problem...
>
> So on the "Console" tab in Eclipse do you see the following?
>
>
> Web Applications:
> /
> /CAHelper
> /activemq
> /console
> /console-base
> /debug-views
> /dojo
> /dojo/0.4
> /juddi
> /monitoring
> /plan-creator
> /plugin
> /remote-deploy
> /system-database
>
> Geronimo Application Server started
>
> And on the "Servers" tab is the server marked as "Started" or "Starting"?
>
> --kevan
Re: Geronimo WTP client for eclipse , server cannot start
Posted by Kevan Miller <ke...@gmail.com>.
On Mar 3, 2008, at 1:00 AM, CG wrote:
> 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 >.<
Glad you found your problem...
So on the "Console" tab in Eclipse do you see the following?
Web Applications:
/
/CAHelper
/activemq
/console
/console-base
/debug-views
/dojo
/dojo/0.4
/juddi
/monitoring
/plan-creator
/plugin
/remote-deploy
/system-database
Geronimo Application Server started
And on the "Servers" tab is the server marked as "Started" or
"Starting"?
--kevan
Re: Geronimo WTP client for eclipse , server cannot start
Posted by CG <le...@gmail.com>.
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 <ke...@gmail.com> 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 <ja...@laskowski.net.pl>
> wrote:
> On Fri, Feb 29, 2008 at 9:25 AM, CG <le...@gmail.com> 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?
>
>
Re: Geronimo WTP client for eclipse , server cannot start
Posted by Kevan Miller <ke...@gmail.com>.
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 <jacek@laskowski.net.pl
> > wrote:
>> On Fri, Feb 29, 2008 at 9:25 AM, CG <le...@gmail.com> 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?
Re: Geronimo WTP client for eclipse , server cannot start
Posted by CG <le...@gmail.com>.
No luck , it is still the same.
On Sat, Mar 1, 2008 at 7:02 AM, Jacek Laskowski <ja...@laskowski.net.pl> wrote:
> On Fri, Feb 29, 2008 at 9:25 AM, CG <le...@gmail.com> 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?
>
>
>
> Jacek
>
> --
> Jacek Laskowski
> http://www.JacekLaskowski.pl
>