Re: Out of memory errors

2009-01-05 Thread Ken T.
On Mon, 05 Jan 2009 10:44:41 -0500, Jarek Gawor wrote: > If you are starting the server using "start-server" two separate java > processes are created: one for GShell and another one for the server. If > you see one java process that takes 50MB that's probably one for GShell. > The server process

Re: Out of memory errors

2009-01-05 Thread Jarek Gawor
If you are starting the server using "start-server" two separate java processes are created: one for GShell and another one for the server. If you see one java process that takes 50MB that's probably one for GShell. The server process allocates more memory then that. Jarek On Mon, Jan 5, 2009 at

host properties for security annotations

2009-01-05 Thread axiez
I used the geronimo run command to start the server. I didn't start any other domain. In jndi.properties file that is normally used with client program, how should I mention the user name, password, port number etc? -- View this message in context: http://www.nabble.com/host-properties-for-secu

Re: host properties for security annotations

2009-01-05 Thread David Jencks
Could you please explain how your remote client is connecting to geronimo including whether it is an ejb, ejb/corba, web service, jms, or something else? Is the client a javaee app client or a standalone non-javaee program? thanks david jencks On Jan 5, 2009, at 8:12 AM, axiez wrote: O

Re: host properties for security annotations

2009-01-05 Thread axiez
It's a normal Java class with main() method. It is using JNDI lookup. Part of the code is given below: Properties p = new Properties(); p.load(new FileInputStream("jndi.properties")); p.put("openejb.authentication.realmName","geronimo-admin"); InitialContext ctx = n

Re: Out of memory errors

2009-01-05 Thread Ken T.
On Mon, 05 Jan 2009 01:46:51 -0500, Jarek Gawor wrote: > Ken, > > If you are using start-server command to start the server you might need > to edit the "etc/rc.d/start-server,default.groovy" file to configure the > heap size for the server process. The heap size options passed via > JAVA_OPTS en

Re: host properties for security annotations

2009-01-05 Thread axiez
Ok. What will be the domain, port number etc if I start with the command "geronimo run"? I am trying to test security roles with a simple example involving remote client. Some articles mention there are many domains like kerberos, LDAP etc. axiez wrote: > > I used the geronimo run command to sta

Re: host properties for security annotations

2009-01-05 Thread chi runhua
axies, to start the server via gsh, please try as followed: geronimo/start-server you can also try geronimo/start-server --help for the usages of all arguments. Jeff On Mon, Jan 5, 2009 at 9:39 PM, axiez wrote: > > I used the geronimo run command to start the server. I didn't start any > othe

Re: Out of memory errors

2009-01-05 Thread Kevan Miller
Ken, In order to help, we need to understand 1) how you are starting Geronimo 2) what environment variables you are setting 3) what version of geronimo you are using --kevan

Startup time delay in Ubuntu server

2009-01-05 Thread Luis Ortíz Silva
Hi: I'am getting a big startup issue with mi Geronimo 2.1.3 in Ubuntu Server 8.04 kernel 2.6.24-22-server . It takes 4 minutes to start. I start with thi verbose options. But after this message: "17:11:53,456 INFO [SystemProperties] Setting Property=org.apache.catalina.STRICT_SERVLET_COMPLIANCE

Re: Startup time delay in Ubuntu server

2009-01-05 Thread Peter Petersson
Hi Luis I am using Geronimo 2.1.x on a Ubuntu server and have seen this behavior a couple of times. In my case the startup delay problem you describe has occurred during a re-start of Geronimo and in my case. By checking the home>/var/log/geronimo.out file I have found the following module to

Re: Startup time delay in Ubuntu server

2009-01-05 Thread Luis Ortíz Silva
Thank you Peter. In the firts time i supoussed that is a problem with the uddi service beacause always stoped in this point but in the feature. didn't stop here stops before star the tomcat container. I used to check the open ports before start the server and any port had already in use. I think

Re: Out of memory errors

2009-01-05 Thread Ken T.
On Mon, 05 Jan 2009 17:10:44 +, Ken T. wrote: > On Mon, 05 Jan 2009 10:44:41 -0500, Jarek Gawor wrote: > >> If you are starting the server using "start-server" two separate java >> processes are created: one for GShell and another one for the server. >> If you see one java process that takes

Re: Startup time delay in Ubuntu server

2009-01-05 Thread Luis Ortíz Silva
In the firts time i supoussed that is a problem with the uddi service beacause always stoped in this point but in the feature. didn't stop here stops before star the tomcat container. I used to check the open ports before start the server and any port had already in use. I think is a lack issue wh

Re: Startup time delay in Ubuntu server

2009-01-05 Thread Peter Petersson
We are still on the 7.10 Gutsy release. You should be able to locate what module it is that takes time to start by looking in the geronimo.out file. If your issue is related to uddi and a web service (WSDL like my issue is) maybe the service is not released correctly during Geronimo server sh

Re: Startup time delay in Ubuntu server

2009-01-05 Thread David Jencks
I think its unlikely you are actually using uddi so I'd suggest disabling the uddi module in var/config/config.xml (comment out jetty- uddi or tomcat-uddi) and see if this helps. I'd wonder if there's some dns timeout occurring perhaps due to some kind of misconfiguration, however I'm no exp