Our installation is running Ebase 5.2.0 Build 20160817 with Apache Tomcat 8.2.20 and Java 1.8.0.141.
When we attempt to call a web service we get the following message:
"Error calling webservice : com.ebasetech.ws.core.cxf.client.CXFExceptionWrapper: Could not invoke service. java.lang.NullPointerException"
I assume we are missing a jar file of some kind from the installation.
Anyone got any pointers please.
Issue calling web services
Moderators: Jon, Steve, Ian, Dave
-
- Ebase User
- Posts: 201
- Joined: Fri Dec 20, 2013 1:29 pm
- Location: Dartford Borough Council
- Contact:
-
- Moderator
- Posts: 1342
- Joined: Wed Sep 12, 2007 12:49 pm
-
- Ebase User
- Posts: 201
- Joined: Fri Dec 20, 2013 1:29 pm
- Location: Dartford Borough Council
- Contact:
I have shutdown Tomcat removed the log files and restarted Tomcat and re-tried the Web Connector service which has the "Debug" field ticked, this produced the same onscreen error, but I cannot see anything in any of my log files.
The only file containing anything of interest is the catalina.log file:
19-Sep-2017 11:16:06.791 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version: Apache Tomcat/8.5.20
19-Sep-2017 11:16:06.792 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Aug 2 2017 21:35:49 UTC
19-Sep-2017 11:16:06.792 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number: 8.5.20.0
19-Sep-2017 11:16:06.792 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Windows Server 2012 R2
19-Sep-2017 11:16:06.792 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 6.3
19-Sep-2017 11:16:06.792 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64
19-Sep-2017 11:16:06.792 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: D:\Ebase\dbc-ebase-test\jre
19-Sep-2017 11:16:06.793 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 1.8.0_141-b15
19-Sep-2017 11:16:06.793 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Oracle Corporation
19-Sep-2017 11:16:06.793 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: D:\Ebase\dbc-ebase-test\UfsServer\tomcat
19-Sep-2017 11:16:06.793 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: D:\Ebase\dbc-ebase-test\UfsServer\tomcat
19-Sep-2017 11:16:06.793 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=D:\Ebase\dbc-ebase-test\UfsServer\tomcat
19-Sep-2017 11:16:06.793 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=D:\Ebase\dbc-ebase-test\UfsServer\tomcat
19-Sep-2017 11:16:06.793 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.endorsed.dirs=D:\Ebase\dbc-ebase-test\UfsServer\tomcat\endorsed
19-Sep-2017 11:16:06.793 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=D:\Ebase\dbc-ebase-test\UfsServer\tomcat\temp
19-Sep-2017 11:16:06.793 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
19-Sep-2017 11:16:06.793 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=D:\Ebase\dbc-ebase-test\UfsServer\tomcat\conf\logging.properties
19-Sep-2017 11:16:06.793 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xss2048k
19-Sep-2017 11:16:06.794 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:MaxPermSize=256m
19-Sep-2017 11:16:06.794 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djavax.net.ssl.trustStore=D:\Ebase\dbc-ebase-test\https\cacerts
19-Sep-2017 11:16:06.794 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dsun.security.ssl.allowUnsafeRenegotiation=true
19-Sep-2017 11:16:06.794 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: exit
19-Sep-2017 11:16:06.794 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xms1024m
19-Sep-2017 11:16:06.794 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xmx2048m
19-Sep-2017 11:16:06.794 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded APR based Apache Tomcat Native library [1.2.12] using APR version [1.5.2].
19-Sep-2017 11:16:06.794 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
19-Sep-2017 11:16:06.794 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
19-Sep-2017 11:16:07.738 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.0.2k 26 Jan 2017]
19-Sep-2017 11:16:08.744 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-3040"]
19-Sep-2017 11:16:08.948 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
19-Sep-2017 11:16:08.951 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8449"]
19-Sep-2017 11:16:08.956 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
19-Sep-2017 11:16:08.957 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 2819 ms
19-Sep-2017 11:16:08.990 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
19-Sep-2017 11:16:08.990 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.20
19-Sep-2017 11:16:09.005 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying configuration descriptor [D:\Ebase\dbc-ebase-test\UfsServer\tomcat\conf\Catalina\localhost\ufs.xml]
19-Sep-2017 11:16:16.843 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
19-Sep-2017 11:16:29.027 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of configuration descriptor [D:\Ebase\dbc-ebase-test\UfsServer\tomcat\conf\Catalina\localhost\ufs.xml] has finished in [20,023] ms
19-Sep-2017 11:16:29.187 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [D:\Ebase\dbc-ebase-test\UfsServer\tomcat\webapps\ebaseWS.war]
19-Sep-2017 11:16:31.139 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
19-Sep-2017 11:16:31.142 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [D:\Ebase\dbc-ebase-test\UfsServer\tomcat\webapps\ebaseWS.war] has finished in [1,955] ms
19-Sep-2017 11:16:31.188 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [D:\Ebase\dbc-ebase-test\UfsServer\tomcat\webapps\ROOT]
19-Sep-2017 11:16:33.412 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
19-Sep-2017 11:16:33.415 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [D:\Ebase\dbc-ebase-test\UfsServer\tomcat\webapps\ROOT] has finished in [2,227] ms
19-Sep-2017 11:16:33.426 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-3040"]
19-Sep-2017 11:16:33.436 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8449"]
19-Sep-2017 11:16:33.439 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 24479 ms
The only file containing anything of interest is the catalina.log file:
19-Sep-2017 11:16:06.791 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version: Apache Tomcat/8.5.20
19-Sep-2017 11:16:06.792 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Aug 2 2017 21:35:49 UTC
19-Sep-2017 11:16:06.792 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number: 8.5.20.0
19-Sep-2017 11:16:06.792 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Windows Server 2012 R2
19-Sep-2017 11:16:06.792 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 6.3
19-Sep-2017 11:16:06.792 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64
19-Sep-2017 11:16:06.792 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: D:\Ebase\dbc-ebase-test\jre
19-Sep-2017 11:16:06.793 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 1.8.0_141-b15
19-Sep-2017 11:16:06.793 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Oracle Corporation
19-Sep-2017 11:16:06.793 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: D:\Ebase\dbc-ebase-test\UfsServer\tomcat
19-Sep-2017 11:16:06.793 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: D:\Ebase\dbc-ebase-test\UfsServer\tomcat
19-Sep-2017 11:16:06.793 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=D:\Ebase\dbc-ebase-test\UfsServer\tomcat
19-Sep-2017 11:16:06.793 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=D:\Ebase\dbc-ebase-test\UfsServer\tomcat
19-Sep-2017 11:16:06.793 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.endorsed.dirs=D:\Ebase\dbc-ebase-test\UfsServer\tomcat\endorsed
19-Sep-2017 11:16:06.793 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=D:\Ebase\dbc-ebase-test\UfsServer\tomcat\temp
19-Sep-2017 11:16:06.793 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
19-Sep-2017 11:16:06.793 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=D:\Ebase\dbc-ebase-test\UfsServer\tomcat\conf\logging.properties
19-Sep-2017 11:16:06.793 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xss2048k
19-Sep-2017 11:16:06.794 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:MaxPermSize=256m
19-Sep-2017 11:16:06.794 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djavax.net.ssl.trustStore=D:\Ebase\dbc-ebase-test\https\cacerts
19-Sep-2017 11:16:06.794 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dsun.security.ssl.allowUnsafeRenegotiation=true
19-Sep-2017 11:16:06.794 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: exit
19-Sep-2017 11:16:06.794 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xms1024m
19-Sep-2017 11:16:06.794 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xmx2048m
19-Sep-2017 11:16:06.794 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded APR based Apache Tomcat Native library [1.2.12] using APR version [1.5.2].
19-Sep-2017 11:16:06.794 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
19-Sep-2017 11:16:06.794 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
19-Sep-2017 11:16:07.738 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.0.2k 26 Jan 2017]
19-Sep-2017 11:16:08.744 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-3040"]
19-Sep-2017 11:16:08.948 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
19-Sep-2017 11:16:08.951 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8449"]
19-Sep-2017 11:16:08.956 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
19-Sep-2017 11:16:08.957 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 2819 ms
19-Sep-2017 11:16:08.990 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
19-Sep-2017 11:16:08.990 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.20
19-Sep-2017 11:16:09.005 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying configuration descriptor [D:\Ebase\dbc-ebase-test\UfsServer\tomcat\conf\Catalina\localhost\ufs.xml]
19-Sep-2017 11:16:16.843 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
19-Sep-2017 11:16:29.027 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of configuration descriptor [D:\Ebase\dbc-ebase-test\UfsServer\tomcat\conf\Catalina\localhost\ufs.xml] has finished in [20,023] ms
19-Sep-2017 11:16:29.187 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [D:\Ebase\dbc-ebase-test\UfsServer\tomcat\webapps\ebaseWS.war]
19-Sep-2017 11:16:31.139 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
19-Sep-2017 11:16:31.142 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [D:\Ebase\dbc-ebase-test\UfsServer\tomcat\webapps\ebaseWS.war] has finished in [1,955] ms
19-Sep-2017 11:16:31.188 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [D:\Ebase\dbc-ebase-test\UfsServer\tomcat\webapps\ROOT]
19-Sep-2017 11:16:33.412 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
19-Sep-2017 11:16:33.415 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [D:\Ebase\dbc-ebase-test\UfsServer\tomcat\webapps\ROOT] has finished in [2,227] ms
19-Sep-2017 11:16:33.426 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-3040"]
19-Sep-2017 11:16:33.436 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8449"]
19-Sep-2017 11:16:33.439 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 24479 ms
0 x
-
- Ebase User
- Posts: 201
- Joined: Fri Dec 20, 2013 1:29 pm
- Location: Dartford Borough Council
- Contact:
-
- Moderator
- Posts: 416
- Joined: Fri Sep 07, 2007 3:44 pm
- Location: Sandy, UK
- Contact:
Hi Neil,
Can you send me the web service to:
support@ebasetech.com
I will take a look.
Kind regards
Steve Upton
Can you send me the web service to:
support@ebasetech.com
I will take a look.
Kind regards
Steve Upton
0 x
-
- Ebase User
- Posts: 201
- Joined: Fri Dec 20, 2013 1:29 pm
- Location: Dartford Borough Council
- Contact:
-
- Moderator
- Posts: 416
- Joined: Fri Sep 07, 2007 3:44 pm
- Location: Sandy, UK
- Contact:
-
- Ebase User
- Posts: 201
- Joined: Fri Dec 20, 2013 1:29 pm
- Location: Dartford Borough Council
- Contact:
-
- Ebase User
- Posts: 201
- Joined: Fri Dec 20, 2013 1:29 pm
- Location: Dartford Borough Council
- Contact:
Hi Steve,
I have been doing some more testing and found that the connection is very intermittent and fails most of the time.
I have installed SOAPUI onto my PC and the web service connection appears to work 100% of the time when tested using the SOAPUI tool.
If you need to connect onto our system in order to diagnose the issue, then please let me know, and I will give you the instructions.
The Ebase system is trying to communicate with our Idox Uniform system, I am not sure what the issue is but it only appears to be an issue from our Ebase installation.
Many thanks
Neil
I have been doing some more testing and found that the connection is very intermittent and fails most of the time.
I have installed SOAPUI onto my PC and the web service connection appears to work 100% of the time when tested using the SOAPUI tool.
If you need to connect onto our system in order to diagnose the issue, then please let me know, and I will give you the instructions.
The Ebase system is trying to communicate with our Idox Uniform system, I am not sure what the issue is but it only appears to be an issue from our Ebase installation.
Many thanks
Neil
0 x
-
- Moderator
- Posts: 416
- Joined: Fri Sep 07, 2007 3:44 pm
- Location: Sandy, UK
- Contact:
After doing some research I found an error in the Session Cookie code.
If you have the session cookie checkbox checked and run the test dialog, it throws a NullPointerException.
If you need the session cookie, then you need to run your test from within a form, otherwise you do lose any session cookie data between calls, so this is not really an applicable test.
Steve
If you have the session cookie checkbox checked and run the test dialog, it throws a NullPointerException.
If you need the session cookie, then you need to run your test from within a form, otherwise you do lose any session cookie data between calls, so this is not really an applicable test.
Steve
0 x
-
- Ebase User
- Posts: 201
- Joined: Fri Dec 20, 2013 1:29 pm
- Location: Dartford Borough Council
- Contact:
Who is online
Users browsing this forum: No registered users and 5 guests