I have zynq-microzed board and my log messages are following...
[Mon Jun 09 19:28:38.231 2014] SF: Detected S25FL129P_64K/S25FL128S_64K with page size 64 KiB, total 16 MiB
[Mon Jun 09 19:28:38.446 2014] SF: 1245184 bytes # 0x520000 Read: OK
[Mon Jun 09 19:28:38.446 2014] ## Loading kernel from FIT Image at 01000000 ...
[Mon Jun 09 19:28:38.446 2014] Using 'conf#1' configuration
[Mon Jun 09 19:28:38.446 2014] Trying 'kernel#1' kernel subimage
[Mon Jun 09 19:28:38.446 2014] Description: PetaLinux Kernel
[Mon Jun 09 19:28:38.446 2014] Type: Kernel Image
[Mon Jun 09 19:28:38.446 2014] Compression: gzip compressed
[Mon Jun 09 19:28:38.446 2014] Data Start: 0x010000f0
[Mon Jun 09 19:28:38.446 2014] Data Size: 1215908 Bytes = 1.2 MiB
[Mon Jun 09 19:28:38.446 2014] Architecture: ARM
[Mon Jun 09 19:28:38.446 2014] OS: Linux
[Mon Jun 09 19:28:38.446 2014] Load Address: 0x00008000
[Mon Jun 09 19:28:38.446 2014] Entry Point: 0x00008000
[Mon Jun 09 19:28:38.446 2014] Verifying Hash Integrity ... OK
[Mon Jun 09 19:28:38.446 2014] ## Loading fdt from FIT Image at 01000000 ...
[Mon Jun 09 19:28:38.490 2014] Using 'conf#1' configuration
[Mon Jun 09 19:28:38.490 2014] Trying 'fdt#1' fdt subimage
[Mon Jun 09 19:28:38.490 2014] Description: Flattened Device Tree blob
[Mon Jun 09 19:28:38.490 2014] Type: Flat Device Tree
[Mon Jun 09 19:28:38.490 2014] Compression: uncompressed
[Mon Jun 09 19:28:38.490 2014] Data Start: 0x01128f44
[Mon Jun 09 19:28:38.490 2014] Data Size: 9766 Bytes = 9.5 KiB
[Mon Jun 09 19:28:38.490 2014] Architecture: ARM
[Mon Jun 09 19:28:38.490 2014] Hash algo: crc32
[Mon Jun 09 19:28:38.490 2014] Hash value: fad9c7a8
[Mon Jun 09 19:28:38.490 2014] Hash algo: sha1
[Mon Jun 09 19:28:38.490 2014] Hash value: 4ffcd311a61838768c94b2cb0c2e3d5312861fb4
[Mon Jun 09 19:28:38.490 2014] Verifying Hash Integrity ... crc32+ sha1+ OK
[Mon Jun 09 19:28:38.490 2014] Booting using the fdt blob at 0x1128f44
[Mon Jun 09 19:28:38.492 2014] Uncompressing Kernel Image ... OK
[Mon Jun 09 19:28:38.595 2014] Loading Device Tree to 07ffa000, end 07fff625 ... OK
[Mon Jun 09 19:28:38.595 2014]
[Mon Jun 09 19:28:38.595 2014] Starting kernel ...
[Mon Jun 09 19:28:38.595 2014]
[Mon Jun 09 19:28:39.137 2014] Booting Linux on physical CPU 0x0
[Mon Jun 09 19:28:39.137 2014] Linux version 3.8.11 (root#xilinx) (gcc version 4.7.3 (Sourcery CodeBench Lite 2013.05-40) ) #33 SMP PREEMPT Mon Jun 9 19:23:59 IST 2014
[Mon Jun 09 19:28:39.137 2014] CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=18c53c7d
[Mon Jun 09 19:28:39.137 2014] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[Mon Jun 09 19:28:39.137 2014] Machine: Xilinx Zynq Platform, model: suheb_24
[Mon Jun 09 19:28:39.137 2014] Memory policy: ECC disabled, Data cache writealloc
[Mon Jun 09 19:28:39.137 2014] PERCPU: Embedded 7 pages/cpu #c0aa3000 s5568 r8192 d14912 u32768
[Mon Jun 09 19:28:39.137 2014] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 260096
[Mon Jun 09 19:28:39.181 2014] Kernel command line: console=ttyPS0,115200
[Mon Jun 09 19:28:39.181 2014] PID hash table entries: 4096 (order: 2, 16384 bytes)
[Mon Jun 09 19:28:39.181 2014] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[Mon Jun 09 19:28:39.181 2014] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[Mon Jun 09 19:28:39.181 2014] __ex_table already sorted, skipping sort
[Mon Jun 09 19:28:39.181 2014] Memory: 1024MB = 1024MB total
[Mon Jun 09 19:28:39.181 2014] Memory: 1036800k/1036800k available, 11776k reserved, 270336K highmem
[Mon Jun 09 19:28:39.181 2014] Virtual kernel memory layout:
[Mon Jun 09 19:28:39.181 2014] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[Mon Jun 09 19:28:39.181 2014] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[Mon Jun 09 19:28:39.226 2014] vmalloc : 0xf0000000 - 0xff000000 ( 240 MB)
[Mon Jun 09 19:28:39.226 2014] lowmem : 0xc0000000 - 0xef800000 ( 760 MB)
[Mon Jun 09 19:28:39.226 2014] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[Mon Jun 09 19:28:39.226 2014] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[Mon Jun 09 19:28:39.226 2014] .text : 0xc0008000 - 0xc01b8c4c (1732 kB)
[Mon Jun 09 19:28:39.226 2014] .init : 0xc01b9000 - 0xc02785c0 ( 766 kB)
[Mon Jun 09 19:28:39.226 2014] .data : 0xc027a000 - 0xc0289980 ( 63 kB)
[Mon Jun 09 19:28:39.226 2014] .bss : 0xc0289980 - 0xc0298798 ( 60 kB)
[Mon Jun 09 19:28:39.226 2014] Preemptible hierarchical RCU implementation.
[Mon Jun 09 19:28:39.226 2014] RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[Mon Jun 09 19:28:39.267 2014] NR_IRQS:16 nr_irqs:16 16
[Mon Jun 09 19:28:39.267 2014] xslcr mapped to f0002000
[Mon Jun 09 19:28:39.267 2014] Zynq clock init
[Mon Jun 09 19:28:39.267 2014] sched_clock: 16 bits at 54kHz, resolution 18432ns, wraps every 1207ms
[Mon Jun 09 19:28:39.267 2014] ps7-ttc #0 at f0004000, irq=43
it takes 0.542 seconds between...
[Mon Jun 09 19:28:38.595 2014] Starting kernel ...
[Mon Jun 09 19:28:38.595 2014]
[Mon Jun 09 19:28:39.137 2014] Booting Linux on physical CPU 0x0
Now i want to reduce this time as possible..
But i dont know how to reduce this time (0.542 sec)
And i want to know that, what does it do at that time.
Can you please tell me how can i achieve this?
Your method of calculating elapsed time is using flawed data.
What you think is a 0.5 sec "delay" is actually U-Boot outputting "Starting kernel ..." in real time, while the kernel buffers and postpones outputting its "Booting Linux..." until the system and console are initialized. That's comparing apples to oranges.
At the very least you have to get the kernel to output in realtime (just like U-Boot). Then your timestamps will better indicate actual elapsed time.
While the kernel is performing the early initialization, interrupts are disabled and any output to the console (including that "Booting Linux on..." message) is held in a buffer until console_init() is performed at line 572 in Linux/init/main.c. Note that the salient "Booting Linux on..." text was "output" at the beginning of this start_kernel() procedure from the routine smp_setup_processor_id(), line 478. Most of the "delay" that you notice before the "Booting Linux on..." text appears as the kernel starts up is caused by this buffering of the console output.
You can overcome this apparent delay due to buffering by enabling the kernel debugging feature early printk.
Two steps are required:
Enable this feature in configuration:
make menuconfig
Kernel hacking
Kernel low-level debugging functions
Early printk
Add the parameter "earlyprintk" to the kernel command line, which is usually stored in the U-Boot environment variable bootargs or in the Device Tree.
The kernel boot log should indicate that this feature is enabled:
Booting Linux on physical CPU 0x0
Linux version 3.10...
CPU: ARMv7 Processor [410fc051] revision 1 (ARMv7), cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: Atmel SAMA5 (Device Tree), model: Atmel SAMA5D36-EK
bootconsole [earlycon0] enabled
Memory policy: ECC disabled, Data cache writeback
...
Kernel command line: console=ttyS0,115200 earlyprintk rootfstype=ubifs ...
Related
I'm working on a Spring Boot application written in Kotlin (using Maven), and everything works fine but after generating the jar of my application, it throws an Exception because it can't find the folder src/main/resources:
Caused by: java.io.FileNotFoundException: src\main\resources\data\circuits-arrets.json
I read that could be because I use File class, and it doesn't work properly after generating the jar. Here's how I read my file:
var line: String?
val bufferedReader = BufferedReader(FileReader(File(csvLocation)))
do {
line = bufferedReader.readLine()
if (line != null) {
//Do something with 'line'
}
} while (line != null)
I found some solutions using InputStream instead of File in the BufferedReader.
My question is: Does it really change something for the jar? If yes, how should I do then?
Thank you in advance.
EDIT:
Here's the output of the command jar tvf my-jar.jar :
0 Fri Feb 15 10:34:14 CET 2019 META-INF/
552 Fri Feb 15 10:34:14 CET 2019 META-INF/MANIFEST.MF
0 Fri Feb 15 10:34:14 CET 2019 org/
0 Fri Feb 15 10:34:14 CET 2019 org/springframework/
0 Fri Feb 15 10:34:14 CET 2019 org/springframework/boot/
0 Fri Feb 15 10:34:14 CET 2019 org/springframework/boot/loader/
0 Fri Feb 15 10:34:14 CET 2019 org/springframework/boot/loader/data/
2688 Wed May 09 13:32:20 CEST 2018 org/springframework/boot/loader/data/RandomAccessDataFile$DataInputStream.class
0 Fri Feb 15 10:34:14 CET 2019 org/springframework/boot/loader/jar/
9736 Wed May 09 13:32:20 CEST 2018 org/springframework/boot/loader/jar/JarURLConnection.class
1374 Wed May 09 13:32:20 CEST 2018 org/springframework/boot/loader/jar/JarFile$JarFileType.class
14915 Wed May 09 13:32:20 CEST 2018 org/springframework/boot/loader/jar/JarFile.class
3414 Wed May 09 13:32:20 CEST 2018 org/springframework/boot/loader/jar/JarEntry.class
345 Wed May 09 13:32:20 CEST 2018 org/springframework/boot/loader/jar/FileHeader.class
3172 Wed May 09 13:32:20 CEST 2018 org/springframework/boot/loader/jar/StringSequence.class
4976 Wed May 09 13:32:20 CEST 2018 org/springframework/boot/loader/jar/AsciiBytes.class
1593 Wed May 09 13:32:20 CEST 2018 org/springframework/boot/loader/jar/JarFileEntries$1.class
1997 Wed May 09 13:32:20 CEST 2018 org/springframework/boot/loader/jar/JarFileEntries$EntryIterator.class
10728 Wed May 09 13:32:20 CEST 2018 org/springframework/boot/loader/jar/JarFileEntries.class
540 Wed May 09 13:32:20 CEST 2018 org/springframework/boot/loader/jar/CentralDirectoryVisitor.class
299 Wed May 09 13:32:20 CEST 2018 org/springframework/boot/loader/jar/JarEntryFilter.class
5267 Wed May 09 13:32:20 CEST 2018 org/springframework/boot/loader/jar/CentralDirectoryFileHeader.class
3116 Wed May 09 13:32:20 CEST 2018 org/springframework/boot/loader/jar/CentralDirectoryEndRecord.class
4624 Wed May 09 13:32:20 CEST 2018 org/springframework/boot/loader/jar/CentralDirectoryParser.class
1693 Wed May 09 13:32:20 CEST 2018 org/springframework/boot/loader/jar/ZipInflaterInputStream.class
11509 Wed May 09 13:32:20 CEST 2018 org/springframework/boot/loader/jar/Handler.class
0 Fri Feb 15 10:34:14 CET 2019 org/springframework/boot/loader/archive/
302 Wed May 09 13:32:20 CEST 2018 org/springframework/boot/loader/archive/Archive$Entry.class
437 Wed May 09 13:32:20 CEST 2018 org/springframework/boot/loader/archive/Archive$EntryFilter.class
945 Wed May 09 13:32:20 CEST 2018 org/springframework/boot/loader/archive/Archive.class
1487 Wed May 09 13:32:20 CEST 2018 org/springframework/boot/loader/archive/ExplodedArchive$FileEntryIterator$EntryComparator.class
3837 Wed May 09 13:32:20 CEST 2018 org/springframework/boot/loader/archive/ExplodedArchive$FileEntryIterator.class
5243 Wed May 09 13:32:20 CEST 2018 org/springframework/boot/loader/archive/ExplodedArchive.class
1484 Wed May 09 13:32:20 CEST 2018 org/springframework/boot/loader/PropertiesLauncher$ArchiveEntryFilter.class
19737 Wed May 09 13:32:20 CEST 2018 org/springframework/boot/loader/PropertiesLauncher.class
282 Wed May 09 13:32:20 CEST 2018 org/springframework/boot/loader/data/RandomAccessDataFile$1.class
2062 Wed May 09 13:32:20 CEST 2018 org/springframework/boot/loader/jar/JarFile$1.class
1233 Wed May 09 13:32:20 CEST 2018 org/springframework/boot/loader/jar/JarFile$2.class
3263 Wed May 09 13:32:20 CEST 2018 org/springframework/boot/loader/data/RandomAccessDataFile$FileAccess.class
4015 Wed May 09 13:32:20 CEST 2018 org/springframework/boot/loader/data/RandomAccessDataFile.class
1102 Wed May 09 13:32:20 CEST 2018 org/springframework/boot/loader/archive/ExplodedArchive$FileEntry.class
1081 Wed May 09 13:32:20 CEST 2018 org/springframework/boot/loader/archive/JarFileArchive$JarFileEntry.class
7336 Wed May 09 13:32:20 CEST 2018 org/springframework/boot/loader/archive/JarFileArchive.class
1502 Wed May 09 13:32:20 CEST 2018 org/springframework/boot/loader/MainMethodRunner.class
3608 Wed May 09 13:32:20 CEST 2018 org/springframework/boot/loader/ExecutableArchiveLauncher.class
0 Fri Feb 15 10:34:14 CET 2019 org/springframework/boot/loader/util/
5203 Wed May 09 13:32:20 CEST 2018 org/springframework/boot/loader/util/SystemPropertyUtils.class
485 Wed May 09 13:32:20 CEST 2018 org/springframework/boot/loader/data/RandomAccessData.class
273 Wed May 09 13:32:20 CEST 2018 org/springframework/boot/loader/archive/ExplodedArchive$1.class
1779 Wed May 09 13:32:20 CEST 2018 org/springframework/boot/loader/archive/JarFileArchive$EntryIterator.class
1953 Wed May 09 13:32:20 CEST 2018 org/springframework/boot/loader/PropertiesLauncher$PrefixMatchingArchiveFilter.class
266 Wed May 09 13:32:20 CEST 2018 org/springframework/boot/loader/PropertiesLauncher$1.class
4684 Wed May 09 13:32:20 CEST 2018 org/springframework/boot/loader/Launcher.class
1721 Wed May 09 13:32:20 CEST 2018 org/springframework/boot/loader/WarLauncher.class
1585 Wed May 09 13:32:20 CEST 2018 org/springframework/boot/loader/JarLauncher.class
1527 Wed May 09 13:32:20 CEST 2018 org/springframework/boot/loader/LaunchedURLClassLoader$UseFastConnectionExceptionsEnumeration.class
5687 Wed May 09 13:32:20 CEST 2018 org/springframework/boot/loader/LaunchedURLClassLoader.class
616 Wed May 09 13:32:20 CEST 2018 org/springframework/boot/loader/jar/Bytes.class
702 Wed May 09 13:32:20 CEST 2018 org/springframework/boot/loader/jar/JarURLConnection$1.class
4306 Wed May 09 13:32:20 CEST 2018 org/springframework/boot/loader/jar/JarURLConnection$JarEntryName.class
0 Fri Feb 15 10:34:14 CET 2019 BOOT-INF/
0 Fri Feb 15 10:34:14 CET 2019 BOOT-INF/classes/
0 Fri Feb 15 10:34:08 CET 2019 BOOT-INF/classes/constants/
0 Fri Feb 15 10:33:50 CET 2019 BOOT-INF/classes/data/
0 Fri Feb 15 10:34:08 CET 2019 BOOT-INF/classes/fr/
0 Fri Feb 15 10:34:10 CET 2019 BOOT-INF/classes/fr/asi/
0 Fri Feb 15 10:34:08 CET 2019 BOOT-INF/classes/fr/asi/controllers/
0 Fri Feb 15 10:34:10 CET 2019 BOOT-INF/classes/fr/asi/entities/
0 Fri Feb 15 10:34:08 CET 2019 BOOT-INF/classes/fr/asi/entities/jsonEntities/
0 Fri Feb 15 10:34:10 CET 2019 BOOT-INF/classes/fr/asi/entities/mainEntities/
0 Fri Feb 15 10:34:10 CET 2019 BOOT-INF/classes/fr/asi/entities/viewModels/
0 Fri Feb 15 10:34:10 CET 2019 BOOT-INF/classes/fr/asi/repositories/
0 Fri Feb 15 10:34:10 CET 2019 BOOT-INF/classes/fr/asi/security/
0 Fri Feb 15 10:34:10 CET 2019 BOOT-INF/classes/fr/asi/services/
0 Fri Feb 15 10:34:10 CET 2019 BOOT-INF/classes/fr/asi/utils/
0 Fri Feb 15 10:34:12 CET 2019 META-INF/maven/
0 Fri Feb 15 10:34:12 CET 2019 META-INF/maven/com.auth0.samples/
0 Fri Feb 15 10:34:12 CET 2019 META-INF/maven/com.auth0.samples/kotlin-spring-boot/
584 Fri Feb 15 10:33:50 CET 2019 BOOT-INF/classes/application.properties
87499 Fri Feb 15 10:33:50 CET 2019 BOOT-INF/classes/data/circuits-arrets.json
261015 Fri Feb 15 10:33:50 CET 2019 BOOT-INF/classes/data/tan-arrets.csv
1029 Fri Feb 15 10:34:08 CET 2019 BOOT-INF/classes/fr/asi/Configuration.class
3471 Fri Feb 15 10:34:08 CET 2019 BOOT-INF/classes/fr/asi/controllers/ApplicationUserController.class
6013 Fri Feb 15 10:34:08 CET 2019 BOOT-INF/classes/fr/asi/controllers/BaseController.class
1701 Fri Feb 15 10:34:08 CET 2019 BOOT-INF/classes/fr/asi/controllers/BikeStationController.class
1692 Fri Feb 15 10:34:08 CET 2019 BOOT-INF/classes/fr/asi/controllers/BusStationController.class
612 Fri Feb 15 10:34:08 CET 2019 BOOT-INF/classes/fr/asi/controllers/FavoriteController$WhenMappings.class
5385 Fri Feb 15 10:34:08 CET 2019 BOOT-INF/classes/fr/asi/controllers/FavoriteController.class
1778 Fri Feb 15 10:34:08 CET 2019 BOOT-INF/classes/fr/asi/controllers/LineController.class
7389 Fri Feb 15 10:34:08 CET 2019 BOOT-INF/classes/fr/asi/controllers/StationController.class
1868 Fri Feb 15 10:34:06 CET 2019 BOOT-INF/classes/fr/asi/entities/jsonEntities/Arret.class
1079 Fri Feb 15 10:34:06 CET 2019 BOOT-INF/classes/fr/asi/entities/jsonEntities/BusLineLibelle.class
3252 Fri Feb 15 10:34:08 CET 2019 BOOT-INF/classes/fr/asi/entities/mainEntities/ApplicationUser.class
2977 Fri Feb 15 10:34:08 CET 2019 BOOT-INF/classes/fr/asi/entities/mainEntities/BikeStation.class
2140 Fri Feb 15 10:34:08 CET 2019 BOOT-INF/classes/fr/asi/entities/mainEntities/Favorite.class
2981 Fri Feb 15 10:34:08 CET 2019 BOOT-INF/classes/fr/asi/entities/mainEntities/Station.class
1195 Fri Feb 15 10:34:06 CET 2019 BOOT-INF/classes/fr/asi/entities/viewModels/BaseVM.class
3691 Fri Feb 15 10:34:06 CET 2019 BOOT-INF/classes/fr/asi/entities/viewModels/StationVM.class
1663 Fri Feb 15 10:34:08 CET 2019 BOOT-INF/classes/fr/asi/KotlinSpringBootApplicationKt.class
812 Fri Feb 15 10:34:06 CET 2019 BOOT-INF/classes/fr/asi/repositories/BaseRepository.class
702 Fri Feb 15 10:34:08 CET 2019 BOOT-INF/classes/fr/asi/repositories/BusStationRepository.class
672 Fri Feb 15 10:34:08 CET 2019 BOOT-INF/classes/fr/asi/repositories/LineRepository.class
5530 Fri Feb 15 10:34:08 CET 2019 BOOT-INF/classes/fr/asi/security/JWTAuthenticationFilter.class
2578 Fri Feb 15 10:34:08 CET 2019 BOOT-INF/classes/fr/asi/security/UserDetailsServiceImpl.class
4617 Fri Feb 15 10:34:06 CET 2019 BOOT-INF/classes/fr/asi/services/BaseService.class
1186 Fri Feb 15 10:34:06 CET 2019 BOOT-INF/classes/fr/asi/services/LineService.class
5525 Fri Feb 15 10:34:08 CET 2019 BOOT-INF/classes/fr/asi/StartingDataInjector.class
7943 Fri Feb 15 10:34:06 CET 2019 BOOT-INF/classes/fr/asi/utils/ParsersKt.class
121 Fri Feb 15 10:34:08 CET 2019 META-INF/kotlin-spring-boot.kotlin_module
7216 Fri Feb 15 10:31:38 CET 2019 META-INF/maven/com.auth0.samples/kotlin-spring-boot/pom.xml
1693 Fri Feb 15 10:34:08 CET 2019 BOOT-INF/classes/constants/ConstantsKt.class
1805 Fri Feb 15 10:34:08 CET 2019 BOOT-INF/classes/fr/asi/entities/mainEntities/AccessCondition.class
1065 Fri Feb 15 10:34:08 CET 2019 BOOT-INF/classes/fr/asi/entities/mainEntities/BaseEntity.class
3506 Fri Feb 15 10:34:08 CET 2019 BOOT-INF/classes/fr/asi/entities/mainEntities/BusStation.class
1434 Fri Feb 15 10:34:08 CET 2019 BOOT-INF/classes/fr/asi/entities/mainEntities/FavoriteType.class
2945 Fri Feb 15 10:34:08 CET 2019 BOOT-INF/classes/fr/asi/entities/mainEntities/Line.class
2056 Fri Feb 15 10:34:08 CET 2019 BOOT-INF/classes/fr/asi/entities/mainEntities/StationType.class
2081 Fri Feb 15 10:34:06 CET 2019 BOOT-INF/classes/fr/asi/entities/viewModels/LineVM.class
613 Fri Feb 15 10:34:08 CET 2019 BOOT-INF/classes/fr/asi/KotlinSpringBootApplication.class
1101 Fri Feb 15 10:34:06 CET 2019 BOOT-INF/classes/fr/asi/repositories/ApplicationUserRepository.class
707 Fri Feb 15 10:34:08 CET 2019 BOOT-INF/classes/fr/asi/repositories/BikeStationRepository.class
692 Fri Feb 15 10:34:08 CET 2019 BOOT-INF/classes/fr/asi/repositories/FavoriteRepository.class
687 Fri Feb 15 10:34:08 CET 2019 BOOT-INF/classes/fr/asi/repositories/StationRepository.class
4738 Fri Feb 15 10:34:08 CET 2019 BOOT-INF/classes/fr/asi/security/JWTAuthorizationFilter.class
6776 Fri Feb 15 10:34:08 CET 2019 BOOT-INF/classes/fr/asi/security/WebSecurity.class
1235 Fri Feb 15 10:34:06 CET 2019 BOOT-INF/classes/fr/asi/services/BikeStationService.class
1228 Fri Feb 15 10:34:06 CET 2019 BOOT-INF/classes/fr/asi/services/BusStationService.class
1207 Fri Feb 15 10:34:06 CET 2019 BOOT-INF/classes/fr/asi/services/StationService.class
2405 Fri Feb 15 10:34:06 CET 2019 BOOT-INF/classes/fr/asi/utils/FindersKt.class
5205 Fri Feb 15 10:34:08 CET 2019 BOOT-INF/classes/fr/asi/VMUtils.class
114 Fri Feb 15 10:34:12 CET 2019 META-INF/maven/com.auth0.samples/kotlin-spring-boot/pom.properties
29487 Fri Feb 15 10:33:50 CET 2019 BOOT-INF/classes/data/stations-velos-libre-service-nantes-metropole.csv
0 Fri Feb 15 10:34:14 CET 2019 BOOT-INF/lib/
628 Wed May 09 13:41:28 CEST 2018 BOOT-INF/lib/spring-boot-starter-data-jpa-2.0.2.RELEASE.jar
593 Wed May 09 13:30:56 CEST 2018 BOOT-INF/lib/spring-boot-starter-2.0.2.RELEASE.jar
927496 Wed May 09 13:19:02 CEST 2018 BOOT-INF/lib/spring-boot-2.0.2.RELEASE.jar
1161361 Wed May 09 13:25:34 CEST 2018 BOOT-INF/lib/spring-boot-autoconfigure-2.0.2.RELEASE.jar
613 Wed May 09 13:30:56 CEST 2018 BOOT-INF/lib/spring-boot-starter-logging-2.0.2.RELEASE.jar
290339 Fri Mar 31 21:27:54 CEST 2017 BOOT-INF/lib/logback-classic-1.2.3.jar
471901 Fri Mar 31 21:27:16 CEST 2017 BOOT-INF/lib/logback-core-1.2.3.jar
17519 Sun Nov 19 01:08:44 CET 2017 BOOT-INF/lib/log4j-to-slf4j-2.10.0.jar
255485 Sun Nov 19 00:48:58 CET 2017 BOOT-INF/lib/log4j-api-2.10.0.jar
4596 Thu Mar 16 17:37:48 CET 2017 BOOT-INF/lib/jul-to-slf4j-1.7.25.jar
26586 Wed Feb 21 15:54:16 CET 2018 BOOT-INF/lib/javax.annotation-api-1.3.2.jar
297518 Sat Oct 14 11:44:44 CEST 2017 BOOT-INF/lib/snakeyaml-1.19.jar
600 Wed May 09 13:41:20 CEST 2018 BOOT-INF/lib/spring-boot-starter-aop-2.0.2.RELEASE.jar
1930381 Wed Nov 15 11:26:54 CET 2017 BOOT-INF/lib/aspectjweaver-1.8.13.jar
598 Wed May 09 13:41:22 CEST 2018 BOOT-INF/lib/spring-boot-starter-jdbc-2.0.2.RELEASE.jar
143471 Thu Apr 05 17:30:38 CEST 2018 BOOT-INF/lib/HikariCP-2.7.9.jar
401279 Tue May 08 08:06:44 CEST 2018 BOOT-INF/lib/spring-jdbc-5.0.6.RELEASE.jar
6739203 Thu Apr 26 11:06:04 CEST 2018 BOOT-INF/lib/hibernate-core-5.2.17.Final.jar
66469 Wed Feb 14 13:23:28 CET 2018 BOOT-INF/lib/jboss-logging-3.3.2.Final.jar
113371 Fri Jul 26 12:01:34 CEST 2013 BOOT-INF/lib/hibernate-jpa-2.1-api-1.0.0.Final.jar
739582 Tue Oct 10 18:04:58 CEST 2017 BOOT-INF/lib/javassist-3.22.0-GA.jar
445288 Wed Sep 06 11:15:06 CEST 2006 BOOT-INF/lib/antlr-2.7.7.jar
186741 Tue Aug 02 13:41:56 CEST 2016 BOOT-INF/lib/jandex-2.0.3.Final.jar
65100 Sat Sep 09 14:47:28 CEST 2017 BOOT-INF/lib/classmate-1.3.4.jar
313898 Mon May 16 14:19:12 CEST 2005 BOOT-INF/lib/dom4j-1.6.1.jar
75288 Tue Nov 24 15:03:08 CET 2015 BOOT-INF/lib/hibernate-commons-annotations-5.0.1.Final.jar
30724 Mon May 13 15:11:34 CEST 2013 BOOT-INF/lib/javax.transaction-api-1.2.jar
335660 Tue May 08 14:29:02 CEST 2018 BOOT-INF/lib/spring-data-jpa-2.0.7.RELEASE.jar
1076871 Tue May 08 14:23:50 CEST 2018 BOOT-INF/lib/spring-data-commons-2.0.7.RELEASE.jar
191789 Tue May 08 08:07:28 CEST 2018 BOOT-INF/lib/spring-orm-5.0.6.RELEASE.jar
255201 Tue May 08 08:06:38 CEST 2018 BOOT-INF/lib/spring-tx-5.0.6.RELEASE.jar
41203 Thu Mar 16 17:36:32 CET 2017 BOOT-INF/lib/slf4j-api-1.7.25.jar
46745 Tue May 08 08:08:48 CEST 2018 BOOT-INF/lib/spring-aspects-5.0.6.RELEASE.jar
588 Wed May 09 13:41:32 CEST 2018 BOOT-INF/lib/spring-boot-starter-web-2.0.2.RELEASE.jar
645 Wed May 09 13:41:30 CEST 2018 BOOT-INF/lib/spring-boot-starter-json-2.0.2.RELEASE.jar
33392 Mon Mar 26 15:55:48 CEST 2018 BOOT-INF/lib/jackson-datatype-jdk8-2.9.5.jar
99630 Mon Mar 26 15:56:26 CEST 2018 BOOT-INF/lib/jackson-datatype-jsr310-2.9.5.jar
8646 Mon Mar 26 15:54:04 CEST 2018 BOOT-INF/lib/jackson-module-parameter-names-2.9.5.jar
591 Wed May 09 13:41:32 CEST 2018 BOOT-INF/lib/spring-boot-starter-tomcat-2.0.2.RELEASE.jar
3115994 Fri Apr 27 21:24:52 CEST 2018 BOOT-INF/lib/tomcat-embed-core-8.5.31.jar
240244 Fri Apr 27 21:24:54 CEST 2018 BOOT-INF/lib/tomcat-embed-el-8.5.31.jar
256776 Fri Apr 27 21:24:54 CEST 2018 BOOT-INF/lib/tomcat-embed-websocket-8.5.31.jar
1130724 Tue Mar 27 09:03:18 CEST 2018 BOOT-INF/lib/hibernate-validator-6.0.9.Final.jar
93107 Tue Dec 19 16:23:28 CET 2017 BOOT-INF/lib/validation-api-2.0.1.Final.jar
1254097 Tue May 08 08:07:04 CEST 2018 BOOT-INF/lib/spring-web-5.0.6.RELEASE.jar
789889 Tue May 08 08:07:52 CEST 2018 BOOT-INF/lib/spring-webmvc-5.0.6.RELEASE.jar
604 Wed May 09 13:41:42 CEST 2018 BOOT-INF/lib/spring-boot-starter-security-2.0.2.RELEASE.jar
366299 Tue May 08 08:06:20 CEST 2018 BOOT-INF/lib/spring-aop-5.0.6.RELEASE.jar
691611 Tue May 08 15:25:12 CEST 2018 BOOT-INF/lib/spring-security-config-5.0.5.RELEASE.jar
494788 Tue May 08 15:24:48 CEST 2018 BOOT-INF/lib/spring-security-web-5.0.5.RELEASE.jar
72603 Thu Jan 10 22:41:24 CET 2019 BOOT-INF/lib/spring-security-crypto-5.1.3.RELEASE.jar
433210 Thu Jan 10 22:41:26 CET 2019 BOOT-INF/lib/spring-security-core-5.1.3.RELEASE.jar
660573 Tue May 08 08:06:02 CEST 2018 BOOT-INF/lib/spring-beans-5.0.6.RELEASE.jar
1090735 Tue May 08 08:06:32 CEST 2018 BOOT-INF/lib/spring-context-5.0.6.RELEASE.jar
1226584 Tue May 08 08:05:54 CEST 2018 BOOT-INF/lib/spring-core-5.0.6.RELEASE.jar
21704 Tue May 08 08:05:42 CEST 2018 BOOT-INF/lib/spring-jcl-5.0.6.RELEASE.jar
279878 Tue May 08 08:06:20 CEST 2018 BOOT-INF/lib/spring-expression-5.0.6.RELEASE.jar
13769 Tue Nov 13 13:35:54 CET 2018 BOOT-INF/lib/kotlin-stdlib-jdk8-1.3.10.jar
1181292 Tue Nov 13 13:25:52 CET 2018 BOOT-INF/lib/kotlin-stdlib-1.3.10.jar
151024 Tue Nov 13 13:24:28 CET 2018 BOOT-INF/lib/kotlin-stdlib-common-1.3.10.jar
17536 Tue Dec 17 16:10:34 CET 2013 BOOT-INF/lib/annotations-13.0.jar
3137 Tue Nov 13 13:35:52 CET 2018 BOOT-INF/lib/kotlin-stdlib-jdk7-1.3.10.jar
2645740 Tue Nov 13 13:33:06 CET 2018 BOOT-INF/lib/kotlin-reflect-1.3.10.jar
501860 Wed Aug 15 21:36:52 CEST 2018 BOOT-INF/lib/commons-lang3-3.8.jar
127509 Fri Aug 04 15:17:50 CEST 2017 BOOT-INF/lib/javax.ws.rs-api-2.1.jar
164361 Sun Dec 23 12:30:54 CET 2018 BOOT-INF/lib/klaxon-5.0.1.jar
50732 Thu Jan 03 15:45:18 CET 2019 BOOT-INF/lib/java-jwt-3.5.0.jar
1342410 Mon Mar 26 15:13:56 CEST 2018 BOOT-INF/lib/jackson-databind-2.9.5.jar
66519 Sat Jul 29 20:53:26 CEST 2017 BOOT-INF/lib/jackson-annotations-2.9.0.jar
321590 Mon Mar 26 08:04:00 CEST 2018 BOOT-INF/lib/jackson-core-2.9.5.jar
335042 Tue Oct 17 08:53:20 CEST 2017 BOOT-INF/lib/commons-codec-1.11.jar
1007502 Tue Aug 07 08:59:10 CEST 2018 BOOT-INF/lib/mysql-connector-java-5.1.47.jar
I finally solved the problem. I don't if know using the BufferedReader is still the best practice, but I decided to keep it in my code as everything was done with it already. So I dropped the use of File class, and I used the following to get a resource from src/main/resources:
var line: String?
val bufferedReader = BufferedReader(InputStreamReader(Thread.currentThread().contextClassLoader.getResourceAsStream(csvLocation)))
do {
line = bufferedReader.readLine()
if (line != null) {
//Do something with 'line'
}
} while (line != null)
csvLocation value is "data/myFile.csv". This file is located in src/main/resources/data
Finally this solution works in my IDE and in the generated jar. Problem solved.
The production app will not run in your IDE, right? So that is of lesser importance than finding where the file exists on the classpath.
Essentially, there is no src/main/resources dir in the jar file - that directory is just a Maven convention for holding resources in a project. If you crack the jar and find the files in question, you'll understand better where Maven puts those files at package time and how to access them. Also note, a Maven-aware IDE will put files in src/main/resources on the app classpath, so the app will likely run in the IDE as well once the correct solution is identified.
To access the application.properties file in the example, use getResource or getResourceAsStream as suggested, with path /BOOT-INF/classes/application.properties. Note the first slash.
I'm using the latest XAMPP with with PHP 7.1.8 on Windows 10 Pro.
At a moment's notice the included apache server started to produce the following errors. Reinstalling, restarting, trying different versions of xampp, searching the web, nothing helps. It keeps on restarting... Same Problem with Installation of WAMP.
[Thu Sep 14 09:58:09.275015 2017] [mpm_winnt:notice] [pid 11268:tid 656] AH00428: Parent: child process 13424 exited with status 3221226356 -- Restarting.
[Thu Sep 14 09:58:09.351715 2017] [mpm_winnt:notice] [pid 11268:tid 656] AH00455: Apache/2.4.27 (Win32) PHP/7.1.8 configured -- resuming normal operations
[Thu Sep 14 09:58:09.351715 2017] [mpm_winnt:notice] [pid 11268:tid 656] AH00456: Apache Lounge VC14 Server built: Jul 9 2017 11:48:22
[Thu Sep 14 09:58:09.352216 2017] [core:notice] [pid 11268:tid 656] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Thu Sep 14 09:58:09.362746 2017] [mpm_winnt:notice] [pid 11268:tid 656] AH00418: Parent: Created child process 16784
[Thu Sep 14 09:58:10.013977 2017] [mpm_winnt:notice] [pid 16784:tid 724] AH00354: Child: Starting 150 worker threads.
[Thu Sep 14 09:58:18.699169 2017] [mpm_winnt:notice] [pid 11268:tid 656] AH00428: Parent: child process 16784 exited with status 3221226356 -- Restarting.
[Thu Sep 14 09:58:18.785521 2017] [mpm_winnt:notice] [pid 11268:tid 656] AH00455: Apache/2.4.27 (Win32) PHP/7.1.8 configured -- resuming normal operations
[Thu Sep 14 09:58:18.785521 2017] [mpm_winnt:notice] [pid 11268:tid 656] AH00456: Apache Lounge VC14 Server built: Jul 9 2017 11:48:22
[Thu Sep 14 09:58:18.785521 2017] [core:notice] [pid 11268:tid 656] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Thu Sep 14 09:58:18.796155 2017] [mpm_winnt:notice] [pid 11268:tid 656] AH00418: Parent: Created child process 8612
[Thu Sep 14 09:58:19.343273 2017] [mpm_winnt:notice] [pid 8612:tid 676] AH00354: Child: Starting 150 worker threads.
[Thu Sep 14 09:59:22.489254 2017] [mpm_winnt:notice] [pid 11268:tid 656] AH00428: Parent: child process 8612 exited with status 3221226356 -- Restarting.
[Thu Sep 14 09:59:22.560254 2017] [mpm_winnt:notice] [pid 11268:tid 656] AH00455: Apache/2.4.27 (Win32) PHP/7.1.8 configured -- resuming normal operations
[Thu Sep 14 09:59:22.560756 2017] [mpm_winnt:notice] [pid 11268:tid 656] AH00456: Apache Lounge VC14 Server built: Jul 9 2017 11:48:22
[Thu Sep 14 09:59:22.560756 2017] [core:notice] [pid 11268:tid 656] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Thu Sep 14 09:59:22.571750 2017] [mpm_winnt:notice] [pid 11268:tid 656] AH00418: Parent: Created child process 12896
[Thu Sep 14 09:59:23.129289 2017] [mpm_winnt:notice] [pid 12896:tid 700] AH00354: Child: Starting 150 worker threads.
[Thu Sep 14 10:00:06.956424 2017] [mpm_winnt:notice] [pid 11268:tid 656] AH00428: Parent: child process 12896 exited with status 3221226356 -- Restarting.
[Thu Sep 14 10:00:07.057701 2017] [mpm_winnt:notice] [pid 11268:tid 656] AH00455: Apache/2.4.27 (Win32) PHP/7.1.8 configured -- resuming normal operations
[Thu Sep 14 10:00:07.058201 2017] [mpm_winnt:notice] [pid 11268:tid 656] AH00456: Apache Lounge VC14 Server built: Jul 9 2017 11:48:22
[Thu Sep 14 10:00:07.058201 2017] [core:notice] [pid 11268:tid 656] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Thu Sep 14 10:00:07.077759 2017] [mpm_winnt:notice] [pid 11268:tid 656] AH00418: Parent: Created child process 17708
[Thu Sep 14 10:00:07.676408 2017] [mpm_winnt:notice] [pid 17708:tid 732] AH00354: Child: Starting 150 worker threads.
[Thu Sep 14 10:00:14.008406 2017] [mpm_winnt:notice] [pid 11268:tid 656] AH00428: Parent: child process 17708 exited with status 3221226356 -- Restarting.
[Thu Sep 14 10:00:14.085799 2017] [mpm_winnt:notice] [pid 11268:tid 656] AH00455: Apache/2.4.27 (Win32) PHP/7.1.8 configured -- resuming normal operations
[Thu Sep 14 10:00:14.085799 2017] [mpm_winnt:notice] [pid 11268:tid 656] AH00456: Apache Lounge VC14 Server built: Jul 9 2017 11:48:22
[Thu Sep 14 10:00:14.085799 2017] [core:notice] [pid 11268:tid 656] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Thu Sep 14 10:00:14.097002 2017] [mpm_winnt:notice] [pid 11268:tid 656] AH00418: Parent: Created child process 3592
[Thu Sep 14 10:00:14.670296 2017] [mpm_winnt:notice] [pid 3592:tid 684] AH00354: Child: Starting 150 worker threads.
[Thu Sep 14 10:00:38.818171 2017] [mpm_winnt:notice] [pid 11268:tid 656] AH00428: Parent: child process 3592 exited with status 3221226356 -- Restarting.
[Thu Sep 14 10:00:38.893039 2017] [mpm_winnt:notice] [pid 11268:tid 656] AH00455: Apache/2.4.27 (Win32) PHP/7.1.8 configured -- resuming normal operations
[Thu Sep 14 10:00:38.893039 2017] [mpm_winnt:notice] [pid 11268:tid 656] AH00456: Apache Lounge VC14 Server built: Jul 9 2017 11:48:22
[Thu Sep 14 10:00:38.893039 2017] [core:notice] [pid 11268:tid 656] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Thu Sep 14 10:00:38.905073 2017] [mpm_winnt:notice] [pid 11268:tid 656] AH00418: Parent: Created child process 17056
[Thu Sep 14 10:00:39.587701 2017] [mpm_winnt:notice] [pid 17056:tid 692] AH00354: Child: Starting 150 worker threads.
[Thu Sep 14 10:01:22.737788 2017] [mpm_winnt:notice] [pid 11268:tid 656] AH00428: Parent: child process 17056 exited with status 3221226356 -- Restarting.
[Thu Sep 14 10:01:22.889690 2017] [mpm_winnt:notice] [pid 11268:tid 656] AH00455: Apache/2.4.27 (Win32) PHP/7.1.8 configured -- resuming normal operations
[Thu Sep 14 10:01:22.890191 2017] [mpm_winnt:notice] [pid 11268:tid 656] AH00456: Apache Lounge VC14 Server built: Jul 9 2017 11:48:22
[Thu Sep 14 10:01:22.890191 2017] [core:notice] [pid 11268:tid 656] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Thu Sep 14 10:01:22.906235 2017] [mpm_winnt:notice] [pid 11268:tid 656] AH00418: Parent: Created child process 17636
[Thu Sep 14 10:01:23.582065 2017] [mpm_winnt:notice] [pid 17636:tid 692] AH00354: Child: Starting 150 worker threads.
[Thu Sep 14 10:01:34.822440 2017] [mpm_winnt:notice] [pid 11268:tid 656] AH00428: Parent: child process 17636 exited with status 3221226356 -- Restarting.
[Thu Sep 14 10:01:34.956772 2017] [mpm_winnt:notice] [pid 11268:tid 656] AH00455: Apache/2.4.27 (Win32) PHP/7.1.8 configured -- resuming normal operations
[Thu Sep 14 10:01:34.956772 2017] [mpm_winnt:notice] [pid 11268:tid 656] AH00456: Apache Lounge VC14 Server built: Jul 9 2017 11:48:22
[Thu Sep 14 10:01:34.956772 2017] [core:notice] [pid 11268:tid 656] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Thu Sep 14 10:01:34.969807 2017] [mpm_winnt:notice] [pid 11268:tid 656] AH00418: Parent: Created child process 12384
[Thu Sep 14 10:01:35.632841 2017] [mpm_winnt:notice] [pid 12384:tid 540] AH00354: Child: Starting 150 worker threads.
[Thu Sep 14 10:02:43.719692 2017] [mpm_winnt:notice] [pid 11268:tid 656] AH00428: Parent: child process 12384 exited with status 3221226356 -- Restarting.
[Thu Sep 14 10:02:43.802796 2017] [mpm_winnt:notice] [pid 11268:tid 656] AH00455: Apache/2.4.27 (Win32) PHP/7.1.8 configured -- resuming normal operations
[Thu Sep 14 10:02:43.802796 2017] [mpm_winnt:notice] [pid 11268:tid 656] AH00456: Apache Lounge VC14 Server built: Jul 9 2017 11:48:22
[Thu Sep 14 10:02:43.802796 2017] [core:notice] [pid 11268:tid 656] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Thu Sep 14 10:02:43.816878 2017] [mpm_winnt:notice] [pid 11268:tid 656] AH00418: Parent: Created child process 6380
[Thu Sep 14 10:02:44.383000 2017] [mpm_winnt:notice] [pid 6380:tid 688] AH00354: Child: Starting 150 worker threads.
[Thu Sep 14 10:02:46.833877 2017] [mpm_winnt:notice] [pid 11268:tid 656] AH00428: Parent: child process 6380 exited with status 3221226356 -- Restarting.
[Thu Sep 14 10:02:46.996185 2017] [mpm_winnt:notice] [pid 11268:tid 656] AH00455: Apache/2.4.27 (Win32) PHP/7.1.8 configured -- resuming normal operations
[Thu Sep 14 10:02:46.996185 2017] [mpm_winnt:notice] [pid 11268:tid 656] AH00456: Apache Lounge VC14 Server built: Jul 9 2017 11:48:22
[Thu Sep 14 10:02:46.996185 2017] [core:notice] [pid 11268:tid 656] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Thu Sep 14 10:02:47.012227 2017] [mpm_winnt:notice] [pid 11268:tid 656] AH00418: Parent: Created child process 13728
[Thu Sep 14 10:02:47.711441 2017] [mpm_winnt:notice] [pid 13728:tid 728] AH00354: Child: Starting 150 worker threads.
[Thu Sep 14 10:02:50.675777 2017] [mpm_winnt:notice] [pid 11268:tid 656] AH00428: Parent: child process 13728 exited with status 3221226356 -- Restarting.
[Thu Sep 14 10:02:50.755284 2017] [mpm_winnt:notice] [pid 11268:tid 656] AH00455: Apache/2.4.27 (Win32) PHP/7.1.8 configured -- resuming normal operations
[Thu Sep 14 10:02:50.755284 2017] [mpm_winnt:notice] [pid 11268:tid 656] AH00456: Apache Lounge VC14 Server built: Jul 9 2017 11:48:22
[Thu Sep 14 10:02:50.755284 2017] [core:notice] [pid 11268:tid 656] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Thu Sep 14 10:02:50.769128 2017] [mpm_winnt:notice] [pid 11268:tid 656] AH00418: Parent: Created child process 13488
[Thu Sep 14 10:02:51.319194 2017] [mpm_winnt:notice] [pid 13488:tid 684] AH00354: Child: Starting 150 worker threads.
From Windows Eventlog:
Name der fehlerhaften Anwendung: httpd.exe, Version: 2.4.25.0, Zeitstempel: 0x585506f4
Name des fehlerhaften Moduls: ntdll.dll, Version: 10.0.15063.608, Zeitstempel: 0x802f667e
Ausnahmecode: 0xc0000374
Fehleroffset: 0x000d9aba
ID des fehlerhaften Prozesses: 0x21b0
Startzeit der fehlerhaften Anwendung: 0x01d32d5344cc158d
Pfad der fehlerhaften Anwendung: C:\xampp\apache\bin\httpd.exe
Pfad des fehlerhaften Moduls: C:\WINDOWS\SYSTEM32\ntdll.dll
Berichtskennung: a4b863c5-1ad2-4b08-ac54-36767303cc69
Vollständiger Name des fehlerhaften Pakets:
Anwendungs-ID, die relativ zum fehlerhaften Paket ist:
Error logs
[Wed Oct 07 10:45:33.781957 2015] [ssl:warn] [pid 5248:tid 380] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Oct 07 10:45:34.086160 2015] [ssl:warn] [pid 5248:tid 380] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Oct 07 10:45:34.450418 2015] [mpm_winnt:notice] [pid 5248:tid 380] AH00455: Apache/2.4.16 (Win32) OpenSSL/1.0.1p PHP/5.5.28 configured -- resuming normal operations
[Wed Oct 07 10:45:34.450418 2015] [mpm_winnt:notice] [pid 5248:tid 380] AH00456: Apache Lounge VC11 Server built: Jul 12 2015 10:56:48
[Wed Oct 07 10:45:34.450418 2015] [core:notice] [pid 5248:tid 380] AH00094: Command line: 'C:\\Xampp\\apache\\bin\\httpd.exe -d C:/Xampp/apache'
[Wed Oct 07 10:45:34.461426 2015] [mpm_winnt:notice] [pid 5248:tid 380] AH00418: Parent: Created child process 3408
[Wed Oct 07 10:45:35.852815 2015] [ssl:warn] [pid 3408:tid 392] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Oct 07 10:45:36.162072 2015] [ssl:warn] [pid 3408:tid 392] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Oct 07 10:45:36.239123 2015] [mpm_winnt:notice] [pid 3408:tid 392] AH00354: Child: Starting 150 worker threads.
I tried upgrading where I successfully upgraded to 1.4.2 from 1.4.1
but the frontend stopped working. Also, phpmyadmin completely stopped.
Below is my error log in /opt/lamp/logs.
Does anyone know where exactly to look for what's causing the error in this big log?
[Fri Jan 24 17:16:44.072704 2014] [ssl:warn] [pid 1180] AH01906: RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Fri Jan 24 17:16:44.072796 2014] [ssl:warn] [pid 1180] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Fri Jan 24 17:16:44.072825 2014] [suexec:notice] [pid 1180] AH01232: suEXEC mechanism enabled (wrapper: /opt/lampp/bin/suexec)
[Fri Jan 24 17:16:44.218834 2014] [auth_digest:notice] [pid 1335] AH01757: generating secret for digest authentication ...
[Fri Jan 24 17:16:45.030837 2014] [ssl:warn] [pid 1335] AH01906: RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Fri Jan 24 17:16:45.030929 2014] [ssl:warn] [pid 1335] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Fri Jan 24 17:16:45.030997 2014] [lbmethod_heartbeat:notice] [pid 1335] AH02282: No slotmem from mod_heartmonitor
[Fri Jan 24 17:16:45.039496 2014] [mpm_prefork:notice] [pid 1335] AH00163: Apache/2.4.3 (Unix) OpenSSL/1.0.1c PHP/5.4.7 configured -- resuming normal operations
[Fri Jan 24 17:16:45.039531 2014] [core:notice] [pid 1335] AH00094: Command line: '/opt/lampp/bin/httpd -D SSL -D PHP5 -E /opt/lampp/logs/error_log'
[Fri Jan 24 17:17:41.073939 2014] [authz_core:error] [pid 1890] [client 127.0.0.1:56956] AH01630: client denied by server configuration: /opt/lampp/phpmyadmin/
[Fri Jan 24 17:17:50.020021 2014] [authz_core:error] [pid 1891] [client 127.0.0.1:56983] AH01630: client denied by server configuration: /opt/lampp/phpmyadmin/
[Fri Jan 24 17:17:51.154603 2014] [authz_core:error] [pid 1891] [client 127.0.0.1:56983] AH01630: client denied by server configuration: /opt/lampp/phpmyadmin/
[Fri Jan 24 17:17:51.602371 2014] [authz_core:error] [pid 1891] [client 127.0.0.1:56983] AH01630: client denied by server configuration: /opt/lampp/phpmyadmin/
[Fri Jan 24 17:17:51.901841 2014] [authz_core:error] [pid 1891] [client 127.0.0.1:56983] AH01630: client denied by server configuration: /opt/lampp/phpmyadmin/
[Fri Jan 24 17:20:01.327548 2014] [authz_core:error] [pid 1892] [client 127.0.0.1:56987] AH01630: client denied by server configuration: /opt/lampp/phpmyadmin/
[Fri Jan 24 17:20:02.489854 2014] [authz_core:error] [pid 1892] [client 127.0.0.1:56987] AH01630: client denied by server configuration: /opt/lampp/phpmyadmin/
[Fri Jan 24 17:20:42.243495 2014] [mpm_prefork:notice] [pid 1335] AH00169: caught SIGTERM, shutting down
[Fri Jan 24 17:20:51.085988 2014] [ssl:warn] [pid 2967] AH01906: RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Fri Jan 24 17:20:51.086085 2014] [ssl:warn] [pid 2967] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Fri Jan 24 17:20:51.086113 2014] [suexec:notice] [pid 2967] AH01232: suEXEC mechanism enabled (wrapper: /opt/lampp/bin/suexec)
[Fri Jan 24 17:20:51.216881 2014] [auth_digest:notice] [pid 2968] AH01757: generating secret for digest authentication ...
[Fri Jan 24 17:20:52.074917 2014] [ssl:warn] [pid 2968] AH01906: RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Fri Jan 24 17:20:52.074967 2014] [ssl:warn] [pid 2968] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Fri Jan 24 17:20:52.075005 2014] [lbmethod_heartbeat:notice] [pid 2968] AH02282: No slotmem from mod_heartmonitor
[Fri Jan 24 17:20:52.081177 2014] [mpm_prefork:notice] [pid 2968] AH00163: Apache/2.4.3 (Unix) OpenSSL/1.0.1c PHP/5.4.7 configured -- resuming normal operations
[Fri Jan 24 17:20:52.081213 2014] [core:notice] [pid 2968] AH00094: Command line: '/opt/lampp/bin/httpd -D SSL -D PHP5 -E /opt/lampp/logs/error_log'
[Fri Jan 24 17:40:47.075100 2014] [ssl:warn] [pid 1188] AH01906: RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Fri Jan 24 17:40:47.086940 2014] [ssl:warn] [pid 1188] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Fri Jan 24 17:40:47.086998 2014] [suexec:notice] [pid 1188] AH01232: suEXEC mechanism enabled (wrapper: /opt/lampp/bin/suexec)
[Fri Jan 24 17:40:47.242800 2014] [auth_digest:notice] [pid 1502] AH01757: generating secret for digest authentication ...
[Fri Jan 24 17:40:48.050110 2014] [ssl:warn] [pid 1502] AH01906: RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Fri Jan 24 17:40:48.050170 2014] [ssl:warn] [pid 1502] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Fri Jan 24 17:40:48.050214 2014] [lbmethod_heartbeat:notice] [pid 1502] AH02282: No slotmem from mod_heartmonitor
[Fri Jan 24 17:40:48.055872 2014] [mpm_prefork:notice] [pid 1502] AH00163: Apache/2.4.3 (Unix) OpenSSL/1.0.1c PHP/5.4.7 configured -- resuming normal operations
[Fri Jan 24 17:40:48.055913 2014] [core:notice] [pid 1502] AH00094: Command line: '/opt/lampp/bin/httpd -D SSL -D PHP5 -E /opt/lampp/logs/error_log'
[Fri Jan 24 17:50:03.664870 2014] [access_compat:error] [pid 2506] [client 127.0.0.1:44824] AH01797: client denied by server configuration: /opt/lampp/htdocs/pedicure/app/etc/local.xml
[Fri Jan 24 17:58:43.173383 2014] [access_compat:error] [pid 2512] [client 127.0.0.1:44945] AH01797: client denied by server configuration: /opt/lampp/htdocs/pedicure/app/etc/local.xml
[Fri Jan 24 18:02:47.290956 2014] [core:notice] [pid 1502] AH00051: child pid 2915 exit signal Segmentation fault (11), possible coredump in /opt/lampp
[Fri Jan 24 18:05:48.701079 2014] [:error] [pid 2506] [client 127.0.0.1:45082] PHP Fatal error: Call to a member function toHtml() on a non-object in /opt/lampp/htdocs/pedicure/app/code/core/Mage/Core/Model/Layout.php on line 529
[Fri Jan 24 18:05:59.281046 2014] [:error] [pid 2932] [client 127.0.0.1:45083] PHP Fatal error: Call to a member function toHtml() on a non-object in /opt/lampp/htdocs/pedicure/app/code/core/Mage/Core/Model/Layout.php on line 529
[Fri Jan 24 18:06:18.870329 2014] [access_compat:error] [pid 2001] [client 127.0.0.1:45088] AH01797: client denied by server configuration: /opt/lampp/htdocs/pedicure/app/etc/local.xml
[Fri Jan 24 18:09:28.481096 2014] [:error] [pid 2001] [client 127.0.0.1:45098] PHP Fatal error: Call to a member function toHtml() on a non-object in /opt/lampp/htdocs/pedicure/app/code/core/Mage/Core/Model/Layout.php on line 529
[Fri Jan 24 18:10:05.300624 2014] [:error] [pid 2946] [client 127.0.0.1:45114] PHP Fatal error: Call to a member function toHtml() on a non-object in /opt/lampp/htdocs/pedicure/app/code/core/Mage/Core/Model/Layout.php on line 529
[Fri Jan 24 18:10:05.691793 2014] [core:notice] [pid 1502] AH00051: child pid 3781 exit signal Segmentation fault (11), possible coredump in /opt/lampp
[Fri Jan 24 18:10:12.901312 2014] [access_compat:error] [pid 1998] [client 127.0.0.1:45116] AH01797: client denied by server configuration: /opt/lampp/htdocs/pedicure/app/etc/local.xml
[Fri Jan 24 18:10:19.200353 2014] [access_compat:error] [pid 2510] [client 127.0.0.1:45122] AH01797: client denied by server configuration: /opt/lampp/htdocs/pedicure/app/etc/local.xml
[Fri Jan 24 18:21:01.813878 2014] [:error] [pid 2494] [client 127.0.0.1:45350] PHP Fatal error: Call to a member function toHtml() on a non-object in /opt/lampp/htdocs/pedicure/app/code/core/Mage/Core/Model/Layout.php on line 529
[Fri Jan 24 18:21:03.603027 2014] [:error] [pid 2494] [client 127.0.0.1:45350] PHP Fatal error: Call to a member function toHtml() on a non-object in /opt/lampp/htdocs/pedicure/app/code/core/Mage/Core/Model/Layout.php on line 529
[Fri Jan 24 18:21:04.886698 2014] [:error] [pid 2494] [client 127.0.0.1:45350] PHP Fatal error: Call to a member function toHtml() on a non-object in /opt/lampp/htdocs/pedicure/app/code/core/Mage/Core/Model/Layout.php on line 529
[Fri Jan 24 18:21:05.105651 2014] [:error] [pid 2494] [client 127.0.0.1:45350] PHP Fatal error: Call to a member function toHtml() on a non-object in /opt/lampp/htdocs/pedicure/app/code/core/Mage/Core/Model/Layout.php on line 529
[Fri Jan 24 18:21:05.278352 2014] [:error] [pid 1998] [client 127.0.0.1:45351] PHP Fatal error: Call to a member function toHtml() on a non-object in /opt/lampp/htdocs/pedicure/app/code/core/Mage/Core/Model/Layout.php on line 529
[Fri Jan 24 18:22:00.454583 2014] [:error] [pid 2946] [client 127.0.0.1:45403] PHP Fatal error: Call to a member function toHtml() on a non-object in /opt/lampp/htdocs/pedicure/app/code/core/Mage/Core/Model/Layout.php on line 529
[Fri Jan 24 18:22:57.866575 2014] [:error] [pid 3752] [client 127.0.0.1:45434] PHP Fatal error: Call to a member function toHtml() on a non-object in /opt/lampp/htdocs/pedicure/app/code/core/Mage/Core/Model/Layout.php on line 529
[Fri Jan 24 18:22:58.061249 2014] [:error] [pid 3752] [client 127.0.0.1:45434] PHP Fatal error: Call to a member function toHtml() on a non-object in /opt/lampp/htdocs/pedicure/app/code/core/Mage/Core/Model/Layout.php on line 529
[Fri Jan 24 18:23:24.403970 2014] [access_compat:error] [pid 2001] [client 127.0.0.1:45443] AH01797: client denied by server configuration: /opt/lampp/htdocs/pedicure/app/etc/local.xml
[Fri Jan 24 18:23:47.017177 2014] [access_compat:error] [pid 3754] [client 127.0.0.1:45452] AH01797: client denied by server configuration: /opt/lampp/htdocs/pedicure/app/etc/local.xml
[Fri Jan 24 18:23:53.612522 2014] [access_compat:error] [pid 2946] [client 127.0.0.1:45463] AH01797: client denied by server configuration: /opt/lampp/htdocs/pedicure/app/etc/local.xml
[Fri Jan 24 18:23:56.602871 2014] [access_compat:error] [pid 2001] [client 127.0.0.1:45466] AH01797: client denied by server configuration: /opt/lampp/htdocs/pedicure/app/etc/local.xml
[Fri Jan 24 18:24:02.936633 2014] [access_compat:error] [pid 2510] [client 127.0.0.1:45472] AH01797: client denied by server configuration: /opt/lampp/htdocs/pedicure/app/etc/local.xml
[Fri Jan 24 18:27:07.836253 2014] [:error] [pid 3753] [client 127.0.0.1:45605] PHP Fatal error: Call to a member function toHtml() on a non-object in /opt/lampp/htdocs/pedicure/app/code/core/Mage/Core/Model/Layout.php on line 529
[Fri Jan 24 18:27:09.725328 2014] [:error] [pid 3753] [client 127.0.0.1:45605] PHP Fatal error: Call to a member function toHtml() on a non-object in /opt/lampp/htdocs/pedicure/app/code/core/Mage/Core/Model/Layout.php on line 529
[Fri Jan 24 18:27:11.510547 2014] [:error] [pid 3753] [client 127.0.0.1:45605] PHP Fatal error: Call to a member function toHtml() on a non-object in /opt/lampp/htdocs/pedicure/app/code/core/Mage/Core/Model/Layout.php on line 529
[Fri Jan 24 18:27:13.086073 2014] [:error] [pid 3753] [client 127.0.0.1:45605] PHP Fatal error: Call to a member function toHtml() on a non-object in /opt/lampp/htdocs/pedicure/app/code/core/Mage/Core/Model/Layout.php on line 529
[Fri Jan 24 18:27:13.252462 2014] [:error] [pid 2506] [client 127.0.0.1:45606] PHP Fatal error: Call to a member function toHtml() on a non-object in /opt/lampp/htdocs/pedicure/app/code/core/Mage/Core/Model/Layout.php on line 529
[Fri Jan 24 18:27:13.403045 2014] [:error] [pid 2494] [client 127.0.0.1:45607] PHP Fatal error: Call to a member function toHtml() on a non-object in /opt/lampp/htdocs/pedicure/app/code/core/Mage/Core/Model/Layout.php on line 529
[Fri Jan 24 18:27:13.503701 2014] [:error] [pid 2946] [client 127.0.0.1:45608] PHP Fatal error: Call to a member function toHtml() on a non-object in /opt/lampp/htdocs/pedicure/app/code/core/Mage/Core/Model/Layout.php on line 529
[Fri Jan 24 18:29:54.146949 2014] [:error] [pid 2510] [client 127.0.0.1:45873] PHP Fatal error: Call to a member function toHtml() on a non-object in /opt/lampp/htdocs/pedicure/app/code/core/Mage/Core/Model/Layout.php on line 529
[Fri Jan 24 18:30:39.799300 2014] [:error] [pid 3753] [client 127.0.0.1:45991] PHP Fatal error: Call to a member function toHtml() on a non-object in /opt/lampp/htdocs/pedicure/app/code/core/Mage/Core/Model/Layout.php on line 529
[Fri Jan 24 18:30:39.897294 2014] [:error] [pid 3753] [client 127.0.0.1:45991] PHP Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000]: General error: 2006 MySQL server has gone away' in /opt/lampp/htdocs/pedicure/lib/Zend/Db/Statement/Pdo.php:228\nStack trace:\n#0 /opt/lampp/htdocs/pedicure/lib/Zend/Db/Statement/Pdo.php(228): PDOStatement->execute(Array)\n#1 /opt/lampp/htdocs/pedicure/lib/Zend/Db/Statement.php(300): Zend_Db_Statement_Pdo->_execute(Array)\n#2 /opt/lampp/htdocs/pedicure/lib/Zend/Db/Adapter/Abstract.php(468): Zend_Db_Statement->execute(Array)\n#3 /opt/lampp/htdocs/pedicure/lib/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('UPDATE `core_se...', Array)\n#4 /opt/lampp/htdocs/pedicure/lib/Varien/Db/Adapter/Pdo/Mysql.php(333): Zend_Db_Adapter_Pdo_Abstract->query('UPDATE `core_se...', Array)\n#5 /opt/lampp/htdocs/pedicure/lib/Zend/Db/Adapter/Abstract.php(604): Varien_Db_Adapter_Pdo_Mysql->query('UPDATE `core_se...', Array)\n#6 /opt/lampp/htdocs/pedicure/app/code/core/Mage/Core/Model/Mysql4/Session.php(199): Zend_Db_Adapter_Abstract->update('core_session in /opt/lampp/htdocs/pedicure/lib/Zend/Db/Statement/Pdo.php on line 234
[Fri Jan 24 18:40:57.681009 2014] [:error] [pid 2494] [client 127.0.0.1:46634] PHP Warning: include(Zend/Log.php): failed to open stream: No such file or directory in /opt/lampp/htdocs/pedicure/lib/Varien/Autoload.php on line 93
[Fri Jan 24 18:40:57.681057 2014] [:error] [pid 2494] [client 127.0.0.1:46634] PHP Warning: include(): Failed opening 'Zend/Log.php' for inclusion (include_path='/opt/lampp/htdocs/pedicure/app/code/local:/opt/lampp/htdocs/pedicure/app/code/community:/opt/lampp/htdocs/pedicure/app/code/core:/opt/lampp/htdocs/pedicure/lib:.:/opt/lampp/lib/php') in /opt/lampp/htdocs/pedicure/lib/Varien/Autoload.php on line 93
[Fri Jan 24 18:40:57.681071 2014] [:error] [pid 2494] [client 127.0.0.1:46634] PHP Fatal error: Class 'Zend_Log' not found in /opt/lampp/htdocs/pedicure/app/code/core/Mage/Core/functions.php on line 247
[Fri Jan 24 18:41:02.823272 2014] [:error] [pid 2510] [client 127.0.0.1:46643] PHP Warning: include(Zend/Log.php): failed to open stream: No such file or directory in /opt/lampp/htdocs/pedicure/lib/Varien/Autoload.php on line 93
[Fri Jan 24 18:41:02.823324 2014] [:error] [pid 2510] [client 127.0.0.1:46643] PHP Warning: include(): Failed opening 'Zend/Log.php' for inclusion (include_path='/opt/lampp/htdocs/pedicure/app/code/local:/opt/lampp/htdocs/pedicure/app/code/community:/opt/lampp/htdocs/pedicure/app/code/core:/opt/lampp/htdocs/pedicure/lib:.:/opt/lampp/lib/php') in /opt/lampp/htdocs/pedicure/lib/Varien/Autoload.php on line 93
[Fri Jan 24 18:41:02.823339 2014] [:error] [pid 2510] [client 127.0.0.1:46643] PHP Fatal error: Class 'Zend_Log' not found in /opt/lampp/htdocs/pedicure/app/code/core/Mage/Core/functions.php on line 247
[Fri Jan 24 18:41:06.232257 2014] [:error] [pid 2510] [client 127.0.0.1:46643] PHP Warning: include(Zend/Log.php): failed to open stream: No such file or directory in /opt/lampp/htdocs/pedicure/lib/Varien/Autoload.php on line 93
[Fri Jan 24 18:41:06.232316 2014] [:error] [pid 2510] [client 127.0.0.1:46643] PHP Warning: include(): Failed opening 'Zend/Log.php' for inclusion (include_path='/opt/lampp/htdocs/pedicure/app/code/local:/opt/lampp/htdocs/pedicure/app/code/community:/opt/lampp/htdocs/pedicure/app/code/core:/opt/lampp/htdocs/pedicure/lib:.:/opt/lampp/lib/php') in /opt/lampp/htdocs/pedicure/lib/Varien/Autoload.php on line 93
[Fri Jan 24 18:41:06.232331 2014] [:error] [pid 2510] [client 127.0.0.1:46643] PHP Fatal error: Class 'Zend_Log' not found in /opt/lampp/htdocs/pedicure/app/code/core/Mage/Core/functions.php on line 247
[Fri Jan 24 18:41:08.058339 2014] [:error] [pid 2510] [client 127.0.0.1:46643] PHP Warning: include(Zend/Log.php): failed to open stream: No such file or directory in /opt/lampp/htdocs/pedicure/lib/Varien/Autoload.php on line 93
[Fri Jan 24 18:41:08.058388 2014] [:error] [pid 2510] [client 127.0.0.1:46643] PHP Warning: include(): Failed opening 'Zend/Log.php' for inclusion (include_path='/opt/lampp/htdocs/pedicure/app/code/local:/opt/lampp/htdocs/pedicure/app/code/community:/opt/lampp/htdocs/pedicure/app/code/core:/opt/lampp/htdocs/pedicure/lib:.:/opt/lampp/lib/php') in /opt/lampp/htdocs/pedicure/lib/Varien/Autoload.php on line 93
[Fri Jan 24 18:41:08.058411 2014] [:error] [pid 2510] [client 127.0.0.1:46643] PHP Fatal error: Class 'Zend_Log' not found in /opt/lampp/htdocs/pedicure/app/code/core/Mage/Core/functions.php on line 247
[Fri Jan 24 18:41:10.021820 2014] [:error] [pid 2510] [client 127.0.0.1:46643] PHP Warning: include(Zend/Log.php): failed to open stream: No such file or directory in /opt/lampp/htdocs/pedicure/lib/Varien/Autoload.php on line 93
[Fri Jan 24 18:41:10.021866 2014] [:error] [pid 2510] [client 127.0.0.1:46643] PHP Warning: include(): Failed opening 'Zend/Log.php' for inclusion (include_path='/opt/lampp/htdocs/pedicure/app/code/local:/opt/lampp/htdocs/pedicure/app/code/community:/opt/lampp/htdocs/pedicure/app/code/core:/opt/lampp/htdocs/pedicure/lib:.:/opt/lampp/lib/php') in /opt/lampp/htdocs/pedicure/lib/Varien/Autoload.php on line 93
[Fri Jan 24 18:41:10.021880 2014] [:error] [pid 2510] [client 127.0.0.1:46643] PHP Fatal error: Class 'Zend_Log' not found in /opt/lampp/htdocs/pedicure/app/code/core/Mage/Core/functions.php on line 247
[Fri Jan 24 18:41:18.703821 2014] [:error] [pid 2506] [client 127.0.0.1:46684] PHP Warning: include(Zend/Log.php): failed to open stream: No such file or directory in /opt/lampp/htdocs/pedicure/lib/Varien/Autoload.php on line 93
[Fri Jan 24 18:41:18.703868 2014] [:error] [pid 2506] [client 127.0.0.1:46684] PHP Warning: include(): Failed opening 'Zend/Log.php' for inclusion (include_path='/opt/lampp/htdocs/pedicure/app/code/local:/opt/lampp/htdocs/pedicure/app/code/community:/opt/lampp/htdocs/pedicure/app/code/core:/opt/lampp/htdocs/pedicure/lib:.:/opt/lampp/lib/php') in /opt/lampp/htdocs/pedicure/lib/Varien/Autoload.php on line 93
[Fri Jan 24 18:41:18.703882 2014] [:error] [pid 2506] [client 127.0.0.1:46684] PHP Fatal error: Class 'Zend_Log' not found in /opt/lampp/htdocs/pedicure/app/code/core/Mage/Core/functions.php on line 247
[Fri Jan 24 18:41:41.511820 2014] [:error] [pid 4590] [client 127.0.0.1:46704] PHP Warning: include(Zend/Log.php): failed to open stream: No such file or directory in /opt/lampp/htdocs/pedicure/lib/Varien/Autoload.php on line 93
[Fri Jan 24 18:41:41.511972 2014] [:error] [pid 4590] [client 127.0.0.1:46704] PHP Warning: include(): Failed opening 'Zend/Log.php' for inclusion (include_path='/opt/lampp/htdocs/pedicure/app/code/local:/opt/lampp/htdocs/pedicure/app/code/community:/opt/lampp/htdocs/pedicure/app/code/core:/opt/lampp/htdocs/pedicure/lib:.:/opt/lampp/lib/php') in /opt/lampp/htdocs/pedicure/lib/Varien/Autoload.php on line 93
[Fri Jan 24 18:41:41.511997 2014] [:error] [pid 4590] [client 127.0.0.1:46704] PHP Fatal error: Class 'Zend_Log' not found in /opt/lampp/htdocs/pedicure/app/code/core/Mage/Core/functions.php on line 247
[Fri Jan 24 18:41:43.294737 2014] [:error] [pid 4590] [client 127.0.0.1:46704] PHP Warning: include(Zend/Log.php): failed to open stream: No such file or directory in /opt/lampp/htdocs/pedicure/lib/Varien/Autoload.php on line 93
[Fri Jan 24 18:41:43.294842 2014] [:error] [pid 4590] [client 127.0.0.1:46704] PHP Warning: include(): Failed opening 'Zend/Log.php' for inclusion (include_path='/opt/lampp/htdocs/pedicure/app/code/local:/opt/lampp/htdocs/pedicure/app/code/community:/opt/lampp/htdocs/pedicure/app/code/core:/opt/lampp/htdocs/pedicure/lib:.:/opt/lampp/lib/php') in /opt/lampp/htdocs/pedicure/lib/Varien/Autoload.php on line 93
[Fri Jan 24 18:41:43.294862 2014] [:error] [pid 4590] [client 127.0.0.1:46704] PHP Fatal error: Class 'Zend_Log' not found in /opt/lampp/htdocs/pedicure/app/code/core/Mage/Core/functions.php on line 247
[Fri Jan 24 18:41:44.154850 2014] [:error] [pid 4590] [client 127.0.0.1:46704] PHP Warning: include(Zend/Log.php): failed to open stream: No such file or directory in /opt/lampp/htdocs/pedicure/lib/Varien/Autoload.php on line 93
[Fri Jan 24 18:41:44.154905 2014] [:error] [pid 4590] [client 127.0.0.1:46704] PHP Warning: include(): Failed opening 'Zend/Log.php' for inclusion (include_path='/opt/lampp/htdocs/pedicure/app/code/local:/opt/lampp/htdocs/pedicure/app/code/community:/opt/lampp/htdocs/pedicure/app/code/core:/opt/lampp/htdocs/pedicure/lib:.:/opt/lampp/lib/php') in /opt/lampp/htdocs/pedicure/lib/Varien/Autoload.php on line 93
[Fri Jan 24 18:41:44.154928 2014] [:error] [pid 4590] [client 127.0.0.1:46704] PHP Fatal error: Class 'Zend_Log' not found in /opt/lampp/htdocs/pedicure/app/code/core/Mage/Core/functions.php on line 247
[Fri Jan 24 18:43:34.357140 2014] [:error] [pid 2494] [client 127.0.0.1:46818] PHP Warning: include(Zend/Log.php): failed to open stream: No such file or directory in /opt/lampp/htdocs/pedicure/lib/Varien/Autoload.php on line 93
[Fri Jan 24 18:43:34.357197 2014] [:error] [pid 2494] [client 127.0.0.1:46818] PHP Warning: include(): Failed opening 'Zend/Log.php' for inclusion (include_path='/opt/lampp/htdocs/pedicure/app/code/local:/opt/lampp/htdocs/pedicure/app/code/community:/opt/lampp/htdocs/pedicure/app/code/core:/opt/lampp/htdocs/pedicure/lib:.:/opt/lampp/lib/php') in /opt/lampp/htdocs/pedicure/lib/Varien/Autoload.php on line 93
[Fri Jan 24 18:43:34.357211 2014] [:error] [pid 2494] [client 127.0.0.1:46818] PHP Fatal error: Class 'Zend_Log' not found in /opt/lampp/htdocs/pedicure/app/code/core/Mage/Core/functions.php on line 247
[Fri Jan 24 18:43:35.823166 2014] [:error] [pid 2494] [client 127.0.0.1:46818] PHP Warning: include(Zend/Log.php): failed to open stream: No such file or directory in /opt/lampp/htdocs/pedicure/lib/Varien/Autoload.php on line 93
[Fri Jan 24 18:43:35.823211 2014] [:error] [pid 2494] [client 127.0.0.1:46818] PHP Warning: include(): Failed opening 'Zend/Log.php' for inclusion (include_path='/opt/lampp/htdocs/pedicure/app/code/local:/opt/lampp/htdocs/pedicure/app/code/community:/opt/lampp/htdocs/pedicure/app/code/core:/opt/lampp/htdocs/pedicure/lib:.:/opt/lampp/lib/php') in /opt/lampp/htdocs/pedicure/lib/Varien/Autoload.php on line 93
[Fri Jan 24 18:43:35.823225 2014] [:error] [pid 2494] [client 127.0.0.1:46818] PHP Fatal error: Class 'Zend_Log' not found in /opt/lampp/htdocs/pedicure/app/code/core/Mage/Core/functions.php on line 247
[Fri Jan 24 18:43:40.071212 2014] [:error] [pid 2494] [client 127.0.0.1:46818] PHP Warning: include(Zend/Log.php): failed to open stream: No such file or directory in /opt/lampp/htdocs/pedicure/lib/Varien/Autoload.php on line 93
[Fri Jan 24 18:43:40.071260 2014] [:error] [pid 2494] [client 127.0.0.1:46818] PHP Warning: include(): Failed opening 'Zend/Log.php' for inclusion (include_path='/opt/lampp/htdocs/pedicure/app/code/local:/opt/lampp/htdocs/pedicure/app/code/community:/opt/lampp/htdocs/pedicure/app/code/core:/opt/lampp/htdocs/pedicure/lib:.:/opt/lampp/lib/php') in /opt/lampp/htdocs/pedicure/lib/Varien/Autoload.php on line 93
[Fri Jan 24 18:43:40.071273 2014] [:error] [pid 2494] [client 127.0.0.1:46818] PHP Fatal error: Class 'Zend_Log' not found in /opt/lampp/htdocs/pedicure/app/code/core/Mage/Core/functions.php on line 247
*** glibc detected *** /opt/lampp/bin/httpd: double free or corruption (!prev): 0x08332630 ***
[Fri Jan 24 18:45:26.599938 2014] [core:notice] [pid 1502] AH00051: child pid 4245 exit signal Aborted (6), possible coredump in /opt/lampp
[Fri Jan 24 18:45:26.600073 2014] [mpm_prefork:notice] [pid 1502] AH00169: caught SIGTERM, shutting down
[Fri Jan 24 18:45:33.065084 2014] [ssl:warn] [pid 4991] AH01906: RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Fri Jan 24 18:45:33.065195 2014] [ssl:warn] [pid 4991] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Fri Jan 24 18:45:33.065229 2014] [suexec:notice] [pid 4991] AH01232: suEXEC mechanism enabled (wrapper: /opt/lampp/bin/suexec)
[Fri Jan 24 18:45:33.199857 2014] [auth_digest:notice] [pid 4992] AH01757: generating secret for digest authentication ...
[Fri Jan 24 18:45:34.051094 2014] [ssl:warn] [pid 4992] AH01906: RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Fri Jan 24 18:45:34.051151 2014] [ssl:warn] [pid 4992] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Fri Jan 24 18:45:34.051205 2014] [lbmethod_heartbeat:notice] [pid 4992] AH02282: No slotmem from mod_heartmonitor
[Fri Jan 24 18:45:34.058057 2014] [mpm_prefork:notice] [pid 4992] AH00163: Apache/2.4.3 (Unix) OpenSSL/1.0.1c PHP/5.4.7 configured -- resuming normal operations
[Fri Jan 24 18:45:34.058118 2014] [core:notice] [pid 4992] AH00094: Command line: '/opt/lampp/bin/httpd -D SSL -D PHP5 -E /opt/lampp/logs/error_log'
first of all, there is a mysql error, server has gone away... you should first check, if the webserver can access the db server.
second thing is when you perform an update, especially a majorversion upgrade, make sure that you switch your themes and packages back to the default magento ones, as layoutchanges can cause strange error messages or blank pages. hopefully this was not done on a productive website ;)
Then I would clear the whole cache. If you do not have access to backend, simply remove any files and folders below /docroot/var/cache/ and reload the page after clearing browsercache as well.
If that did not help see if there any frontend errors displayed. If not and only a blank page is displayed or just parts of page with the rest of it blank, it is very hekpful to enable error reporting on frontend in php and magento.
Then you should always take a look on your magentolog found in /docroot/var/log... especially exception.log and system.log can contain a bunch of helpful things...
If you need more help, send over some more info.
Cheers
Ben
I have the ARM OMAP system which is generatin Oops during some tests.
The system is still alive, but the thread which has created the Oops has died.
I have pasted oops logs below. Please help me to debug this issue.
From log i see that:
Process appl (pid: 427, stack limit = 0x86faa2e8)
This proc 427 is one of 5 threads created within main process. I have the /proc/kallsyms file, and checked that the PC is showing the correct function (put_page+0x14) of crash.
LOGS:
[Wed Mar 27 19:34:51.796 2013] Unable to handle kernel NULL pointer dereference at virtual address 00000000
[Wed Mar 27 19:34:51.796 2013] pgd = 86f94000
[Wed Mar 27 19:34:51.796 2013] [00000000] *pgd=87a9f031, *pte=00000000, *ppte=00000000
[Wed Mar 27 19:34:51.796 2013] Internal error: Oops: 17 [#1] PREEMPT
[Wed Mar 27 19:34:51.796 2013] last sysfs file: /sys/devices/virtual/spi/spi/dev
[Wed Mar 27 19:34:51.796 2013] Modules linked in: spi_mod hr_driver isp(P) spv(P) gp
[Wed Mar 27 19:34:51.796 2013] CPU: 0 Tainted: P (2.6.33_Visor #1)
[Wed Mar 27 19:34:51.796 2013] PC is at put_page+0x14/0x184
[Wed Mar 27 19:34:51.796 2013] LR is at __pskb_pull_tail+0x210/0x2b4
[Wed Mar 27 19:34:51.796 2013] pc : [<800b22c4>] lr : [<80230254>] psr: 60000013
[Wed Mar 27 19:34:51.812 2013] sp : 86fabb28 ip : 800b22c4 fp : 86fabb44
[Wed Mar 27 19:34:51.812 2013] r10: 00000054 r9 : 00000006 r8 : 00000007
[Wed Mar 27 19:34:51.812 2013] r7 : 00000007 r6 : 00000000 r5 : 00000000 r4 : 87340500
[Wed Mar 27 19:34:51.812 2013] r3 : 86fe1cc0 r2 : 86fe1d44 r1 : 86fe1d14 r0 : 00000000
[Wed Mar 27 19:34:51.812 2013] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
[Wed Mar 27 19:34:51.812 2013] Control: 10c5387d Table: 86f94019 DAC: 00000015
[Wed Mar 27 19:34:51.812 2013] Process appl (pid: 427, stack limit = 0x86faa2e8)
[Wed Mar 27 19:34:51.812 2013] Stack: (0x86fabb28 to 0x86fac000)
[Wed Mar 27 19:34:51.812 2013] bb20: 86fe1cc0 87340500 00000000 00000000 86fabb6c 86fabb48
[Wed Mar 27 19:34:51.812 2013] bb40: 80230254 800b22bc 87340500 86d49140 87a2a800 00000000 86d49154 00000000
[Wed Mar 27 19:34:51.812 2013] bb60: 86fabb9c 86fabb70 802392a0 80230050 87340500 0000000e 00000000 87340500
[Wed Mar 27 19:34:51.812 2013] bb80: 86d49140 0000000e 00000000 86d49154 86fabbc4 86fabba0 8025a6a0 802391f4
[Wed Mar 27 19:34:51.812 2013] bba0: 87340500 86faa000 87a2a800 00000000 86fe1c8c 0000ffff 86fabbe4 86fabbc8
[Wed Mar 27 19:34:51.812 2013] bbc0: 8025a770 8025a434 8025a6d8 87340500 86fe1c78 87340500 86fabbfc 86fabbe8
[Wed Mar 27 19:34:51.812 2013] bbe0: 802583d8 8025a6e4 00000000 86d7fa80 86fabc94 86fabc00 80259fec 802583b0
[Wed Mar 27 19:34:51.812 2013] bc00: 802555a4 802555e4 00000001 86fabc38 00000102 00000000 802c69bc 80237f9c
[Wed Mar 27 19:34:51.812 2013] bc20: 87a2ab88 86fabc38 86fabc54 86fabc38 8002d4dc 8002bf80 8002bfa4 00000001
[Wed Mar 27 19:34:51.812 2013] bc40: 8026c77c 86faa000 86fabc7c 86fabc58 8002bfe0 8002d4c4 86fabcec 00000001
[Wed Mar 27 19:34:51.828 2013] bc60: 8026c77c 87ab3080 00000014 86d7fa80 87340500 86faa000 00000014 86fe1c8c
[Wed Mar 27 19:34:51.828 2013] bc80: 00000006 0000ffff 86fabcec 86fabc98 8026c7a0 80259d04 86fabcec 00000020
[Wed Mar 27 19:34:51.828 2013] bca0: 000000c0 87340500 00000000 00000000 00000000 00000000 00000000 00000000
[Wed Mar 27 19:34:51.828 2013] bcc0: 87340500 86d7fa80 87340500 86d7fae4 000000fa 86faa000 00000006 86d7fd0c
[Wed Mar 27 19:34:51.828 2013] bce0: 86fabd04 86fabcf0 8026c960 8026c02c 86d7fa80 00000000 86fabd24 86fabd08
[Wed Mar 27 19:34:51.828 2013] bd00: 8026104c 8026c898 8022f70c 800d3964 86d7fa80 00000006 86fabd9c 86fabd28
[Wed Mar 27 19:34:51.828 2013] bd20: 802617bc 80260f04 8002d4dc 8002bf80 8002bfa4 00000001 00000000 86d7fae4
[Wed Mar 27 19:34:51.828 2013] bd40: 86d7fde8 86d7fb18 86d7fd28 00000000 86fabf3c 00000001 00000000 00000000
[Wed Mar 27 19:34:51.828 2013] bd60: 00000001 00000000 86fabd8c 86fabd78 80049998 86fabf3c 803c0e8c 00000040
[Wed Mar 27 19:34:51.828 2013] bd80: 00000000 00000040 86faa000 2e4128a2 86fabdd4 86fabda0 80229d34 80261068
[Wed Mar 27 19:34:51.828 2013] bda0: 00000040 00000000 86fabdb4 00000000 00000500 00000000 00000000 86fabde0
[Wed Mar 27 19:34:51.828 2013] bdc0: 00000100 86fabf3c 86fabeb4 86fabdd8 8022767c 80229cf4 00000040 86fabde8
[Wed Mar 27 19:34:51.828 2013] bde0: 802277c4 80261de0 00000000 00000001 ffffffff 00000000 00000000 00000000
[Wed Mar 27 19:34:51.828 2013] be00: 00000000 00000000 87a70740 86fabe18 00000000 00000000 8002bfa4 00000001
[Wed Mar 27 19:34:51.828 2013] be20: 86fabe58 86fabf60 86fabe5c 86fabe38 8002bfe0 8002d4c4 86fabe94 00000001
[Wed Mar 27 19:34:51.828 2013] be40: 800d9094 86fabf60 00000000 00000040 86fabe74 86fabe60 80049998 8009ec3c
[Wed Mar 27 19:34:51.828 2013] be60: 00000040 00000100 87541080 86fabe78 00000000 86fabf3c 86fabe78 fffffff7
[Wed Mar 27 19:34:51.843 2013] be80: 80226524 802278a8 86fabeb4 86fabe98 802278a8 8022651c 00000040 87541080
[Wed Mar 27 19:34:51.843 2013] bea0: 00000100 006766f0 86fabf8c 86fabeb8 8022804c 802275d8 8002bfa4 87803140
[Wed Mar 27 19:34:51.843 2013] bec0: 86f67800 a0000013 87800440 00000003 86fabefc 86fabee0 800d3944 8009ed38
[Wed Mar 27 19:34:51.843 2013] bee0: 00000000 00000508 87a25290 86faa000 86fabf14 86fabf00 80186658 800d3810
[Wed Mar 27 19:34:51.843 2013] bf00: 86f67800 00000508 86fabf7c 86fabf18 80186d90 80186648 86fabf3c 2e4128a0
[Wed Mar 27 19:34:51.843 2013] bf20: 86fabf8c 87a25290 87a25298 803b0d7c 86fabf84 00100100 00200200 86fabebc
[Wed Mar 27 19:34:51.843 2013] bf40: 00000080 86fabf58 00000001 00000000 00000000 2e41289c 006766f6 000000fa
[Wed Mar 27 19:34:51.843 2013] bf60: 00000001 fffffff7 86faa000 006766ec 0066b138 00000000 00000123 8002a328
[Wed Mar 27 19:34:51.843 2013] bf80: 86fabfa4 86fabf90 802280cc 80227fc4 00000000 00000000 00000000 86fabfa8
[Wed Mar 27 19:34:51.843 2013] bfa0: 8002a100 802280b0 006766ec 0066b138 0000000f 006766f0 00000100 00000040
[Wed Mar 27 19:34:51.843 2013] bfc0: 006766ec 0066b138 00000000 00000123 00000740 0066b138 2e4128a2 000005d8
[Wed Mar 27 19:34:51.843 2013] bfe0: 00000000 2e411a30 2ad8cfe4 2ad7fc24 80000010 0000000f 00000000 00000000
[Wed Mar 27 19:34:51.968 2013] Backtrace:
[Wed Mar 27 19:34:51.968 2013] [<800b22b0>] (put_page+0x0/0x184) from [<80230254>] (__pskb_pull_tail+0x210/0x2b4)
[Wed Mar 27 19:34:51.968 2013] r6:00000000 r5:00000000 r4:87340500 r3:86fe1cc0
[Wed Mar 27 19:34:51.984 2013] [<80230044>] (__pskb_pull_tail+0x0/0x2b4) from [<802392a0>] (dev_queue_xmit+0xb8/0x474)
[Wed Mar 27 19:34:51.984 2013] [<802391e8>] (dev_queue_xmit+0x0/0x474) from [<8025a6a0>] (ip_finish_output+0x278/0x2b0)
[Wed Mar 27 19:34:51.984 2013] r8:86d49154 r7:00000000 r6:0000000e r5:86d49140 r4:87340500
[Wed Mar 27 19:34:51.984 2013] [<8025a428>] (ip_finish_output+0x0/0x2b0) from [<8025a770>] (ip_output+0x98/0xa0)
[Wed Mar 27 19:34:51.984 2013] [<8025a6d8>] (ip_output+0x0/0xa0) from [<802583d8>] (ip_local_out+0x34/0x38)
[Wed Mar 27 19:34:51.984 2013] r6:87340500 r5:86fe1c78 r4:87340500 r3:8025a6d8
[Wed Mar 27 19:34:51.984 2013] [<802583a4>] (ip_local_out+0x0/0x38) from [<80259fec>] (ip_queue_xmit+0x2f4/0x364)
[Wed Mar 27 19:34:51.984 2013] r4:86d7fa80 r3:00000000
[Wed Mar 27 19:34:51.984 2013] [<80259cf8>] (ip_queue_xmit+0x0/0x364) from [<8026c7a0>] (tcp_transmit_skb+0x780/0x7dc)
[Wed Mar 27 19:34:51.984 2013] [<8026c020>] (tcp_transmit_skb+0x0/0x7dc) from [<8026c960>] (tcp_send_ack+0xd4/0xdc)
[Wed Mar 27 19:34:51.984 2013] [<8026c88c>] (tcp_send_ack+0x0/0xdc) from [<8026104c>] (tcp_cleanup_rbuf+0x154/0x164)
[Wed Mar 27 19:34:51.984 2013] r5:00000000 r4:86d7fa80
[Wed Mar 27 19:34:51.984 2013] [<80260ef8>] (tcp_cleanup_rbuf+0x0/0x164) from [<802617bc>] (tcp_recvmsg+0x760/0x87c)
[Wed Mar 27 19:34:51.984 2013] r5:00000006 r4:86d7fa80
[Wed Mar 27 19:34:51.984 2013] [<8026105c>] (tcp_recvmsg+0x0/0x87c) from [<80229d34>] (sock_common_recvmsg+0x4c/0x60)
[Wed Mar 27 19:34:51.984 2013] [<80229ce8>] (sock_common_recvmsg+0x0/0x60) from [<8022767c>] (sock_recvmsg+0xb0/0xcc)
[Wed Mar 27 19:34:51.984 2013] r6:86fabf3c r5:00000100 r4:86fabde0
[Wed Mar 27 19:34:51.984 2013] [<802275cc>] (sock_recvmsg+0x0/0xcc) from [<8022804c>] (sys_recvfrom+0x94/0xec)
[Wed Mar 27 19:34:51.984 2013] r6:006766f0 r5:00000100 r4:87541080
[Wed Mar 27 19:34:51.984 2013] [<80227fb8>] (sys_recvfrom+0x0/0xec) from [<802280cc>] (sys_recv+0x28/0x30)
[Wed Mar 27 19:34:51.984 2013] r8:8002a328 r7:00000123 r6:00000000 r5:0066b138 r4:006766ec
[Wed Mar 27 19:34:51.984 2013] [<802280a4>] (sys_recv+0x0/0x30) from [<8002a100>] (ret_fast_syscall+0x0/0x38)
[Wed Mar 27 19:34:51.984 2013] Code: e92dd878 e24cb004 e52de004 ebfddfbf (e5903000)
Guess some bug in TCP/IP stack, conflict with S/G IO features in your network interface card (NIC) driver.
you can check if your NIC driver has these feature flags NETIF_F_FRAGLIST and NETIF_F_SG set, if yes, try unset them, see if this problem still happens.