Showing posts with label connector server. Show all posts
Showing posts with label connector server. Show all posts

Invalid signature file digest for Manifest main attributes

Issue on Connector Server while starting.

C:\connector_server_java-1.5.0\bin>ConnectorServer.bat /run
Exception in thread "main" java.lang.SecurityException: Invalid signature file digest for Manifest main attributes
at sun.security.util.SignatureFileVerifier.processImpl(SignatureFileVerifier.java:317)
at sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier.java:259)
at java.util.jar.JarVerifier.processEntry(JarVerifier.java:323)
at java.util.jar.JarVerifier.update(JarVerifier.java:234)
at java.util.jar.JarInputStream.read(JarInputStream.java:212)
at java.util.zip.ZipInputStream.closeEntry(ZipInputStream.java:140)
at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:118)
at java.util.jar.JarInputStream.getNextEntry(JarInputStream.java:142)
at java.util.jar.JarInputStream.getNextJarEntry(JarInputStream.java:179)
at org.identityconnectors.framework.impl.api.local.LocalConnectorInfoManagerImpl.processURL(LocalConnectorInfoManagerImpl.java:199)
at org.identityconnectors.framework.impl.api.local.LocalConnectorInfoManagerImpl.expandBundles(LocalConnectorInfoManagerImpl.java:91)
at org.identityconnectors.framework.impl.api.local.LocalConnectorInfoManagerImpl.<init>(LocalConnectorInfoManagerImpl.java:72)
at org.identityconnectors.framework.impl.api.ConnectorInfoManagerFactoryImpl.getLocalManager(ConnectorInfoManagerFactoryImpl.java:81)
at org.identityconnectors.framework.server.impl.ConnectorServerImpl.start(ConnectorServerImpl.java:68)
at org.identityconnectors.framework.server.Main.run(Main.java:206)

Solution:
1) Check the folder structure of your connector server
2) Remove any other jars from bundles folder and keep only bundle jar in it.

In my case, somebody kept supporting jars as well in the same folder along with my bundle jar(org.identityconnectors.dbum-12.3.0.jar)



java.net.BindException: Address already in use: JVM_Bind

While Starting the Connector Server Seeing below mentioned error:

C:\connector_server_java-1.5.0\bin>ConnectorServer.bat /run
Exception in thread "main" org.identityconnectors.framework.common.exceptions.ConnectorException: java.net.BindException: Address already in use: JVM_Bind
        at org.identityconnectors.framework.common.exceptions.ConnectorException.wrap(ConnectorException.java:101)
        at org.identityconnectors.framework.server.impl.ConnectorServerImpl.createServerSocket(ConnectorServerImpl.java:103)
        at org.identityconnectors.framework.server.impl.ConnectorServerImpl.start(ConnectorServerImpl.java:71)
        at org.identityconnectors.framework.server.Main.run(Main.java:206)
        at org.identityconnectors.framework.server.Main.main(Main.java:110)
Caused by: java.net.BindException: Address already in use: JVM_Bind
        at java.net.DualStackPlainSocketImpl.bind0(Native Method)
        at java.net.DualStackPlainSocketImpl.socketBind(DualStackPlainSocketImpl.java:102)
        at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:513)
        at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:180)
        at java.net.ServerSocket.bind(ServerSocket.java:375)
        at java.net.ServerSocket.<init>(ServerSocket.java:237)
        at java.net.ServerSocket.<init>(ServerSocket.java:181)
        at javax.net.DefaultServerSocketFactory.createServerSocket(ServerSocketFactory.java:224)
        at org.identityconnectors.framework.server.impl.ConnectorServerImpl.createServerSocket(ConnectorServerImpl.java:89)



Solution:

1) Go to ConnectorServer.properties and check the port

2) there must be something running on the same port.

OR

3) your connector server is up and running

4) kill the process and restart the connector server.

Basic Perfomance Tuning For stuck threads and response times

Documentation for performance tuning: https://docs.oracle.com/en/middleware/fusion-middleware/12.2.1.4/asper/redundant-cross-references-remo...