Re: from jboss.xml to openejb.xml

2006-02-03 Thread Alejandro Montenegro




leonard flournoy escribi:
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?
  

I dont think there are problems with my configuration files as the
application runs well under JBoss, also the error is generated at
runtime when it tries to lookup the "ejb" jndi name.



  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:

?xml version="1.0"?

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

 enterprise-beans

 session
 ejb-nameFunctions/ejb-name
 jndi-nameejb/Functions/jndi-name

 method-attributes
 /method-attributes
 /session
 session
 ejb-nameDataBaseEngine/ejb-name
 jndi-nameejb/DataBaseEngine/jndi-name

 method-attributes
 /method-attributes
 /session
 session
 ejb-nameFunctionExecuter/ejb-name
 jndi-nameejb/FunctionExecuter/jndi-name

 method-attributes
 /method-attributes
 /session
 session
 ejb-nameServiceExecuter/ejb-name
 jndi-nameejb/ServiceExecuter/jndi-name

 method-attributes
 /method-attributes
 /session
 session
 ejb-nameServices/ejb-name
 jndi-nameejb/Services/jndi-name

 method-attributes
 /method-attributes
 /session

 /enterprise-beans
/openejb-jar

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:

?xml version="1.0" encoding="UTF-8"?
!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 4.0//EN"
"http://www.jboss.org/j2ee/dtd/jboss_4_0.dtd"

jboss

 enterprise-beans

 !--
 To add beans that you have deployment descriptor info for, add
 a file to your XDoclet merge directory called jboss-beans.xml
that contains
 the session/session,
entity/entity and
message-driven/message-driven
 markup for those beans.
 --

 session
 ejb-nameFunctions/ejb-name
 jndi-nameejb/Functions/jndi-name

 method-attributes
 /method-attributes
 /session
 session
 ejb-nameDataBaseEngine/ejb-name
 jndi-nameejb/DataBaseEngine/jndi-name

 method-attributes
 /method-attributes
 /session
 session
 ejb-nameFunctionExecuter/ejb-name
 jndi-nameejb/FunctionExecuter/jndi-name

 method-attributes
 /method-attributes
 /session
 session
 ejb-nameServiceExecuter/ejb-name
 jndi-nameejb/ServiceExecuter/jndi-name

 method-attributes
 /method-attributes
 /session
 session
 ejb-nameServices/ejb-name
 jndi-nameejb/Services/jndi-name

 method-attributes
 /method-attributes
 /session

 !--
 write a merge file jboss-webservices.ent for
webservice-description 
 --

 /enterprise-beans

 !--
 To specify your own assembly descriptor info here, add a file to
your
 XDoclet merge directory called jboss-assembly-descriptor.xml
that contains
 the assembly-descriptor/assembly-descriptor
markup.
 --
 assembly-descriptor
 !-- message destinations --
 !--
 To specify additional message-destination elements, add a file
in the merge
 directory called jboss-message-destinations.ent that contains
them.
 --
 /assembly-descriptor

 resource-managers
 /resource-managers

 !--
 | for container settings, you can merge in jboss-container.xml
 | this can contain invoker-proxy-bindings/ and
container-configurations/
 --

/jboss


Could any help with find my error?

Regards
Alejandro

  
  






from jboss.xml to openejb.xml

2006-02-02 Thread Alejandro Montenegro




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:

?xml version="1.0"?

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

 enterprise-beans

 session
 ejb-nameFunctions/ejb-name
 jndi-nameejb/Functions/jndi-name

 method-attributes
 /method-attributes
 /session
 session
 ejb-nameDataBaseEngine/ejb-name
 jndi-nameejb/DataBaseEngine/jndi-name

 method-attributes
 /method-attributes
 /session
 session
 ejb-nameFunctionExecuter/ejb-name
 jndi-nameejb/FunctionExecuter/jndi-name

 method-attributes
 /method-attributes
 /session
 session
 ejb-nameServiceExecuter/ejb-name
 jndi-nameejb/ServiceExecuter/jndi-name

 method-attributes
 /method-attributes
 /session
 session
 ejb-nameServices/ejb-name
 jndi-nameejb/Services/jndi-name

 method-attributes
 /method-attributes
 /session

 /enterprise-beans
/openejb-jar

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:

?xml version="1.0" encoding="UTF-8"?
!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 4.0//EN"
"http://www.jboss.org/j2ee/dtd/jboss_4_0.dtd"

jboss

 enterprise-beans

 !--
 To add beans that you have deployment descriptor info for, add
 a file to your XDoclet merge directory called jboss-beans.xml
that contains
 the session/session,
entity/entity and
message-driven/message-driven
 markup for those beans.
 --

 session
 ejb-nameFunctions/ejb-name
 jndi-nameejb/Functions/jndi-name

 method-attributes
 /method-attributes
 /session
 session
 ejb-nameDataBaseEngine/ejb-name
 jndi-nameejb/DataBaseEngine/jndi-name

 method-attributes
 /method-attributes
 /session
 session
 ejb-nameFunctionExecuter/ejb-name
 jndi-nameejb/FunctionExecuter/jndi-name

 method-attributes
 /method-attributes
 /session
 session
 ejb-nameServiceExecuter/ejb-name
 jndi-nameejb/ServiceExecuter/jndi-name

 method-attributes
 /method-attributes
 /session
 session
 ejb-nameServices/ejb-name
 jndi-nameejb/Services/jndi-name

 method-attributes
 /method-attributes
 /session

 !--
 write a merge file jboss-webservices.ent for
webservice-description 
 --

 /enterprise-beans

 !--
 To specify your own assembly descriptor info here, add a file to
your
 XDoclet merge directory called jboss-assembly-descriptor.xml
that contains
 the assembly-descriptor/assembly-descriptor
markup.
 --
 assembly-descriptor
 !-- message destinations --
 !--
 To specify additional message-destination elements, add a file
in the merge
 directory called jboss-message-destinations.ent that contains
them.
 --
 /assembly-descriptor

 resource-managers
 /resource-managers

 !--
 | for container settings, you can merge in jboss-container.xml
 | this can contain invoker-proxy-bindings/ and
container-configurations/
 --

/jboss


Could any help with find my error?

Regards
Alejandro




Re: exception starting geronimo 1.0

2006-01-06 Thread Alejandro Montenegro
 Some of the features of Geronimo 1.0 (including the sample application
 DayTrader and the CORBA features) do not currently work under JDK 1.5.
  Our recommended platform is JDK 1.4.2.

 Thanks,
 Aaron



Thanks Aaron for your quick answer,
Are there some way to set a specific JDK for Geronimo, so it doesn't use
the one configured on the environment variable?

Regards
Alejandro

 On 1/6/06, Alejandro Montenegro [EMAIL PROTECTED] wrote:
 Hi, I just downloaded the latest release of Geronimo, I started Geronimo
 using the command java -jar bin/server.jar  on my windows XP machine
 with
 jdk 1.5 .. Even if it starts and seems to work fine, it throws an
 Exception at the startup process..

 I attached my log file, any idea what it could be..?


 --
 Regards
 Alejandro Montenegro del Pino
 Área Investigación y Desarrollo
 TINet Soluciones Informáticas
 http://www.tinet.cl

 Movil: +5693080954
 eMail: amontenegro(AT)tinet.cl
 Skype: aamonten





-- 
Alejandro Montenegro del Pino
Área Investigación y Desarrollo
TINet Soluciones Informáticas
http://www.tinet.cl

Movil: +5693080954
eMail: amontenegro(AT)tinet.cl
Skype: aamonten



Re: exception starting geronimo 1.0

2006-01-06 Thread Alejandro Montenegro
Thanks Cristian.

Saludos
Alejandro.

 Hi Alejandro,
   In my PC I have JRE 1.5, 1.4.X, IBM/BEA etc, but to choose a
 specific JRE I added these lines in the scripts startup/deploy

   set JAVA_HOME=C:\software\j2sdk1.4.2_10
 set PATH=%JAVA_HOME%\bin;%PATH%


   Bye.



 Alejandro Montenegro [EMAIL PROTECTED] escribió:   Some of the
 features of Geronimo 1.0 (including the sample application
 DayTrader and the CORBA features) do not currently work under JDK 1.5.
 Our recommended platform is JDK 1.4.2.

 Thanks,
 Aaron



 Thanks Aaron for your quick answer,
 Are there some way to set a specific JDK for Geronimo, so it doesn't use
 the one configured on the environment variable?

 Regards
 Alejandro

 On 1/6/06, Alejandro Montenegro wrote:
 Hi, I just downloaded the latest release of Geronimo, I started
 Geronimo
 using the command java -jar bin/server.jar on my windows XP machine
 with
 jdk 1.5 .. Even if it starts and seems to work fine, it throws an
 Exception at the startup process..

 I attached my log file, any idea what it could be..?


 --
 Regards
 Alejandro Montenegro del Pino
 Área Investigación y Desarrollo
 TINet Soluciones Informáticas
 http://www.tinet.cl

 Movil: +5693080954
 eMail: amontenegro(AT)tinet.cl
 Skype: aamonten





 --
 Alejandro Montenegro del Pino
 Área Investigación y Desarrollo
 TINet Soluciones Informáticas
 http://www.tinet.cl

 Movil: +5693080954
 eMail: amontenegro(AT)tinet.cl
 Skype: aamonten





 -
  1GB gratis, Antivirus y Antispam
  Correo Yahoo!, el mejor correo web del mundo
  Abrí tu cuenta aquí


-- 
Alejandro Montenegro del Pino
Área Investigación y Desarrollo
TINet Soluciones Informáticas
http://www.tinet.cl

Movil: +5693080954
eMail: amontenegro(AT)tinet.cl
Skype: aamonten



Re: build problem

2005-06-23 Thread Alejandro Montenegro
using maven 1.0 :S

2005/6/23, David Jencks [EMAIL PROTECTED]:
 You can try to wget it from the repository it is in into your local
 maven repo, but you will soon get tired of the 10 jars you
 will have to do this for.
 
 Are you using maven 1.0.2?  Basically all other versions don't work,
 either older or newer.
 
 Personally I can't wait for maven 2...
 thanks
 david jencks
 
 On Jun 22, 2005, at 10:57 PM, Alejandro Montenegro wrote:
 
  It's first time I'm trying to build Geronimo, I'm running on a Gentoo
  Linux on an AMD64, just downloaded the last revision (193080). Well
  but the problem is that maven can't download all dependencies, I got
  this error:
 
  BUILD FAILED
  File..
  /home/aamonten/.maven/cache/maven-multiproject-plugin-1.3.1/
  plugin.jelly
  Element... maven:reactor
  Line.. 217
  Column 9
  The build cannot continue because of the following unsatisfied
  dependency:
 
  scout-1.0-SNAPSHOT.jar
 
  Are there any alternative way to get this dependencies?
 
 
  --
  Best regards
  Alejandro Montenegro del Pino
 
  Java Developer AT InnovatingFinances
 
 
 


-- 
Alejandro Montenegro del Pino

Java Developer AT InnovatingFinances


Re: build problem

2005-06-23 Thread Alejandro Montenegro
So there is no elegant way to build Geronimo?

2005/6/23, Alejandro Montenegro [EMAIL PROTECTED]:
 using maven 1.0 :S
 
 2005/6/23, David Jencks [EMAIL PROTECTED]:
  You can try to wget it from the repository it is in into your local
  maven repo, but you will soon get tired of the 10 jars you
  will have to do this for.
 
  Are you using maven 1.0.2?  Basically all other versions don't work,
  either older or newer.
 
  Personally I can't wait for maven 2...
  thanks
  david jencks
 
  On Jun 22, 2005, at 10:57 PM, Alejandro Montenegro wrote:
 
   It's first time I'm trying to build Geronimo, I'm running on a Gentoo
   Linux on an AMD64, just downloaded the last revision (193080). Well
   but the problem is that maven can't download all dependencies, I got
   this error:
  
   BUILD FAILED
   File..
   /home/aamonten/.maven/cache/maven-multiproject-plugin-1.3.1/
   plugin.jelly
   Element... maven:reactor
   Line.. 217
   Column 9
   The build cannot continue because of the following unsatisfied
   dependency:
  
   scout-1.0-SNAPSHOT.jar
  
   Are there any alternative way to get this dependencies?
  
  
   --
   Best regards
   Alejandro Montenegro del Pino
  
   Java Developer AT InnovatingFinances
  
 
 
 
 --
 Alejandro Montenegro del Pino
 
 Java Developer AT InnovatingFinances
 


-- 
Alejandro Montenegro del Pino

Java Developer AT InnovatingFinances


build problem

2005-06-22 Thread Alejandro Montenegro
It's first time I'm trying to build Geronimo, I'm running on a Gentoo
Linux on an AMD64, just downloaded the last revision (193080). Well
but the problem is that maven can't download all dependencies, I got
this error:

BUILD FAILED
File.. 
/home/aamonten/.maven/cache/maven-multiproject-plugin-1.3.1/plugin.jelly
Element... maven:reactor
Line.. 217
Column 9
The build cannot continue because of the following unsatisfied dependency:

scout-1.0-SNAPSHOT.jar

Are there any alternative way to get this dependencies? 


--
Best regards 
Alejandro Montenegro del Pino

Java Developer AT InnovatingFinances