Re: A few questions

2007-03-30 Thread leonard flournoy

On 3/30/07, David Jencks <[EMAIL PROTECTED]> wrote:



On Mar 30, 2007, at 12:45 PM, leonard flournoy wrote:

The answers may depend on the geronimo version you are using.  I'll
assume you are bleeding edge and using 2.0 :-)

> 1) Is it possible to change the version of tomcat ?

You should be able to just put the version of tomcat you want in the
geronimo repo (at the appropriate location, e.g. repository/org/
apache/tomcat/catalina/6.0.12/catalina-6.0.12.jar).  If you want to
downgrade tomcat you will need to remove the tomcat jars that are
already present.

This will work as long as the version is not specified in the
dependency on tomcat jars in the geronimo-dependencies.xml file in
the geronimo-tomcat jar.  If your version of geronimo happens to
mistakenly have versions there, you'd have to rebuild g. with the
tomcat version you want specified.
>
> 2) Is it possible to specify the parser that geronio uses by default ?

xml parser?  Isn't this specified by a system property?  I think
you'll need to put the jaxp jars you want in lib/endorsed to get them
appropriately on the classpath and I think you'll need to specify the
property on the command line rather than with the SystemProperties
gbean that would probably be too late.
>



3) How do you configre Geronimo to use a single class loader when
> loading ear files?

don't let any wars in the ear? :-)  all ejb and connector modules in
an ear currently share a classloader.  Each war gets a child
classloader, and there's not way to change that.  What exactly are
you trying to do?





> 4) Does Geronimo offer a service simular to JBoss's
> SystemPropertiesService which allows users to access system
> properties.

can you explain this service?  i thought users could use
System.getProperty().  We do have a SystemProperties gbean, maybe
that is similar?



Thanks for the information, they were just general questions that I couldn't
find answers to.

I've  taken a look a the SystemProperties GBean and this will work. Thanks

thanks

david jencks

>
> Thanks in advance!
>





-


A few questions

2007-03-30 Thread leonard flournoy

1) Is it possible to change the version of tomcat ?

2) Is it possible to specify the parser that geronio uses by default ?

3) How do you configre Geronimo to use a single class loader when loading
ear files?

4) Does Geronimo offer a service simular to JBoss's SystemPropertiesService
which allows users to access system properties.

Thanks in advance!


Server dies badly when starting with an bad non core configuration

2007-01-25 Thread leonard flournoy

Here's the scenario, when I deploy an application using --offline and then
start the server, it dies badly because of an error in the newly deployed
application. This is not an error on within the geronimo core, just an
application deployed but not started. Has anyone else had this experience?


Oracle XA

2007-01-24 Thread leonard flournoy

I am trying to set up oracle to make use of the XA drivers but I have been
unsuccessful. I am using the web console to create the pool and I've
selected Oracle XA. Does anyone have an example of an Oracle XA deployment
plan that works or if you have a link to a page that would guide me through
a detailed install including a glossary of required fields, would you please
point me to it. Part of the problem is that we have no dba here so we
probably aren't providing the correct values. Please provide any assistance
that you can!

Thanks in advance!
--


Re: Build Failed - Building from SVN Geronimo 1.0

2006-02-17 Thread leonard flournoy
Worked like a charm, thanksOn 2/17/06, Kevan Miller <[EMAIL PROTECTED]> wrote:
On Feb 17, 2006, at 10:22 AM, leonard flournoy wrote:I have done the following:1) Install Maven 22) Download the Geronimo specs trunk:svn co 
 https://svn.apache.org/repos/asf/geronimo/specs/trunk3) Compile the specs:
mvn installat this point mvn just loops - any suggestions?Hi Leonard,Are you using Maven 2.0? If you aren't, then I suggest you upgrade. I've seen this behavior with Maven 
2.0, but not Maven 2.0.2.--kevanOn 2/12/06, 
 Bruce Snyder <[EMAIL PROTECTED]> wrote:
 On 2/11/06, Sanjay Dwivedi <[EMAIL PROTECTED]> wrote:> I get following error while building Geronimo 
1.0 from SVN source (not the> zip file). > I have followed the email trails and JIRA to copy> geronimo-corba_2.3_spec-1.0.jar in> .maven/repository/org.apache.geronimo.specs, still get the> error. Also tried creating
>  geronimo-corba_2.3_spec/1.1-SNAPSHOT/jar there and copying > the corba jar. Still get the error.It looks to me like you're compiling from SVN HEAD which is actuallyGeronimo 1.1. The error that you're getting is due to the fact that
the 1.1-SNAPSHOT version of the geronimo-corba_2.3_spec jar is not available in any Maven repos. You can get around this by checking outthe Geronimo specs project and building it on your machine. ThenGeronimo HEAD should build correctly. Below are the steps:
1) Install Maven 2 2) Download the Geronimo specs trunk:svn co https://svn.apache.org/repos/asf/geronimo/specs/trunk
3) Compile the specs:mvn install 4) Build Geronimo HEAD:maven -Dmaven.itest.skip=true -Dmaven.test.skip=true newPlease let us know if you have any additional problems.Bruce
--perl -e 'print unpack("u30","D0G)[EMAIL PROTECTED]&5R\"F)R=6-E+G-N>61E);'Apache Geronimo (
http://geronimo.apache.org/)Castor (http://castor.org/)




Re: Build Failed - Building from SVN Geronimo 1.0

2006-02-17 Thread leonard flournoy
I have done the following:1) Install Maven 22) Download the Geronimo specs trunk:svn co 
https://svn.apache.org/repos/asf/geronimo/specs/trunk3) Compile the specs:mvn installat this point mvn just loops - any suggestions?On 2/12/06, 
Bruce Snyder <[EMAIL PROTECTED]> wrote:
On 2/11/06, Sanjay Dwivedi <[EMAIL PROTECTED]> wrote:> I get following error while building Geronimo 1.0 from SVN source (not the> zip file).
> I have followed the email trails and JIRA to copy> geronimo-corba_2.3_spec-1.0.jar in> .maven/repository/org.apache.geronimo.specs, still get the> error. Also tried creating>  geronimo-corba_2.3_spec/1.1-SNAPSHOT/jar there and copying
> the corba jar. Still get the error.It looks to me like you're compiling from SVN HEAD which is actuallyGeronimo 1.1. The error that you're getting is due to the fact thatthe 1.1-SNAPSHOT version of the geronimo-corba_2.3_spec jar is not
available in any Maven repos. You can get around this by checking outthe Geronimo specs project and building it on your machine. ThenGeronimo HEAD should build correctly. Below are the steps:1) Install Maven 2
2) Download the Geronimo specs trunk:svn co https://svn.apache.org/repos/asf/geronimo/specs/trunk3) Compile the specs:mvn install
4) Build Geronimo HEAD:maven -Dmaven.itest.skip=true -Dmaven.test.skip=true newPlease let us know if you have any additional problems.Bruce--perl -e 'print unpack("u30","D0G)[EMAIL PROTECTED]&5R\"F)R=6-E+G-N>61E);'Apache Geronimo (http://geronimo.apache.org/)Castor (http://castor.org/)


Re: Looking for a sample geronimo-web.xml containning the reference to EJBs

2006-02-16 Thread leonard flournoy
You may want to take a look at the ejb examples provided here: http://opensource2.atlassian.com/confluence/oss/display/GERONIMO/Apache+Geronimo+V1+-+Documentation+Draft
On 2/16/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Many thanks in advance.Cheers!Young


Re: Geronimo Build Failed

2006-02-13 Thread leonard flournoy
no, I am using maven 1.0.2 and geronimo from trunk. I did an svn update this morning.C:\IBM-Projects\geronimo\geronimo>maven --version __  __|  \/  |__ _Apache__ ___| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2On 2/13/06, Aaron Mulder <[EMAIL PROTECTED]> wrote:
I haven't seen that error before.  Are you using Maven 1.1-beta-2?And what version of Geronimo are you building (
1.0 sourcedistribution, or SVN HEAD, or SVN 1.0 branch)?Thanks,    AaronOn 2/13/06, leonard flournoy <[EMAIL PROTECTED]> wrote:> Please assist me with this problem, do I have to manually edit 
plugin.jelly> ?>>> BUILD FAILED> File.. C:\IBM-Projects\geronimo\geronimo\maven.xml> Element... maven:reactor> Line.. 43> Column 154> Unable to obtain goal [multiproject:install-callback] -- C:\Documents and
> Settin> gs\Administrator\.maven\cache\xmlbeans-maven-plugin-2.0.0-beta1\plugin.jelly:24:> 23:  Missing required attribute: targetdir> Total time: 10 minutes 32 seconds> Finished at: Mon Feb 13 09:37:17 PST 2006
>> C:\IBM-Projects\geronimo\geronimo>


Geronimo Build Failed

2006-02-13 Thread leonard flournoy
Please assist me with this problem, do I have to manually edit plugin.jelly ?BUILD FAILEDFile.. C:\IBM-Projects\geronimo\geronimo\maven.xmlElement... maven:reactorLine.. 43Column 154
Unable to obtain goal [multiproject:install-callback] -- C:\Documents and Settings\Administrator\.maven\cache\xmlbeans-maven-plugin-2.0.0-beta1\plugin.jelly:24:23:  Missing required attribute: targetdir
Total time: 10 minutes 32 secondsFinished at: Mon Feb 13 09:37:17 PST 2006C:\IBM-Projects\geronimo\geronimo>


Re: from jboss.xml to openejb.xml

2006-02-02 Thread leonard flournoy
Have you checked the other configurtation files to ensure that you've not mistyped the jndi name, you should take a look at your applicatoin.xml. At what point did you recieve the error, was it deployment or runtime?
On 2/2/06, Alejandro Montenegro <[EMAIL PROTECTED]> wrote:



  


Hi I'm starting to work with Geronimo and would really like to make the
switch form jboss to Geronimo, my problem is when I deploy my ears I
got a javax.naming.NameNotFoundException: ejb
I would believe there is something wrong with my openejb-jar.xml

here it is:




    xmlns="http://www.openejb.org/xml/ns/openejb-jar"
    configId="com/bat/cl/arquitectura"
    parentId="org/apache/geronimo/Server">

   

    
 Functions
 ejb/Functions

    
    
  
  
 DataBaseEngine
 ejb/DataBaseEngine

    
    
  
  
 FunctionExecuter
 ejb/FunctionExecuter

    
    
  
  
 ServiceExecuter
 ejb/ServiceExecuter

    
    
  
  
 Services
 ejb/Services

    
    
  

   


I builded this based on the one in the Geronimo Wiki at
http://wiki.apache.org/geronimo/Deployment#head-e0e0f00a4eae99eb5b4a22fb05287ffb6f10e72d



My Jboss.xml file look as:


"http://www.jboss.org/j2ee/dtd/jboss_4_0.dtd">



   

 

  
 Functions
 ejb/Functions

    
    
  
  
 DataBaseEngine
 ejb/DataBaseEngine

    
    
  
  
 FunctionExecuter
 ejb/FunctionExecuter

    
    
  
  
 ServiceExecuter
 ejb/ServiceExecuter

    
    
  
  
 Services
 ejb/Services

    
    
  

    

   

 
   
    
 
   

   
   

  




Could any help with find my error?

Regards
Alejandro