java - Tomcat server is not starting if i make changes in server.xml in conf folder -


whenever changed server.xml mysql properties tomcat server blinking , stopping how solve issue

<realm     classname="org.apache.catalina.realm.jdbcrealm"    drivername="com.mysql.jdbc.driver"    connectionurl="jdbc:mysql://localhost:3306/test?user=root;password=root"     usertable="users"     usernamecol="user_name"     usercredcol="user_pass"     userroletable="user_roles"     rolenamecol="role_name"/> 

without more information, issue can see connectionurl wrong, url parameters separated &, html encoding &amp;:

<realm        classname="org.apache.catalina.realm.jdbcrealm"       drivername="com.mysql.jdbc.driver"       connectionurl="jdbc:mysql://localhost:3306/test?user=root&amp;password=root"                   usertable="users"       usernamecol="user_name"        usercredcol="user_pass"       userroletable="user_roles"        rolenamecol="role_name"/> 

Comments

Popular posts from this blog

c++ - No viable overloaded operator for references a map -

java - Custom OutputStreamAppender not run: LOGBACK: No context given for <MYAPPENDER> -

java - Cannot secure connection using TLS -