Re: Query on Tomcat Server.xml

2009-09-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bhuvanesh, On 9/7/2009 12:00 AM, Pattanashetti wrote: I wanted to create connector using tomcat Apis. Connector conn = new Connector(); conn.setPort(8070); service.addConnector(conn); This above code is working fine. I m able to access the

Re: Query on Tomcat Server.xml

2009-09-06 Thread Bhuvanesh Pattanashetti
Hello chris, Thanks for your suggestions, this is service injected spring dM(spring and OSGI combination). This is same service/ tag present in server.xml , injected by spingdM in object format(instance of ). SpringDm or Spring does not support connector for tomcat. I wanted to create connector

Re: Query on Tomcat Server.xml

2009-09-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bhuvan, On 9/2/2009 1:44 AM, Bhuvanesh Pattanashetti wrote: Thanks for your suggestion, I wanted only some part of tomcat to be customized.So it would be risky and time consuming if i override the whole part. I have reached some extent. i m

Re: Query on Tomcat Server.xml

2009-09-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bhuvan, On 8/31/2009 11:46 PM, Bhuvanesh Pattanashetti wrote: Hi, Even i have similar problem.. I wanted to create the connector/ element. At the time of tomcat start up using Tomcat's existing bootstrap classes rather than loading them using

Re: Query on Tomcat Server.xml

2009-09-01 Thread Bhuvanesh Pattanashetti
Thanks for your suggestion, I wanted only some part of tomcat to be customized.So it would be risky and time consuming if i override the whole part. I have reached some extent. i m using spring-DM running on tomcat. Spring-DM is able to inject the Service/ object my business class. I wanted to

RE: Query on Tomcat Server.xml

2009-08-31 Thread Caldarale, Charles R
From: Tk, Pramod (NSN - IN/Bangalore) [mailto:pramod...@nsn.com] Subject: Query on Tomcat Server.xml I presume this type of hardcoding in server.xml is security loop hole. Not really. If you don't put the password in server.xml, where are you going to put it? The server.xml file can have

Re: Query on Tomcat Server.xml

2009-08-31 Thread Mikolaj Rydzewski
Caldarale, Charles R wrote: Not really. If you don't put the password in server.xml, where are you going to put it? The server.xml file can have the same access constraints applied to it as any other location for the password. I think that OP wants Tomcat to read keystore during startup

Re: Query on Tomcat Server.xml

2009-08-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pramod, On 8/31/2009 7:19 AM, Tk, Pramod (NSN - IN/Bangalore) wrote: What I want to make is to remove keystorePass=X tag and give this keystore password when tomcat starts up. I think you'll have to write your own code that reads the

Re: Query on Tomcat Server.xml

2009-08-31 Thread Bhuvanesh Pattanashetti
Hi, Even i have similar problem.. I wanted to create the connector/ element. At the time of tomcat start up using Tomcat's existing bootstrap classes rather than loading them using sever.xml. I wanted to create a https connector. using Http11NioProtocol for the connector. Please let me know if