질문글래스 피시 연결 풀은 다시 시작 서버 후 작동하지 않습니다
내가 SQLSERVER 2008 Express에 연결하는 글래스 피쉬 3.1 연결 풀을이 변경됨,이 풀은 잘 작동하지만 글래스 피시를 다시 시작할 때, 연결 풀 핑 (ping) 할 수 없으며 작동을 멈 춥니 다. 다시 작업하기 위해이 화면에서 볼 수 있듯이 구성 -> 추가 등록 정보를 풀링하고 호스트 이름 (예 : localhost를 127.0.0.1)으로 변경합니다.
내 응용 프로그램이 서버를 다시 시작하기 전에 배포 될 때이 문제가 발생하는 것을 보았습니다 ... 내 응용 프로그램이 배포되지 않은 상태에서 서버를 다시 시작하면 풀에 ping을 시도 할 때 아무런 문제가 발생하지 않습니다. 이 암호는 메일 서버에 연결하는 데 잘 살고 있지 않을 때 발생하기 때문에
인가 ...,
[#|2012-06-22T17:24:48.979-0300|WARNING|null|null|_ThreadID=1;_ThreadName=Thread-2;|Record begin marker is not a proper value so using default.|#]
[#|2012-06-22T17:24:48.979-0300|WARNING|null|null|_ThreadID=1;_ThreadName=Thread-2;|Record end marker is not a proper value so using default.|#]
[#|2012-06-22T17:24:48.979-0300|WARNING|null|null|_ThreadID=1;_ThreadName=Thread-2;|Log Format field separator is not a character so using default.|#]
[#|2012-06-22T17:25:20.080-0300|WARNING|glassfish3.1.1|org.eclipse.persistence.session.file:/home/hudson/projetos/ERP-HM/modulos-web/erp-web/target/erp-web-0.1.0/WEB-INF/lib/persistencia-erp-0.1.0.jar_erpPU.ejb_or_metadata|_ThreadID=17;_ThreadName=Thread-2;|You have specified multiple ids for the entity class [com.hrgi.persistencia.erp.entidades.Composicao] without specifying an @IdClass. By doing this you may lose the ability to find by identity, distributed cache support etc. Note: You may however use entity manager find operations by passing a list of primary key fields. Else, you will have to use JPQL queries to read your entities. For other id options see @PrimaryKey.|#]
[#|2012-06-22T17:25:41.769-0300|WARNING|glassfish3.1.1|org.springframework.beans.GenericTypeAwarePropertyDescriptor|_ThreadID=17;_ThreadName=Thread-2;|Invalid JavaBean property 'armazenador' being accessed! Ambiguous write methods found next to actually used [public void com.hrgi.persistencia.nfe.controladores.ControladorArmazenamentoEmitenteNFe.setArmazenador(com.hrgi.persistencia.nfe.dao.interfaces.IEmitenteDao)]: [public void com.hrgi.persistencia.controladores.ControladorArmazenamento.setArmazenador(com.hrgi.persistencia.dao.IArmazenadorDao)]|#]
[#|2012-06-22T17:25:49.734-0300|WARNING|glassfish3.1.1|org.eclipse.persistence.session.file:/home/hudson/projetos/ERP-HM/modulos-web/erp-web/target/erp-web-0.1.0/WEB-INF/lib/persistencia-erp-0.1.0.jar_erpPU.server|_ThreadID=17;_ThreadName=Thread-2;|Multiple [2] JMX MBeanServer instances exist, we will use the server at index [0] : [[email protected]].|#]
[#|2012-06-22T17:25:49.737-0300|WARNING|glassfish3.1.1|org.eclipse.persistence.session.file:/home/hudson/projetos/ERP-HM/modulos-web/erp-web/target/erp-web-0.1.0/WEB-INF/lib/persistencia-erp-0.1.0.jar_erpPU.server|_ThreadID=17;_ThreadName=Thread-2;|JMX MBeanServer in use: [[email protected]] from index [0] |#]
[#|2012-06-22T17:25:49.740-0300|WARNING|glassfish3.1.1|org.eclipse.persistence.session.file:/home/hudson/projetos/ERP-HM/modulos-web/erp-web/target/erp-web-0.1.0/WEB-INF/lib/persistencia-erp-0.1.0.jar_erpPU.server|_ThreadID=17;_ThreadName=Thread-2;|JMX MBeanServer in use: [[email protected]] from index [1] |#]
[#|2012-06-22T17:25:52.457-0300|INFO|glassfish3.1.1|org.apache.myfaces.webapp.WebConfigParamsLogger|_ThreadID=17;_ThreadName=Thread-2;|No context init parameter 'org.apache.myfaces.ERROR_HANDLER' found.|#]
[#|2012-06-22T17:25:52.474-0300|INFO|glassfish3.1.1|org.apache.myfaces.webapp.WebConfigParamsLogger|_ThreadID=17;_ThreadName=Thread-2;|No context init parameter 'org.apache.myfaces.ERROR_TEMPLATE_RESOURCE' found, using default value 'META-INF/rsc/myfaces-dev-error.xml'.|#]
내가 javax.mail.MessagingException을 supressed : 로그 파일을 보면, 나는 배치에서 이러한 경고를 볼 수 있습니다 거기 에이 문제가 발생하는 내 응용 프로그램에서 뭔가 잘못 ?? 내가 처음 C 확인할 것
Mmhh이 extrange 이잖아
질문을 올바르게 읽습니까? 서버를 다시 시작하는 동안 풀 구성이 127.0.0.1에서 localhost로 변경됩니까? –
아니요. 다시 시작한 후에도 구성이 변경되지 않습니다. 풀은 단순히 호스트와 작동하지 않습니다. 그래서 나는 수동으로 127.0.0.1에서 localhost로 풀 설정을 변경하고 작동합니다 ... – brevleq
미안하지만, 그것을 얻지는 못합니다 ;-) localhost를 사용하지 않는 이유는 무엇입니까? 연결 풀은 어떻게 구성됩니까? 응용 프로그램과 함께 배포되는지 또는 수동으로 구성 했습니까? –