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

2007-09-06 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 geronimo- home/repository/repository/org/apache/geronimo/javamail/geronimo-

Re: CMP/CMR 2.1 EJBCreate EJBPostCreate

2007-09-06 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

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

2007-09-06 Thread Xh
Hi David! Now I use both org.apache.geronimo.configs/javamail and org.apache.geronimo.javamail/geronimo-javamail_1.4_mail dependencies. I did just like You asked, I've configured my SMTPAppender programmatically (in servlet's init method): SMTPAppender newAppender = new SMTPAppender();

Re: Problem at geronimo boot

2007-09-06 Thread Paolo Denti
Hi Viet, sorry, i had to tell you: the hibernate properties are set for mysql inno db and it should work for every mysql version. if you want to test it with derby you should change the hibernate dialect in the hibernate.properties file Paolo Viet Nguyen wrote: Hi Paolo, Which DB are you

Re: Two phase commit - JPA + JMS

2007-09-06 Thread Tomasz Mazan
Tomasz, I corrected the problem. I had refactored the class and forgot to update the RAR. I've updated and published new SNAPSHOTS. Please grab a new update of the XA rar. Also, set the user / password, server, etc for your postgres environment. Matt New configuration works, but

Re: Geronimo 2 and JVM - Ubuntu

2007-09-06 Thread Peter Petersson
Another thing you can do is to put a executable file caled setenv.sh in gernonimohome/bin containing something like this. --setenv.sh in g bin--- #!/bin/sh JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun JAVA_OPTS=-Djava.awt.headless=true

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

2007-09-06 Thread Rick McGuire
Could you post a stack trace for this new failure? Are you able to instantiate an instance of javax.mail.Multipart in your code? I have a suspicion that the problem is with the classloader used to load the SMTPAppender class, not the classloader configuration of your app itself. Rick Xh

Re: Hot deployment with MyEclipse on Geronimo 2.0.1

2007-09-06 Thread Tomasz Mazan
Tomasz Mazan pisze: I think that MyEclipse is not cause of problem. When I run Geronimo using debug command, I get the same exceptions Tomasz Mazan When I change DatabasePool - different configuration, the same database - I get another strange exception but *only* if I run Geronimo in debug

Apache CXF web service and re/turning Fault

2007-09-06 Thread Tomasz Mazan
I configured Geronimo to use CXF as WS engine. If I return any object by WebMethod - all look fine. The problem is with returning Fault - I throw exception annotated with @WebFault and want Fault to contain specified faultcode and faultstring. What should I do ? No, It looks like (for php

RE: CMP/CMR 2.1 EJBCreate EJBPostCreate

2007-09-06 Thread Mark Aufdencamp
Efren, Thank you! The answers to my questions are, I believe, now answered. I don't have a container-transaction section in my ejb-jar.xml I'm guessing this results in an immediate INSERT on the EJBCreate without a TRANSACTION wrapper around the EJBCreate/EJBPostCreate. Thus, the INSERT will get

Re: Geronimo 2 and JVM - Ubuntu

2007-09-06 Thread Jason Warner
I use a SUN jdk. On 9/6/07, Mark Aufdencamp [EMAIL PROTECTED] wrote: Good Tips Jason and Peter! I've used symlinks pointing to different java versions for a number of years, but the setenv.sh is a new one to me. Are you both using SUN JDK's or another (IBM/OpenJDK/Harmony)?

Re: Apache CXF web service and returning Fault

2007-09-06 Thread Daniel Kulp
This is actually per JAX-WS spec. Section 10.2.2.3. For user faults, the faultstring is taken from ex.getMessage(). The faultcode is always env:Server.The actor is always empty. With CXF, you CAN create your own org.apache.cxf.binding.soap.SoapFault exception and fill in everthing

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

2007-09-06 Thread Xh
- Original Message From: Rick McGuire [EMAIL PROTECTED] To: user@geronimo.apache.org Sent: Thursday, 6 September, 2007 1:15:49 PM Subject: Re: G2.0.1 geronimo-javamail dependency is not loading? Could you post a stack trace for this new failure? [2007-09-06 15:45:43,881] ERROR

manifest classloader issue

2007-09-06 Thread Anshuk Chinmoy Pal Chaudhuri
Hi, I am trying to deploy a connector rar from inside the ear on Geronimo 1.1.1. The connector ra.xml file refers to all the classes like the activationspec-class and so on. If I put the jar (containing all these classes), just directly under the connector rar, the the ear is deploying

Re: Apache CXF web service and returning Fault

2007-09-06 Thread Tomasz Mazan
dkulp wrote: This is actually per JAX-WS spec. Section 10.2.2.3. For user faults, the faultstring is taken from ex.getMessage(). The faultcode is always env:Server.The actor is always empty. With CXF, you CAN create your own org.apache.cxf.binding.soap.SoapFault exception

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

2007-09-06 Thread Kevan Miller
On Sep 6, 2007, at 7:15 AM, Rick McGuire wrote: Could you post a stack trace for this new failure? Are you able to instantiate an instance of javax.mail.Multipart in your code? I have a suspicion that the problem is with the classloader used to load the SMTPAppender class, not the

Maven groupId and artifactId replacement

2007-09-06 Thread Marcin Waldowski
Hello. In 'JMS and MDB sample application' (http://cwiki.apache.org/GMOxDOC20/jms-and-mdb-sample-application.data/jms-mdb-sample.zip) I found that some elements in geronimo-application.xml such as ${pom.groupId}and ${pom.artifactId} are magicaly converted to correct values during 'maven

Re: manifest classloader issue

2007-09-06 Thread Kevan Miller
Anshuk, One request -- please use New Message to start a new email thread, rather than using Reply and editing the subject. More below... On Sep 6, 2007, at 9:50 AM, Anshuk Chinmoy Pal Chaudhuri wrote: Hi, I am trying to deploy a connector rar from inside the ear on Geronimo 1.1.1.

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

2007-09-06 Thread Rick McGuire
Kevan Miller wrote: On Sep 6, 2007, at 7:15 AM, Rick McGuire wrote: Could you post a stack trace for this new failure? Are you able to instantiate an instance of javax.mail.Multipart in your code? I have a suspicion that the problem is with the classloader used to load the SMTPAppender

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

2007-09-06 Thread Vamsavardhana Reddy
On 9/6/07, Kevan Miller [EMAIL PROTECTED] wrote: On Sep 6, 2007, at 7:15 AM, Rick McGuire wrote: Could you post a stack trace for this new failure? Are you able to instantiate an instance of javax.mail.Multipart in your code? I have a suspicion that the problem is with the

RE: manifest classloader issue

2007-09-06 Thread Anshuk Chinmoy Pal Chaudhuri
Hi Kevin, I will definitely take care of your request going further on. Manifest.mf content Manifest-Version: 1.0 Class-Path: ../lib/classes.jar No, I haven't tried on 2.0.1, we have to work on Geronimo 1.1.1, that is what the requirement is. Thanks. Warm Regards, Anshuk

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

2007-09-06 Thread Xh
Hi Kevan, --- One possibility is the the activation spec (e.g. org/apache/geronimo/ specs/geronimo-activation_1.1_spec/1.0/geronimo- activation_1.1_spec-1.0.jar), but that's not making a lot of sense, ATM... --- nope, I've tried

Re: Geronimo 2 and JVM - Ubuntu

2007-09-06 Thread Peter Petersson
I use sun jdk If you have multiple jvm:s installed you may want to check and/or set the defaults via sudo update-alternatives --config java or sudo update-java-alternatives It will set the symlinks for you. You will find more java/ubuntu related information at

RE: manifest classloader issue

2007-09-06 Thread Anshuk Chinmoy Pal Chaudhuri
Hi Kevin, I did try on Geronimo 2.0.1, it did work on that, but I have to make it work on 1.1.1. Is there any workaround? Warm Regards, Anshuk Pal Chaudhuri From: Anshuk Chinmoy Pal Chaudhuri [mailto:[EMAIL PROTECTED] Sent: Thursday, September 06, 2007

Re: manifest classloader issue

2007-09-06 Thread David Jencks
On Sep 6, 2007, at 6:50 AM, Anshuk Chinmoy Pal Chaudhuri wrote: Hi, I am trying to deploy a connector rar from inside the ear on Geronimo 1.1.1. The connector ra.xml file refers to all the classes like the activationspec-class and so on. If I put the jar (containing all these

Re: manifest classloader issue

2007-09-06 Thread David Jencks
On Sep 6, 2007, at 8:18 AM, Anshuk Chinmoy Pal Chaudhuri wrote: Hi Kevin, I did try on Geronimo 2.0.1, it did work on that, but I have to make it work on 1.1.1. Is there any workaround? I think it worked on 2.0.1 because anything in the ear lib directory (lib by default) is added to

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

2007-09-06 Thread Xh
Hi Rick! --- One quick solution would be to drop the javamail jar into the JVM ext directory. --- Yes, it solves the problem, but it's rather inelegant. I was just testing the Log4j in Geronimo 2.0.1 for Waldo and only by the way among other appenders I have

Re: Logging in Geronimo 2.0.1

2007-09-06 Thread Waldo Ramírez Montaño
Yep, that way works (at least in individual log-file creation). Thanks! Waldo Waldo Ramírez Montaño wrote: 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

RE: manifest classloader issue

2007-09-06 Thread Anshuk Chinmoy Pal Chaudhuri
Hi, One more query on this classloader. As I said earlier, I have already deployed the connector.rar and have mentioned the required classes.jar in the manifest worked fine. Now I was trying to deploy a ejb as well as the next module in the ear, and it required some other jars from the

Re: Hot deployment with MyEclipse on Geronimo 2.0.1

2007-09-06 Thread Shiva Kumar H R
discussion here: http://servlet.uwyn.com/drone/log/bevinbot/geronimo/20070906 - Shiva I've just downloaded and run pure wtp-2.0 and copied to plugin/features achive GEP 2.0. I can configure runtime, but when I try to run (Geronimo) for mam ear, or only jar (ejb) project, I get