my dog learned polymorphism*
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Embedded tomcat 7 connector" Watch "Embedded tomcat 7 connector" New topic
Author

Embedded tomcat 7 connector

Argiris Gounaris
Greenhorn

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 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??
Igor Mironov
Greenhorn

Joined: Apr 28, 2011
Posts: 1
You should recompile xxx.xxx.xxx.catalina.EmbeddedCatalina as the return value of Connector.setProperty() has changed in 6.0 from void to boolean.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Embedded tomcat 7 connector
 
Similar Threads
Tomcat 6.0.14 crash on RedHat linux 5.2 with java 1.6
Convert decimal value to binary
tabElem Error
How many String objects are created ?
[Eclipse] [Subversive] Can check out project, but it then doesn't register as a Subversion project?