How to enable https for a single webapp in tomcat 5.5 ?
Hi ,
I want to enable https for my web app in Tomcat 5.5(with JDK 1.5, in WinXP) without affecting other webapps running in the same server . Any idea how to do it ? Pl. note , I dont want to make the entire tomcat as SSL enabled.
Regards
Diana
You specify SSL in web.xml of your application. So, in that case other web applications in same server would not be affected.
<security-constraint>
<web-resource-collection>
<web-resource-name>myresources</web-resource-name>
<url-pattern>/*</url-pattern>
</web-resource-collection>
<user-data-constraint>
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
</user-data-constraint>
</security-constraint>Following link will help you to setup SSL in tomcat:
[http://techtracer.com/2007/09/12/setting-up-ssl-on-tomcat-in-3-easy-steps/|http://techtracer.com/2007/09/12/setting-up-ssl-on-tomcat-in-3-easy-steps/]
Thanks,
Mrityunjoy
Similar Messages
-
How to enable cookies for a single web page or site?
How do I enable cookies for just one site or web page, without enabling cookies for ever site?
They should be enabled out-of-the-box, but it's worth checking.
Gingerbread: Menu > More > Settings > "Privacy & Security" section
On newer versions of Android, the menu may be organized differently, but hopefully you can still find Settings. -
Enabling https for SOAP adapter
Hello all,
Can anyone suggest how to enable https for SOAP adapter in PI system?
Thank You,
Regards,
HasanHi Hasan,
CHeck the blog :/people/rahul.nawale2/blog/2006/05/31/how-to-use-client-authentication-with-soap-adapter which guides you clearly
Also check SAP Note#891877 for reference.
Thanks and Regards,
Naveen -
How do i enable HTTPS for website.
Hello colleagues,
I want to enable HTTPS for website.for
CRM 7.0 Image server.
Please tell me the way of doing this.
thanks in advance
AtulRead,
http://help.sap.com/saphelp_nw04/helpdata/en/65/6a563cef658a06e10000000a11405a/frameset.htm
Regards
Juan -
How to disable iMessage for a single contact?
Hello apple communites, I have a simple and hopefully simple to answer question..
I am curious as to how to disable iMessaging for a single contact. My sister when she got her phone number originally had an iPhone, she has since gotten an android and kept the same phone number. However I am running into issues with text messages to her, my phone still thinks she has an iPhone and continues to send every text as an iMessage, resulting in a failed message. I can easily hit the "send again as a text message" option and the message/picture sends as normal. I however find this a bit fustrating, and have tried everything I can think of to attempt to disable this. However all the online tutorials I can find regarding disabling iMessage turns the feature off completly, I don't wish to do that.
I have attempted to completely delete, (including all existing all texts and call history), and then re-add the contact, but that does not work either, my iPhone still attempts to send messages to my sister as an iMessge. Any help, if any, would be appreciated. Thanks in advance.Your sister needs to disable iMessage on her iPhone if the iPhone is still available if she hasn't already done so.
If she has, does she have iMessage enabled with the same Apple ID on another iOS device or on a Mac as was used to activate iMessage on her iPhone? -
How to enable GUI for a Cisco 1841?
How to enable GUI for a Cisco 1841?
Hi,
install SDM or CCP on your PC then on the router :
en
conf t
ip dhcp excluded-address 192.168.1.254
ip dhcp pool MYPOOL
network 192.168.1.0 255.255.255.0
default-router 192.168.1.254
ip http server
ip http authentication local
username xxx privilege 15 secret xxxx
int f0/0
ip address 192.168.1.254 255.255.255.0
no shutdown
Regards.
Alain. -
WebService Client - how to enable HTTP Compression
Hi
I have written a simple WebService Client. The WebService expects that the WebService clients enable HTTP compression. This is the exact text from the docs:-
""1. Client should be HTTP Compression enabled
HTTP Compression had been made mandatory for API�s. Thus API�s client should
include �Accept-Encoding: zip� header as part of request and should be able to
handle compressed data. Please note that system will send an error message if client
are not http compression enabled saying client should be compression enabled."
I do not know how to enable HTTP compression in the WebService Client. The method called is "GetInstantaneousFlowData". It accepts no arguments and returns xsd:datetime.
The wsdl can be found at:-
http://energywatch.natgrid.co.uk/EDP-PublicUI/PublicPI/InstantaneousFlowWebService.asmx?WSDL
Can someone please help :-
import javax.xml.rpc.ServiceFactory;
import javax.xml.rpc.Service;
import javax.xml.rpc.Call;
import javax.xml.rpc.ParameterMode;
import javax.xml.namespace.QName;
import java.util.Calendar;
public class TestNGPubTime4 {
public static void main(String[] args) throws Exception {
// Setup the global JAX-RPC service factory
System.setProperty( "javax.xml.rpc.ServiceFactory", "weblogic.webservice.core.rpc.ServiceFactoryImpl");
// create service factory
ServiceFactory factory = ServiceFactory.newInstance();
// define qnames
String targetNamespace = "http://www.NationalGrid.com/EDP/BusinessEntities/Public/";
QName serviceName = new QName(targetNamespace, "InstantaneousFlowWebService");
QName portName = new QName(targetNamespace, "InstantaneousFlowWebServiceSoap");
QName operationName = new QName("http://www.NationalGrid.com/EDP/UI/GetInstantaneousFlowData",
"GetLatestPublicationTime");
// create service
Service service = factory.createService(serviceName);
// create call
Call call = service.createCall();
// set port and operation name
call.setPortTypeName(portName);
call.setOperationName(operationName); // add parameters
call.setProperty(Call.SOAPACTION_USE_PROPERTY, Boolean.TRUE);
call.setProperty(Call.SOAPACTION_URI_PROPERTY, "http://www.NationalGrid.com/EDP/UI/GetInstantaneousFlowData");
// call.setProperty(Call.ENCODINGSTYLE_URI_PROPERTY, "http://schemas.xmlsoap.org/soap/encoding/");
call.setReturnType(new QName( "http://www.w3.org/2001/XMLSchema","datetime") );
// set end point address : soap address location
call.setTargetEndpointAddress("http://energywatch.natgrid.co.uk/EDP-PublicUI/PublicPI/InstantaneousFlowWebService.asmx");
// invoke the remote web service
Calendar result = (Calendar) call.invoke(new Object[] {});
System.out.println("result=" + result);
}Rishika,
Thanks for your reply.
Could I get clariffication on some more thing?
I am using Axis 1.4 version. And I am able to implement the gzip while doing the following steps.
1) Change the pivote value to CommonsHTTpSender.
<transport name="http" pivot="java:org.apache.axis.transport.http.CommonsHTTPSender"/>
2) public class RetreiveReservationsSOAPBindingStubLocal extends RetreiveReservationsSOAPBindingStub.
I Override the method to support GZIP.
org.apache.axis.client.Call _call = super.createCall();
call.setOperation(operations[0]);
_call.setUseSOAPAction(true);
_call.setSOAPActionURI("retreiveReservations");
_call.setEncodingStyle(null);
call.setProperty(org.apache.axis.client.Call.SENDTYPE_ATTR, Boolean.FALSE);
call.setProperty(org.apache.axis.AxisEngine.PROPDOMULTIREFS, Boolean.FALSE);
call.setProperty(HTTPConstants.MCACCEPT_GZIP, Boolean.TRUE);
call.setProperty(HTTPConstants.MCGZIP_REQUEST, Boolean.TRUE);
call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11CONSTANTS);
_call.setOperationName(new javax.xml.namespace.QName("", "retreiveReservations"));
super.setRequestHeaders(_call);
super.setAttachments(_call);
Object resp = call.invoke(new Object[] {retreiveReservationsRequest});
I am able to send and receive the request and response in gzip encoded format.
Now my clarrification is,
Is it possible to set the piote value to CommonsHTTPSender for the transport http through my code?
How could I set the values from code?
Reason is, I don't want to manually edit the axis 1.4's client-config.wsdd
Since this is very critical thing, please please help me.
Thanks in advance.
Regards,
Nishad Ponery -
How to enable SSL for policy service?
Hi all,
My application is using SunONE's C API to communicate with the Identity Server.
In order to enable SSL, I have changed the following lines in amconfig.properties:
com.sun.am.namingURL = https://id01.core.development.net:443/amserver/namingservice
com.sun.am.policy.am.loginURL = https://id01.core.development.net:443/amserver/UI/Login
com.sun.am.policy.am.library.loginURL = https://id01.core.development.net:443/amserver/UI/Login
After operating these changes, everything continued to work fine...but then, I checked with a network sniffer what data is being sent to IS:
- The login and naming data were over SSL
- Policy and session items were plain HTTP
My questions are:
1. How to enable SSL for policy evaluation requests?
2. How to enable SSL for sessionservice requests?
3. What are the changes required on the server/client?
Many thanks,
DanThere might a better different forum for this question.
-
How to enable logging for the Web Proxy
Hi,
Does anyone know how to enable logging for the Web Proxy feature under "Web" in Server Admin?Aren't the web proxy hits logged in the standard apache logs? /var/log/httpd/access_log
-
Enabling HTTPS for gatewayed requests
Hi,
We wanted to find out if there is a way we can enable HTTPS for ALUI portal based on the URL pattern for the gatewayed requests. For example, the two links below have a different ending URL pattern "ABC" vs "DEF". Can we enable HTTPS for only the requests that end with "DEF"?
http://<HOST_NAME>/portal/server.pt/gateway/PTARGS_0_3159_12576_1962_0_43/<HOST_NAME>/<APP1_NAME>/a.htm?action=onLoadABC
http://<HOST_NAME>/portal/server.pt/gateway/PTARGS_0_3159_12576_1962_0_43/<HOST_NAME>/<APP2_NAME>/a.htm?action=onLoadDEF
Thanks.This is a kind of workaround.
You can try to add your https url (or better some pattern) under "HTTP Configuration", this mean that only url's matched to this pattern will be protected. Then in your source code using transformURL function point to protected resource, this should solve your question. -
How to enable HTTPS Port in abap system
Hello All,
Hope all are doing great,can any one please tell me the procedure step by step how can i enable https port in my only abap system,is it required to enable ssl also for this?..
Regards,
SyedHi,
For enabling the HTTPS port you need to do alot many things
At first change the para meters in Rz10
icm/server_port_0 - PROT=HTTPS, PORT=1443, TIMEOUT=900
icm/HTTPS/verify_client - 1
ms/server_port_0 - PROT=HTTPS, PORT=1443
SE80 - Utilities > Settings > Internet Transaction Sevrer = HTTPS
and also check SMICM under Services HTTPS is not showing as Active
and still if you are facing any issue with the port check with the network team/firewall team whether any port is being blocked on the network/firewall.
Regards
Mohammed nizam -
What is CMSS? and how to use it
The following information are abstracted from our Knowledgebase on CMSS. Please check the case relevant to your sound card below. You can also access the article on directly from the URL below. Knowledgebase article
How to enable CMSS in Creative MediaSource for Sound Blaster Audigy LS series
Go Start, All Programs, Creative, Creative MediaSource, and click on the Creative MediaSource Player or the Creative MediaSource Organizer.
Click on the EAX button to enable EAX. The button should now be highlighted in green.
Next, click on the little buttons next to the EAX button, which will bring up the Creative EAX Console.
In the EAX Console, check the CMSS 3D tab, then check the box next to Enable CMSS 3D.
Select ether CMSS or Stereo Surround and close the EAX Console.
You can also open the EAX Console by clicking Start, All Programs, Creative Audigy LS, EAX Console.
How to turn CMSS on and off with the Sound Blaster Extigy?
Using Remote Center: Press the CMSS button to toggle on and off. Ensure that speaker settings are set to 4., 5. or Auto.
Using Play Center: In the Play Center mini-view, expand the right hand panel and click on CMSS. Choose On or Off. Ensure that speaker settings are at 4., 5. or Auto.
Message Edited by Jason-CL on 04-2-2007 2:07 PM
Admin notes: Updated the links - KokChoy
Message Edited by KokChoy-CL on 06-27-2008 04:18 PMSound Blaster X-Fi - Enabling Creative Multispeaker Surround (CMSS)
The following information are abstracted from our Knowledgebase on CMSS. Please check the case relevant to your sound card below. You can also access the article on directly from the URL below.
Knowledgebase article SID4788
If you are listening to stereo content like MP3's or CD's and you would like the sound to be played over your surround sound speaker system, you can enable CMSS 3D on your X-Fi card. If you are playing computer games, the X-Fi's Virtual 3D via CMSS gives a highly realistic surround sound over headphones.
It is important to remember that if you do wish to play a 5. encoded file like Dolby or DTS soundtracks, you will need to turn CMSS off. Otherwise you might not receive each discreet channel.
Please select the mode: (More information about changing the Mode).
Entertainment mode
In Entertainment mode, select the 3D button.
http://www.ask.asia.creative.com/wwimages/audio_int/xfi/xfi_cmss_entertainment.JPG
http://www.ask.asia.creative.com/wwimages/audio_int/xfi/xfi_cmss_entertainment2.JPG
http://www.ask.asia.creative.com/wwi...rtainment2.JPG
Game mode
Click the CMSS-3D tab on the left side of the Game Mode console.
Tick the Enable CMSS-3DVirtual option .
http://www.ask.asia.creative.com/wwimages/audio_int/xfi/xfi_gamemode_eq.jpg
Note: CMSS is not supported in Music Creation mode.
Message Edited by KokChoy-CL on 07-04-2008 04:28 PM -
How to enable logging for mail.app in Mountain Lion
I am at my wits end trying to figure this out....
Does anyone have a clue how to enable the logging for mail.app under Mountain Lion?
In the past, you could open up Console and click on Console.log and see the logging of mail. Under mountain Lion, there is no more console.log. I cannot figure out how to enable it.
I have tried to run the AppleScript of "Turn On Logging" but the script errors out under Mountain Lion.
Does anyone know how to do this or a better way, maybe a tool or something that can help you troubleshoot mail.app issues?
Thanks in advancedHello,
I have a similar problem. The script "Turn on Logging.scpt" runs without error, but I do not see any socket logging. I only get two messages, which I also get when I start mail without the script by just clicking the mail.app icon in the dock. The Messages are:
1/10/13 3:43:32.618 PM Mail[11276]: Using V2 Layout
1/10/13 3:43:36.388 PM Mail[11276]: *** -[IADomainCache init]: IA domains cache is out of date.
Any help would be appreciated -
Enabling log4j for a single class or package
hi all
If i use log4j for logging in my classes,
is there a way for enabling it just for a single class or a packages?
Considers that i use log4j.properties for configure it
Regards
GiovanniTwo things. Firstly, it's better to use private static final Object classLock = new Object();because that saves you worrying about whether any other code synchronises on it. Secondly, if you do decide to go for the delegation route then java.lang.reflect.Proxy may be a good way forward.
-
How to enable history for settypes?
Hi,
We are using few custom settypes in our project and want to track any changes made to their attributes.
I can see two tables created for each settype, one of which ends with 'H', which is a history table.
But this table is always blank, even if i make any changes to the settype attributes. How can I enable history for settypes? Any idea?
Regards,
Vikrant.there is one xml or .dat file which your Basis team would be having, which need to be placed in the directory where your GUI is installed... without which nothing can be done after these many trials on options provided.
some ppl know it as sticky memory too... search for OSS or in sap support..
Re: History gets disbaled with SAP GUI 7.10 Patch 11
Edited by: Jay Sadaram on Dec 4, 2009 1:59 AM
Maybe you are looking for
-
How to make manager approve more than one request in one time in SSHR
Dear All, Anyone has an idea on how to make manager approver more than one request in one time in SSHR?? for example, manager is having 20 requests to approve on Change Pay Function, he don't want to check one by one and approve it, he want to approv
-
How To Change Existing Bussiness System in SLD
hi experts, how can a new SWC add to an existing business System. Plz tell me how to assign Message Interface to business Systems. thanks in advance nikhil bos
-
These both not returning same number, am i missing anything, I would like change the first query to write in other format, because i have lot of and conditions like this. I have given only one as example. -- Original query ; working SELECT COUNT(*) F
-
10g adftable:column CSS Style question
I am trying to left justify the author column in this adf:table but I cannot get it to work. The styleClass does not appear to work for it. I have looked into skinning but because the styleClass is not being applied I can't get it to work for this si
-
i tried to update my 4s to ios 7 but its stuck , now my phoen screen showing the page ask me connect to itunes when i on my phone, however i cant connected my phone to itune even i tried few times , its wanst show that i can sync to my itune. and i c