Tambrea Cosmin wrote:
Hi,

I'm having some problems with running properly the app. The install works fine(no errors), the server runs succesfully, but in browser, i'm getting file replication failures in Job Status(for instance, when i try to add an attendant, in Job Status appears File replication: autoattendants.xml). Also, when i try to restart all the servers, the job status table is filled with a lots of file replication failures) and an error messages appears(Error performing operations on services from host).

I have tried to reinstall the app from sources(with directories INSTALL and BUILD deleted before the installation) and then run sipxecs-setup.sh. Also the db was cleaned before the installation. But all of this came with the same result.

>From logs, i believe it has something to do with XML-RPC communication.

I'm using java version 1.6.0_14.

java -version
java version "1.6.0_14"
Java(TM) SE Runtime Environment (build 1.6.0_14-b08)
Java HotSpot(TM) Server VM (build 14.0-b16, mixed mode)


Actually this happens because of SUN JDK update 14. It happened to me also today with the same virtual machine. Cosmin moved back to update 7 and there was no problem.
Looks like Open JDK is the way to go
Can you please help me?
 Cosmin.


Bellow you can see some screenshots from logs.
-----------------------------------------------------------------------------------------------------------------------------------------------------------
sipxsupervisor.log:

"2009-07-29T14:05:38.289173Z":869:SUPERVISOR:ERR:ctambrea-pc.itcnetworks.ro:SipxProcess-18:B67EBB90:Supervisor:"SipxProcess[ConfigServer]::commandOutput 'Avoiding obscuring previous error by supressing error encountered while ending request: org.apache.xmlrpc.XmlRpcClientException: Exception closing URLConnection'" "2009-07-29T14:05:38.513217Z":870:KERNEL:INFO:ctambrea-pc.itcnetworks.ro:HttpServer-2:B7BFFB90:Supervisor:"OsConnectionSocket::_[2] ((null), 6)" "2009-07-29T14:05:38.514169Z":871:KERNEL:ERR:ctambrea-pc.itcnetworks.ro:HttpServer-2:B7BFFB90:Supervisor:"OsSSLServerSocket SSL_accept - incompatible client?:\n SSL error: 1 'error:00000001:lib(0):func(0):reason(1)'"
"2009-07-29T14:05:38.514198Z":872:KERNEL:INFO:ctambrea-pc.itcnetworks.ro:HttpServer-2:B7BFFB90:Supervisor:"OsSSLConnectionSocket::close"
"2009-07-29T14:05:38.514254Z":873:KERNEL:INFO:ctambrea-pc.itcnetworks.ro:HttpServer-2:B7BFFB90:Supervisor:"OsConnectionSocket::~"
"2009-07-29T14:05:38.514685Z":874:KERNEL:INFO:ctambrea-pc.itcnetworks.ro:HttpServer-2:B7BFFB90:Supervisor:"OsConnectionSocket::_[2] ((null), 6)" "2009-07-29T14:05:38.515474Z":875:KERNEL:ERR:ctambrea-pc.itcnetworks.ro:HttpServer-2:B7BFFB90:Supervisor:"OsSSLServerSocket SSL_accept - incompatible client?:\n SSL error: 1 'error:00000001:lib(0):func(0):reason(1)'"
"2009-07-29T14:05:38.515501Z":876:KERNEL:INFO:ctambrea-pc.itcnetworks.ro:HttpServer-2:B7BFFB90:Supervisor:"OsSSLConnectionSocket::close"
"2009-07-29T14:05:38.515555Z":877:KERNEL:INFO:ctambrea-pc.itcnetworks.ro:HttpServer-2:B7BFFB90:Supervisor:"OsConnectionSocket::~"
"2009-07-29T14:05:38.515733Z":878:SUPERVISOR:ERR:ctambrea-pc.itcnetworks.ro:SipxProcess-18:B67EBB90:Supervisor:"SipxProcess[ConfigServer]::commandOutput 'Avoiding obscuring previous error by supressing error encountered while ending request: org.apache.xmlrpc.XmlRpcClientException: Exception closing URLConnection'" "2009-07-29T14:05:38.546607Z":879:KERNEL:INFO:ctambrea-pc.itcnetworks.ro:HttpServer-2:B7BFFB90:Supervisor:"OsConnectionSocket::_[2] ((null), 6)"

-----------------------------------------------------------------------------------------------------------------------------------------------------------
sipxconfig.log:

"2009-07-29T14:05:29.845000Z":6:JAVA:INFO:ctambrea-pc.itcnetworks.ro:main:00000000:DomainManagerImpl:"Attempting to load initial domain-config from /home/Cosmin/WORK/sipx/INSTALL/etc/sipxpbx):" "2009-07-29T14:05:30.224000Z":7:JAVA:INFO:ctambrea-pc.itcnetworks.ro:background:00000000:SipxReplicationContextImpl:"Start replication: File replication: domain-config" "2009-07-29T14:05:30.339000Z":8:JAVA:INFO:ctambrea-pc.itcnetworks.ro:background:00000000:XmlRpcClientInterceptor:"XML/RPC File.replace with [ctambrea-pc.itcnetwork..., /home/Cosmin/WORK/sipx..., 420, U0lQX0RPTUFJTl9OQU1FID...] on https://ctambrea-pc.itcnetworks.ro:8092/RPC2"; "2009-07-29T14:05:31.362000Z":9:JAVA:ERR:ctambrea-pc.itcnetworks.ro:background:00000000:XmlRpcClientInterceptor:"Exception in XML/RPC call" javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:190) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1611) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1574) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1557) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1146) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1123) at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:434) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:166) at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:896) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:230) at org.apache.xmlrpc.DefaultXmlRpcTransport.sendXmlRpc(DefaultXmlRpcTransport.java:83) at org.apache.xmlrpc.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:71)
    at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:193)
    at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:184)
at org.sipfoundry.sipxconfig.xmlrpc.XmlRpcClientInterceptor$1.call(XmlRpcClientInterceptor.java:119)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
    at sun.security.validator.PKIXValidator.<init>(PKIXValidator.java:59)
    at sun.security.validator.Validator.getInstance(Validator.java:161)
at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.getValidator(X509TrustManagerImpl.java:108) at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:204) at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:249) at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1014) at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:124) at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:516) at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:454) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:884) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1112) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1139)
    ... 15 more
Caused by: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty at java.security.cert.PKIXParameters.setTrustAnchors(PKIXParameters.java:183)
    at java.security.cert.PKIXParameters.<init>(PKIXParameters.java:103)
at java.security.cert.PKIXBuilderParameters.<init>(PKIXBuilderParameters.java:87)
    at sun.security.validator.PKIXValidator.<init>(PKIXValidator.java:57)
    ... 26 more
"2009-07-29T14:05:31.369000Z":10:JAVA:ERR:ctambrea-pc.itcnetworks.ro:background:00000000:ReplicationManagerImpl:"File replication failed: domain-config" org.sipfoundry.sipxconfig.xmlrpc.XmlRpcRemoteException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty at org.sipfoundry.sipxconfig.xmlrpc.XmlRpcClientInterceptor.invoke(XmlRpcClientInterceptor.java:83) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:203)
    at $Proxy48.replace(Unknown Source)
at org.sipfoundry.sipxconfig.admin.commserver.imdb.ReplicationManagerImpl.replicateFile(ReplicationManagerImpl.java:133) at org.sipfoundry.sipxconfig.admin.commserver.SipxReplicationContextImpl$2.replicate(SipxReplicationContextImpl.java:113) at org.sipfoundry.sipxconfig.admin.commserver.SipxReplicationContextImpl.doWithJob(SipxReplicationContextImpl.java:126) at org.sipfoundry.sipxconfig.admin.commserver.SipxReplicationContextImpl.replicateWorker(SipxReplicationContextImpl.java:117) at org.sipfoundry.sipxconfig.admin.commserver.SipxReplicationContextImpl.replicate(SipxReplicationContextImpl.java:94)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:139) at org.springframework.orm.hibernate3.HibernateInterceptor.invoke(HibernateInterceptor.java:104) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:203)
    at $Proxy8.replicate(Unknown Source)
at org.sipfoundry.sipxconfig.domain.DomainManagerImpl.replicateDomainConfig(DomainManagerImpl.java:86)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:139) at org.springframework.orm.hibernate3.HibernateInterceptor.invoke(HibernateInterceptor.java:104) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:203)
    at $Proxy6.replicateDomainConfig(Unknown Source)
at org.sipfoundry.sipxconfig.service.ServiceConfiguratorImpl.initLocations(ServiceConfiguratorImpl.java:171) at org.sipfoundry.sipxconfig.service.ServiceConfiguratorImpl.replicateAllServiceConfig(ServiceConfiguratorImpl.java:110)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:139) at org.sipfoundry.sipxconfig.common.BackgroundTaskInterceptor$InvocationTask.run(BackgroundTaskInterceptor.java:55) at org.sipfoundry.sipxconfig.common.BackgroundTaskQueue$Worker.run(BackgroundTaskQueue.java:102) Caused by: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty -----------------------------------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------

_______________________________________________
sipx-dev mailing list [email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
sipXecs IP PBX -- http://www.sipfoundry.org/

_______________________________________________
sipx-dev mailing list [email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
sipXecs IP PBX -- http://www.sipfoundry.org/

Reply via email to