Re: how to keep the server process alive on Fedora Linux

2006-01-24 Thread John Sisson
The geronimo.sh/bat startup script in the geronimo/bin directory will execute a setenv.sh/bat file (in the same directory) if it is present. See the comments at the bottom of the comment header for geronimo.sh/bat. So you need to create a setenv.sh file containing something like the following

Re: how to keep the server process alive on Fedora Linux

2006-01-24 Thread lichtner
How do you start it up? On Tue, 24 Jan 2006, Qingtian Wang wrote: > Hi, > > Dumb question again: Which script I should modify to make the JVM > memory arg change? > > Shouldn't > > > > Thanks, > Qingtian > > > > On 1/24/06, lichtner <[EMAIL PROTECTED]> wrote: > > > > I think another thing I woul

RE: Build issue (using HEAD version in svn)

2006-01-24 Thread Anthony Kong
Hi, david, Maven-eclipse-plugin basically generates the .classpath and .project for me such that I can open the project in Eclipse. I am using $ java -version java version "1.4.2_10" Java(TM) 2 Runtime Environment, Standard Edition (bu

Re: Online Book Update

2006-01-24 Thread Aaron Mulder
Oops, and let me just add, http://chariotsolutions.com/geronimo/ :) Aaron On 1/24/06, Aaron Mulder <[EMAIL PROTECTED]> wrote: > All, > > I've pretty much finished updating the existing content in my Geronimo > book to cover version 1.0. The only holdout is the installing > chapter, because I'm

Re: how to keep the server process alive on Fedora Linux

2006-01-24 Thread Qingtian Wang
Hi, Dumb question again: Which script I should modify to make the JVM memory arg change? Shouldn't Thanks, Qingtian On 1/24/06, lichtner <[EMAIL PROTECTED]> wrote: > > I think another thing I would try right away is to start up the jvm with a > large initial heap, and make the max heap equa

Re: how to keep the server process alive on Fedora Linux

2006-01-24 Thread lichtner
I think another thing I would try right away is to start up the jvm with a large initial heap, and make the max heap equal to that. The JVM should get all the memory at once, so if you don't have enough virtual memory you may be able to detect that right away. I think another possible source of o

Re: how to keep the server process alive on Fedora Linux

2006-01-24 Thread Qingtian Wang
Hi Kevan, Thanks so much! Like I said, I am pretty ignorant about how the admin stuff works. I didn't even know I can see the swap size by doing "free"; I just remembered I specified 1G at the installation time of Fedora and never bothered to really check out if that's really done. Now I've googl

Online Book Update

2006-01-24 Thread Aaron Mulder
All, I've pretty much finished updating the existing content in my Geronimo book to cover version 1.0. The only holdout is the installing chapter, because I'm waiting for the installer to finalize for 1.0.1. So the 1.0 chapters are: About Acquiring & Quick Start Elements of Geronimo Database Co

Re: Reference question

2006-01-24 Thread David Jencks
On Jan 24, 2006, at 11:41 PM, Stein Kråbøl wrote: Can somebody please send me a simple workable ear (+ source) with a simple web app that I can deploy on my server. In this way I will understand that Geronimo is a great server and that I can recommend it to my customers. Without that I am

Re: Reference question

2006-01-24 Thread Aaron Mulder
If you put the WAR and EJB JAR in an EAR it should certainly solve the class loading problem immediately. I think part of the pain here has been trying to get a standalone WAR working with a standalone EJB JAR. Aaron On 1/24/06, Stein Kråbøl <[EMAIL PROTECTED]> wrote: > Can somebody please send

Re: Reference question

2006-01-24 Thread Stein Kråbøl
Can somebody please send me a simple workable ear (+ source) with a simple web app that I can deploy on my server. In this way I will understand that Geronimo is a great server and that I can recommend it to my customers. Without that I am afraid my last week has been useless, working almost day

Geronimo CMP update statements

2006-01-24 Thread Daniel John Debrunner
At ApacheConUS 2005 I talked with Matt Hogstrom about the SQL UPDATE statements Geronimo was issuing against Derby for DayTrader. A single UPDATE statement is generated for a table that updates all columns using a CASE statement to ensure un-modified columns are not changed, or in reality changed

Re: How to connect to LDAP server on Geronimo from an LDAP client?

2006-01-24 Thread Hernan Cunico
Hi Phani, So far I am only getting this error while using Jxplorer. What other client have you tried? Cheers! Hernan Hernan Cunico wrote: Hi Phani, sorry for the delay in the reply. I am having some issues too while validating the user. Maybe you arlready replied this in a previous note but,

Re: How to connect to LDAP server on Geronimo from an LDAP client?

2006-01-24 Thread Hernan Cunico
Hi Phani, sorry for the delay in the reply. I am having some issues too while validating the user. Maybe you arlready replied this in a previous note but, what version of Geronimo are you using? Cheers! Hernan Phani Madgula wrote: Hi Hernan, Thanks for the link. It is quite helpful & inform

Re: Reference question

2006-01-24 Thread Stein Kråbøl
The only place I can see this entry (my-webapp.1.0) is in the web.xml displayname: http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";

Re: Reference question

2006-01-24 Thread Aaron Mulder
I'm confused -- the geronimo-web.xml that you show has a configId of "MyWebApp-1.0" but the error is for a module called "my-webapp-1.0"... Are you sure you're using the geronimo-web.xml that you think you are? Have you tried passing both the WAR file and the geronimo-web.xml on the command line

Re: Reference question

2006-01-24 Thread Stein Kråbøl
The error now: Error: Unable to distribute my-webapp-1.0.war: Error processing 'remote' element for EJB Reference 'ejb/BCalcREJB' for module 'my-webapp-1.0': Remote interface class not found: com.tellussoft.Test.BonusCalculator -- web.xml: ?x

Re: Build issue

2006-01-24 Thread David Jencks
I have no idea what maven eclipse does, but that jar is built in geronimo. Have you run maven new? If you have run it once you can probably usually run maven -o new and save a lot of time :-) thanks david jencks On Jan 24, 2006, at 2:07 PM, Anthony Kong wrote: Hi, I did not find this

Re: Reference question

2006-01-24 Thread David Jencks
The configId and parentId go in geronimo plans, not in the spec deployment descriptors. It looks like you have put them in web.xml rather than the geronimo plan for your web app: I think one of your mails indicated you had already fixed a corresponding problem for your ejb app? david jen

Build issue

2006-01-24 Thread Anthony Kong
Hi, I did not find this info in the archive, and that's why this email. If you have a pointer to an existing resource, do let me know. I have encountered this error messag when I run 'maven eclipse' at the top level of the geronimo source code directory. I obtain the source form the svn HEAD.

Re: Reference question

2006-01-24 Thread Aaron Mulder
Your ejb-jar.xml should not have a configId or parentId -- those are Geronimo tags. So that's causing the error below, and removing that stuff from ejb-jar.xml should fix it. Your openejb-jar.xml correctly has configId="test-ejb-1.0.1" -- that's good. However, your geronimo-web.xml has parentid=

Re: Reference question

2006-01-24 Thread Stein Kråbøl
I see what you mean, but this is now the errormessage: Invalid deployment descriptor: [error: cvc-complex-type.3.2.1: Attribute not allowed (no wildcards allowed): configId in element [EMAIL PROTECTED]://java.sun.com/xml/ns/j2ee, error: cvc-complex-type.3.2.1: Attribute not allowed (no wildca

Re: Reference question

2006-01-24 Thread David Jencks
According to our deployer the actual plan you are deploying has a typo, parentid (lower case i) instead of parentId (upper case I) hope this helps david jencks On Jan 24, 2006, at 8:52 PM, Stein Kråbøl wrote: Thank you for your response! The error now is: C:\web\geronimo-1.0\bin>deploy --us

Re: Reference question

2006-01-24 Thread Stein Kråbøl
A small correction conserning my former posting: ejb-jar.xml headding wouldn't allow confiId. But openejb-jar.xml does Stein

Re: Reference question

2006-01-24 Thread Stein Kråbøl
Thank you for your response! The error now is: C:\web\geronimo-1.0\bin>deploy --user system --password manager deploy c:\project\my-webapp\target\my-webapp-1.0.war Error: Unable to distribute my-webapp-1.0.war: Unable to load first parent of configuration MyWebApp-1.0 No configurat

Re: JMS documentation update

2006-01-24 Thread Hernan Cunico
Hi Aron, sorry for the delay, have not had internet access in the last couple of days. I just updated the documentation to make it (I hope) more clear. Cheers! Hernan Aaron Mulder wrote: Hernan, Which RAR would you use for the OpenJMS and WebSphere examples? It seems to say "gerjms" but I'm n

Re: geronimo 1.0 and jdk1.5

2006-01-24 Thread Edson Carlos Ericksson Richter
I've deployed an web app on Geronimo that relies on JAR with 22Mb (about 450K loc), using default memory parameters... Richter Calvin Austin escreveu: The release states 1.4.2 because of the SSL/CORBA api change issue, if you search on the dev list for those terms you will see the thread. Ho

Re: Fixed context parameters

2006-01-24 Thread Edson Carlos Ericksson Richter
I'm not sure this it's a really good way for doing things. In really, I used this because I didn't wan't to lookup values from JNDI. It's easier to ask for context parameters. But at the end, I relyied to much in this functionality from Tomcat. In real, I should look at other solutions to custom

Re: geronimo 1.0 and jdk1.5

2006-01-24 Thread Calvin Austin
The release states 1.4.2 because of the SSL/CORBA api change issue, if you search on the dev list for those terms you will see the thread. Hopefully this can be resolved in the future. One possibility is due to the fact that the Sun JDK 5 JVM introduced more jvm heap tuning and rightsizing. One

Re: Fixed context parameters

2006-01-24 Thread David Jencks
We don't do anything like that. For us, servlet context params must be set in web.xml. I would be willing to consider allowing them to be overridden in the geronimo plan for that web app, but I don't think it's a good idea to have a global override across web apps. You could try convincin

geronimo 1.0 and jdk1.5

2006-01-24 Thread Thor Heinrichs-Wolpert
Are there known issues with running Geronimo 1.0 and jdk1.5? On deploying a small application it more often than not will hang on not enough memory. Deploying the same application when using jdk 1.4.2 has no issues. I can see in the release notes that it says you should use jdk 1.4.2_*, r

Re: Reference question

2006-01-24 Thread Aaron Mulder
In your geronimo-web.xml (the one with the EJB reference) add a parentId attribute to the web-app element right after the configId. The parentId of the WAR file should be set to be the same as the configId of the EJB JAR file. That will add the EJB JAR classes to the class path of the WAR so it s

Re: Reference question

2006-01-24 Thread Stein Kråbøl
The thing is (as posted earlier) that when I put ejb/BCalcREJB Session com.tellussoft.Test.BonusCalculatorHome com.tellussoft.Test.BonusCalculator I get an error when deploying: Error: Unable to distribute my-webapp-1.0.war: Error processing 'remote' element fo

Re: how to keep the server process alive on Fedora Linux

2006-01-24 Thread Kevan Miller
Qingtian, comments below... On Jan 23, 2006, at 8:21 PM, Qingtian Wang wrote: Hi Kevan, Appreciate the help! Here's the info: On 1/23/06, Kevan Miller <[EMAIL PROTECTED]> wrote: Qingtian, That is one very old pentium... 8-( I know :) I'm not much a Linux sys admin, but let's gat

Re: Reference question

2006-01-24 Thread Aaron Mulder
You need an EJB Reference in your WAR (in Geronimo, a web app can't look up an EJB in JNDI unless there's an EJB Reference in the web.xml). It's easiest if your EJB JAR and WAR are deployed as part of an EAR so you can use an in the EJB Reference in web.xml and then you don't need any Geronimo-sp

Re: Fixed context parameters

2006-01-24 Thread Edson Carlos Ericksson Richter
I'll sumarize my question: there is somenthing like Tomcat's "" in Geronimo that I can use to define web app parameters in a server globally way? Richter Edson Carlos Ericksson Richter escreveu: Hi! I have app that users context parameters to define app behaviour for each deployment. So,

Reference question

2006-01-24 Thread Stein Kråbøl
Help! I have deployed my first EJB modul without error. ejb-jar.xml: http://java.sun.com/dtd/ejb-jar_2_0.dtd'> Stateless Session Bean with Remote Interfaces BCalcREJB com.tellussoft.Test.BonusCalculatorHome com.tellussoft.Test.BonusCalculator com.tell