thanks awesome !
really appreciate

regards



On Thu, Oct 24, 2013 at 7:53 AM, Olivier Lamy <ol...@apache.org> wrote:

> Have a look at the goal names list here:
>
> http://tomcat.apache.org/maven-plugin-2.1/tomcat7-maven-plugin/plugin-info.html
>
> HTH,
> --
> Olivier
>
> On 24 October 2013 02:37, Irfan Sayed <irfu.sa...@gmail.com> wrote:
> > it worked. i haven't restarted the tomcat.
> > ok. now is there any plugin/goal which will redeploy the existing war
> file
> > and redeploy ?
> >
> > i am using tomcat7 plugin and there is no any redeploy goal
> > please suggest
> >
> > regards
> >
> >
> >
> >
> > On Wed, Oct 23, 2013 at 5:42 PM, Konstantin Kolinko
> > <knst.koli...@gmail.com>wrote:
> >
> >> 2013/10/23 Irfan Sayed <irfu.sa...@gmail.com>:
> >> > hi,
> >> >
> >> > i am facing issues while deploying war file using tomcat7 plugin.
> tomcat
> >> as
> >> > application is running fine . i can manually deploy files but not
> through
> >> > maven plugin
> >> >
> >> > following are my files :
> >> >
> >> > *.m2 (settings.xml)*
> >> >
> >> >   <server>
> >> >   <id>TomcatServer</id>
> >> >   <username>admin</username>
> >> >   <password>password</password>
> >> > </server>
> >> >
> >> > *pom.xml contents:*
> >> >
> >> > <build>
> >> >   <plugins>
> >> >   <plugin>
> >> >    <groupId>org.apache.tomcat.maven</groupId>
> >> >    <artifactId>tomcat7-maven-plugin</artifactId>
> >> >    <version>2.1</version>
> >> >    <configuration>
> >> >    <url>http://localhost:8080/manager/text</url>
> >> >    <server>TomcatServer</server>
> >> >     <path>/${project.build.finalName}</path>
> >> >    </configuration>
> >> > </plugin>
> >> > </plugins>
> >> >     <finalName>di</finalName>
> >> >   </build>
> >> >
> >> >
> >> > *tomcat-users.xml*
> >> > *
> >> > *
> >> > <?xml version='1.0' encoding='cp1252'?>
> >> >
> >> > <tomcat-users>
> >> >
> >> > <role rolename="manager-script"/>
> >> > <user name="admin" password="password" roles="manager-script" />
> >> > <user name="tomcat" password="secret"
> >> > roles="admin-script,admin-gui,standard,manager-gui"/>
> >> > </tomcat-users>
> >> >
> >> > i have gone lots of Google search and implemented most of the
> suggestion,
> >> > still not working
> >> > please suggest . i am stuck
> >> >
> >>
> >> >    <url>http://localhost:8080/manager/text</url>
> >>
> >> 1. Is your server running at localhost?
> >>
> >> 2. What is in Tomcat's access log?
> >> (Does Tomcat log that Maven tries to access it?)
> >>
> >> 3. How it fails? What is reported by Maven?
> >>
> >> 4. Have you restarted the server after editing tomcat-users.xml ?
> >>
> >> Best regards,
> >> Konstantin Kolinko
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> >> For additional commands, e-mail: users-h...@tomcat.apache.org
> >>
> >>
>
>
>
> --
> Olivier Lamy
> Ecetera: http://ecetera.com.au
> http://twitter.com/olamy | http://linkedin.com/in/olamy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

Reply via email to