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 ejb-link in the EJB Reference in web.xml and then you don't need any

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

Re: Reference question

2006-01-24 Thread Stein Kråbøl
The thing is (as posted earlier) that when I put ejb-ref ejb-ref-nameejb/BCalcREJB/ejb-ref-name ejb-ref-typeSession/ejb-ref-type homecom.tellussoft.Test.BonusCalculatorHome/home remotecom.tellussoft.Test.BonusCalculator/remote /ejb-ref I get an error when deploying:

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

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_*,

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

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.

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\bindeploy --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

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 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\bindeploy

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

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 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

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:

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 to

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: ?xml version=1.0 encoding=UTR-8? web-app xmlns=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

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

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

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: 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

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

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

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

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

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 equal to

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 would try right away is

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