Re: [Tomcat8] What happened to WebappLoader.addRepository()?

2015-04-06 Thread Thusitha Thilina Dayaratne
Hi All, I'm having the same issue. We have extend the WebAppLoader as follows in the Tomcat 7 public class CarbonWebappLoader extends WebappLoader { @Override protected void startInternal() throws LifecycleException { WebappClassloadingContext webappClassloadingContext; tr

Re: After parsing the custom server.xml file, catalinaBase is set to null

2015-04-06 Thread Thusitha Thilina Dayaratne
Hi, 2015-04-02 14:01 GMT+03:00 Thusitha Thilina Dayaratne : > Hi, > > I'm using embedded-tomcat 8.0.20 in my project. In that I'm parsing a > custom server.xml file. After the parsing CatalinaBase value of the Server > is set to null. > Could someone tell me why would be the reason? > Before parsi

Re: Need configuration example for Tomcat 7.0.55 TLS configuration

2015-04-06 Thread Tom Williamson
Thank you (and the others who responded). I was tearing my hair out trying to fix this. Some background (if anyone cares): I have a small private site protected by SSL, which has run fine for 2 years with no maintenance at all. A couple of months ago, after a Chrome update, it became ina

Re: After parsing the custom server.xml file, catalinaBase is set to null

2015-04-06 Thread Konstantin Kolinko
2015-04-02 14:01 GMT+03:00 Thusitha Thilina Dayaratne : > Hi, > > I'm using embedded-tomcat 8.0.20 in my project. In that I'm parsing a > custom server.xml file. After the parsing CatalinaBase value of the Server > is set to null. > Could someone tell me why would be the reason? > Before parsing th

Re: org.apache.commons.codec.binary.Base64 question

2015-04-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Prathyusha, On 4/6/15 2:19 PM, Prathyusha Kanala wrote: > My web application was initially running on tomcat 7.0.53 and I use > org.apache.commons.codec.binary.Base64 for encryption and > decryption. Just so you're clear, base64 is an encoding and

Re: org.apache.commons.codec.binary.Base64 question

2015-04-06 Thread Konstantin Kolinko
2015-04-06 21:19 GMT+03:00 Prathyusha Kanala : > Hi, > > My web application was initially running on tomcat 7.0.53 and I > use org.apache.commons.codec.binary.Base64 for encryption and decryption. > > Now the server has been updated to tomcat 7.0.57 and I get a java > Nullpointer error at c.doFinal

Re: A bug on tomcat

2015-04-06 Thread Hassan Schroeder
On Mon, Apr 6, 2015 at 1:12 PM, Francesco Viscomi wrote: > deploy it to Tomcat it do not work anymore. http://www.catb.org/esr/faqs/smart-questions.html -- Hassan Schroeder hassan.schroe...@gmail.com http://about.me/hassanschroeder twitter: @hassan Consulting Availabil

A bug on tomcat

2015-04-06 Thread Francesco Viscomi
Hi all, I'm developing an application on Eclipse. In development mode where i use Jetti as application server it works right, while when build a war and deploy it to Tomcat it do not work anymore. I'm using sencha and in particular i use com.sencha.gxt.data.shared.TreStore

Re: Need configuration example for Tomcat 7.0.55 TLS configuration

2015-04-06 Thread David Wall
We're on Tomcat 8 with Java 8, so it has more options for ciphers, but this is what we use: protocol="org.apache.coyote.http11.Http11NioProtocol" SSLEnabled="true" connectionTimeout="2" acceptorThreadCount="2" URIEncoding="UTF-8" maxThreads="100" scheme="h

Re: Need configuration example for Tomcat 7.0.55 TLS configuration

2015-04-06 Thread Terence M. Bandoian
On 4/6/2015 2:11 AM, Ognjen Blagojevic wrote: Tom, On 5.4.2015 3:06, Tom Williamson wrote: I would like to know if anyone has a working example of getting TLS 1.2 working on Tomcat 7.0.55, so that it can be accessed by the latest version of Chrome and Firefox. Which version of Java do you use

org.apache.commons.codec.binary.Base64 question

2015-04-06 Thread Prathyusha Kanala
Hi, My web application was initially running on tomcat 7.0.53 and I use org.apache.commons.codec.binary.Base64 for encryption and decryption. Now the server has been updated to tomcat 7.0.57 and I get a java Nullpointer error at c.doFinal line: public static String make(String Data) throws E

Re: resources not more available after setting RemoteAddrValve

2015-04-06 Thread lorenzo medici
Hi Am 06.04.2015 um 13:07 schrieb Konstantin Kolinko : > 2015-04-06 13:20 GMT+03:00 lorenzo medici : >> Hi >> i work on an ubuntu system: >> OS Name:Linux >> OS Version: 2.6.32-042stab094.7 >> Architecture: amd64 >> >> With tomcat Server >> Server number: 7.0.26.0 > > https://wik

Re: How to access JNDI Directory Context in Tomcat 8

2015-04-06 Thread Thusitha Thilina Dayaratne
Hi 2015-04-06 14:33 GMT+03:00 Thusitha Thilina Dayaratne : > > Hi > > Is there a Tomcat provided URLStreamHandlerFactory for JNDI in tomcat > 8.0.20? > I tried > TomcatURLStreamHandlerFactory.getInstance().createURLStreamHandler("jndi"); >>"jndi" schema is removed in Tomcat 8. You may want to che

Re: How to access JNDI Directory Context in Tomcat 8

2015-04-06 Thread Violeta Georgieva
Hi, 2015-04-06 14:33 GMT+03:00 Thusitha Thilina Dayaratne : > > Hi > > Is there a Tomcat provided URLStreamHandlerFactory for JNDI in tomcat > 8.0.20? > I tried > TomcatURLStreamHandlerFactory.getInstance().createURLStreamHandler("jndi"); "jndi" schema is removed in Tomcat 8. You may want to chec

Re: How to access JNDI Directory Context in Tomcat 8

2015-04-06 Thread Thusitha Thilina Dayaratne
Hi Is there a Tomcat provided URLStreamHandlerFactory for JNDI in tomcat 8.0.20? I tried TomcatURLStreamHandlerFactory.getInstance().createURLStreamHandler("jndi"); But that returns null. Thanks Best Regards /Thusitha On Wed, Mar 25, 2015 at 2:48 PM, Thusitha Thilina Dayaratne < thusit...@wso2.

Re: resources not more available after setting RemoteAddrValve

2015-04-06 Thread Konstantin Kolinko
2015-04-06 13:20 GMT+03:00 lorenzo medici : > Hi > i work on an ubuntu system: > OS Name:Linux > OS Version: 2.6.32-042stab094.7 > Architecture: amd64 > > With tomcat Server > Server number: 7.0.26.0 https://wiki.apache.org/tomcat/FAQ/Linux_Unix#Q5 > JVM Version:1.7.0_72-b14 >

resources not more available after setting RemoteAddrValve

2015-04-06 Thread lorenzo medici
Hi i work on an ubuntu system: OS Name:Linux OS Version: 2.6.32-042stab094.7 Architecture: amd64 With tomcat Server Server number: 7.0.26.0 JVM Version:1.7.0_72-b14 After setting the RemoteAddrValve: Tomcat works but all resources will not be showed anymore. Withou

Better way to register a URLStreamHandlerService for JNDI from Tomcat 8

2015-04-06 Thread Thusitha Thilina Dayaratne
Hi, At the moment, I'm registering a URLStreamHandleerService for JNDI in OSGi BundleContext as follows. private static final String JNDI_PROTOCOL = "jndi"; Hashtable properties = new Hashtable(); properties.put(URLConstants.URL_HANDLER_PROTOCOL, new String[] { JNDI_PROTOCOL }); bundleCont

Re: Need configuration example for Tomcat 7.0.55 TLS configuration

2015-04-06 Thread Ognjen Blagojevic
Tom, On 5.4.2015 3:06, Tom Williamson wrote: I would like to know if anyone has a working example of getting TLS 1.2 working on Tomcat 7.0.55, so that it can be accessed by the latest version of Chrome and Firefox. Which version of Java do you use? Make sure it is Java 7 or 8, and if you alre