Re: CMP/CMR 2.1 EJBCreate EJBPostCreate

2007-09-05 Thread Efren Gonzalez
Hello I have been able to have 2.1 CMP Entity EJB's with CMR working with Websphere Community Edition 1.0 (which is Geronimo 1.0 anyway), MySQL 5.0 InnoDB tables and NOT NULL constraints, I think this is exactly what you want to accomplish. I'm not sure what may be missing so I'll post a com

Re: G2.0.1 geronimo-javamail dependency is not loading?

2007-09-05 Thread David Jencks
On Sep 5, 2007, at 10:40 PM, Vamsavardhana Reddy wrote: Why is it not giving an error resolving dependency or sorts?? I was wondering that too. By any chance is that jar at home>/repository/repository/org/apache/geronimo/javamail/geronimo- javamail_1.4_mail/1.2/geronimo-javamail_1.4_mail-1.

Re: G2.0.1 geronimo-javamail dependency is not loading?

2007-09-05 Thread Vamsavardhana Reddy
Why is it not giving an error resolving dependency or sorts?? Vamsi On 9/6/07, Kevan Miller <[EMAIL PROTECTED]> wrote: > > > On Sep 5, 2007, at 7:22 PM, Xh wrote: > > > Hi All! > > > > I have very strange problem. > > > > In my geronimo-web.xml I wrote: > > > > > > repository.org

Re: Problem at geronimo boot

2007-09-05 Thread Viet Nguyen
Paolo, I was able to reproduce this problem with your test app. I also found out that any EAR deployed at the root context (using tomcat) will have the same problem. It is not hibernate/spring/sitemesh specific. It may be a bug in Geronimo. The problem occurs because when the server is shut down,

Re: G2.0.1 geronimo-javamail dependency is not loading?

2007-09-05 Thread David Jencks
1. you should use: org.apache.geronimo.configs javamail car to minimize the chances of ClassCastException due to loading javamail in the wrong classloader 2. this still won't work unless log4j is using the public static Class forName(String name, boolean initialize,

Re: Logging in Geronimo 2.0.1

2007-09-05 Thread Waldo Ramírez Montaño
Thanks Xh!!! I'll test it; the result or any detail will be posted here. Keeping in touch, Waldo Xh wrote: > > Hi Waldo! > > Problem solved ;) > > I've written simple servlet and deployed it on Geronimo 2.0.1. > > The solution is to use servlet's init method. > > Check this out. > > web.

Re: G2.0.1 geronimo-javamail dependency is not loading?

2007-09-05 Thread Kevan Miller
On Sep 5, 2007, at 7:22 PM, Xh wrote: Hi All! I have very strange problem. In my geronimo-web.xml I wrote: repository.org.apache.geronimo.javamailgroupId> geronimo-javamail_1.4_mail 1.2 jar Hi Lukasz, "repository" should no

G2.0.1 geronimo-javamail dependency is not loading?

2007-09-05 Thread Xh
Hi All! I have very strange problem. In my geronimo-web.xml I wrote: repository.org.apache.geronimo.javamail geronimo-javamail_1.4_mail 1.2 jar but when SMTPAppender for Log4j is being loaded I get: java.lang.NoClassDefFoundErro

Re: Logging in Geronimo 2.0.1

2007-09-05 Thread Xh
Hi Waldo! Problem solved ;) I've written simple servlet and deployed it on Geronimo 2.0.1. The solution is to use servlet's init method. Check this out. web.xml: Test Test org.xh.log4jtest.Test log4j-init-file WEB-INF/classes/log4j.xml

Re: Custom 404 message?

2007-09-05 Thread appel
Ok.. problem solved. I had to re-deploy the dam war file, I was simply modifying the web.xml and restarting the contextwhich was apparently not enough. %-| -- View this message in context: http://www.nabble.com/Custom-404-message--tf4385351s134.html#a12511519 Sent from the Apache Geronimo

Re: Custom 404 message?

2007-09-05 Thread appel
This is apparently not possible? Here's a similar problem: http://www.nabble.com/-Jetty-support--Jetty-error-handling-t2692820.html#a7509187 But, the above problem is for Jetty only. I cannot find any "jetty.xml" for Geronimo to implement that solution. Shouldn't this be configurable anyway? --

Re: Custom 404 message?

2007-09-05 Thread appel
I'm using Jetty. I'll try this *more*, hm... Paul McMahan-2 wrote: > > Not sure which flavor and version of Geronimo you are using, but > using the Geronimo+Tomcat 2.0.1 server I was able to accomplish this > by following these steps: > - add that chunk of text from your message to var/cat

Re: Custom 404 message?

2007-09-05 Thread Paul McMahan
Not sure which flavor and version of Geronimo you are using, but using the Geronimo+Tomcat 2.0.1 server I was able to accomplish this by following these steps: - add that chunk of text from your message to var/catalina/ROOT/WEB- INF/web.xml - create my404error.jsp in var/catalina/ROOT - un

Re: Custom 404 message?

2007-09-05 Thread appel
I tried adding this into web.xml for the ROOT context: 404 /my404error.jsp but http://myserver/blablablbladoesnotexist still displays the built-in 404. -- View this message in context: http://www.nabble.com/Custom-404-message--tf4385351s134.html#a12508604 Sent from the Apache Ge

Re: Problems with Eclipse Plugin for Geronimo (1.2.0)

2007-09-05 Thread Ted Kirby
The 2.0 eclipse plugin is being voted on for release now, and should be available in a couple of days. There is a request for vote out now on the dev list, with a pointer to a deployable.zip file to get it. (http://people.apache.org/~mcconne/releases/g-eclipse-plugin-2.0.0-deployable.zip ) Anothe

Re: Logging in Geronimo 2.0.1

2007-09-05 Thread Waldo Ramírez Montaño
Thanks Matt, You're almost right, but the problems (at least for me) are that (i) not all logs are kept in geronimo.log and (ii) separate logs aren't created (but in Geronimo v1.1.1 it is possilbe). Maybe I'm having an error in config or something, but the strange thing is that it worked in Geron

Re: Logging in Geronimo 2.0.1

2007-09-05 Thread Waldo Ramírez Montaño
Thanks for your answer, But that's the problem :( Previously, an app in Geronimo 1.1.1 worked ok and it creates the log as you described, but in Geronimo 2.0.1... the same config didn't work!!! Even I've tested inverse classloading in Geronimo's deployment descriptor and the same. I'll compare

Geronimo Server Plugin: "Could not find the main class. Program will exit."

2007-09-05 Thread Mike Krause
So, instead of installing the Geronimo Eclipse Plugin (which I am unable to do because of a dependency which I cannot resolve - see my previous post), I just added a new server run time by bringing up the servers view, and clicking on "Download additional server adapters" and selecting the Apache

Re: Problem at geronimo boot

2007-09-05 Thread Viet Nguyen
Hi Paolo, Which DB are you using? I could not get this to work on the derby db that comes with Geronimo because it doesn't support some keywords (e.g. AUTO_INCREMENT), but when I used MySQL everything works fine (with or without the commenting of the filters in the web.xml and on both jetty and to

Custom 404 message?

2007-09-05 Thread appel
Does anyone know how to change the default 404 page (to a custom one) for my Geronimo (globally) ? -- View this message in context: http://www.nabble.com/Custom-404-message--tf4385351s134.html#a12501976 Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.

Problems with Eclipse Plugin for Geronimo (1.2.0)

2007-09-05 Thread Michael Krause
Hi. I'm receiving the following error when trying to add Apache Geronimo Development Tools as a new remote site in Eclipse. (Using http://geronimo.apache.org/devtools) as the update URL.): org.apache.geronimo feature (1.2.0) requires plug-in "org.eclipse.wst.rdb.models.sql.edit". I have been tr

Re: Geronimo 2 and JVM - Ubuntu

2007-09-05 Thread Jason Warner
Hi Mark, One issue that has been noticed when using Ubuntu is that it's difficult to use the appropriate JVM. The solution I've been using is to recreate the java symlink in /usr/bin and have it point to the proper version of java that you more than likely have already downloaded. Hope this help

Re: Setup development environment

2007-09-05 Thread Shiva Kumar H R
See "Window -> Web Browser". If you are using Web Services Explorer (Run -> Launch the Web Services Explorer) then I guess you need to use Eclipse's Internal Web Browser. - Shiva On 9/5/07, Jhonny D Cano <[EMAIL PROTECTED]> wrote: > > > You were right, I tryed with wtp2 and it worked, i'm going t

Re: Setup development environment

2007-09-05 Thread Jhonny D Cano
You were right, I tryed with wtp2 and it worked, i'm going to be testing this for Web services. Thanks a lot. One last question. It is possible to configure For Launching the Internal Web Browser or the External (FireFox) When debugging JSP? I don't know how to configure this. Shiva Kumar H R wr

Re: Class access configuration problem

2007-09-05 Thread Marcin Waldowski
Hello Apache community. The solution is adding org.apache.commons.lang. to geronimo-web.xml. Always look carefully what is in hidden in /repository. In this case that was conflict with \repository\commons-lang\commons-lang\2.0\commons-lang-2.0.jar. HTH for someone else. Marcin Marci

Re: Geronimo 2.0.1 Server Start-Up Failed

2007-09-05 Thread Kevan Miller
On Sep 4, 2007, at 4:51 PM, Bobby Warner wrote: I am trying to use Geronimo for the first time. I downloaded version 2.0.1, extracted and ran server.jar. Any thoughts? I am using JDK 6u1. Hi Bobby, One user has reported successfully starting Geronimo 2.0.1 on JRE 1.6.0_02_b05. I've al

Re: Two phase commit - JPA + JMS

2007-09-05 Thread Matt Hogstrom
Great news !!! So the updated RARs work correctly ? (or at least the XA one) Let us know if you have other issues and good luck. On Sep 5, 2007, at 8:44 AM, Tomasz Mazan wrote: I've moved resourceadapter configuration to independent deployment plan and deploy DatabasePools - successfully.

Re: Two phase commit - JPA + JMS

2007-09-05 Thread Tomasz Mazan
I've moved resourceadapter configuration to independent deployment plan and deploy DatabasePools - successfully. persistence.xml http://java.sun.com/xml/ns/persistence"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http

Re: Two phase commit - JPA + JMS

2007-09-05 Thread Matt Hogstrom
On Sep 5, 2007, at 7:41 AM, Tomasz Mazan wrote: MyPool name="Password"> name="UserName"> name="PortNumber"> name="DatabaseName">

Class access configuration problem

2007-09-05 Thread Marcin Waldowski
Hello. My webapp has jsp page with custom tags. One of a tag uses library placed in WEB-INF/lib. I like to ask for a small advice: what should I configure in geronimo-web.xml to avoid exception below? 11:48:35,062 ERROR [log] /PPR/index.jsp java.lang.IllegalAccessError: tried to access class

Re: Two phase commit - JPA + JMS

2007-09-05 Thread Tomasz Mazan
Matt Hogstrom pisze: Tomasz, Here is a sample derived from DayTrader where we setup XA and non-XA datasources. I created new RA's for PostgreSQL, but haven't tested them, that should work but hopefully you can tell me if there are issues. You'll need this jar for PostgreSQL 8.2 http://jdb

Re: Problem at geronimo boot

2007-09-05 Thread Paolo Denti
Hi Kevan, you can find the deployable ear here: http://www.mediafire.com/?8mdty2cu0mm and just the webapp with sources included here: http://www.mediafire.com/?d6ml6l1hgj4 in order to deploy the app, you need a connection pools named TestDS, pointing to an existing db, nothing more (a table na

Re: Logging in Geronimo 2.0.1

2007-09-05 Thread Xh
Hi, You can use Your own Log4j configuration in your applications (to tell the truth I've only used it in WAR). Below is my configuration that works with WAS-CE (based on Geronimo 1.1). It should also work on G2.0.1 (I have G2.0.1, but I haven't migrated the project, yet). Place Your own log4j