Re: Geronimo 1.0 running on IBM ISeries.

2006-02-02 Thread Todd Mason
Yes,

Running JDK1.4.2 at the moment, should have listed that in my 
configuration details. :)


Todd

  Silverlake Group of Companies - Internet Email Confidentiality Footer 
***   
Privileged/Confidential Information may be contained in this message.  
If you are not the addressee indicated in this message 
(or responsible for delivery of the message to such person), you may not copy 
or 
deliver this message to anyone.  In such case, you should destroy 
this message, and notify us immediately. 



Fw: Geronimo 1.0 Startup Warnings

2006-02-02 Thread Prakash . Sajja

Let me try sending text message this time. Please see my attached email.


Thanks!
Prakash


-Forwarded by Prakash Sajja/Internal_Affairs/TDCJ on 02/02/2006 02:17PM
-


To: user@geronimo.apache.org
From: Prakash Sajja/Internal_Affairs/TDCJ
Date: 02/02/2006 09:55AM
Subject: Geronimo 1.0 Startup Warnings


Hello,
I have fresh installation of Geronimo-Tomcat-J2EE-1.0 on Windows XP. I
startup the Geronimo server from  with command "bin\geronimo
start" and I get warning messages about some GBeans not being started
successfully. Below is the information on my command line console:
=
Booting Geronimo Kernel (in Java 1.4.2_10)...
Started configuration  1/25   1s geronimo/rmi-naming/1.0/car
Started configuration  2/25   3s geronimo/j2ee-server/1.0/car
Started configuration  3/25   1s geronimo/j2ee-security/1.0/car
Started configuration  4/25  12s geronimo/activemq-broker/1.0/car
Started configuration  5/25   1s geronimo/activemq/1.0/car
Started configuration  6/25   0s geronimo/system-database/1.0/car
Started configuration  7/25   5s geronimo/directory/1.0/car
Started configuration  8/25   0s geronimo/ldap-realm/1.0/car
09:11:37,085 INFO  [Http11Protocol] Initializing Coyote HTTP/1.1 on
http-0.0.0.0
-8443
09:11:37,523 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on
http-0.0.0.0-844
3
09:11:38,116 INFO  [Http11Protocol] Initializing Coyote HTTP/1.1 on
http-0.0.0.0
-8080
09:11:38,163 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on
http-0.0.0.0-808
0
Started configuration  9/25   6s geronimo/tomcat/1.0/car
Started configuration 10/25   1s geronimo/geronimo-gbean-deployer/1.0/car
Started configuration 11/25   3s geronimo/j2ee-deployer/1.0/car
Started configuration 12/25   0s geronimo/tomcat-deployer/1.0/car
Started configuration 13/25   1s geronimo/welcome-tomcat/1.0/car
Started configuration 14/25   1s geronimo/ldap-demo-tomcat/1.0/car
Started configuration 15/25   1s geronimo/servlets-examples-tomcat/1.0/car
Started configuration 16/25   2s geronimo/jsp-examples-tomcat/1.0/car
Started configuration 17/25   2s geronimo/webconsole-tomcat/1.0/car
Started configuration 18/25   1s geronimo/uddi-tomcat/1.0/car
Started configuration 19/25   1s geronimo/jmxdebug-tomcat/1.0/car
Started configuration 20/25  12s geronimo/daytrader-derby-tomcat/1.0/car
Started configuration 21/25   1s geronimo/remote-deploy-tomcat/1.0/car
Started configuration 22/25   2s geronimo/hot-deployer/1.0/car
Started configuration 23/25   1s geronimo/client-system/1.0/car
Started configuration 24/25   0s geronimo/client/1.0/car
Started configuration 25/25   1s
geronimo/daytrader-derby-tomcat-streamer-client
/1.0/car
Startup completed in 63 seconds
  Listening on Ports:
1099 0.0.0.0 RMI Naming
1389 0.0.0.0 Apache Directory LDAP
1527 0.0.0.0 Derby Connector
4201 0.0.0.0 ActiveIO Connector EJB
4242 0.0.0.0 Remote Login Listener
8009 0.0.0.0 Tomcat Connector AJP
8080 0.0.0.0 Tomcat Connector HTTP
8443 0.0.0.0 Tomcat Connector HTTPS
   61616 0.0.0.0 ActiveMQ Message Broker Connector
  Started Application Modules:
WAR: geronimo/welcome-tomcat/1.0/car
EAR: geronimo/webconsole-tomcat/1.0/car
EAR: geronimo/uddi-tomcat/1.0/car
WAR: geronimo/remote-deploy-tomcat/1.0/car
WAR: geronimo/ldap-demo-tomcat/1.0/car
RAR: geronimo/activemq/1.0/car
WAR: geronimo/jmxdebug-tomcat/1.0/car
WAR: geronimo/servlets-examples-tomcat/1.0/car
EAR: geronimo/daytrader-derby-tomcat/1.0/car
WAR: geronimo/jsp-examples-tomcat/1.0/car
RAR: geronimo/system-database/1.0/car
  Web Applications:
http://BOT-136635:8080/
http://BOT-136635:8080/console
http://BOT-136635:8080/console-standard
http://BOT-136635:8080/daytrader
http://BOT-136635:8080/debug-tool
http://BOT-136635:8080/jsp-examples
http://BOT-136635:8080/juddi
http://BOT-136635:8080/ldap-demo
http://BOT-136635:8080/remote-deploy
http://BOT-136635:8080/servlets-examples
  WARNING: Some GBeans were not started successfully:
ConnectionTracker (starting)
ActiveMQ RA (starting)
jms/TopicConnectionFactory (starting)
TransactionContextManager (starting)
jms/TopicConnectionFactory (starting)
Repository (starting)
DefaultWorkManager (starting)
activemq/activemq-ra/3.2.1/rar (starting)
geronimo.client:type=ClientContainer (starting)
jms/TopicConnectionFactory (starting)
Geronimo Application Server started
=
Is it a normal startup or am I missing something or some mis-configuration
causing these warnings?

Thank you all! Prakash



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






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:




    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




Re: Please help with db2jcc license jar files

2006-02-02 Thread Chris Wilkes
Bruce Snyder <[EMAIL PROTECTED]> writes:

> One year ago here's what I did just to get the license file to live
> with the JAR:
> 
> http://jroller.com/page/bsnyder?entry=ibm_universal_jdbc_driver_not
> 
> But there should be no need to do this anymore as the derbyclient.jar
> file packages a network-aware JDBC driver.

Perhaps you don't need to do it when using derby, but you do need to do it when
using DB2 -- and even with the newly released "DB2 Express-C" edition.

The update was pretty easy, just create a file.txt with
  Class-Path: db2jcc_license_cu-VERSION.jar
in it and do a
  jar umf file.txt db2jcc-VERSION.jar
to update the db2jcc jar file's manifest, adding the license file.  Make sure
the license jar file is in the same directory as the db2jcc.jar file, which is
in the repository/db2/jars directory on my machine.

Thanks Bruce for your clear instructions on your webpage.

Chris



Re: Building Geronimo with Maven2

2006-02-02 Thread Alan D. Cabrera

On 2/2/2006 9:40 AM, Kevan Miller wrote:



On Feb 2, 2006, at 12:20 PM, xandrew wrote:


Can I build Geronimo with Maven2?



No, not yet. I'm not aware of anyone actively working on it, but it  
is something we want to move to...



We will never swallow m2 whole.  We need to gobble little bits of it at 
a time, e.g. specs.  How can we stage this conversion properly?



Regards,
Alan






Re: Building Geronimo with Maven2

2006-02-02 Thread Kevan Miller


On Feb 2, 2006, at 12:20 PM, xandrew wrote:


Can I build Geronimo with Maven2?


No, not yet. I'm not aware of anyone actively working on it, but it  
is something we want to move to...

--kevan


Building Geronimo with Maven2

2006-02-02 Thread xandrew
Can I build Geronimo with Maven2?


Re: Geronimo 1.0 Startup Warnings

2006-02-02 Thread Aaron Mulder
This is definitely a problem.  Do you have Geronimo installed in a
directory with spaces in the name?  If so, does the behavior change if
you install it to a directory without spaces?

Thanks,
   Aaron

On 2/2/06, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> Hello,
>
> I have fresh installation of Geronimo-Tomcat-J2EE-1.0 on Windows XP. I
> startup the Geronimo server from  with command "bin\geronimo
> start" and I get warning messages about some GBeans not being started
> successfully. Below is the information on my command line console:
> =
> Booting Geronimo Kernel (in Java 1.4.2_10)...
> Started configuration  1/25   1s geronimo/rmi-naming/1.0/car
> Started configuration  2/25   3s geronimo/j2ee-server/1.0/car
> Started configuration  3/25   1s geronimo/j2ee-security/1.0/car
> Started configuration  4/25  12s
> geronimo/activemq-broker/1.0/car
> Started configuration  5/25   1s geronimo/activemq/1.0/car
> Started configuration  6/25   0s
> geronimo/system-database/1.0/car
> Started configuration  7/25   5s geronimo/directory/1.0/car
> Started configuration  8/25   0s geronimo/ldap-realm/1.0/car
> 09:11:37,085 INFO  [Http11Protocol] Initializing Coyote HTTP/1.1 on
> http-0.0.0.0
> -8443
> 09:11:37,523 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on
> http-0.0.0.0-844
> 3
> 09:11:38,116 INFO  [Http11Protocol] Initializing Coyote HTTP/1.1 on
> http-0.0.0.0
> -8080
> 09:11:38,163 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on
> http-0.0.0.0-808
> 0
> Started configuration  9/25   6s geronimo/tomcat/1.0/car
> Started configuration 10/25   1s
> geronimo/geronimo-gbean-deployer/1.0/car
> Started configuration 11/25   3s geronimo/j2ee-deployer/1.0/car
> Started configuration 12/25   0s
> geronimo/tomcat-deployer/1.0/car
> Started configuration 13/25   1s geronimo/welcome-tomcat/1.0/car
> Started configuration 14/25   1s
> geronimo/ldap-demo-tomcat/1.0/car
> Started configuration 15/25   1s
> geronimo/servlets-examples-tomcat/1.0/car
> Started configuration 16/25   2s
> geronimo/jsp-examples-tomcat/1.0/car
> Started configuration 17/25   2s
> geronimo/webconsole-tomcat/1.0/car
> Started configuration 18/25   1s geronimo/uddi-tomcat/1.0/car
> Started configuration 19/25   1s
> geronimo/jmxdebug-tomcat/1.0/car
> Started configuration 20/25  12s
> geronimo/daytrader-derby-tomcat/1.0/car
> Started configuration 21/25   1s
> geronimo/remote-deploy-tomcat/1.0/car
> Started configuration 22/25   2s geronimo/hot-deployer/1.0/car
> Started configuration 23/25   1s geronimo/client-system/1.0/car
> Started configuration 24/25   0s geronimo/client/1.0/car
> Started configuration 25/25   1s
> geronimo/daytrader-derby-tomcat-streamer-client
> /1.0/car
> Startup completed in 63 seconds
>   Listening on Ports:
> 1099 0.0.0.0 RMI Naming
> 1389 0.0.0.0 Apache Directory LDAP
> 1527 0.0.0.0 Derby Connector
> 4201 0.0.0.0 ActiveIO Connector EJB
> 4242 0.0.0.0 Remote Login Listener
> 8009 0.0.0.0 Tomcat Connector AJP
> 8080 0.0.0.0 Tomcat Connector HTTP
> 8443 0.0.0.0 Tomcat Connector HTTPS
>61616 0.0.0.0 ActiveMQ Message Broker Connector
>   Started Application Modules:
> WAR: geronimo/welcome-tomcat/1.0/car
> EAR: geronimo/webconsole-tomcat/1.0/car
> EAR: geronimo/uddi-tomcat/1.0/car
> WAR: geronimo/remote-deploy-tomcat/1.0/car
> WAR: geronimo/ldap-demo-tomcat/1.0/car
> RAR: geronimo/activemq/1.0/car
> WAR: geronimo/jmxdebug-tomcat/1.0/car
> WAR: geronimo/servlets-examples-tomcat/1.0/car
> EAR: geronimo/daytrader-derby-tomcat/1.0/car
> WAR: geronimo/jsp-examples-tomcat/1.0/car
> RAR: geronimo/system-database/1.0/car
>   Web Applications:
> http://BOT-136635:8080/
> http://BOT-136635:8080/console
> http://BOT-136635:8080/console-standard
> http://BOT-136635:8080/daytrader
> http://BOT-136635:8080/debug-tool
> http://BOT-136635:8080/jsp-examples
> http://BOT-136635:8080/juddi
> http://BOT-136635:8080/ldap-demo
> http://BOT-136635:8080/remote-deploy
> http://BOT-136635:8080/servlets-examples
>   WARNING: Some GBeans were not started successfully:
> ConnectionTracker (starting)
> ActiveMQ RA (starting)
> jms/TopicConnectionFactory (starting)
> TransactionContextManager (starting)
> jms/TopicConnectionFactory (starting)
> Repository (starting)
> DefaultWorkManager (starting)
> activemq/activemq-ra/3.2.1/rar (starting)
> geronimo.client:type=ClientContainer (starting)
> jms/TopicConnectionFactory (starting)
> Geronimo Application Server started
> =
>
> Is it a normal startup or am I missing something or some mis-configuration
> causing these warnings?
> Thank you all!
> Prakash
>


Re: Geronimo 1.0 Startup Warnings

2006-02-02 Thread Kevan Miller
Hi Prakash,No, it's not a normal startup. Not an absolute sign of a problem, but my guess is that something is wrong You might want to use "geronimo run" and run the process in the foreground until your problems get sorted.Can you look at var/log/geronimo.log for any signs of trouble? When you stop the server, do you see warning messages about stopping GBeans that were in a starting state?--kevanOn Feb 2, 2006, at 10:55 AM, [EMAIL PROTECTED] wrote:Hello, I have fresh installation of Geronimo-Tomcat-J2EE-1.0 on Windows XP. I startup the Geronimo server from  with command "bin\geronimo start" and I get warning messages about some GBeans not being started successfully. Below is the information on my command line console:=Booting Geronimo Kernel (in Java 1.4.2_10)...Started configuration  1/25   1s geronimo/rmi-naming/1.0/carStarted configuration  2/25   3s geronimo/j2ee-server/1.0/carStarted configuration  3/25   1s geronimo/j2ee-security/1.0/carStarted configuration  4/25  12s geronimo/activemq-broker/1.0/carStarted configuration  5/25   1s geronimo/activemq/1.0/carStarted configuration  6/25   0s geronimo/system-database/1.0/carStarted configuration  7/25   5s geronimo/directory/1.0/carStarted configuration  8/25   0s geronimo/ldap-realm/1.0/car09:11:37,085 INFO  [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-844309:11:37,523 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-844309:11:38,116 INFO  [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-808009:11:38,163 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080Started configuration  9/25   6s geronimo/tomcat/1.0/carStarted configuration 10/25   1s geronimo/geronimo-gbean-deployer/1.0/carStarted configuration 11/25   3s geronimo/j2ee-deployer/1.0/carStarted configuration 12/25   0s geronimo/tomcat-deployer/1.0/carStarted configuration 13/25   1s geronimo/welcome-tomcat/1.0/carStarted configuration 14/25   1s geronimo/ldap-demo-tomcat/1.0/carStarted configuration 15/25   1s geronimo/servlets-examples-tomcat/1.0/carStarted configuration 16/25   2s geronimo/jsp-examples-tomcat/1.0/carStarted configuration 17/25   2s geronimo/webconsole-tomcat/1.0/carStarted configuration 18/25   1s geronimo/uddi-tomcat/1.0/carStarted configuration 19/25   1s geronimo/jmxdebug-tomcat/1.0/carStarted configuration 20/25  12s geronimo/daytrader-derby-tomcat/1.0/carStarted configuration 21/25   1s geronimo/remote-deploy-tomcat/1.0/carStarted configuration 22/25   2s geronimo/hot-deployer/1.0/carStarted configuration 23/25   1s geronimo/client-system/1.0/carStarted configuration 24/25   0s geronimo/client/1.0/carStarted configuration 25/25   1s geronimo/daytrader-derby-tomcat-streamer-client/1.0/carStartup completed in 63 seconds  Listening on Ports:    1099 0.0.0.0 RMI Naming    1389 0.0.0.0 Apache Directory LDAP    1527 0.0.0.0 Derby Connector    4201 0.0.0.0 ActiveIO Connector EJB    4242 0.0.0.0 Remote Login Listener    8009 0.0.0.0 Tomcat Connector AJP    8080 0.0.0.0 Tomcat Connector HTTP    8443 0.0.0.0 Tomcat Connector HTTPS   61616 0.0.0.0 ActiveMQ Message Broker Connector  Started Application Modules:    WAR: geronimo/welcome-tomcat/1.0/car    EAR: geronimo/webconsole-tomcat/1.0/car    EAR: geronimo/uddi-tomcat/1.0/car    WAR: geronimo/remote-deploy-tomcat/1.0/car    WAR: geronimo/ldap-demo-tomcat/1.0/car    RAR: geronimo/activemq/1.0/car    WAR: geronimo/jmxdebug-tomcat/1.0/car    WAR: geronimo/servlets-examples-tomcat/1.0/car    EAR: geronimo/daytrader-derby-tomcat/1.0/car    WAR: geronimo/jsp-examples-tomcat/1.0/car    RAR: geronimo/system-database/1.0/car  Web Applications:    http://BOT-136635:8080/    http://BOT-136635:8080/console    http://BOT-136635:8080/console-standard    http://BOT-136635:8080/daytrader    http://BOT-136635:8080/debug-tool    http://BOT-136635:8080/jsp-examples    http://BOT-136635:8080/juddi    http://BOT-136635:8080/ldap-demo    http://BOT-136635:8080/remote-deploy    http://BOT-136635:8080/servlets-examples  WARNING: Some GBeans were not started successfully:    ConnectionTracker (starting)    ActiveMQ RA (starting)    jms/TopicConnectionFactory (starting)    TransactionContextManager (starting)    jms/TopicConnectionFactory (starting)    Repository (starting)    DefaultWorkManager (starting)    activemq/activemq-ra/3.2.1/rar (starting)    geronimo.client:type=ClientContainer (starting)    jms/TopicConnectionFactory (starting)Geronimo Application Server started= Is it a normal startup or am I missing something or some mis-configuration causing these warnings?Thank you all!Prakash 

Re: Fw: application client for daytrader

2006-02-02 Thread Nell Gawor

Hi,

This is due to missing image file(s) in the daytrader client app.  The 
code does not handle missing images well, as you can see.  You probably 
want to open a JIRA to get the image file(s) added.  There is also a web 
services client that you can try in the meantime if you are just looking 
for an application client.


Thanks,
Nell



*Maxim Berkultsev <[EMAIL PROTECTED]>*

02/01/2006 06:56 AM
Please respond to
user@geronimo.apache.org



To
user@geronimo.apache.org
cc

Subject
application client for daytrader









Hi,

I've tried to run an application client for daytrader from 
geronimo-jetty-j2ee-1.0.

Its name is "geronimo/daytrader-derby-jetty-streamer-client/1.0/car".
 
But it failed with:
 
**
 
$ java -jar ./bin/client.jar 
geronimo/daytrader-derby-jetty-streamer-client/1.0/car

12:03:54,572 INFO  [CommandLine] Server startup completed
TradeStreamer getInitial Context
12:03:55,697 INFO  [ActiveMQConnection] channel status changed: 
Channel: TcpTransportChannel: 
Socket[addr=localhost/127.0.0.1,port=61616,localport=3621] has connected

Caught an unexpected exception!
java.lang.NullPointerException
   at javax.swing.ImageIcon.(ImageIcon.java:138)
   at 
org.apache.geronimo.samples.daytrader.client.TradeClientGUI.( 
TradeClientGUI.java:59)
   at 
org.apache.geronimo.samples.daytrader.client.TradeClient.startClient(TradeClient.java:81)
   at 
org.apache.geronimo.samples.daytrader.client.TradeClient.main(TradeClient.java:63) 


   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke 
(DelegatingMethodAccessorImpl.java:25)

   at java.lang.reflect.Method.invoke(Method.java:324)
   at 
org.apache.geronimo.client.AppClientContainer.main(AppClientContainer.java:143)
   at 
org.apache.geronimo.client.AppClientContainer$$FastClassByCGLIB$$b5beae18.invoke 
()

   at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
   at 
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
   at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke 
(GBeanOperation.java:118)
   at 
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:835)
   at 
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:178)
   at 
org.apache.geronimo.system.main.CommandLine.invokeMainGBean(CommandLine.java:90)
   at 
org.apache.geronimo.system.main.ClientCommandLine.(ClientCommandLine.java:71)
   at org.apache.geronimo.system.main.ClientCommandLine.main 
(ClientCommandLine.java:46)

12:03:58,322 INFO  [CommandLine] Server shutdown begun
12:03:58,338 ERROR [GBeanInstance] GBeanInstance should already be 
stopped before die() is called: 
objectName=geronimo.client:J2EEApplication=client-application 
,J2EEServer=client,JCAResource=activemq/activemq-ra/3.2.1/rar,j2eeType=JCAConnectionFactory,name=jms/TopicConnectionFactory 
state=starting
12:03:58,338 ERROR [GBeanInstance] GBeanInstance should already be 
stopped before die() is called: objectName= 
geronimo.client:J2EEApplication=client-application,J2EEServer=client,j2eeType=ResourceAdapterModule,name=activemq/activemq-ra/3.2.1/rar 
state=starting

12:03:58,353 INFO  [CommandLine] Client shutdown completed
 
**
 
Have I missed something?
 
Are there any other application clients for daytrader?
I've found 'wsappclient' mentioning in the previous threads. Is it 
possible to run it now?
 
Thank you in advance.


--
Best regards,
Maxim Berkultsev,
Intel Middleware Products Division






Call for Papers - OSCON and EuroOSCON

2006-02-02 Thread Lauren Cooney

OPEN NOW:
OSCON and EuroOSCON call for speakers/papers - see below for information on how to submit your proposals and conference details. It would be great to get some Geronimo sessions at these conferences.

If you have any questions, you can contact me directly - 

Lauren Cooney
[EMAIL PROTECTED]
 



Save the dates--and send in your speaking proposals--for:
OSCON, the O'Reilly Open Source Convention
July 24-28 in Portland, Oregon
http://conferences.oreilly.com/oscon/
and 
EuroOSCON, the O'Reilly European Open Source Convention
September 18-21 in Brussels, Belgium
http://conferences.oreilly.com/eurooscon/
The Calls for Participation for both OSCON and EuroOSCON are now open, so send us your presentation proposal/s--and tell your friends and colleagues. 
 
**February 13 is the speaking proposal deadline for OSCON; you have until March 6 to submit proposals for EuroOSCON.**
Never has free and open source technology been so important to the computing industry. It's rocking a lot of boats and, as our initial list of topics illustrates, is finding its way into unexpected places. Let's support and expand that trend! For both conventions, we're looking for sessions and tutorials on platforms and applications around: 

- Multimedia including voice (VoIP) and video 
- AI including spam-busting, classification, clustering, and data mining 
- Collaboration including email, calendars, RSS, OPML, mashups, IM, presence, and session initialization 
- Project best practices including governance, starting a project, and managing communities
- Microsoft Windows-based open source projects including .NET, Mono, and regular C/C++/Visual Basic Windows apps
- Enterprise Java techniques including integration, testing, and scalable deployment solutions
- Linux kernel skills for sysadmins including virtualization, tuning, and device drivers
- Device hacking including iPods, Nintendo, PSP, XBox 360, and beyond
- Design including CSS, GUI, and user experience (XP)
- Entrepreneurial topics including management for techies, how to go into business for yourself, and business models that work
- Security including hardening, hacking, root kits (Sony and otherwise), and intrusion detection/cleanup
- Fun subjects with no immediate commercial application including retro computing, games, and BitTorrent
EuroOSCON co-chairs Nat Torkington and Nikolaj Nyholm would also like to consider proposals for EuroOSCON that focus on the specific needs of the European FLOSS community, particularly policy and government roles. We received some excellent feedback after last year's EuroOSCON that will help us build an even more focused, relevant program addressing issues critical to the professional open source community this year. 

OSCON and EuroOSCON are where coders, sys admins, entrepreneurs, and business people working in free and open source software gather to share ideas, discover code, find solutions, and connect face to face. Even if you're not interested in participating as a speaker, we hope you'll come be a part of the conversation. 

If you weren't at OSCON or EuroOSCON in 2005, check out the great time that was had by all:
OSCON: http://www.oreillynet.com/oscon2005/
EuroOSCON: http://conferences.oreillynet.com/eurooscon/coverage/

Hope to see you at one--or both--conventions,
The O'Reilly Conference Team


Geronimo 1.0 Startup Warnings

2006-02-02 Thread Prakash . Sajja
Hello, I have fresh installation of Geronimo-Tomcat-J2EE-1.0 on Windows XP. I startup the Geronimo server from  with command "bin\geronimo start" and I get warning messages about some GBeans not being started successfully. Below is the information on my command line console:=Booting Geronimo Kernel (in Java 1.4.2_10)...Started configuration  1/25   1s geronimo/rmi-naming/1.0/carStarted configuration  2/25   3s geronimo/j2ee-server/1.0/carStarted configuration  3/25   1s geronimo/j2ee-security/1.0/carStarted configuration  4/25  12s geronimo/activemq-broker/1.0/carStarted configuration  5/25   1s geronimo/activemq/1.0/carStarted configuration  6/25   0s geronimo/system-database/1.0/carStarted configuration  7/25   5s geronimo/directory/1.0/carStarted configuration  8/25   0s geronimo/ldap-realm/1.0/car09:11:37,085 INFO  [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-844309:11:37,523 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-844309:11:38,116 INFO  [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-808009:11:38,163 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080Started configuration  9/25   6s geronimo/tomcat/1.0/carStarted configuration 10/25   1s geronimo/geronimo-gbean-deployer/1.0/carStarted configuration 11/25   3s geronimo/j2ee-deployer/1.0/carStarted configuration 12/25   0s geronimo/tomcat-deployer/1.0/carStarted configuration 13/25   1s geronimo/welcome-tomcat/1.0/carStarted configuration 14/25   1s geronimo/ldap-demo-tomcat/1.0/carStarted configuration 15/25   1s geronimo/servlets-examples-tomcat/1.0/carStarted configuration 16/25   2s geronimo/jsp-examples-tomcat/1.0/carStarted configuration 17/25   2s geronimo/webconsole-tomcat/1.0/carStarted configuration 18/25   1s geronimo/uddi-tomcat/1.0/carStarted configuration 19/25   1s geronimo/jmxdebug-tomcat/1.0/carStarted configuration 20/25  12s geronimo/daytrader-derby-tomcat/1.0/carStarted configuration 21/25   1s geronimo/remote-deploy-tomcat/1.0/carStarted configuration 22/25   2s geronimo/hot-deployer/1.0/carStarted configuration 23/25   1s geronimo/client-system/1.0/carStarted configuration 24/25   0s geronimo/client/1.0/carStarted configuration 25/25   1s geronimo/daytrader-derby-tomcat-streamer-client/1.0/carStartup completed in 63 seconds  Listening on Ports:    1099 0.0.0.0 RMI Naming    1389 0.0.0.0 Apache Directory LDAP    1527 0.0.0.0 Derby Connector    4201 0.0.0.0 ActiveIO Connector EJB    4242 0.0.0.0 Remote Login Listener    8009 0.0.0.0 Tomcat Connector AJP    8080 0.0.0.0 Tomcat Connector HTTP    8443 0.0.0.0 Tomcat Connector HTTPS   61616 0.0.0.0 ActiveMQ Message Broker Connector  Started Application Modules:    WAR: geronimo/welcome-tomcat/1.0/car    EAR: geronimo/webconsole-tomcat/1.0/car    EAR: geronimo/uddi-tomcat/1.0/car    WAR: geronimo/remote-deploy-tomcat/1.0/car    WAR: geronimo/ldap-demo-tomcat/1.0/car    RAR: geronimo/activemq/1.0/car    WAR: geronimo/jmxdebug-tomcat/1.0/car    WAR: geronimo/servlets-examples-tomcat/1.0/car    EAR: geronimo/daytrader-derby-tomcat/1.0/car    WAR: geronimo/jsp-examples-tomcat/1.0/car    RAR: geronimo/system-database/1.0/car  Web Applications:    http://BOT-136635:8080/    http://BOT-136635:8080/console    http://BOT-136635:8080/console-standard    http://BOT-136635:8080/daytrader    http://BOT-136635:8080/debug-tool    http://BOT-136635:8080/jsp-examples    http://BOT-136635:8080/juddi    http://BOT-136635:8080/ldap-demo    http://BOT-136635:8080/remote-deploy    http://BOT-136635:8080/servlets-examples  WARNING: Some GBeans were not started successfully:    ConnectionTracker (starting)    ActiveMQ RA (starting)    jms/TopicConnectionFactory (starting)    TransactionContextManager (starting)    jms/TopicConnectionFactory (starting)    Repository (starting)    DefaultWorkManager (starting)    activemq/activemq-ra/3.2.1/rar (starting)    geronimo.client:type=ClientContainer (starting)    jms/TopicConnectionFactory (starting)Geronimo Application Server started= Is it a normal startup or am I missing something or some mis-configuration causing these warnings?Thank you all!Prakash 

Re: borken link in JCA Migration docs

2006-02-02 Thread Hernan Cunico

Good catch, thanks Richard.

Make sure you also check the online version for the latest updates.

http://opensource2.atlassian.com/confluence/oss/display/GERONIMO/Apache+Geronimo+V1+-+Documentation+Draft

Cheers!
Hernan

Richard Kennedy wrote:

A link to the jca.zip sample application is broken in the "JBoss to
Geronimo - JCA Migration.html" doc shipped with geronimo 1.0.

The patch below fixes that link. (I've also attached the patch in case
it gets mangled in the mail)

Cheers
Richard 




--- JBoss to Geronimo - JCA Migration (copy).html   2005-12-22 
05:20:39.0 +
+++ JBoss to Geronimo - JCA Migration.html  2006-02-02 12:48:20.0 
+
@@ -98,7 +98,7 @@
 Back to Top
 
 Sample application 

-This article contains a http://localhost:9090/download/attachments/1567/jca.zip?version=1"; 
title="jca.zip attached to JBoss to Geronimo - JCA Migration">File Retriever JCA sample application 
to demonstrate the migration from JBoss to Geronimo. This application consists of two modules that, for this sample 
purposes, are deployed separately and not as a single EAR archive.
+This article contains a File Retriever JCA sample application 
to demonstrate the migration from JBoss to Geronimo. This application consists of two modules that, for this sample 
purposes, are deployed separately and not as a single EAR archive.
 
 The first module is a simple file system resource adapter that conforms to the JCA architecture without any server-specific extensions. The adapter provides only two functions:
 






--- JBoss to Geronimo - JCA Migration (copy).html   2005-12-22 
05:20:39.0 +
+++ JBoss to Geronimo - JCA Migration.html  2006-02-02 12:48:20.0 
+
@@ -98,7 +98,7 @@
 Back to Top
 
 Sample application 

-This article contains a http://localhost:9090/download/attachments/1567/jca.zip?version=1"; 
title="jca.zip attached to JBoss to Geronimo - JCA Migration">File Retriever JCA sample application 
to demonstrate the migration from JBoss to Geronimo. This application consists of two modules that, for this sample 
purposes, are deployed separately and not as a single EAR archive.
+This article contains a File Retriever JCA sample application 
to demonstrate the migration from JBoss to Geronimo. This application consists of two modules that, for this sample 
purposes, are deployed separately and not as a single EAR archive.
 
 The first module is a simple file system resource adapter that conforms to the JCA architecture without any server-specific extensions. The adapter provides only two functions:
 


Re: Geronimo Eclipse Plugin doesn't start web app

2006-02-02 Thread Edson Carlos Ericksson Richter

Sachin Patel escreveu:



- sachin



On Feb 2, 2006, at 9:30 AM, Edson Carlos Ericksson Richter wrote:

This always happens... just after clicking Send button, I realized 
that I forgot to change password for system user. So I got to Server 
configuration and changed password, and the "forever starting" 
problem goes away (should not Plugin alert about password problems 
instead of forever starting problem?).



Yes, can you open a jira on that?


I never used Jira, but I'll try (should not be so different than 
BugZilla ;-) ).






But app still not run (and is not either deployed).

I'll do retry with server running under JDK 1.5.0 (my preferred 
plataform - because I have some external projects sucessfully 
deployed under this same Geronimo install), and let you know results.



G is only certified to run on 1.4.x


I know, but I'm getting very high success running under 5.0 (either Sun 
JDK or JRockit). May be because I just work with WebApps (with direct 
JDBC access and/or Hibernate).



Richter




Richter

Sachin Patel escreveu:

Sure, send me the video.  I may not get to it until later today or 
tommorow.


- sachin



On Feb 2, 2006, at 9:01 AM, Edson Carlos Ericksson Richter wrote:

Ok, now I go with WTP 1.0.1 oficial released, and latest Eclipse 
Plugin (20060130-0958 
), 
but still having in trouble.
I have removed Geronimo server and Geronimo runtime, the File -> 
New -> Server, created new Geronimo Runtime + JDK 1.4.2, changed my 
very simple project to use JDK 1.4.2, put Geronimo library (with 
WTP 1.0.1 it works - this problem is solved), right click project 
node, ask "Run as -> Run as Server", select "Geronimo". The app is 
deployed (or I think it is), then I get the message "Could not find 
a client that is able to launch the selection".


Starting geronimo got to infinite starting (again, appear the 
problem goes back).


I've created a video from my work session ... I made some comments 
during video, was a long test :-), I think comments could enrich 
with "what a hell is on user's mind when he done this?" to you ;-) 
- if you wan't, I can send it privatelly so you could analyze (I 
didn't send to maillist because it has 1,59Mb - will be abusive 
with readers who don't care).


Any tips?

Richter



Edson Carlos Ericksson Richter escreveu:


Ok, I'm downloading and giving a try right now.

Richter

Sachin Patel escreveu:

No please, don't wait.  The I build is a 1.5 driver.  A new 1.0.1 
M driver was just released.


http://download.eclipse.org/webtools/downloads/drops/M-M200602010238-200602010238/ 
- sachin




On Feb 1, 2006, at 12:09 PM, Edson Carlos Ericksson Richter wrote:

Should I try WTP "I" latest build? Or should I wait for official 
1.0.1 release?


Richter






___ Yahoo! 
doce lar. Faça do Yahoo! sua homepage. 
http://br.yahoo.com/homepageset.html 











   ___ 
Yahoo! doce lar. Faça do Yahoo! sua homepage. 
http://br.yahoo.com/homepageset.html









___ Yahoo! doce 
lar. Faça do Yahoo! sua homepage. http://br.yahoo.com/homepageset.html 











___ Yahoo! doce 
lar. Faça do Yahoo! sua homepage. http://br.yahoo.com/homepageset.html 










___ 
Yahoo! doce lar. Faça do Yahoo! sua homepage. 
http://br.yahoo.com/homepageset.html 



Re: Geronimo Eclipse Plugin doesn't start web app

2006-02-02 Thread Sachin Patel
 - sachin On Feb 2, 2006, at 9:30 AM, Edson Carlos Ericksson Richter wrote:This always happens... just after clicking Send button, I realized that I forgot to change password for system user. So I got to Server configuration and changed password, and the "forever starting" problem goes away (should not Plugin alert about password problems instead of forever starting problem?).Yes, can you open a jira on that?But app still not run (and is not either deployed).I'll do retry with server running under JDK 1.5.0 (my preferred plataform - because I have some external projects sucessfully deployed under this same Geronimo install), and let you know results.G is only certified to run on 1.4.xRichterSachin Patel escreveu: Sure, send me the video.  I may not get to it until later today or tommorow.- sachinOn Feb 2, 2006, at 9:01 AM, Edson Carlos Ericksson Richter wrote: Ok, now I go with WTP 1.0.1 oficial released, and latest Eclipse Plugin (20060130-0958 ), but still having in trouble.I have removed Geronimo server and Geronimo runtime, the File -> New -> Server, created new Geronimo Runtime + JDK 1.4.2, changed my very simple project to use JDK 1.4.2, put Geronimo library (with WTP 1.0.1 it works - this problem is solved), right click project node, ask "Run as -> Run as Server", select "Geronimo". The app is deployed (or I think it is), then I get the message "Could not find a client that is able to launch the selection".Starting geronimo got to infinite starting (again, appear the problem goes back).I've created a video from my work session ... I made some comments during video, was a long test :-), I think comments could enrich with "what a hell is on user's mind when he done this?" to you ;-) - if you wan't, I can send it privatelly so you could analyze (I didn't send to maillist because it has 1,59Mb - will be abusive with readers who don't care).Any tips?RichterEdson Carlos Ericksson Richter escreveu: Ok, I'm downloading and giving a try right now.RichterSachin Patel escreveu: No please, don't wait.  The I build is a 1.5 driver.  A new 1.0.1 M driver was just released.http://download.eclipse.org/webtools/downloads/drops/M-M200602010238-200602010238/ - sachinOn Feb 1, 2006, at 12:09 PM, Edson Carlos Ericksson Richter wrote: Should I try WTP "I" latest build? Or should I wait for official 1.0.1 release?Richter___ Yahoo! doce lar. Faça do Yahoo! sua homepage. http://br.yahoo.com/homepageset.html                  ___ Yahoo! doce lar. Faça do Yahoo! sua homepage. http://br.yahoo.com/homepageset.html ___ Yahoo! doce lar. Faça do Yahoo! sua homepage. http://br.yahoo.com/homepageset.html   ___ Yahoo! doce lar. Faça do Yahoo! sua homepage. http://br.yahoo.com/homepageset.html  

Re: Geronimo Eclipse Plugin doesn't start web app

2006-02-02 Thread Edson Carlos Ericksson Richter
This always happens... just after clicking Send button, I realized that 
I forgot to change password for system user. So I got to Server 
configuration and changed password, and the "forever starting" problem 
goes away (should not Plugin alert about password problems instead of 
forever starting problem?).


But app still not run (and is not either deployed).

I'll do retry with server running under JDK 1.5.0 (my preferred 
plataform - because I have some external projects sucessfully deployed 
under this same Geronimo install), and let you know results.



Richter

Sachin Patel escreveu:

Sure, send me the video.  I may not get to it until later today or 
tommorow.


- sachin



On Feb 2, 2006, at 9:01 AM, Edson Carlos Ericksson Richter wrote:

Ok, now I go with WTP 1.0.1 oficial released, and latest Eclipse 
Plugin (20060130-0958 
), 
but still having in trouble.
I have removed Geronimo server and Geronimo runtime, the File -> New 
-> Server, created new Geronimo Runtime + JDK 1.4.2, changed my very 
simple project to use JDK 1.4.2, put Geronimo library (with WTP 1.0.1 
it works - this problem is solved), right click project node, ask 
"Run as -> Run as Server", select "Geronimo". The app is deployed (or 
I think it is), then I get the message "Could not find a client that 
is able to launch the selection".


Starting geronimo got to infinite starting (again, appear the problem 
goes back).


I've created a video from my work session ... I made some comments 
during video, was a long test :-), I think comments could enrich with 
"what a hell is on user's mind when he done this?" to you ;-) - if 
you wan't, I can send it privatelly so you could analyze (I didn't 
send to maillist because it has 1,59Mb - will be abusive with readers 
who don't care).


Any tips?

Richter



Edson Carlos Ericksson Richter escreveu:


Ok, I'm downloading and giving a try right now.

Richter

Sachin Patel escreveu:

No please, don't wait.  The I build is a 1.5 driver.  A new 1.0.1 M 
driver was just released.


http://download.eclipse.org/webtools/downloads/drops/M-M200602010238-200602010238/ 


- sachin



On Feb 1, 2006, at 12:09 PM, Edson Carlos Ericksson Richter wrote:

Should I try WTP "I" latest build? Or should I wait for official 
1.0.1 release?


Richter






___ Yahoo! 
doce lar. Faça do Yahoo! sua homepage. 
http://br.yahoo.com/homepageset.html 










   ___ 
Yahoo! doce lar. Faça do Yahoo! sua homepage. 
http://br.yahoo.com/homepageset.html









___ Yahoo! doce 
lar. Faça do Yahoo! sua homepage. http://br.yahoo.com/homepageset.html 










___ 
Yahoo! doce lar. Faça do Yahoo! sua homepage. 
http://br.yahoo.com/homepageset.html 



Re: Geronimo Eclipse Plugin doesn't start web app

2006-02-02 Thread Sachin Patel
Sure, send me the video.  I may not get to it until later today or tommorow. - sachin On Feb 2, 2006, at 9:01 AM, Edson Carlos Ericksson Richter wrote:Ok, now I go with WTP 1.0.1 oficial released, and latest Eclipse Plugin (20060130-0958 ), but still having in trouble.I have removed Geronimo server and Geronimo runtime, the File -> New -> Server, created new Geronimo Runtime + JDK 1.4.2, changed my very simple project to use JDK 1.4.2, put Geronimo library (with WTP 1.0.1 it works - this problem is solved), right click project node, ask "Run as -> Run as Server", select "Geronimo". The app is deployed (or I think it is), then I get the message "Could not find a client that is able to launch the selection".Starting geronimo got to infinite starting (again, appear the problem goes back).I've created a video from my work session ... I made some comments during video, was a long test :-), I think comments could enrich with "what a hell is on user's mind when he done this?" to you ;-) - if you wan't, I can send it privatelly so you could analyze (I didn't send to maillist because it has 1,59Mb - will be abusive with readers who don't care).Any tips?RichterEdson Carlos Ericksson Richter escreveu: Ok, I'm downloading and giving a try right now.RichterSachin Patel escreveu: No please, don't wait.  The I build is a 1.5 driver.  A new 1.0.1 M driver was just released.http://download.eclipse.org/webtools/downloads/drops/M-M200602010238-200602010238/ - sachinOn Feb 1, 2006, at 12:09 PM, Edson Carlos Ericksson Richter wrote: Should I try WTP "I" latest build? Or should I wait for official 1.0.1 release?Richter___ Yahoo! doce lar. Faça do Yahoo! sua homepage. http://br.yahoo.com/homepageset.html                  ___ Yahoo! doce lar. Faça do Yahoo! sua homepage. http://br.yahoo.com/homepageset.html ___ Yahoo! doce lar. Faça do Yahoo! sua homepage. http://br.yahoo.com/homepageset.html  

Re: Geronimo Eclipse Plugin doesn't start web app

2006-02-02 Thread Edson Carlos Ericksson Richter
Ok, now I go with WTP 1.0.1 oficial released, and latest Eclipse Plugin 
(20060130-0958 
), 
but still having in trouble.
I have removed Geronimo server and Geronimo runtime, the File -> New -> 
Server, created new Geronimo Runtime + JDK 1.4.2, changed my very simple 
project to use JDK 1.4.2, put Geronimo library (with WTP 1.0.1 it works 
- this problem is solved), right click project node, ask "Run as -> Run 
as Server", select "Geronimo". The app is deployed (or I think it is), 
then I get the message "Could not find a client that is able to launch 
the selection".


Starting geronimo got to infinite starting (again, appear the problem 
goes back).


I've created a video from my work session ... I made some comments 
during video, was a long test :-), I think comments could enrich with 
"what a hell is on user's mind when he done this?" to you ;-) - if you 
wan't, I can send it privatelly so you could analyze (I didn't send to 
maillist because it has 1,59Mb - will be abusive with readers who don't 
care).


Any tips?

Richter



Edson Carlos Ericksson Richter escreveu:


Ok, I'm downloading and giving a try right now.

Richter

Sachin Patel escreveu:

No please, don't wait.  The I build is a 1.5 driver.  A new 1.0.1 M 
driver was just released.


http://download.eclipse.org/webtools/downloads/drops/M-M200602010238-200602010238/ 



- sachin



On Feb 1, 2006, at 12:09 PM, Edson Carlos Ericksson Richter wrote:

Should I try WTP "I" latest build? Or should I wait for official 
1.0.1 release?


Richter






___ Yahoo! doce 
lar. Faça do Yahoo! sua homepage. http://br.yahoo.com/homepageset.html 










   
___ Yahoo! doce 
lar. Faça do Yahoo! sua homepage. http://br.yahoo.com/homepageset.html









___ 
Yahoo! doce lar. Faça do Yahoo! sua homepage. 
http://br.yahoo.com/homepageset.html 



Re: Need help with db2jcc_license_cu jar file deployment

2006-02-02 Thread Aaron Mulder
For now, your best bet is to create the pool in the console but don't
test it, and then use the "Show Plan" option.  Then save the plan to a
file, and copy the  element that refers to the JDBC driver
JAR and point the copies to the additionaly driver JAR(s) you need. 
Then you can deploy that plan using the command-line deployment tool
like this:

java -jar bin/deployer.jar
repository/tranql/rars/tranql-connector-1.1.rar my-plan.xml

Thanks,
Aaron

On 1/31/06, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> Hello,
>
> I am very new to Geronimo, have installed Geronimo-Tomcat-J2EE-1.0 just last
> week on my Window-XP to evaluate it. I have DB2 UDB Workgroup server 8.2
> running on another Windows server within my LAN and I am trying to add a
> database pool for this DB2 using Geronimo Web Console.
>
> I could successfully add the two jar files db2jcc.jar and
> db2jcc_license_cu.jar to the Geronimo repository and they are now under
> ...\geronimo-1.0\repository\db2\jars but renamed as db2jcc-8.2.jar and
> db2jcc_license_cu-8.2.jar respectively since I specified their version as
> 8.2. They are listed as db2/db2jcc/8.2/jar and db2/db2jcc_license_cu/8.2/jar
> respectively under the Current Repository Entries.
>
> While adding the new database pool, I can successfully step through until
> the "Test Connection" which fails trying to find the appropriate license
> file db2jcc_license_cu.jar. Below is the error message:
> ==
> com.ibm.db2.jcc.b.SqlException: The version of the IBM Universal JDBC driver
> in use is not licensed for connectivity to DB2 for Unix/Windows databases.
> To connect to this DB2 server, please obtain a licensed copy of the IBM DB2
> Universal Driver for JDBC and SQLJ.  An appropriate license file
> db2jcc_license_*.jar for this target platform must be installed to the
> application classpath.  Connectivity to DB2 for Unix/Windows databases is
> enabled by any of the following license files: { db2jcc_license_cu.jar,
> db2jcc_license_cisuz.jar }
>  at com.ibm.db2.jcc.b.o.db(o.java:3103)
>  at com.ibm.db2.jcc.b.o.cb(o.java:3049)
>  at com.ibm.db2.jcc.a.b.cb(b.java:629)
>  at com.ibm.db2.jcc.a.b.(b.java:306)
>  at com.ibm.db2.jcc.DB2Driver.connect(DB2Driver.java:162)
>  at
> org.apache.geronimo.console.databasemanager.wizard.DatabasePoolPortlet.attemptConnect(DatabasePoolPortlet.java:797)
>  at
> org.apache.geronimo.console.databasemanager.wizard.DatabasePoolPortlet.processAction(DatabasePoolPortlet.java:321)
> ...
> ...
> ...
> ===
> The DB2 license file name  is expected to be db2jcc_license_cu.jar, but the
> Web Console renames it to db2jcc_license_cu-8.2.jar due to its jar file
> naming rules.
>
> I have seen a posting by Mr. Young Skim ([EMAIL PROTECTED]) on 01/12/2006
> seeking help on the same problem and I have tried one of the solutions
> posted by Mr. Matt Hogstrom i.e. add dependency to these jar files to the
> application's deployment plan. It did not work, may be because I am not sure
> exactly to which xml file, I should add this.
>
> Please help me!
> Thanks a lot!
> Prakash
>


borken link in JCA Migration docs

2006-02-02 Thread Richard Kennedy
A link to the jca.zip sample application is broken in the "JBoss to
Geronimo - JCA Migration.html" doc shipped with geronimo 1.0.

The patch below fixes that link. (I've also attached the patch in case
it gets mangled in the mail)

Cheers
Richard 



--- JBoss to Geronimo - JCA Migration (copy).html   2005-12-22 
05:20:39.0 +
+++ JBoss to Geronimo - JCA Migration.html  2006-02-02 12:48:20.0 
+
@@ -98,7 +98,7 @@
 Back to Top
 
 Sample 
application 
-This article contains a http://localhost:9090/download/attachments/1567/jca.zip?version=1"; 
title="jca.zip attached to JBoss to Geronimo - JCA Migration">File Retriever 
JCA sample application to demonstrate the migration from JBoss to Geronimo. 
This application consists of two modules that, for this sample purposes, are 
deployed separately and not as a single EAR archive.
+This article contains a File Retriever JCA sample application to demonstrate the 
migration from JBoss to Geronimo. This application consists of two modules 
that, for this sample purposes, are deployed separately and not as a single EAR 
archive.
 
 The first module is a simple file system resource adapter that conforms to 
the JCA architecture without any server-specific extensions. The adapter 
provides only two functions:
 

--- JBoss to Geronimo - JCA Migration (copy).html	2005-12-22 05:20:39.0 +
+++ JBoss to Geronimo - JCA Migration.html	2006-02-02 12:48:20.0 +
@@ -98,7 +98,7 @@
 Back to Top
 
 Sample application 
-This article contains a http://localhost:9090/download/attachments/1567/jca.zip?version=1"; title="jca.zip attached to JBoss to Geronimo - JCA Migration">File Retriever JCA sample application to demonstrate the migration from JBoss to Geronimo. This application consists of two modules that, for this sample purposes, are deployed separately and not as a single EAR archive.
+This article contains a File Retriever JCA sample application to demonstrate the migration from JBoss to Geronimo. This application consists of two modules that, for this sample purposes, are deployed separately and not as a single EAR archive.
 
 The first module is a simple file system resource adapter that conforms to the JCA architecture without any server-specific extensions. The adapter provides only two functions:
 


Re: deploying EJB with CMR - disabling CORBA

2006-02-02 Thread Milan Unger
I modified config.xml -> have added


   
  
javax.net.ssl.keyStorePassword=secret
javax.net.ssl.trustStorePassword=secret
  
  

under  element, and
now EJB works with JRE/JDK 1.5 as well.

Thank, you.

David Jencks  wrote / napísal(a):
>
> On Feb 1, 2006, at 4:27 AM, Milan Unger wrote:
>
>> I have started Geronimo-1.0 under JRE 1.4 and recompiled my sources with
>> JDK1.4 and now it is working - the problem was due to JDK1.5.
>>
>> Is there a way to run Geronimo-1.0 safely under JRE 1.5, e.g. without
>> CORBA as I have mentioned before?
>
> Well, PRO.narrow is sort of a use of CORBA :-)
>
> I haven't tried it but I suspect that if you modify config.xml to
> override the SystemProperties gbean in rmi-naming configuration to not
> set any of the corba properties it normally sets, that PRO.narrow
> might work as long as you aren't actually using corba transport.
>
> thanks
> david jencks
>
>>
>> -
>> Hallo,
>>
>> I localized that the error is caused by call
>>
>>
>>
>> PortableRemoteObject.narrow(aReference, UnitLocalHome.class);
>>
>>
>> Anyway, UnitLocalHome.class executes without exception so it is
>> somewhere
>> in PortableRemoteObject.narrow.
>>
>> I got different exception on my page when accessed first time fter
>> server restart. It mentions CORBA Initialization - IMO,
>> the problem is that I use JRE 1.5 instead of 1.4 version. I will prefer
>> to stay with JDK1.5 and don't need CORBA.
>> Geronimo 1.0-M5 runs fine for me without it.
>>
>> Is there a way to disable CORBA infrastructure - what modules should be
>> uninstalled for that? I can test to deploy there
>> afterwards.
>>
>>
>> Regards, Milan.
>>
>> Aaron Mulder  wrote / napísal(a):
>>> I don't know a ton about Tapestry, but can you figure out what the
>>> actual problem is?  I see two possibilities:
>>>
>>> org.apache.hivemind.ApplicationRuntimeException
>>> Unable to read OGNL expression '' of
>>> [EMAIL PROTECTED]/OrganizationHome]: allUnits
>>> component: 
>>> [EMAIL PROTECTED]/OrganizationHome]
>>> location:   context:/organization/OrganizationHome.html
>>>
>>> That's one -- I don't know what that means, what OGNL expression it
>>> might be trying to parse and so on.
>>>
>>> ognl.OgnlException
>>> allUnits
>>> java.lang.NoClassDefFoundError  <-
>>>
>>> That's another -- what class is not found?  Is it ognl.OgnlException
>>> that is not found or is that part of the previous problem?  What JAR
>>> is the missing class in and how is it being loaded?
>>>
>>> Thanks,
>>> Aaron
>>>
>>>
>>> On 1/30/06, Milan Unger <[EMAIL PROTECTED]> wrote:
>>>
 I broke all my  so that it contains just single
  (except for many-to-many relationship) and now
 it deploys, thanks.

 Anyway, when I access tapestry page that references ejb local
 interface
 there is an exception -- see below -- which does not occur on M5
 release. I retried to deploy new openejb-jar.xml on M5 but that has no
 effect - it still run fine there.

 Both war and EJB jar are part of the same ear application.

 The exception is reported by tapestry - I was not able to configure
 logging on geronimo to get more detailed info:

 org.apache.hivemind.ApplicationRuntimeException
 Unable to read OGNL expression '' of
 [EMAIL PROTECTED]/OrganizationHome]: allUnits
 component: 
 [EMAIL PROTECTED]/OrganizationHome]
 location:   context:/organization/OrganizationHome.html

 ognl.OgnlException
 allUnits

 java.lang.NoClassDefFoundError  <-
 Stack Trace:

 *
 sk.moolab.coordinator.pages.organization.OrganizationHome.getUnitHome(OrganizationHome.java:76)


 *
 sk.moolab.coordinator.pages.organization.OrganizationHome.getAllUnits(OrganizationHome.java:49)

 * sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 *
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

 *
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

 * java.lang.reflect.Method.invoke(Method.java:585)
 * ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:491)
 * ognl.OgnlRuntime.getMethodValue(OgnlRuntime.java:904)
 *
 ognl.ObjectPropertyAccessor.getPossibleProperty(ObjectPropertyAccessor.java:54)

 *
 ognl.ObjectPropertyAccessor.getProperty(ObjectPropertyAccessor.java:122)





 OrganizationHome.java (tapestry page component) around line 76 -- the
 reference seems to be O.K., the code works fine on M5 release:

 private UnitLocalHome getUnitHome()
 throws NamingException, FinderException, Exception {
 try {

 InitialContext aContext = new InitialContext();
 Obj