Hello Tomcat gurus...i want to upgrade embedded tomcat 5.5 to 7 and i need to transform some
code that it's creating the connectors. Since i couldn't find anywhere, at least, the algorithmic procedure
i started to play with just the javadoc and the code...here is one of my connectors source
since i am using values from configuration files, there is a change that you will not understand fully the
code. What i want to know is mostly the algorithm for a connector to be successfully established using tomcat 7...
my main concern is the error bellow
java.lang.NoSuchMethodError: org.apache.catalina.connector.Connector.setProperty(Ljava/lang/String;Ljava/lang/String;)V at xxx.xxx.xxx.catalina.EmbeddedCatalina.start(EmbeddedCatalina.java:357) even if im using the setProperty with (string, string)
any ideas, proposals??
posted 4 years ago
You should recompile xxx.xxx.xxx.catalina.EmbeddedCatalina as the return value of Connector.setProperty() has changed in 6.0 from void to boolean.