This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Configuration | |
public class PropertiesConfugurer implements WebApplicationInitializer, ApplicationContextAware, | |
ApplicationContextInitializer<ConfigurableApplicationContext> { | |
private static final Logger logger = Logger.getLogger(XmlFormatter.class); | |
private static ApplicationContext context; | |
private static String relativePath; | |
@Override |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.*; | |
import java.lang.*; | |
class MultiThreadedFileRead extends Thread | |
{ | |
InputStream in; | |
MultiThreadedFileRead(String fname) throws Exception | |
{ | |
in=new FileInputStream(fname); | |
this.start(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
protoc --proto_path=F:\MyProjects\GRPC_Demo_MVN\src\main\java\main --java_out=F:\MyProjects\GRPC_Demo_MVN\src\main\java F:\MyProjects\GRPC_Demo_MVN\src\main\java\main\*.proto | |
protoc --grpc-java_out=lite:F:/MyProjects/GRPC_Demo_MVN/src/main/java --proto_path="F:/MyProjects/GRPC_Demo_MVN/src/main/java/main" "hello.proto" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Jetty/Certificate setup. | |
Use following command for import | |
keytool -import -keystore c:\Godiva\gdi\pos\res\ssl\.truststore -file xcenter-20140311.cer -alias xcentre-localhost | |
========================================================================================================================= | |
Perform the following procedure to create and deploy Self-Signed Certificates for Xcenter and | |
Xadmin. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Write proxy settings | |
npm config set proxy http://192.168.20.20:3128 | |
npm config set https-proxy http://192.168.20.20:3128 | |
Delete Proxy | |
npm config delete http-proxy | |
npm config delete https-proxy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://amit7oracledba.blogspot.com/2013/02/ora-01157-cannot-identifylock-data-file.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
create or replace | |
PROCEDURE ELR_XCN_EMP_IMPORT | |
AS | |
-- constants declaration | |
c_interface_name CONSTANT integrator.tbl_interface_inbound.iinb_object_type%TYPE := 'PersonnelEMEA'; | |
c_process_name CONSTANT el_intstpee.process_name%TYPE := 'ELR_XCN_EMP_IMPORT'; | |
-- constants for error type | |
c_middleware CONSTANT el_intstsee.job_err_type%TYPE := 'MIDDLEWARE'; | |
c_setup CONSTANT el_intstsee.job_err_type%TYPE := 'SETUP'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class WsFilter implements Filter { | |
private ApplicationContextProvider springContext; | |
private FilterConfig filterConfig; | |
private MessageFactory msgFactory = null; | |
private static final Logger logger_ = Logger.getLogger(WsFilter.class.getName()); | |
private static final Logger soap_logger = Logger.getLogger("soapLogger"); | |
@Autowired | |
private WsFilterHelper helper; |
OlderNewer