ColdFusion 10 suddenly not loading - coldfusion

I came home from work tonight to do some development but I noticed that my application wasn't loading so then tried to access the CF administrator but this also won't load.
I've checked and all ColdFusion services say they are running and I've even uninstalled and re-installed CF10 but with no luck!
The colfusion-error log has the following in it:
Jul 01, 2013 9:31:44 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\\ColdFusion10\\cfusion\lib;C:\\ColdFusion10\\cfusion\jintegra\bin;C:\\ColdFusion10\\cfusion\jintegra\bin\international;C:\\ColdFusion10\\cfusion\lib\oosdk\classes\win
Jul 01, 2013 9:32:01 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8500"]
Jul 01, 2013 9:32:01 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8012"]
Jul 01, 2013 9:32:01 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Jul 01, 2013 9:32:01 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.23
Jul 01, 2013 9:35:12 PM org.apache.catalina.util.SessionIdGenerator createSecureRandom
INFO: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [188,567] milliseconds.
Jul 01, 2013 9:35:30 PM org.apache.catalina.core.ApplicationContext log
INFO: ColdFusionStartUpServlet: ColdFusion: Starting application services
Jul 01, 2013 9:35:30 PM org.apache.catalina.core.ApplicationContext log
INFO: ColdFusionStartUpServlet: ColdFusion: VM version = 23.7-b01
And the coldfusion-out log has the following:
01/07 21:35:29 INFO License Service: Flex 1.5 CF Edition enabled
01/07 21:35:29 INFO Starting Flex 1.5 CF Edition
Jul 1, 2013 21:35:30 PM Information [pool-2-thread-1] - Starting logging...
Jul 1, 2013 21:35:30 PM Information [pool-2-thread-1] - Starting license...
My last Java update was on 20/07 so it's nothing to do with that and I don't know of anything else that will have changed since yesterday.
Does anyone have any suggestions?

Related

Artifactory : automation with packer and AWS

I am looking for a way to automate Artifactory deployment on AWS with packer.
I want a simple configuration :
AWS ALB + [ASG:just 1 EC2] Artifactory + EFS for Blob + AWS RDS PostgreSQL
I wrote Terraform and infrastructure is setup working properly
I build Artifactory AMI with packer easily (I build from RPM
installation
In AWS userdata :
I update blob path /var/opt/jfrog/artifactory/data to point AWS EFS
I would like to change db from derby to Postgre, following this url : https://www.jfrog.com/confluence/display/RTF/PostgreSQL
I adjust $ARTIFACTORY_HOME/etc/db.properties and download the JDBC driver corresponding to your PostgreSQL.
Everything is OK, Artifactory detect new empty database, create object ... but Artifactory do not start. I have and error with master.key : here is my catalina.out :
Jul 26, 2018 2:00:17 PM org.apache.coyote.AbstractProtocol init INFO:
Initializing ProtocolHandler ["http-nio-8081"] Jul 26, 2018 2:00:17 PM
org.apache.tomcat.util.net.NioSelectorPool getSharedSelector INFO:
Using a shared selector for servlet write/read Jul 26, 2018 2:00:17 PM
org.apache.coyote.AbstractProtocol init INFO: Initializing
ProtocolHandler ["http-nio-8040"] Jul 26, 2018 2:00:17 PM
org.apache.tomcat.util.net.NioSelectorPool getSharedSelector INFO:
Using a shared selector for servlet write/read Jul 26, 2018 2:00:17 PM
org.apache.coyote.AbstractProtocol init INFO: Initializing
ProtocolHandler ["ajp-nio-8019"] Jul 26, 2018 2:00:17 PM
org.apache.tomcat.util.net.NioSelectorPool getSharedSelector INFO:
Using a shared selector for servlet write/read Jul 26, 2018 2:00:17 PM
org.apache.catalina.core.StandardService startInternal INFO: Starting
service [Catalina] Jul 26, 2018 2:00:17 PM
org.apache.catalina.core.StandardEngine startInternal INFO: Starting
Servlet Engine: Apache Tomcat/8.5.23 Jul 26, 2018 2:00:17 PM
org.apache.catalina.startup.HostConfig deployDescriptor INFO:
Deploying configuration descriptor
[/opt/jfrog/artifactory/tomcat/conf/Catalina/localhost/access.xml] Jul
26, 2018 2:00:17 PM org.apache.catalina.startup.HostConfig
deployDescriptor INFO: Deploying configuration descriptor
[/opt/jfrog/artifactory/tomcat/conf/Catalina/localhost/artifactory.xml]
2018-07-26 14:00:18 [UNDEFINED] [INFO ] Fetched Artifactory
[artifactory.home=null] from servlet context 2018-07-26 14:00:19
[UNDEFINED] [INFO ] Resolved Artifactory home by logger
[artifactory.home=/var/opt/jfrog/artifactory]. 14:00:19.438
[localhost-startStop-2] DEBUG
org.artifactory.converter.VersionProviderImpl - Last Artifactory
database version is: v610 14:00:19.460 [localhost-startStop-2] INFO
org.artifactory.converter.ConvertersManagerImpl - Triggering PRE_INIT
conversion, from v610 to v610 14:00:19.460 [localhost-startStop-2]
INFO org.artifactory.converter.ConvertersManagerImpl - Finished
PRE_INIT conversion, current version is: v610 2018-07-26 14:00:19
[ARTIFACTORY] [INFO ] master.key file currently missing - waiting for
Access to create it. Reattempting to check master.key file existence
in 1 second. 2018-07-26 14:00:20 [ARTIFACTORY] [INFO ] master.key file
currently missing - waiting for Access to create it. Reattempting to
check master.key file existence in 1 second.
Any idea is welcome :-)
Here is an example Terraform template to install jFrog Artifactory. I think you can use something similar to https://github.com/jfrog/JFrog-Cloud-Installers/blob/master/Terraform/userdata.sh for setting Artifactory configuration files.

Admin account constantly locked

I have tried multiple solutions from stack and other sites and the outcome is the same. My admin account is constantly locked. I don't really know what more I can do. Here are some screenshots:
Both my admin accounts aren't stated as locked. While trying to login as ADMIN I get 'locked account' alert and with TWEANT account I get 'wrong passwor'.
I have tried with 'wwv_flow_fnd_user_api.UNLOCK_ACCOUNT(‘ADMIN’);' and running 'apxchpwd.sql' script. Nothin helped and I am out of ideas. Maybe there is something wrong with my installation but while running
[oracle#OracleDatabase oracle-rest]$ java -jar ords.war install simple
Verify ORDS schema in Database Configuration apex with connection host: localhost port: 1521 service name: pdbwindow
Jul 24, 2017 11:59:42 AM oracle.dbtools.rt.config.setup.SchemaSetup install
INFO: Oracle REST Data Services schema version 3.0.11.180.12.34 is installed.
2017-07-24 11:59:42.947:INFO::main: Logging initialized #11856ms
Jul 24, 2017 11:59:44 AM
INFO: The document root is serving static resources located in: /home/oracle/oracle-rest/conf/ords/standalone/doc_root
2017-07-24 11:59:48.514:INFO:oejs.Server:main: jetty-9.2.z-SNAPSHOT
2017-07-24 11:59:49.354:INFO:/ords:main: INFO: Using configuration folder: /home/oracle/oracle-rest/conf/ords
2017-07-24 11:59:49.363:INFO:/ords:main: FINEST: |ApplicationContext [configurationFolder=/home/oracle/oracle-rest/conf/ords, services=Application Scope]|
Jul 24, 2017 11:59:49 AM
INFO: Validating pool: |apex||
Jul 24, 2017 11:59:49 AM
INFO: Pool: |apex|| is correctly configured
Jul 24, 2017 11:59:49 AM
INFO: Validating pool: |apex|al|
Jul 24, 2017 11:59:49 AM
INFO: Pool: |apex|al| is correctly configured
Jul 24, 2017 11:59:49 AM
INFO: Validating pool: |apex|pu|
Jul 24, 2017 11:59:50 AM
INFO: Pool: |apex|pu| is correctly configured
Jul 24, 2017 11:59:50 AM
INFO: Validating pool: |apex|rt|
Jul 24, 2017 11:59:50 AM
INFO: Pool: |apex|rt| is correctly configured
config.dir
2017-07-24 11:59:51.322:INFO:/ords:main: INFO: Oracle REST Data Services initialized|Oracle REST Data Services version : 3.0.11.180.12.34|Oracle REST Data Services server info: jetty/9.2.z-SNAPSHOT|
2017-07-24 11:59:51.338:INFO:oejsh.ContextHandler:main: Started o.e.j.s.ServletContextHandler#86ab0b2{/ords,null,AVAILABLE}
2017-07-24 11:59:51.339:INFO:oejsh.ContextHandler:main: Started o.e.j.s.h.ContextHandler#14767a6f{/,null,AVAILABLE}
2017-07-24 11:59:51.340:INFO:oejsh.ContextHandler:main: Started o.e.j.s.h.ContextHandler#6e6017e7{/i,null,AVAILABLE}
2017-07-24 11:59:51.388:INFO:oejs.ServerConnector:main: Started ServerConnector#5714f585{HTTP/1.1}{0.0.0.0:8080}
2017-07-24 11:59:51.394:INFO:oejs.Server:main: Started #20302ms
Jul 24, 2017 12:00:04 PM
INFO: Configuration properties for: |apex||
cache.caching=false
cache.directory=/tmp/apex/cache
cache.duration=days
cache.expiration=7
cache.maxEntries=500
cache.monitorInterval=60
cache.procedureNameList=
cache.type=lru
db.hostname=localhost
db.port=1521
db.servicename=pdbwindow
debug.debugger=false
debug.printDebugToScreen=false
error.keepErrorMessages=true
error.maxEntries=50
jdbc.DriverType=thin
jdbc.InactivityTimeout=1800
jdbc.InitialLimit=3
jdbc.MaxConnectionReuseCount=1000
jdbc.MaxLimit=10
jdbc.MaxStatementsLimit=10
jdbc.MinLimit=1
jdbc.statementTimeout=900
log.logging=false
log.maxEntries=50
misc.compress=
misc.defaultPage=apex
security.crypto.enc.password=******
security.crypto.mac.password=******
security.disableDefaultExclusionList=false
security.maxEntries=2000
security.requestValidationFunction=wwv_flow_epg_include_modules.authorize
security.validationFunctionType=plsql
db.password=******
db.username=APEX_PUBLIC_USER
Jul 24, 2017 12:00:04 PM
WARNING: *** jdbc.MaxLimit in configuration |apex|| is using a value of 10, this setting may not be sized adequately for a production environment ***
Jul 24, 2017 12:00:04 PM
WARNING: *** jdbc.InitialLimit in configuration |apex|| is using a value of 3, this setting may not be sized adequately for a production environment ***
Jul 24, 2017 12:00:04 PM oracle.ucp.common.UniversalConnectionPoolBase initInactiveConnectionTimeoutTimer
INFO: inactive connection timeout timer scheduled
It has happened to me and I found out the solution was to confirm and re-confirm you're using the right apxchpwd.sql because if you run the 5.1 on 5.0, no errors but the exact issue you're described.
Heck, copy the file from another installation and give it a try..

Cannot connect to 127.0,0.1 - CF Server (ColdFusion 2016) suddenly stopped and will not re-start

I have been using ColdFusion 2016 for about 5 months without problem. Two days ago I suddenly could not access the built in server, receiving such messages as this in Opera:
127.0.0.1 refused to connect (Opera)
ERR_CONNECTION_REFUSED (Chrome).
When trying to start the server in Control Panel\System and Security\Administrative Tools>Services I get
Error Code 2 (non Microsoft app)
I thought it could be a firewall issue, since when booting up I saw a message saying that another app (Akamai NetSession) was being blocked and that Windows Firewall had made some changes. However on checking the firewall, ColdFusion Server is being allowed through (as are Opera Chrome, etc).
I tried to starting the CF server from a command prompt, but after navigating to the \bin directory, and typing ColdFusion.exe start, I got no message of any kind.
I am on port 8501 with the server (8500 was used by and old version of CF11) but have never had any running problems. I am using the built-in server.
I noted that the IIS start page appears on 127.0.0.1 when I checked the relevant options, so localhost is not completely disabled.
I am not an expert on server issues. Anyone have any ideas? Thanks in advance for comments.
UPDATE:
The full logs are:
May 17, 2017 5:03:28 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\ColdFusion2016\cfusion\lib;C:\ColdFusion2016\cfusion\jintegra\bin;C:\ColdFusion2016\cfusion\jintegra\bin\international;C:\ColdFusion2016\cfusion\lib\oosdk\classes\win
May 17, 2017 5:03:29 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-nio-8501"]
May 17, 2017 5:03:29 PM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
INFO: Using a shared selector for servlet write/read
May 17, 2017 5:03:29 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-nio-8016"]
May 17, 2017 5:03:29 PM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
INFO: Using a shared selector for servlet write/read
May 17, 2017 5:03:29 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
May 17, 2017 5:03:29 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/8.0.32
May 17, 2017 5:03:31 PM org.apache.jasper.servlet.TldScanner scanJars
INFO: 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.
05/17 17:03:32 INFO License Service: Flex 1.5 CF Edition enabled
05/17 17:03:32 INFO Starting Flex 1.5 CF Edition
May 17, 2017 5:03:32 PM org.apache.catalina.core.ApplicationContext log
INFO: ColdFusionStartUpServlet: ColdFusion: Starting application services
May 17, 2017 5:03:32 PM org.apache.catalina.core.ApplicationContext log
INFO: ColdFusionStartUpServlet: ColdFusion: VM version = 25.72-b15
May 17, 2017 17:03:33 PM Information [localhost-startStop-1] - Starting logging...
May 17, 2017 17:03:33 PM Information [localhost-startStop-1] - Starting license...
May 17, 2017 17:03:33 PM Information [localhost-startStop-1] - Developer Edition enabled
May 17, 2017 17:03:33 PM Information [localhost-startStop-1] - Starting crypto...
May 17, 2017 17:03:33 PM Information [localhost-startStop-1] - Installed JSafe JCE provider: Version 6.21 Crypto-J 6.2.1, EMC Corporation. JsafeJCE Security Provider (implements RSA, DSA, ECDSA, Diffie-Hellman, ECDH, AES, DES, Triple DES, DESX, RC2, RC4, RC5, PBE, MD2, MD5, RIPEMD160, SHA1, SHA224, SHA256, SHA384, SHA512, HMAC-MD5, HMAC-RIPEMD160, HMAC-SHA1, HMAC-SHA224, HMAC-SHA256, HMAC-SHA384, HMAC-SHA512, HMACDRBG, HASHDRBG, CTRDRBG, FIPS186PRNG, SHA1PRNG, MD5PRNG; RFC 3394, RFC 5649 AES Key Wrap; X.509 CertificateFactory; PKCS12, PKCS15 KeyStore; X.509V1, PKIX, PKIX-SuiteB, PKIX-SuiteBTLS CertPathValidators; X.509V1, PKIX, PKIX-SuiteB, PKIX-SuiteBTLS CertPathBuilders; LDAP, Collection CertStores)
May 17, 2017 17:03:33 PM Information [localhost-startStop-1] - Starting security...
May 17, 2017 17:03:33 PM Error [localhost-startStop-1] - Unable to initialise Security service: coldfusion.server.ServiceException: [C:\ColdFusion2016\cfusion\lib\neo-security.xml]coldfusion.wddx.WddxDeserializationException: WDDX packet parse error at line 1, column 1. Content is not allowed in prolog..
coldfusion.server.ServiceException: [C:\ColdFusion2016\cfusion\lib\neo-security.xml]coldfusion.wddx.WddxDeserializationException: WDDX packet parse error at line 1, column 1. Content is not allowed in prolog..
at coldfusion.security.SecurityManager.loadSecurity(SecurityManager.java:1418)
at coldfusion.security.SecurityManager.load(SecurityManager.java:1375)
at coldfusion.server.ServiceBase.start(ServiceBase.java:59)
at coldfusion.security.SecurityManager.start(SecurityManager.java:1365)
at coldfusion.server.CFService.setupSecurity(CFService.java:438)
at coldfusion.server.CFService.start(CFService.java:560)
at coldfusion.server.j2ee.CFStartUpServlet.startCFService(CFStartUpServlet.java:565)
at coldfusion.server.j2ee.CFStartUpServlet.init(CFStartUpServlet.java:508)
at javax.servlet.GenericServlet.init(GenericServlet.java:158)
at coldfusion.bootstrap.ClassloaderHelper.initServletClass(ClassloaderHelper.java:121)
at coldfusion.bootstrap.BootstrapServlet.init(BootstrapServlet.java:59)
at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1238)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1151)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1038)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5049)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5341)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
May 17, 2017 17:03:33 PM Error [localhost-startStop-1] - Unable to initialise CFStartupServlet:[C:\ColdFusion2016\cfusion\lib\neo-security.xml]coldfusion.wddx.WddxDeserializationException: WDDX packet parse error at line 1, column 1. Content is not allowed in prolog..
May 17, 2017 17:03:33 PM Information [localhost-startStop-1] - Shutting down servlet container...

Endpoint Web services not accessible while running on Tomcat

I'm using Tomcat to host my web service and trying to access but not at all able to access. Please do not mark this one 'Duplicated', rather help me out.
Console says:
Mar 04, 2015 6:22:53 PM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:Server' did not find a matching property.
Mar 04, 2015 6:22:53 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server version: Apache Tomcat/8.0.20
Mar 04, 2015 6:22:53 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server built: Feb 15 2015 18:10:42 UTC
Mar 04, 2015 6:22:53 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server number: 8.0.20.0
Mar 04, 2015 6:22:53 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: OS Name: Windows 7
Mar 04, 2015 6:22:53 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: OS Version: 6.1
Mar 04, 2015 6:22:53 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Architecture: amd64
Mar 04, 2015 6:22:53 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Java Home: C:\Program Files\Java\jre8
Mar 04, 2015 6:22:53 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: JVM Version: 1.8.0_11-b12
Mar 04, 2015 6:22:53 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: JVM Vendor: Oracle Corporation
Mar 04, 2015 6:22:53 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: CATALINA_BASE: D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1
Mar 04, 2015 6:22:53 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: CATALINA_HOME: D:\Downloads\apache-tomcat-8.0.20
Mar 04, 2015 6:22:53 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dcatalina.base=D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1
Mar 04, 2015 6:22:53 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dcatalina.home=D:\Downloads\apache-tomcat-8.0.20
Mar 04, 2015 6:22:53 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dwtp.deploy=D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps
Mar 04, 2015 6:22:53 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Djava.endorsed.dirs=D:\Downloads\apache-tomcat-8.0.20\endorsed
Mar 04, 2015 6:22:53 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dfile.encoding=Cp1252
Mar 04, 2015 6:22:53 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre8\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Program Files/Java/jre1.8.0_31/bin/server;C:/Program Files/Java/jre1.8.0_31/bin;C:/Program Files/Java/jre1.8.0_31/lib/amd64;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files\TortoiseSVN\bin;C:\Program Files\MySQL\MySQL Server 5.6\bin;D:\Docs\Softwares\Eclipse\eclipse;;.
Mar 04, 2015 6:22:53 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-nio-8080"]
Mar 04, 2015 6:22:53 PM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
INFO: Using a shared selector for servlet write/read
Mar 04, 2015 6:22:53 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-nio-8009"]
Mar 04, 2015 6:22:53 PM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
INFO: Using a shared selector for servlet write/read
Mar 04, 2015 6:22:53 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 981 ms
Mar 04, 2015 6:22:53 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Mar 04, 2015 6:22:53 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/8.0.20
Mar 04, 2015 6:22:55 PM org.apache.jasper.servlet.TldScanner scanJars
INFO: 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.
Mar 04, 2015 6:22:55 PM org.apache.catalina.util.SessionIdGeneratorBase createSecureRandom
INFO: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [167] milliseconds.
Mar 04, 2015 6:22:58 PM org.apache.jasper.servlet.TldScanner scanJars
INFO: 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.
sun-jaxws.xml:
<endpoints xmlns="http://java.sun.com/xml/ns/jax-ws/ri/runtime"
version="2.0">
<endpoint name="sampleApp" implementation="Service.Sample"
url-pattern="/app" />
</endpoints>
web.xml:
<web-app>
<listener>
<listener-class>
com.sun.xml.ws.transport.http.servlet.WSServletContextListener
</listener-class>
</listener>
<servlet>
<servlet-name>app</servlet-name>
<servlet-class>com.sun.xml.ws.transport.http.servlet.WSServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>app</servlet-name>
<url-pattern>/app</url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
</web-app>
so where would be the problem? Is there anything more has to be configured to access endpoint services?
Here you will similar questions and answer too with detail explanations.
How to manually deploy a web service on Tomcat 6?
http://www.mkyong.com/webservices/jax-ws/deploy-jax-ws-web-services-on-tomcat/
Hope it may help you.!!

No endpoint mapping found when setting up Spring Web Service

I'm a beginner at setting up spring web-applications. I got this far but now I find myself stuck.
I get the following error:
WARNING: No endpoint mapping found for [SaajSoapMessage {http://mycompany.com/weather/schemas}GetCities]
The main problem is that I have run out of ideas where to look for debug information. I fixed as many errors that I've seen, but now I can't even find something wrong in the logs. So I'm getting bit desperate.
This my web.xml
<web-app>
<display-name>Weather report webservice</display-name>
<servlet>
<servlet-name>spring-ws</servlet-name>
<servlet-class>org.springframework.ws.transport.http.MessageDispatcherServlet</servlet-class>
<load-on-startup>1</load-on-startup>
<init-param>
<param-name>contextConfigLocation</param-name>
<param-value>/WEB-INF/spring-ws-servlet.xml</param-value>
</init-param>
<init-param>
<param-name>transformWsdlLocations</param-name>
<param-value>true</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>spring-ws</servlet-name>
<url-pattern>/weatherws</url-pattern>
</servlet-mapping>
</web-app>
This is what my spring-ws-servlet.xml
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:sws="http://www.springframework.org/schema/web-services"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/web-services http://www.springframework.org/schema/web-services/web-services-2.0.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd">
<context:component-scan base-package="path.to.weather"/>
<sws:annotation-driven/>
</beans>
This is what my endpoint looks like:
#Endpoint
public class WeatherEndpoint {
private static final String NAMESPACE_URI = "http://mycompany.com/weather/schema";
private WeatherReportManager manager;
#Autowired
public WeatherEndpoint(WeatherReportManager manager) throws JDOMException {
this.manager = manager;
}
#PayloadRoot(namespace = NAMESPACE_URI, localPart = "GetCities")
#ResponsePayload
public Element getCities() {
Element toReturn = null;
for(City city : manager.getCities()) {
//To some stuff
}
return toReturn;
}
}
This is the catalina.log as I see it right now. I tried to get Tomcat to output DEBUG messages by editing the logging.properties. This did not give any additional effect.
INFO: Deploying web application archive weather.war
Feb 15, 2012 3:28:51 PM org.springframework.web.servlet.FrameworkServlet initServletBean
INFO: FrameworkServlet 'spring-ws': initialization started
Feb 15, 2012 3:28:51 PM org.springframework.context.support.AbstractApplicationContext prepareRefresh
INFO: Refreshing WebApplicationContext for namespace 'spring-ws-servlet': startup date [Wed Feb 15 15:28:51 EET 2012]; root of context hierarchy
Feb 15, 2012 3:28:52 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from ServletContext resource [/WEB-INF/spring-ws-servlet.xml]
Feb 15, 2012 3:28:52 PM org.springframework.ws.soap.addressing.server.AbstractAddressingEndpointMapping afterPropertiesSet
INFO: Supporting [WS-Addressing August 2004, WS-Addressing 1.0]
Feb 15, 2012 3:28:52 PM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory#36496381: defining beans [weatherEndpoint,weatherReportManagerWWW,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.ws.server.endpoint.mapping.PayloadRootAnnotationMethodEndpointMapping#0,org.springframework.ws.soap.server.endpoint.mapping.SoapActionAnnotationMethodEndpointMapping#0,org.springframework.ws.soap.addressing.server.AnnotationActionEndpointMapping#0,org.springframework.ws.server.endpoint.adapter.method.dom.DomPayloadMethodProcessor#0,org.springframework.ws.server.endpoint.adapter.method.SourcePayloadMethodProcessor#0,org.springframework.ws.server.endpoint.adapter.method.jaxb.XmlRootElementPayloadMethodProcessor#0,org.springframework.ws.server.endpoint.adapter.method.jaxb.JaxbElementPayloadMethodProcessor#0,org.springframework.ws.server.endpoint.adapter.method.dom.JDomPayloadMethodProcessor#0,org.springframework.ws.server.endpoint.adapter.DefaultMethodEndpointAdapter#0,org.springframework.context.annotation.ConfigurationClassPostProcessor$ImportAwareBeanPostProcessor#0]; root of factory hierarchy
Feb 15, 2012 3:28:52 PM org.springframework.ws.soap.saaj.SaajSoapMessageFactory afterPropertiesSet
INFO: Creating SAAJ 1.3 MessageFactory with SOAP 1.1 Protocol
Feb 15, 2012 3:28:52 PM org.springframework.web.servlet.FrameworkServlet initServletBean
INFO: FrameworkServlet 'spring-ws': initialization completed in 714 ms
Feb 15, 2012 3:28:52 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory docs
Feb 15, 2012 3:28:52 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory examples
Feb 15, 2012 3:28:53 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory host-manager
Feb 15, 2012 3:28:53 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory lib
Feb 15, 2012 3:28:53 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory manager
Feb 15, 2012 3:28:53 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
Feb 15, 2012 3:28:53 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Feb 15, 2012 3:28:53 PM org.apache.coyote.ajp.AjpProtocol start
INFO: Starting Coyote AJP/1.3 on ajp-8009
Feb 15, 2012 3:28:53 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 8777 ms
Feb 15, 2012 3:29:07 PM org.springframework.ws.server.MessageDispatcher dispatch
WARNING: No endpoint mapping found for [SaajSoapMessage {http://mycompany.com/weather/schemas}GetCities]
I would be very grateful for any assistance. If you need to see anything additional, just let me know.
In your endpoint code you have :
private static final String NAMESPACE_URI = "http://mycompany.com/weather/schema";
but your message is from http://mycompany.com/weather/schemas namespace. Note the final s.