RE: tomcat maven plugin datasource

2010-03-30 Thread fachhoch

Here are the plugin details

http://mojo.codehaus.org/tomcat-maven-plugin/deployment.html


n828cl wrote:
 
 From: fachhoch [mailto:fachh...@gmail.com]
 Subject: Re: tomcat maven plugin datasource
 
 I did as per the plugin instructions , what am i missing ?
 
 Telling us what plugin you're referring to.  Where did you get it?  I
 don't recall seeing any such plugin as part of any Tomcat distribution,
 but maybe I missed it.
 
  - Chuck
 
 
 THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
 MATERIAL and is thus for use only by the intended recipient. If you
 received this in error, please contact the sender and delete the e-mail
 and its attachments from all computers.
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org
 
 
 

-- 
View this message in context: 
http://old.nabble.com/tomcat-maven--plugin-datasource-tp28037478p28085745.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: tomcat maven plugin datasource

2010-03-26 Thread Pid

On 26/03/2010 02:01, fachhoch wrote:


I am having trouble  setting datasource

here is my configration  for datasource

Context

   Resource name=jdbc/artmsDataSource auth=Container
type=javax.sql.DataSource
username=username password=password
driverClassName=oracle.jdbc.driver.OracleDriver
url=myurl/


/Context


and here my pom  configration


Perhaps you meant to include the server.xml?  Rather than a POM, which 
doesn't tell me anything about what Tomcat is actually using.



p


 plugin
 groupIdorg.codehaus.mojo/groupId
 artifactIdtomcat-maven-plugin/artifactId
 version1.0-beta-1/version
 configuration

 path/artms/path


contextFile${basedir}/context.xml/contextFile
 reloadautomatic/reload
 /configuration
dependencies
   dependency
   groupIdcommons-dbcp/groupId
   artifactIdcommons-dbcp/artifactId
   version1.2.2/version
   scopecompile/scope
   /dependency
   dependency
   groupIdcom.oracle/groupId
   artifactIdojdbc/artifactId
   version14/version
   scopecompile/scope
   /dependency
 /dependencies
 /plugin


am I missing anything ? my application fails starting, complaining cannot
find datasource ,please tell me what am I doing wrong ?



-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: tomcat maven plugin datasource

2010-03-26 Thread Timo Meinen
Is the 'initialize' phase of maven executed?

Timo

2010/3/26 Pid p...@pidster.com:
 On 26/03/2010 02:01, fachhoch wrote:

 I am having trouble  setting datasource

 here is my configration  for datasource

 Context

   Resource name=jdbc/artmsDataSource auth=Container
 type=javax.sql.DataSource
                username=username password=password
 driverClassName=oracle.jdbc.driver.OracleDriver
                url=myurl/


 /Context


 and here my pom  configration

 Perhaps you meant to include the server.xml?  Rather than a POM, which
 doesn't tell me anything about what Tomcat is actually using.


 p

     plugin
     groupIdorg.codehaus.mojo/groupId
     artifactIdtomcat-maven-plugin/artifactId
     version1.0-beta-1/version
     configuration

                                 path/artms/path


 contextFile${basedir}/context.xml/contextFile
                                 reloadautomatic/reload
     /configuration
                dependencies
                   dependency
                   groupIdcommons-dbcp/groupId
                   artifactIdcommons-dbcp/artifactId
                   version1.2.2/version
                   scopecompile/scope
                   /dependency
                   dependency
                   groupIdcom.oracle/groupId
                   artifactIdojdbc/artifactId
                   version14/version
                   scopecompile/scope
                   /dependency
                         /dependencies
     /plugin


 am I missing anything ? my application fails starting, complaining cannot
 find datasource ,please tell me what am I doing wrong ?


 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org





-- 
Glück Auf
Timo

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: tomcat maven plugin datasource

2010-03-26 Thread fachhoch

 the pom is sent is maven plugin for embedded tomcat. I  run my application
for testing using embedded tomcat.I am not able to configure datasource for
this embedded maven tomcat plugin.



Pid Ster wrote:
 
 On 26/03/2010 02:01, fachhoch wrote:

 I am having trouble  setting datasource

 here is my configration  for datasource

 Context

Resource name=jdbc/artmsDataSource auth=Container
 type=javax.sql.DataSource
 username=username password=password
 driverClassName=oracle.jdbc.driver.OracleDriver
 url=myurl/


 /Context


 and here my pom  configration
 
 Perhaps you meant to include the server.xml?  Rather than a POM, which 
 doesn't tell me anything about what Tomcat is actually using.
 
 
 p
 
  plugin
  groupIdorg.codehaus.mojo/groupId
  artifactIdtomcat-maven-plugin/artifactId
  version1.0-beta-1/version
  configuration

  path/artms/path


 contextFile${basedir}/context.xml/contextFile
  reloadautomatic/reload
  /configuration
 dependencies
dependency
groupIdcommons-dbcp/groupId
artifactIdcommons-dbcp/artifactId
version1.2.2/version
scopecompile/scope
/dependency
dependency
groupIdcom.oracle/groupId
artifactIdojdbc/artifactId
version14/version
scopecompile/scope
/dependency
  /dependencies
  /plugin


 am I missing anything ? my application fails starting, complaining cannot
 find datasource ,please tell me what am I doing wrong ?
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org
 
 
 

-- 
View this message in context: 
http://old.nabble.com/tomcat-maven--plugin-datasource-tp28037478p28042749.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: tomcat maven plugin datasource

2010-03-26 Thread Pid

On 26/03/2010 13:52, fachhoch wrote:


  the pom is sent is maven plugin for embedded tomcat. I  run my application
for testing using embedded tomcat.I am not able to configure datasource for
this embedded maven tomcat plugin.


If the plugin can't configure a datasource, then that's your problem, 
no?  Somewhere, something has to create a datasource called 
jdbc/artmsDataSource.



p




Pid Ster wrote:


On 26/03/2010 02:01, fachhoch wrote:


I am having trouble  setting datasource

here is my configration  for datasource

Context

Resource name=jdbc/artmsDataSource auth=Container
type=javax.sql.DataSource
 username=username password=password
driverClassName=oracle.jdbc.driver.OracleDriver
 url=myurl/


/Context


and here my pom  configration


Perhaps you meant to include the server.xml?  Rather than a POM, which
doesn't tell me anything about what Tomcat is actually using.


p


  plugin
  groupIdorg.codehaus.mojo/groupId
  artifactIdtomcat-maven-plugin/artifactId
  version1.0-beta-1/version
  configuration

  path/artms/path


contextFile${basedir}/context.xml/contextFile
  reloadautomatic/reload
  /configuration
 dependencies
dependency
groupIdcommons-dbcp/groupId
artifactIdcommons-dbcp/artifactId
version1.2.2/version
scopecompile/scope
/dependency
dependency
groupIdcom.oracle/groupId
artifactIdojdbc/artifactId
version14/version
scopecompile/scope
/dependency
  /dependencies
  /plugin


am I missing anything ? my application fails starting, complaining cannot
find datasource ,please tell me what am I doing wrong ?



-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org








-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: tomcat maven plugin datasource

2010-03-26 Thread fachhoch

I am asking why plugin  is not creating datasource ?, I did as per the plugin
instructions , what am i missing ?

Pid Ster wrote:
 
 On 26/03/2010 13:52, fachhoch wrote:

   the pom is sent is maven plugin for embedded tomcat. I  run my
 application
 for testing using embedded tomcat.I am not able to configure datasource
 for
 this embedded maven tomcat plugin.
 
 If the plugin can't configure a datasource, then that's your problem, 
 no?  Somewhere, something has to create a datasource called 
 jdbc/artmsDataSource.
 
 
 p
 
 
 
 Pid Ster wrote:

 On 26/03/2010 02:01, fachhoch wrote:

 I am having trouble  setting datasource

 here is my configration  for datasource

 Context

 Resource name=jdbc/artmsDataSource auth=Container
 type=javax.sql.DataSource
  username=username password=password
 driverClassName=oracle.jdbc.driver.OracleDriver
  url=myurl/


 /Context


 and here my pom  configration

 Perhaps you meant to include the server.xml?  Rather than a POM, which
 doesn't tell me anything about what Tomcat is actually using.


 p

   plugin
   groupIdorg.codehaus.mojo/groupId
   artifactIdtomcat-maven-plugin/artifactId
   version1.0-beta-1/version
   configuration

   path/artms/path


 contextFile${basedir}/context.xml/contextFile
   reloadautomatic/reload
   /configuration
  dependencies
 dependency
 groupIdcommons-dbcp/groupId
 artifactIdcommons-dbcp/artifactId
 version1.2.2/version
 scopecompile/scope
 /dependency
 dependency
 groupIdcom.oracle/groupId
 artifactIdojdbc/artifactId
 version14/version
 scopecompile/scope
 /dependency
   /dependencies
   /plugin


 am I missing anything ? my application fails starting, complaining
 cannot
 find datasource ,please tell me what am I doing wrong ?


 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org




 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org
 
 
 

-- 
View this message in context: 
http://old.nabble.com/tomcat-maven--plugin-datasource-tp28037478p28045557.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: tomcat maven plugin datasource

2010-03-26 Thread Caldarale, Charles R
 From: fachhoch [mailto:fachh...@gmail.com]
 Subject: Re: tomcat maven plugin datasource
 
 I did as per the plugin instructions , what am i missing ?

Telling us what plugin you're referring to.  Where did you get it?  I don't 
recall seeing any such plugin as part of any Tomcat distribution, but maybe I 
missed it.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



tomcat maven plugin datasource

2010-03-25 Thread fachhoch

I am having trouble  setting datasource 

here is my configration  for datasource 

Context 

  Resource name=jdbc/artmsDataSource auth=Container
type=javax.sql.DataSource 
   username=username password=password
driverClassName=oracle.jdbc.driver.OracleDriver 
   url=myurl/ 


/Context 


and here my pom  configration 


plugin 
groupIdorg.codehaus.mojo/groupId 
artifactIdtomcat-maven-plugin/artifactId 
version1.0-beta-1/version 
configuration 

path/artms/path 

   
contextFile${basedir}/context.xml/contextFile 
reloadautomatic/reload 
/configuration 
   dependencies 
  dependency 
  groupIdcommons-dbcp/groupId 
  artifactIdcommons-dbcp/artifactId 
  version1.2.2/version 
  scopecompile/scope 
  /dependency 
  dependency 
  groupIdcom.oracle/groupId 
  artifactIdojdbc/artifactId 
  version14/version 
  scopecompile/scope 
  /dependency 
/dependencies 
/plugin 


am I missing anything ? my application fails starting, complaining cannot
find datasource ,please tell me what am I doing wrong ?
-- 
View this message in context: 
http://old.nabble.com/tomcat-maven--plugin-datasource-tp28037478p28037478.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org