반응형
반응형
반응형
반응형
반응형

OS / JVM 환경변구 값 읽어오기.

public static void main( String[] args ) {
                System.out.println("OS 환경변수 값");
                System.getenv().entrySet().forEach(e -> {
                        System.out.println("\t" + e.getKey() + "=" + e.getValue());
                });
                // export java_test_value="TEST VAL"
                System.out.println("OS 환경변수 java_test_value 값 = " + System.getenv("java_test_value"));


                System.out.println("");
                System.out.println("JVM 환경변수 값");
                Properties props = System.getProperties();
                for(Enumeration en = props.propertyNames(); en.hasMoreElements();) {
                        String key = (String)en.nextElement();
                        String value = props.getProperty(key);
                        System.out.println("\t" + key + "=" + value);
                }
                System.out.println("JVM 환경변수 user.name값 = " + System.getProperty("user.name"));
                System.out.println("JVM 환경변수 user.test값 = " + System.getProperty("user.test", "user.test property is null."));
}

 

반응형

'프로그래밍 > Java' 카테고리의 다른 글

[JAVA] java.lang.UnsatisfiedLinkError: no net in java.library.path  (1) 2021.06.25
Too many open files  (2) 2021.06.14
[Spring Boot] log4jdbc 설정.  (1) 2020.01.16
Rabbit MQ 간단 사용.  (0) 2018.12.21
singleton 객체.  (0) 2018.12.06
반응형

해결책 : www.eclipse.org/m2e/documentation/m2e-execution-not-covered.html

 

M2Eclipse | Execution Not Covered

M2Eclipse 0.12 and earlier executed some parts of Maven build lifecycle inside Eclipse and then configured the Eclipse project based on after-execution state collected in MavenProject. This was controlled by many different sets of maven goals – goals whe

www.eclipse.org

 

환경설정 -> Maven -> Lifecycle Mapping

- Open workspace lifecycle mapping metadata  클릭.

xml 내용 추가.

<lifecycleMappingMetadata>
	<pluginExecutions>

		<!--
        에러가 발생하는 플러그인 위치를 작성한다.
		plugin
		 - groupId : org.codehaus.mojo
		 - artifactId : buildnumber-maven-plugin 
		   - execution
		     - goal : create-timestamp
		-->
		<pluginExecution>
			<pluginExecutionFilter>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>buildnumber-maven-plugin</artifactId>
				<versionRange>[1.0.0,)</versionRange>
				<goals>
					<goal>create-timestamp</goal>
				</goals>
			</pluginExecutionFilter>
			<action>
				<ignore />
			</action>
		</pluginExecution>
        
        ....
        
        <pluginExecution>
        ....
        </pluginExecution>
        
	</pluginExecutions>
</lifecycleMappingMetadata>

 

반응형

'프로그래밍' 카테고리의 다른 글

[git] error: src refspec master does not match any  (0) 2023.07.05
[JSTL] 조건식 eq, ne, empty  (0) 2016.12.07
인코딩  (0) 2014.03.24
[svn] 사용자 추가  (2) 2011.02.15
반응형

# 세션 레벨.(현재 세션 정보)
SELECT parameter, value FROM nls_session_parameters;
 - alter session set nls_XXX 로 변경 가능.

# 인스턴스 레벨.
SELECT PARAMETER, value FROM nls_instance_parameters;
 = SELECT name, VALUE FROM V$PARAMETER where name like '%nls%';

# DB 레벨.(설치시 정보 - 변경 불가)
SELECT parameter, value FROM nls_database_parameters;
= SELECT PARAMETER, VALUE FROM V$NLS_PARAMETERS;
= SELECT name, value$ FROM sys.props$ where name like '%NLS%';

set pagesize 30set linesize 300

column PARAMETER format a30
column VALUE format a30

column value$ format a30

반응형

'Database > Oracle' 카테고리의 다른 글

오라클 JOIN / ANSI JOIN  (0) 2022.02.03
JDBC 오류?? varchar 에 2000byte 이상 insert 하기.  (0) 2011.11.07
캐릭터셋 확인.  (0) 2011.10.20
오라클 구동 방법  (0) 2011.01.05
[Link] hierarchy query  (0) 2010.11.09
반응형

 

$ cd path/to/your/php/code

$ php -S localhost:8000

 

반응형

'프로그래밍 > PHP' 카테고리의 다른 글

이모지 제거.  (0) 2017.01.09
세션 관리. session id 가 계속 갱신되는 문제.  (0) 2016.03.10
[error] date_default_timezone_set()  (0) 2012.12.11
short_open_tag 설정.  (0) 2012.08.07
파일 업로드.  (0) 2012.07.11

+ Recent posts