RE: startup geronimo jetty on AIX fails

2009-03-23 Thread Marco Laponder
No verbose:sizes option here as well. My ulimit -a gives:

time(seconds)unlimited
file(blocks) unlimited
data(kbytes) 262144
stack(kbytes)31248
memory(kbytes)   unlimited
coredump(blocks) 4194303

Kind regards,
Marco


-Oorspronkelijk bericht-
Van: viola.lu [mailto:viola...@gmail.com] 
Verzonden: dinsdag 24 maart 2009 4:17
Aan: user@geronimo.apache.org
Onderwerp: Re: startup geronimo jetty on AIX fails


ulimit -a:
core file size(blocks, -c) 1048575
data seg size (kbytes, -d) 131072
file size (blocks, -f) 1048575
max memory size   (kbytes, -m) 32768
open files(-n) 2000
pipe size  (512 bytes, -p) 64
stack size(kbytes, -s) 32768
cpu time (seconds, -t) unlimited
max user processes(-u) 262144
virtual memory(kbytes, -v) unlimited

coz no options -verbose:sizes in jdk, so can't printout java
-verbose:sizes
result.



kevan wrote:
> 
> 
> On Mar 23, 2009, at 1:48 AM, viola.lu wrote:
> 
>>
>> I tried this on Aix 6.1 with ibm sdk, but no errors.
> 
> Can you run ulimit -a? What are your settings?
> 
> Also, Marco/Viola what settings does 'java -verbose:sizes' give you?
> 
> --kevan
> 
>>
>> kevan wrote:
>>>
>>>
>>> On Mar 20, 2009, at 2:45 AM, MarcoLaponder wrote:
>>>

 Thanks for your efforts anyway !

 ulimit -a gives:

 time(seconds)unlimited
 file(blocks) unlimited
 data(kbytes) 262144
 stack(kbytes)31248
 memory(kbytes)   unlimited
 coredump(blocks) 4194303
> 
> 
> 
> 

-- 
View this message in context:
http://www.nabble.com/startup-geronimo-jetty-on-AIX-fails-tp22558472s134
p22673643.html
Sent from the Apache Geronimo - Users mailing list archive at
Nabble.com.



Re: How to launch IE browser to run console testsuite with maven

2009-03-23 Thread viola.lu

thanks Jarek, it works. So browser property is  set only by test.properties
and can't be set via command option?And i should create a test.properties
for every console testsuite:basic, advanced?

Jarek Gawor-2 wrote:
> 
> -Piexplore does not work because shitty-maven-plugin forks another mvn
> process and it does not propagate the profile settings to that new
> process. But reading the shitty-maven-plugin documentation you can
> create console-testsuite/basic/test.properties file containing
> "browser=*iexplore" line and pass the right browser setting that way.
> 
> Hope this helps,
> Jarek
> 
> On Sun, Mar 22, 2009 at 11:25 PM, viola.lu  wrote:
>>
>> In g2.2 snapshot build folder, testsuite pom.xml file contains a profile
>> iexplore.
>> and i run command
>> mvn install -Piexplore -Dtests=console-testsuite/basic
>> -DgeronimoHome=%geronimo_instal_dir%
>>
>> but it still lanuched out firefox, not IE.
>>
>> So whether IE profile works in G2.2 snapshot?
>> --
>> View this message in context:
>> http://www.nabble.com/How-to-launch-IE-browser-to-run-console-testsuite-with-maven-tp22653823s134p22653823.html
>> Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-launch-IE-browser-to-run-console-testsuite-with-maven-tp22653823s134p22674136.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.



Re: startup geronimo jetty on AIX fails

2009-03-23 Thread viola.lu

ulimit -a:
core file size(blocks, -c) 1048575
data seg size (kbytes, -d) 131072
file size (blocks, -f) 1048575
max memory size   (kbytes, -m) 32768
open files(-n) 2000
pipe size  (512 bytes, -p) 64
stack size(kbytes, -s) 32768
cpu time (seconds, -t) unlimited
max user processes(-u) 262144
virtual memory(kbytes, -v) unlimited

coz no options -verbose:sizes in jdk, so can't printout java -verbose:sizes
result.



kevan wrote:
> 
> 
> On Mar 23, 2009, at 1:48 AM, viola.lu wrote:
> 
>>
>> I tried this on Aix 6.1 with ibm sdk, but no errors.
> 
> Can you run ulimit -a? What are your settings?
> 
> Also, Marco/Viola what settings does 'java -verbose:sizes' give you?
> 
> --kevan
> 
>>
>> kevan wrote:
>>>
>>>
>>> On Mar 20, 2009, at 2:45 AM, MarcoLaponder wrote:
>>>

 Thanks for your efforts anyway !

 ulimit -a gives:

 time(seconds)unlimited
 file(blocks) unlimited
 data(kbytes) 262144
 stack(kbytes)31248
 memory(kbytes)   unlimited
 coredump(blocks) 4194303
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/startup-geronimo-jetty-on-AIX-fails-tp22558472s134p22673643.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.



Re: Cannot see custom MBean in Geronimo's JMX viewer

2009-03-23 Thread Olaf Bergner

I used MC4J to connect to Geronimo's MBean server and lo and behold, I can
see my MBeans. So it seems as if the JMX viewer is configured to only
display Geronimo's own MBeans/GBeans.

Cheers,
Olaf


Olaf Bergner wrote:
> 
> My ear registers some custom MBeans with Geronimo's MBeanServer on
> application startup. More precisely, I'm searching the list of available
> MBeanServers as returned by the MBeanServerFactory for the one having
> "geronimo" as its default domain. I hand that MBeanServer over to Spring's
> JMX support which happily tells me that it has successfully registered all
> my MBeans with that server. No exceptions thrown, everything goes
> smoothly. I fail to see, however, my newly registered MBeans in Geronimo's
> JMX viewer, and searching for them fails as well.
> 
> Do I still have a configuration problem or am I wrong in expecting to see
> my MBeans in Geronimo's JMX viewer?
> 
> Thx,
> Olaf
> 

-- 
View this message in context: 
http://www.nabble.com/Cannot-see-custom-MBean-in-Geronimo%27s-JMX-viewer-tp22659997s134p22670369.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.



Re: How to launch IE browser to run console testsuite with maven

2009-03-23 Thread Jarek Gawor
-Piexplore does not work because shitty-maven-plugin forks another mvn
process and it does not propagate the profile settings to that new
process. But reading the shitty-maven-plugin documentation you can
create console-testsuite/basic/test.properties file containing
"browser=*iexplore" line and pass the right browser setting that way.

Hope this helps,
Jarek

On Sun, Mar 22, 2009 at 11:25 PM, viola.lu  wrote:
>
> In g2.2 snapshot build folder, testsuite pom.xml file contains a profile
> iexplore.
> and i run command
> mvn install -Piexplore -Dtests=console-testsuite/basic
> -DgeronimoHome=%geronimo_instal_dir%
>
> but it still lanuched out firefox, not IE.
>
> So whether IE profile works in G2.2 snapshot?
> --
> View this message in context: 
> http://www.nabble.com/How-to-launch-IE-browser-to-run-console-testsuite-with-maven-tp22653823s134p22653823.html
> Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
>
>


Re: startup geronimo jetty on AIX fails

2009-03-23 Thread Kevan Miller


On Mar 23, 2009, at 1:48 AM, viola.lu wrote:



I tried this on Aix 6.1 with ibm sdk, but no errors.


Can you run ulimit -a? What are your settings?

Also, Marco/Viola what settings does 'java -verbose:sizes' give you?

--kevan



kevan wrote:



On Mar 20, 2009, at 2:45 AM, MarcoLaponder wrote:



Thanks for your efforts anyway !

ulimit -a gives:

time(seconds)unlimited
file(blocks) unlimited
data(kbytes) 262144
stack(kbytes)31248
memory(kbytes)   unlimited
coredump(blocks) 4194303





Re: Geronom 2.1.4, Thread Pools are reporting zero usage

2009-03-23 Thread Jack Cai
I looked through the code to see how ConnectorThreadPool and
DefaultThreadPool are actually used. It seems that ConnectorThreadPool is
used by org.apache.geronimo.connector.work.GeronimoWorkManagerGBean in JCA,
and DefaultThreadPool is used by Jetty and System-database. So their names
are misleading in some sense. You cannot expect that the ConnectorThreadPool
has any link with Tomcat's web connector. Hope this helps.

-Jack

2009/3/12 jklcom99 

>
> I'm running 3/2/09 2.1.4-SNAPSHOT.
>
> Geronimo console is reporting zero usages for both ConnectorThreadPool and
> DefaultThreadPool even with our application running.
>
> ConnectorThreadPool is set to 30 Max
> DefaultThreadPool is set to 200 min and 500 max
>
>
> Thank you
>
> --
> View this message in context:
> http://www.nabble.com/Geronom-2.1.4%2C-Thread-Pools-are-reporting-zero-usage-tp22461310s134p22461310.html
> Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
>
>


Old tranql/postgresql problem fixed?

2009-03-23 Thread Olaf Bergner

Using Geronimo 2.1.3 running against a PostgreSql database I repeatedly run
into the problem described 
http://www.nabble.com/Tranql--%2B-Geronimo-%2B-Postgresql-issue-td14362377.html
here . Does anyone know if this has been fixed by now or if there's a
workaround?

Thx,
Olaf
-- 
View this message in context: 
http://www.nabble.com/Old-tranql-postgresql-problem-fixed--tp22660081s134p22660081.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.



Cannot see custom MBean in Geronimo's JMX viewer

2009-03-23 Thread Olaf Bergner

My ear registers some custom MBeans with Geronimo's MBeanServer on
application startup. More precisely, I'm searching the list of available
MBeanServers as returned by the MBeanServerFactory for the one having
"geronimo" as its default domain. I hand that MBeanServer over to Spring's
JMX support which happily tells me that it has successfully registered all
my MBeans with that server. No exceptions thrown, everything goes smoothly.
I fail to see, however, my newly registered MBeans in Geronimo's JMX viewer,
and searching for them fails as well.

Do I still have a configuration problem or am I wrong in expecting to see my
MBeans in Geronimo's JMX viewer?

Thx,
Olaf
-- 
View this message in context: 
http://www.nabble.com/Cannot-see-custom-MBean-in-Geronimo%27s-JMX-viewer-tp22659997s134p22659997.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.



Re: GBean documentation improvement

2009-03-23 Thread Radim Kolar

  Thanks for your comments. I've explained a little bit about doStart(),
doFail() and doStop() on this page (
http://cwiki.apache.org/GMOxDOC22/developing-and-deploying-a-geronimo-gbean.html),
 
but might not be sufficient.

please note if doStop() is called after doFail() by geronimo kernel or it
must be done by application itself in doFail().
-- 
View this message in context: 
http://www.nabble.com/GBean-documentation-improvement-tp22607392s134p22657924.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.



Re: GBean documentation improvement

2009-03-23 Thread Ying Tang
Hi all,

  Thanks for your comments. I've explained a little bit about doStart(),
doFail() and doStop() on this page (
http://cwiki.apache.org/GMOxDOC22/developing-and-deploying-a-geronimo-gbean.html),
but might not be sufficient.   Any ideas for improvement?

   And we have drafted a section named Referencing another
GBean
on this page to describe how to use *Reference*,  and gives an example.


Best Regards,

Ying Tang


2009/3/20 David Jencks 

>
> On Mar 20, 2009, at 2:07 AM, Radim Kolar wrote:
>
>
>>  1. GBean Lifecycle section
>>>  what is doFail() method expected to do? Shutdown gbean and make it sure
>>> that calling doStart() will do nothing?
>>>
>>
>> Agreed to add description of doFail().   What do you mean "calling
>> doStart()
>> will do nothing ?" ?
>> something like this:
>> doStart() -> running
>> doFail() -> stop and mark it as failed
>> doStart() -> dont start it because it is marked as failed
>>
>
> I think you have to call stop after fail before you call start.
>
> Also note that after fail or stop the actual gbean object is discarded and
> if you call start again the framework will create a whole new object for
> you.
>
> In practice no one has ever implemented doFail.
>
> thanks
> david jencks
>
>
>
>> --
>> View this message in context:
>> http://www.nabble.com/GBean-documentation-improvement-tp22607392s134p22616649.html
>> Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
>>
>>
>