java - STS-3.6.4-RELEASE tcserver not configured after tcruntime-instance.sh -
i installed sts-3.5.4-release , used tcruntime-instance.sh script define new server. able create new server in sts using "new" menu item , selecting "existing instance" option pointing server created using tcruntime-instance.sh script. however, when attempt run new server, fails error message:
apr 01, 2015 1:08:21 org.apache.catalina.startup.catalina load warning: catalina.start using conf/server.xml: error @ (23, 68) : org.apache.catalina.core.jasperlistener apr 01, 2015 1:08:21 org.apache.catalina.startup.catalina load warning: catalina.start using conf/server.xml: error @ (23, 68) : org.apache.catalina.core.jasperlistener apr 01, 2015 1:08:21 org.apache.catalina.startup.catalina start severe: cannot start server. server instance not configured.
any suggestions of how solve issue appreciated, since using tcruntime-instance.sh script worked create new servers prior upgrading sts.3.6.4-release version.
when created server tc server instance command line using tcruntime-instance.sh script without specifying tomcat version create tc server instance based on tomcat 7 default. sts default tc server runtime based on tomcat 8 managing tc server instances based on tomcat 8. therefore, you've created tomcat 7 based instance , tried run tomcat 8 based runtime , got error. errors possible in case since configurations might conflicting. wizard creating tc server instance in sts has warning displayed on page browse existing instance if selected runtime tomcat version mismatched existing instance tomcat version. there 2 alternative solutions fix this:
- create tomcat 8 based instance tcruntime-instance.sh script using "-v 8.0.20.b.release", e.g.
/tcruntime-instance.sh create fromcli_80 -t base -v 8.0.20.b.release
creating server instance work sts default runtime. - create tomcat 7 based tc server 3.1 runtime in sts via preferences -> server -> runtime environments. click add button, select pivotal tc server 3.0-3.1, on next page point tc server installation folder , don't forget select tomcat 7.x server version on bottom drop-down. create runtime. pick runtime on bottom on first page of server creation wizard if want use tomcat 7 based existing instance
Comments
Post a Comment