I know that I know nothing

change default tomcat port in maven tomcat using maven parameter

clock September 5, 2015 20:22 by author Administrator

i want to run one app in two port for test in spring-session and redis Cool :D

mvn tomcat:run -Dmaven.tomcat.port=8081

change default tomcat webapp directory in maven tomcat 7 plugin

clock July 29, 2015 18:53 by author Administrator









remote debug in tomcat

clock May 9, 2015 19:12 by author Administrator

add this line jvm args


create jndi in tomcat

clock May 9, 2015 18:55 by author Administrator

Create META-INF/context.xml

<Context  docBase="appName" path="/" reloadable="true" >

    <Resource name="develop" auth="Container" type="javax.sql.DataSource" maxActive="50        
          maxIdle="30" maxWait="10000" username="test"    password="test"

        driverClassName="oracle.jdbc.OracleDriver" url="jdbc:oracle:thin:@" />



web.xml configuration


        <description>jdbc Datasource example</description>

About the author

 Welcome to this web site . This page has two purposes: Sharing information about my professional life such as articles, presentations, etc.
This website is also a place where I would like to share content I enjoy with the rest of the world. Feel free to take a look around, read my blog

Java,J2EE,Spring Framework,JQuery,

Hibernate,NoSql,Cloud,SOA,Rest WebService and Web Stack tech...


Month List

Sign In