启动报错-Finished invalidation session. No sessions were stopped.

13 篇文章 0 订阅
10 篇文章 0 订阅

启动报错-Finished invalidation session. No sessions were stopped.

报错描述:

项目部署到服务器后,开始启动了,但最终没有启动成功。项目使用了Shiro验证,在启动项目后,会自动去找缓存信息,根据Session登陆验证。

这里报错说没有Sessions,但这个信息前面就是初始化Sessions的日志,通过查看网上文章,以及自己测试后的解决方式如下:

①可能与Shiro Session有关,但具有代码又没有错的地方,这里需要自己先检查代码

②与jdk版本有关

在拉取的Tomcat基础镜像中,大多数都是使用的OpenJDK,是开源的jdk,以GPL协议的形式发布;而Oracle-JDK是官方的,在OpenJDK的基础上进一步完善的,使用JRL(Java Research License,Java研究授权协议)发布。

二者主要区别:

  • 授权协议不同
  • OpenJDK源码不完整:只包含最精简的JDK,不包含Deployment(部署)功能:部署的功能包括:Browser Plugin、Java Web Start、以及Java控制面板,这些功能在OpenJDK中是找不到的。

本地项目使用的JDK是Oracle-JDK8,而拉取的镜像使用的OpenJDK8,就导致它们在部署功能上有差异,解决方式是重新拉取包含Oracle-JDK8的基础镜像。


啥,你以为就这样就完了吗?我遇到的可是一大堆报错哦!

哦,不是啊!啥?你也遇到很多报错啊!来看看下面这个报错及解决汇总文章:

Hive连接+Kerberos认证各种报错及解决办法汇总

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
目前,PetShop已经从最初的2.0、3.0等版本,发展到了最新的4.0版本。PetShop 4.0使用ASP.NET 2.0技术开发,其中加入了众多新增特性,因此,在性能、代码数量、可扩展性等方面有了重大改善。可以说,学习PetShop 4.0是深入掌握ASP.NET 2.0技术的捷径。本节将引领读者逐步了解PetShop 4.0的方方面面,包括应用程序安装、功能和用户界面简介、解决方案和体系架构概述等。 由于采用了Master Pages,Membership,以及Profile,表现层的编码量减少了25%,数据层的编码量减少了36%。 他们利用了Project Conversion Wizard把项目从ASP.NET 1.1移植到了ASP.NET 2.0,然后做了以下改动: 1。用System.Transactions代替了原来的Serviced Components提供的事务功能 2。用强类型的范型集合代替了原来的弱类型集合 3。采用ASP.NET 2.0 Membership来做认证和授权 4。创建了针对Oracle 10g的Custom ASP.NET 2.0 Membership Provider 5。利用ASP.NET 2.0的Custom Oracle 和SQL Server Profile Providers 做用户状态管理,包括购物车等 6。采用了Master Pages,取代了原来的用户控件,来实现统一的界面效果 7。使用了ASP.NET 2.0 Wizard控件实现check-out 8。使用了SqlCacheDependency来实现数据库层次的缓存更新(cache invalidation)功能 9。使用了消息队列来实现异时订单处理 使用说明: 数据库在App_data文件中,四个数据库附加就可以,然后相应的去改改Web.config。 登陆用户名和密码份分别是:51aspx/51aspx.com 此项目没有后台管理,可供学习使用 如果项目中出现 MSDTC 不可用 解决:在windows控制面版-->管理工具-->服务-->Distributed Transaction Coordinator-->属性-->启动
主要内容: l CPU's from the 8086/8088 to the Pentium III and Athlon l Real, protected and virtual models l Windows and plug&play devices l CPU Clones from all major manufacturers l Chipsets and support chips l Timers, interrupts and DMA l I/O programming and PCI bus programming l AGP variants and graphic systems l Universal serial bus l Local storage from the diskette to DVD l Memory systems, SDRAM, EDO, flas, RAM bus, and modules l Extensive glossary which explains most of the terms and concepts related to personal computer hardware. l Appendices brimming with practical advice, especially for programmers. ------------------------------------------------------------------------------------------------- 目录: Pearson Techonology Group - Indispensable PC Hardware Book, The Indispensable PC Hardware Book, The 4/e Hans-Peter Messmer Published January 2002 by Addison Wesley Professional Copyright 2002, 1296 pp., Cloth ISBN: 0-201-59616-4 Summary This fully revised and popular book is now up-to-date and even more comprehensive than before. The Indispensable PC Hardware Book 4/e will be 'indispensable' to anyone who wants to know more about the inner workings of a personal computer: from programmers who want access to hardware components; professionals and home-users who wants to or has to understand the structure and functioning of a personal computer; to users who want to up-grade their PC's, and dealers who wish to advise their customers--this book will provide the solution to all your hardware questions. Even beginners should not shy away as this book begins with an easy introduction to the subject area. Key highlights: l CPU's from the 8086/8088 to the Pentium III and Athlon l Real, protected and virtual models l Windows and plug&play devices l CPU Clones from all major manufacturers l Chipsets and support chips l Timers, interrupts and DMA l I/O programming and P
Table of Contents Preface ..................................................................... xi 1. The Big Picture ......................................................... 1 What Is Enterprise? 1 Growing Slowly 3 Understanding All the Pieces 5 Persistence Layer 5 Application Layer 8 Caching Layer 11 Messaging System 16 Web Server 16 Firewall 16 2. Organizing with Plugins ................................................ 19 Benefits 20 Writing Your Own Plugins 21 Core Enhancements 22 Custom Extensions 26 Deployment 30 svn:externals 30 3. Organizing with Modules ................................................ 31 Files and Directories 32 Module Boundaries for Namespacing 33 ActiveRecord Associations Between Modules 34 Reciprocal Relationships 35 Modules Presage Services 36 Ensuring Proper Load Order 38 Exercises 39 Refactor Steps 39 High-Level Module Refactor 39 Detangling Utility Methods 40 v 4. Database As a Fortress .................................................. 41 Your Database Is an Application, Too 42 “One Framework to Rule Them All” 42 “No One in My Company Will Ever Write a Bug” 42 “This Rails Application Is the Only Application on Earth” 43 Sit Atop the Shoulders of Giants 43 Choosing the Right RDBMS 44 A Note on Migrations 44 Dispelling Myths 46 Operations and Reporting 47 5. Building a Solid Data Model ............................................. 51 Theatre Tickets 51 Starting Simple 52 Constraints 54 Mythbusting 63 Referential Integrity 64 Intro to Indexing 70 6. Refactoring to Third Normal Form ........................................ 73 Third Normal Form 73 Timing Is Key 77 Refactoring: Inheritance and Mixins 78 Exercises 82 Refactor Steps 82 7. Domain Data .......................................................... 85 Dealing with Zip Codes 87 Strategy Pattern with Domain Tables 89 Refactor from Day One 93 8. Composite Keys and Domain Key/Normal Form ............................. 95 Why Composite Natural Keys Matter 97 Spotting Composite Keys 99 Atop the Shoulders of… 101 Migrating to Domain Key/Normal Form 102 Using Composite Keys in Rails 105 Deferrable Foreign Key Constraints 109 Understanding the Trade-offs 111 Exercises 113 Refactor Steps 113 Single Column Refactor 114 vi|Table of Contents Multiple Column Refactor 115 9. Guaranteeing Complex Relationships with Triggers ........................ 117 Constraint Checking with Triggers 117 Anatomy of a PL/pgSQL Function 121 10. Multiple Table Inheritance ............................................. 127 The Problem 127 What Is Polymorphism? 129 Inheritance and Persistence 131 Single Table Inheritance 132 Multiple Table Inheritance 133 XOR on Columns 135 Elegant MTI in Rails 137 Factory Classes 143 Exercises 144 Refactor Steps 145 Refactoring STI 145 Refactoring: polymorphic => true 145 11. View-Backed Models .................................................. 147 Database Views 148 Creating a View 149 Basing a Model on a View 149 Considerations 150 Insert, Update, Delete 151 References and Constraints 152 Indexing 153 Exercises 153 Refactor Steps 154 12. Materialized Views .................................................... 155 Materialized View Principles 156 A View to Materialize 157 Getting into Form 158 The Target Table 160 Refresh and Invalidation Functions 161 Time Dependency 163 Who Pays the Price? 165 Triggered Refreshes and Invalidations 168 Movie Showtimes 169 Hiding the Implementation with the Reconciler View 174 Periodic Refreshes 177 Table of Contents|vii Cache Indexes 178 Results 179 Cascading Caches 180 Exercises 180 13. SOA Primer .......................................................... 183 What Is SOA? 183 Why SOA? 186 Shared Resources 187 Reduce Database Load 190 Scalability II: Caching Is Tricky 196 Reduce Local Complexity 197 In Summary 200 Exercises 200 14. SOA Considerations ................................................... 201 Service Considerations 201 Implementation Details Are Hidden 202 API Is Accessible 204 API Design Best Practices 205 Send Everything You Need 205 Limit Round Trips 207 Look for Opportunities for Parallelization 209 Send as Little as Possible 210 REST Versus XML-RPC Versus SOAP 212 XML-RPC 212 SOAP 214 15. An XML-RPC Service ................................................... 217 ActionWebService and Rails 2.0 217 Creating an Abstraction Barrier 218 ActiveRecord As the Physical Model Layer 218 The Object Model Layer 220 Defining the API 225 More Testing 230 The Client Plugin 232 Shared Code 234 The Client Singleton 234 Integration Testing 236 16. Refactoring to Services ................................................ 239 An Orders Service 239 Integrating with the MoviesService 251 viii|Table of Contents Other Considerations 253 MoviesService Object Model 254 Putting It All Together 265 17. REST Primer .......................................................... 267 REST Basics 267 Resources and Verbs 267 Hardware Is Part of the Application 269 Mapping REST to SOA 270 Mapping to CRUD 270 Different Clients, One Interface 272 HTTP+POX 274 Defining a Service Contract 274 REST Clients in Ruby 276 The Way the Web Was Meant to Be Used 277 18. A RESTful Web Service ................................................. 279 Scoping the Problem 279 Tools 281 MoviesWebService 284 Resources Server Implementation 285 Actions Server Implementation 288 A Client Implementation 289 19. Caching End to End .................................................... 295 Data Layer Caching, Revisited 296 The Snapshot 296 The Refresh Function 297 Invalidation Triggers 297 Indexing 298 Logical Model Caching 298 Considerations 305 Avoiding Rebuilding with Stale Data 308 Cache Indexes 312 Other Caching 313 Query Plan Caching 313 Database Query Caching 314 Rails Query Caching 315 Fragment, Action, and Page Caching 316 Index ..................................................................... 319
Version 1.7 ----------- - ADD: Delphi/CBuilder 10.2 Tokyo now supported. - ADD: Delphi/CBuilder 10.1 Berlin now supported. - ADD: Delphi/CBuilder 10 Seattle now supported. - ADD: Delphi/CBuilder XE8 now supported. - ADD: Delphi/CBuilder XE7 now supported. - ADD: Delphi/CBuilder XE6 now supported. - ADD: Delphi/CBuilder XE5 now supported. - ADD: Delphi/CBuilder XE4 now supported. - ADD: Delphi/CBuilder XE3 now supported. - ADD: Delphi/CBuilder XE2 now supported. - ADD: Delphi/CBuilder XE now supported. - ADD: Delphi/CBuilder 2010 now supported. - ADD: Delphi/CBuilder 2009 now supported. - ADD: New demo project FlexCADImport. - FIX: The height of the TFlexRegularPolygon object incorrectly changes with its rotation. - FIX: Added division by zero protect in method TFlexControl.MovePathSegment. - FIX: The background beyond docuemnt wasn't filled when TFlexPanel.DocClipping=True. - FIX: In "Windows ClearType" font rendering mode (OS Windows mode) the "garbage" pixels can appear from the right and from the bottom sides of the painted rectangle of the TFlexText object. - FIX: The result rectangle incorrectly calculated in the TFlexText.GetRefreshRect method. - FIX: Added FPaintCache.rcPaint cleanup in the TFlexPanel.WMPaint method. Now it is possible to define is the drawing take place via WMPaint or via the PaintTo direct call (if rcPaint contain non-empty rectangle then WMPaint in progress). - FIX: The TFlexPanel.FPaintCache field moved in the protected class section. Added rcPaint field in FPaintCache that represents drawing rectangle. - ADD: In the text prcise mode (TFlexText.Precise=True) takes into account the rotation angle (TFlexText.Angle). - FIX: Removed FG_NEWTEXTROTATE directive (the TFlexText Precise mode should be used instead). - FIX: The TFlexRegularPolygon object clones incorrectly drawed in case when TFlexRegularPolygon have alternative brush (gradient, texture). - ADD: Add TFlexPanel.InvalidateControl virtual method which calls from TFle

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值