File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Embedded tomcat 7 connector Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Embedded tomcat 7 connector" Watch "Embedded tomcat 7 connector" New topic

Embedded tomcat 7 connector

Argiris Gounaris

Joined: Apr 11, 2011
Posts: 1
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 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
even if im using the setProperty with (string, string)

any ideas, proposals??
Igor Mironov

Joined: Apr 28, 2011
Posts: 1
You should recompile as the return value of Connector.setProperty() has changed in 6.0 from void to boolean.
I agree. Here's the link:
subject: Embedded tomcat 7 connector
It's not a secret anymore!