Hi,
Out of curiousity, how are you planning to do things like create the
database for the ear?
I don't think you can just include the jdbc driver in your ear, the driver
setup has basically nothing to do with app deployment. How would you set
up the pooling and jndi binding that is normally described in jboss.jcml?
As I understand it, how this stuff is done is different for each app
server, and is not supposed to be in ears.
david jencks
OOn 2001.06.25 21:06:49 -0400 G.L. Grobe wrote:
> I'm trying to get rid of the following error when I startup with
> ./run_with_tomcat.sh.
>
> [J2EE Deployer Default] couldnt add ./jdbc7.0-1.2.jar to common
> classpath:
> /u/public/JBoss-2.2.2_Tomcat-3.2.2/jboss/deploy/jdbc7.0-1.2.jar (No such
> file or directory)
>
> My ear file which I place in the ~/jboss/deploy dir contains this.
> cais-1.0.ear
> |- META-INF
> |- cais-1.0-client.jar
> |- cais-1.0-ejb.jar
> |- cais-1.0-web.war
> |- jdbc7.0-1.2.jar (... JDBC driver file for PostgreSQL)
>
> Chapter 3 (JDBC) of the docs say I must copy the driver file
> (jdbc7.0-1.2.jar) to the lib/ext directory in the JBoss distribution.
> Because I'm trying to get my J2EE app in a format to where it will
> distribute w/ one EAR file that I can give to my customers and will work
> accross several servers, I'd like to not have to pull the driver out and
> place it into the ~/lib/ext dir.
>
> Anyway this will work w/o doing that?
>
> Thnxs
>
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
>
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user