· 9 years ago · Jan 24, 2017, 09:02 PM
1sty 24, 2017 5:25:12 PM org.apache.tomcat.util.digester.SetPropertiesRule begin
2WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:Apteka' did not find a matching property.
3sty 24, 2017 5:25:12 PM org.apache.catalina.startup.VersionLoggerListener log
4INFO: Server version: Apache Tomcat/9.0.0.M11
5sty 24, 2017 5:25:12 PM org.apache.catalina.startup.VersionLoggerListener log
6INFO: Server built: Oct 6 2016 18:54:10 UTC
7sty 24, 2017 5:25:12 PM org.apache.catalina.startup.VersionLoggerListener log
8INFO: Server number: 9.0.0.0
9sty 24, 2017 5:25:12 PM org.apache.catalina.startup.VersionLoggerListener log
10INFO: OS Name: Windows 10
11sty 24, 2017 5:25:12 PM org.apache.catalina.startup.VersionLoggerListener log
12INFO: OS Version: 10.0
13sty 24, 2017 5:25:12 PM org.apache.catalina.startup.VersionLoggerListener log
14INFO: Architecture: amd64
15sty 24, 2017 5:25:12 PM org.apache.catalina.startup.VersionLoggerListener log
16INFO: Java Home: C:\Program Files\Java\jre1.8.0_121
17sty 24, 2017 5:25:12 PM org.apache.catalina.startup.VersionLoggerListener log
18INFO: JVM Version: 1.8.0_121-b13
19sty 24, 2017 5:25:12 PM org.apache.catalina.startup.VersionLoggerListener log
20INFO: JVM Vendor: Oracle Corporation
21sty 24, 2017 5:25:12 PM org.apache.catalina.startup.VersionLoggerListener log
22INFO: CATALINA_BASE: C:\Users\Norbert\Documents\workspace-sts-3.8.2.RELEASE\.metadata\.plugins\org.eclipse.wst.server.core\tmp0
23sty 24, 2017 5:25:12 PM org.apache.catalina.startup.VersionLoggerListener log
24INFO: CATALINA_HOME: C:\Program Files\Apache Software Foundation\Tomcat 9.0
25sty 24, 2017 5:25:12 PM org.apache.catalina.startup.VersionLoggerListener log
26INFO: Command line argument: -Dcatalina.base=C:\Users\Norbert\Documents\workspace-sts-3.8.2.RELEASE\.metadata\.plugins\org.eclipse.wst.server.core\tmp0
27sty 24, 2017 5:25:12 PM org.apache.catalina.startup.VersionLoggerListener log
28INFO: Command line argument: -Dcatalina.home=C:\Program Files\Apache Software Foundation\Tomcat 9.0
29sty 24, 2017 5:25:12 PM org.apache.catalina.startup.VersionLoggerListener log
30INFO: Command line argument: -Dwtp.deploy=C:\Users\Norbert\Documents\workspace-sts-3.8.2.RELEASE\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps
31sty 24, 2017 5:25:12 PM org.apache.catalina.startup.VersionLoggerListener log
32INFO: Command line argument: -Djava.endorsed.dirs=C:\Program Files\Apache Software Foundation\Tomcat 9.0\endorsed
33sty 24, 2017 5:25:12 PM org.apache.catalina.startup.VersionLoggerListener log
34INFO: Command line argument: -Dfile.encoding=Cp1250
35sty 24, 2017 5:25:12 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
36INFO: 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\jre1.8.0_121\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:/Program Files/Java/jre1.8.0_121/bin/server;C:/Program Files/Java/jre1.8.0_121/bin;C:/Program Files/Java/jre1.8.0_121/lib/amd64;C:\ProgramData\Oracle\Java\javapath;C:\PROGRA~2\Borland\CBUILD~1\Bin;C:\PROGRA~2\Borland\CBUILD~1\Projects\Bpl;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Users\Norbert\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;D:\Programy\SVN\bin;D:\Programy\ADA\bin;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Users\Norbert\AppData\Local\atom\bin;C:\Users\Norbert\AppData\Local\Microsoft\WindowsApps;D:\Programy\spring-tool-suite-3.8.2.RELEASE-e4.6.1-win32-x86_64\sts-bundle\sts-3.8.2.RELEASE;;.
37sty 24, 2017 5:25:13 PM org.apache.coyote.AbstractProtocol init
38INFO: Initializing ProtocolHandler ["http-nio-8080"]
39sty 24, 2017 5:25:14 PM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
40INFO: Using a shared selector for servlet write/read
41sty 24, 2017 5:25:14 PM org.apache.coyote.AbstractProtocol init
42INFO: Initializing ProtocolHandler ["ajp-nio-8009"]
43sty 24, 2017 5:25:14 PM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
44INFO: Using a shared selector for servlet write/read
45sty 24, 2017 5:25:14 PM org.apache.catalina.startup.Catalina load
46INFO: Initialization processed in 2437 ms
47sty 24, 2017 5:25:14 PM org.apache.catalina.core.StandardService startInternal
48INFO: Starting service Catalina
49sty 24, 2017 5:25:14 PM org.apache.catalina.core.StandardEngine startInternal
50INFO: Starting Servlet Engine: Apache Tomcat/9.0.0.M11
51sty 24, 2017 5:25:18 PM org.apache.jasper.servlet.TldScanner scanJars
52INFO: 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.
53sty 24, 2017 5:25:18 PM org.apache.catalina.core.ApplicationContext log
54INFO: No Spring WebApplicationInitializer types detected on classpath
55sty 24, 2017 5:25:19 PM org.apache.catalina.core.ApplicationContext log
56INFO: Initializing Spring root WebApplicationContext
57INFO : org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization started
58INFO : org.springframework.web.context.support.XmlWebApplicationContext - Refreshing Root WebApplicationContext: startup date [Tue Jan 24 17:25:19 CET 2017]; root of context hierarchy
59INFO : org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/spring/root-context.xml]
60INFO : org.springframework.beans.factory.config.PropertyPlaceholderConfigurer - Loading properties file from ServletContext resource [/WEB-INF/jdbc.properties]
61Hibernate: alter table closed_orders drop constraint FKqalv9qpq58j0y5x4kypdbliqs
62Hibernate: alter table customers drop constraint FKor0fx9fttvasr4grtaqnltyrl
63Hibernate: alter table employees drop constraint FK8dwhb0qmor08fl06pde1bef3c
64Hibernate: alter table ordered_products drop constraint FKn042ir6sf41qikoy2c07gt87i
65Hibernate: alter table ordered_products drop constraint FKi7isf670mbq331v0muqqry1cd
66Hibernate: alter table orders drop constraint FKpxtb8awmi0dk6smoh2vp1litg
67Hibernate: alter table products drop constraint FKljnead8q1652k9q5p0fe0o1g2
68Hibernate: alter table products_categories drop constraint FKr2i82ji875a3sdha76w2e2qyn
69Hibernate: alter table products_categories drop constraint FKiib9ydd1j8eguji0j4s6kvmnr
70Hibernate: drop table if exists accounts cascade
71Hibernate: drop table if exists categories cascade
72Hibernate: drop table if exists closed_orders cascade
73Hibernate: drop table if exists customers cascade
74Hibernate: drop table if exists employees cascade
75Hibernate: drop table if exists manufacturers cascade
76Hibernate: drop table if exists ordered_products cascade
77Hibernate: drop table if exists orders cascade
78Hibernate: drop table if exists products cascade
79Hibernate: drop table if exists products_categories cascade
80Hibernate: create table accounts (id bigserial not null, password_hash varchar(255) not null, username varchar(255) not null, primary key (id))
81Hibernate: create table categories (id bigserial not null, name varchar(255) not null, primary key (id))
82Hibernate: create table closed_orders (id bigserial not null, close_date timestamp not null, order_id int8, primary key (id))
83Hibernate: create table customers (id bigserial not null, name varchar(255) not null, surname varchar(255) not null, account_id int8 not null, primary key (id))
84Hibernate: create table employees (id bigserial not null, account_id int8 not null, primary key (id))
85Hibernate: create table manufacturers (id bigserial not null, name varchar(255) not null, primary key (id))
86Hibernate: create table ordered_products (id bigserial not null, amount int8 not null, product_price float8 not null, product_id int8 not null, order_id int8 not null, primary key (id))
87Hibernate: create table orders (id bigserial not null, closed boolean not null, date timestamp not null, customer_id int8 not null, primary key (id))
88Hibernate: create table products (id bigserial not null, amount int8 not null, name varchar(255) not null, price float8 not null, manufacturer_id int8 not null, primary key (id))
89Hibernate: create table products_categories (Product_id int8 not null, categories_id int8 not null)
90Hibernate: alter table closed_orders add constraint FKqalv9qpq58j0y5x4kypdbliqs foreign key (order_id) references orders
91Hibernate: alter table customers add constraint FKor0fx9fttvasr4grtaqnltyrl foreign key (account_id) references accounts
92Hibernate: alter table employees add constraint FK8dwhb0qmor08fl06pde1bef3c foreign key (account_id) references accounts
93Hibernate: alter table ordered_products add constraint FKn042ir6sf41qikoy2c07gt87i foreign key (product_id) references products
94Hibernate: alter table ordered_products add constraint FKi7isf670mbq331v0muqqry1cd foreign key (order_id) references orders
95Hibernate: alter table orders add constraint FKpxtb8awmi0dk6smoh2vp1litg foreign key (customer_id) references customers
96Hibernate: alter table products add constraint FKljnead8q1652k9q5p0fe0o1g2 foreign key (manufacturer_id) references manufacturers
97Hibernate: alter table products_categories add constraint FKr2i82ji875a3sdha76w2e2qyn foreign key (categories_id) references categories
98Hibernate: alter table products_categories add constraint FKiib9ydd1j8eguji0j4s6kvmnr foreign key (Product_id) references products
99WARN : org.springframework.web.context.support.XmlWebApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [ws.apteka.services.CartService] for bean with name 'cartService' defined in ServletContext resource [/WEB-INF/spring/root-context.xml]; nested exception is java.lang.ClassNotFoundException: ws.apteka.services.CartService
100Hibernate: alter table closed_orders drop constraint FKqalv9qpq58j0y5x4kypdbliqs
101Hibernate: alter table customers drop constraint FKor0fx9fttvasr4grtaqnltyrl
102Hibernate: alter table employees drop constraint FK8dwhb0qmor08fl06pde1bef3c
103Hibernate: alter table ordered_products drop constraint FKn042ir6sf41qikoy2c07gt87i
104Hibernate: alter table ordered_products drop constraint FKi7isf670mbq331v0muqqry1cd
105Hibernate: alter table orders drop constraint FKpxtb8awmi0dk6smoh2vp1litg
106Hibernate: alter table products drop constraint FKljnead8q1652k9q5p0fe0o1g2
107Hibernate: alter table products_categories drop constraint FKr2i82ji875a3sdha76w2e2qyn
108Hibernate: alter table products_categories drop constraint FKiib9ydd1j8eguji0j4s6kvmnr
109Hibernate: drop table if exists accounts cascade
110Hibernate: drop table if exists categories cascade
111Hibernate: drop table if exists closed_orders cascade
112Hibernate: drop table if exists customers cascade
113Hibernate: drop table if exists employees cascade
114Hibernate: drop table if exists manufacturers cascade
115Hibernate: drop table if exists ordered_products cascade
116Hibernate: drop table if exists orders cascade
117Hibernate: drop table if exists products cascade
118Hibernate: drop table if exists products_categories cascade
119ERROR: org.springframework.web.context.ContextLoader - Context initialization failed
120org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [ws.apteka.services.CartService] for bean with name 'cartService' defined in ServletContext resource [/WEB-INF/spring/root-context.xml]; nested exception is java.lang.ClassNotFoundException: ws.apteka.services.CartService
121 at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1357)
122 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.determineTargetType(AbstractAutowireCapableBeanFactory.java:629)
123 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:597)
124 at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1450)
125 at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:980)
126 at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:731)
127 at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:861)
128 at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:541)
129 at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:444)
130 at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:326)
131 at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107)
132 at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4717)
133 at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5179)
134 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
135 at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1403)
136 at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1393)
137 at java.util.concurrent.FutureTask.run(Unknown Source)
138 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
139 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
140 at java.lang.Thread.run(Unknown Source)
141Caused by: java.lang.ClassNotFoundException: ws.apteka.services.CartService
142 at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1275)
143 at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1109)
144 at org.springframework.util.ClassUtils.forName(ClassUtils.java:250)
145 at org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:394)
146 at org.springframework.beans.factory.support.AbstractBeanFactory.doResolveBeanClass(AbstractBeanFactory.java:1402)
147 at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1349)
148 ... 19 more
149sty 24, 2017 5:25:28 PM org.apache.catalina.core.StandardContext listenerStart
150SEVERE: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
151org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [ws.apteka.services.CartService] for bean with name 'cartService' defined in ServletContext resource [/WEB-INF/spring/root-context.xml]; nested exception is java.lang.ClassNotFoundException: ws.apteka.services.CartService
152 at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1357)
153 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.determineTargetType(AbstractAutowireCapableBeanFactory.java:629)
154 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:597)
155 at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1450)
156 at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:980)
157 at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:731)
158 at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:861)
159 at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:541)
160 at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:444)
161 at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:326)
162 at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107)
163 at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4717)
164 at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5179)
165 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
166 at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1403)
167 at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1393)
168 at java.util.concurrent.FutureTask.run(Unknown Source)
169 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
170 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
171 at java.lang.Thread.run(Unknown Source)
172Caused by: java.lang.ClassNotFoundException: ws.apteka.services.CartService
173 at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1275)
174 at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1109)
175 at org.springframework.util.ClassUtils.forName(ClassUtils.java:250)
176 at org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:394)
177 at org.springframework.beans.factory.support.AbstractBeanFactory.doResolveBeanClass(AbstractBeanFactory.java:1402)
178 at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1349)
179 ... 19 more
180
181sty 24, 2017 5:25:28 PM org.apache.catalina.core.StandardContext startInternal
182SEVERE: One or more listeners failed to start. Full details will be found in the appropriate container log file
183sty 24, 2017 5:25:28 PM org.apache.catalina.core.StandardContext startInternal
184SEVERE: Context [/apteka] startup failed due to previous errors
185sty 24, 2017 5:25:28 PM org.apache.catalina.core.ApplicationContext log
186INFO: Closing Spring root WebApplicationContext
187sty 24, 2017 5:25:28 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesJdbc
188WARNING: The web application [apteka] registered the JDBC driver [org.postgresql.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
189sty 24, 2017 5:25:28 PM org.apache.coyote.AbstractProtocol start
190INFO: Starting ProtocolHandler [http-nio-8080]
191sty 24, 2017 5:25:28 PM org.apache.coyote.AbstractProtocol start
192INFO: Starting ProtocolHandler [ajp-nio-8009]
193sty 24, 2017 5:25:28 PM org.apache.catalina.startup.Catalina start
194INFO: Server startup in 14420 ms