websphere-6.1

How to set up Apache CXF client to use WebSphere truststore? (Receiving “No trusted certificate found” exception.)

房东的猫 提交于 2019-11-30 13:18:15
问题 First, I'll start with a summary. I'm using an Apache CXF client to communicate over SSL with an Apache CXF service provider that is using a self-signed certificate. I imported the certificate into the WebSphere truststore on the client server, but I still receive a "javax.net.ssl.SSLHandshakeException: SSLHandshakeException invoking https://somesvcprovider.com/appname/svc/myservice: com.ibm.jsse2.util.h: No trusted certificate found" exception. Now, here's the details: I have an Apache CXF

What is the difference between an EAR file and a “WebSphere Enhanced EAR”?

别说谁变了你拦得住时间么 提交于 2019-11-29 11:13:01
Supposing that I have a standard EAR file (and the source files that were used to generated it,) what additional processing needs to be done to convert it to an IBM WebSphere "Enhanced EAR"? Another way to ask this question would be to ask, "What is the difference between an Enhanced EAR and a standard EAR?" I'm very aware that there is tooling in the Rational development tools (RAD and RSA.) But, for the purpose of this question, I need to accomplish the same task in an automated build (via either Ant or Maven.) Another way to ask this question would be to ask, "What is the difference between

What is the difference between an EAR file and a “WebSphere Enhanced EAR”?

寵の児 提交于 2019-11-28 05:12:15
问题 Supposing that I have a standard EAR file (and the source files that were used to generated it,) what additional processing needs to be done to convert it to an IBM WebSphere "Enhanced EAR"? Another way to ask this question would be to ask, "What is the difference between an Enhanced EAR and a standard EAR?" I'm very aware that there is tooling in the Rational development tools (RAD and RSA.) But, for the purpose of this question, I need to accomplish the same task in an automated build (via

How to access authentication alias from EJB deployed to Websphere 6.1

限于喜欢 提交于 2019-11-27 15:39:11
I need to provide password for keystore in my EJB but I don't want it to be visible to developers. My idea was to create Authentication Alias in Websphere Console and later lookup for MY_ALIAS and obtain password from alias. I found some discussion related to subject at: http://www.coderanch.com/t/79439/Websphere/Authentication-Data Do anybody knows can alias be lookuped? What is your suggested method to achieve my goal? Thank you very much! You can use the following code to obtain credentials from J2C authentication data entry: import com.ibm.wsspi.security.auth.callback.Constants; import com

how to set java class loader PARENT_LAST

岁酱吖の 提交于 2019-11-27 12:55:26
i have a spring mvc web application that I need to change the class loader on. I need to change the class loader to be equal to PARENT_LAST. I am using WAS 6.1 and already have a jacl script from a previous web application I can copy to do the job. In the last application Apache ant was used and what they did was to make the deploy dependent on running the jacl script. In my new web application I am using maven install to create a war file and am deploying that war file to my application server. How can I set the class loader to be PARENT_LAST using maven? I know how to do it in the console

How to access authentication alias from EJB deployed to Websphere 6.1

不羁的心 提交于 2019-11-26 17:15:12
问题 I need to provide password for keystore in my EJB but I don't want it to be visible to developers. My idea was to create Authentication Alias in Websphere Console and later lookup for MY_ALIAS and obtain password from alias. I found some discussion related to subject at: http://www.coderanch.com/t/79439/Websphere/Authentication-Data Do anybody knows can alias be lookuped? What is your suggested method to achieve my goal? Thank you very much! 回答1: You can use the following code to obtain

how to set java class loader PARENT_LAST

不想你离开。 提交于 2019-11-26 16:09:13
问题 i have a spring mvc web application that I need to change the class loader on. I need to change the class loader to be equal to PARENT_LAST. I am using WAS 6.1 and already have a jacl script from a previous web application I can copy to do the job. In the last application Apache ant was used and what they did was to make the deploy dependent on running the jacl script. In my new web application I am using maven install to create a war file and am deploying that war file to my application