geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Iñigo <>
Subject Re: deploy a client application
Date Wed, 31 Aug 2005 14:32:59 GMT
Well, I made some progress. Now Geronimo deploys the module, and when 
running the application with java -jar bin\client.jar I get this error:
javax.naming.NameNotFoundException jdbc/DataSource

However, in the deployment plan this is what I have:
And in the application-client.xml:

And in the application:
            InitialContext ctx = new InitialContext();
            DataSource ds = 

I should lookup a different jndi name?

Jeremy Boynes escribió:

> Main-Class: com.example.Main
> How it gets in there depends on how your build creates the appclient 
> jar file - e.g. with ant you can specify manifest="${file}" on the jar 
> task.
> -- 
> Jeremy

View raw message