RE: startup geronimo jetty on AIX fails

2009-03-24 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.



Starting of the geronimo server fails

2009-03-24 Thread Hearty

I am getting the following exception
2009-03-24 13:19:03,411 ERROR [Connector] Error finding container
javax.management.AttributeNotFoundException:  Cannot find attribute
managedResource for StandardEngine[Geronimo]
2009-03-24 13:19:03,412 ERROR [CoyoteAdapter] An exception or error occurred
in the container during the request processing
java.lang.NullPointerException
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:810)

I am using apache geronimo 2.1 version. JDK version 1.5.0_15 and JRE version
1.5.0_15
I have deployed the database pool and war by using the following commands
$WASCE_HOME/bin/deploy.sh -u system -p manager --offline deploy
$WASCE_HOME/repository/org/tranql/tranql-connector-ra/1.4/tranql-connector-ra-1.4.rar
$DBPLANLOC/oracle10g-deployment-plan.xml

$WASCE_HOME/bin/deploy.sh -u system -p manager --offline deploy
$FPWARLOC/fp.war $GERONIMOPLANLOC/geronimo-web.xml

The deployments happened sucessfully. 
I run startup.sh.
When I tried to access the console page, http://machine name:8080/console,
I was able to logged in to the page. I have selected Deploy New Link, the
page was not showing. I've checked the logs. The error as logged in to the
log file as described above [Error finding container
javax.management.AttributeNotFoundException:]. There after I am not able
access event the login page.


The server I've used is RedHatLinux 4.0 , 64 bit 
Please guide me how to resolve this issue.

-- 
View this message in context: 
http://www.nabble.com/Starting-of-the-geronimo-server-fails-tp22677292s134p22677292.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.



Re: startup geronimo jetty on AIX fails

2009-03-24 Thread Kevan Miller


On Mar 24, 2009, at 2:32 AM, Marco Laponder wrote:


No verbose:sizes option here as well. My ulimit -a gives:


OK. IBM JVM on Windows supports -verbose:sizes. Was hoping it would be  
true on AIX, also...


Marco, did you try to configure (reduce) the number of threads that  
would be started on AIX?


--kevan



Re: Geronom 2.1.4, Thread Pools are reporting zero usage

2009-03-24 Thread jklcom99

Thanks Jack,

Is there a way that we can check for thread usage in the console?


Jack Cai wrote:
 
 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 jeff_k...@yahoo.com
 

 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.


 
 

-- 
View this message in context: 
http://www.nabble.com/Geronom-2.1.4%2C-Thread-Pools-are-reporting-zero-usage-tp22461310s134p22681515.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-24 Thread Jarek Gawor
I think we should probably improve shitty-maven-plugin so that we can
pass extra properties without explicitly creating these
test.properties files.

Jarek

On Tue, Mar 24, 2009 at 12:33 AM, viola.lu viola...@gmail.com wrote:

 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 viola...@gmail.com 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: Starting of the geronimo server fails

2009-03-24 Thread Forrest Xia
Seems your g server was not started correctly. Can you attach a full log for
problem determination?

Forrest


Re: Geronom 2.1.4, Thread Pools are reporting zero usage

2009-03-24 Thread viola.lu

In G admin console, there is a monitoring porlet on the left navigation panel
which can display your local or remote server statistics information such as
tomcat ajp connector, web connector Transaction Manager or web modules:
TomcatAJPConnector
Active Request Count0
Busy Threads Current1
Busy Threads Max25
Busy Threads Min0
Bytes Received  0
Bytes Sent  0
Error Count 0
Open Connections Current0
Open Connections Max0
Open Connections Min0
Request Time Count  0
Request Time MaxTime0
Request Time MinTime0
Request Time TotalTime  0

TomcatWebConnector
Active Request Count0
Busy Threads Current4
Busy Threads Max6
Busy Threads Min0
Bytes Received  198
Bytes Sent  689926
Error Count 1
Open Connections Current0
Open Connections Max0
Open Connections Min0
Request Time Count  107
Request Time MaxTime9578
Request Time MinTime0
Request Time TotalTime  24856

TomcatWebSSLConnector
Active Request Count0
Busy Threads Current0
Busy Threads Max0
Busy Threads Min0
Bytes Received  0
Bytes Sent  0
Error Count 0
Open Connections Current0
Open Connections Max0
Open Connections Min0
Request Time Count  0
Request Time MaxTime0
Request Time MinTime0
Request Time TotalTime  0

if you want to set web http connector thread usage, you can edit section 
module name=org.apache.geronimo.configs/tomcat6/2.1.4/car in file
$g_install_dir/var/config/config.xml ,if you want to set datasource thread
pool, you can set Connection Pool Parameters when create datasource via
services-Database Pools , for JMS Resource thread pool , you can set
basic configuration setting for JMS provider, Connection Pool Parameters
for connection factory via services-JMS resources

Hope it can help you, thanks.




jklcom99 wrote:
 
 Thanks Jack,
 
 Is there a way that we can check for thread usage in the console?
 
 
 Jack Cai wrote:
 
 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 jeff_k...@yahoo.com
 

 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.


 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Geronom-2.1.4%2C-Thread-Pools-are-reporting-zero-usage-tp22461310s134p22694398.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.