• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Embedded tomcat 7 connector

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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??
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You should recompile xxx.xxx.xxx.catalina.EmbeddedCatalina as the return value of Connector.setProperty() has changed in 6.0 from void to boolean.
 
Do not threaten THIS beaver! Not even with this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic