sebaturen / Blizzard-WoW-Guild-information-panel

Blizzard Wow Guild Information Panel
http://www.artofwar.cl
1 stars 1 forks source link

Unable to start the webapps #1

Closed Lumiahna closed 5 years ago

Lumiahna commented 5 years ago

Hello, I followed the instructions and I cant start the webapps , I got the following errors in logs

28-Jan-2019 18:07:32.470 INFOS [http-nio-8080-exec-4] org.apache.catalina.core.ApplicationContext.log HTMLManager: start: Starting web application '/Blizzard-WoW-Guild-information-panel'
28-Jan-2019 18:07:36.605 GRAVE [http-nio-8080-exec-4] org.apache.catalina.core.StandardContext.listenerStart Erreur lors de la configuration de la classe d'écoute de l'application (application listener) com.blizzardPanel.blizzardAPI.Upd$
 java.lang.ClassNotFoundException: com.blizzardPanel.blizzardAPI.UpdateRunning
        at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1285)
        at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1119)
        at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:511)
        at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:492)
        at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:118)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4675)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5215)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1307)
        at org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:669)
        at org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:217)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:661)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:136)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:587)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80)
        at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:624)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
        at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:799)
        at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
        at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:861)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1458)
        at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
        at java.lang.Thread.run(Thread.java:748)

Version Mariadb 10.1.37 tomcat 8 content in /var/lib/tomcat/lib mariadb-java-client-2.3.0.jar java version openjdk version "1.8.0_181" OpenJDK Runtime Environment (build 1.8.0_181-8u181-b13-2~deb9u1-b13) OpenJDK 64-Bit Server VM (build 25.181-b13, mixed mode)

os debian 9 x64

Cheers and thanks for your support

Lumiahna commented 5 years ago

I also got this on tomcat manager https://cdn.discordapp.com/attachments/427741471060394007/539509825722122310/unknown.png

sebaturen commented 5 years ago

Hi!, in web-app folder, can upload a tree directory information?.

(I upload a fix today, add a Dazaralor Raid, u use the last version?)

Lumiahna commented 5 years ago

Hum your l'astuce commit Washington 16 days ago. It'll upload the tree results asap

sebaturen commented 5 years ago

o... you are right... I forgot push commit hahaha, is ready~

Lumiahna commented 5 years ago

Well I'll update it, I see you pushed it

Lumiahna commented 5 years ago

The tree command you requested

├── Blizzard-WoW-Guild-information-panel
│   ├── 404.jsp
│   ├── alters.jsp
│   ├── assets
│   │   ├── css
│   │   │   ├── aution_house.css
│   │   │   ├── basic_style.css
│   │   │   ├── index.css
│   │   │   └── members.css
│   │   ├── font
│   │   │   ├── iconset.ttf
│   │   │   └── LifeCraft_Font.ttf
│   │   ├── img
│   │   │   ├── artofwar_logo.png
│   │   │   ├── background
│   │   │   │   └── BFA (21).jpg
│   │   │   ├── baner_creator.psd
│   │   │   ├── bosses
│   │   │   │   ├── admiral-svirax.png
│   │   │   │   ├── aggramar.png
│   │   │   │   ├── argus-the-unmaker.png
│   │   │   │   ├── atrigan.png
│   │   │   │   ├── cenarius.png
│   │   │   │   ├── chronomatic-anomaly.png
│   │   │   │   ├── dragons-of-nightmare.png
│   │   │   │   ├── elerethe-renferal.png
│   │   │   │   ├── elisande.png
│   │   │   │   ├── engine-of-souls.png
│   │   │   │   ├── essence-of-eonar.png
│   │   │   │   ├── fallen-avatar.png
│   │   │   │   ├── fetid-devourer.png
│   │   │   │   ├── fharg.png
│   │   │   │   ├── garothi-worldbreaker.png
│   │   │   │   ├── ghuun.png
│   │   │   │   ├── goroth.png
│   │   │   │   ├── guarm.png
│   │   │   │   ├── guldan.png
│   │   │   │   ├── harjatan.png
│   │   │   │   ├── helya.png
│   │   │   │   ├── high-botanist-telarn.png
│   │   │   │   ├── huntress-kasparian.png
│   │   │   │   ├── ilgynoth-heart-of-corruption.png
│   │   │   │   ├── ilgynoth.png
│   │   │   │   ├── imonar-the-soulhunter.png
│   │   │   │   ├── kiljaeden.png
│   │   │   │   ├── kingaroth.png
│   │   │   │   ├── krosus.png
│   │   │   │   ├── maiden-of-vigilance.png
│   │   │   │   ├── mistress-sasszine.png
│   │   │   │   ├── mother.png
│   │   │   │   ├── mythrax-the-unraveler.png
│   │   │   │   ├── noura-mother-of-flames.png
│   │   │   │   ├── nythendra.png
│   │   │   │   ├── odin.png
│   │   │   │   ├── odyn.png
│   │   │   │   ├── portal-keeper-hasabel.png
│   │   │   │   ├── skorpyron.png
│   │   │   │   ├── spellblade-aluriel.png
│   │   │   │   ├── star-augur-etraeus.png
│   │   │   │   ├── taloc.png
│   │   │   │   ├── tichondrius.png
│   │   │   │   ├── trilliax.png
│   │   │   │   ├── ursoc.png
│   │   │   │   ├── varimathras.png
│   │   │   │   ├── vectis.png
│   │   │   │   ├── xavius.png
│   │   │   │   ├── ysondre.png
│   │   │   │   ├── zekvoz.png
│   │   │   │   └── zul.png
│   │   │   ├── classes
│   │   │   │   ├── class_death-knight.png
│   │   │   │   ├── class_demon-hunter.png
│   │   │   │   ├── class_druid.png
│   │   │   │   ├── class_hunter.png
│   │   │   │   ├── class_mage.png
│   │   │   │   ├── class_monk.png
│   │   │   │   ├── class_paladin.png
│   │   │   │   ├── class_priest.png
│   │   │   │   ├── class_rogue.png
│   │   │   │   ├── class_shaman.png
│   │   │   │   ├── class_warlock.png
│   │   │   │   ├── class_warrior.png
│   │   │   │   └── specs
│   │   │   │       ├── spec_death-knight_blood.png
│   │   │   │       ├── spec_death-knight_frost.png
│   │   │   │       ├── spec_death-knight_unholy.png
│   │   │   │       ├── spec_demon-hunter_havoc.png
│   │   │   │       ├── spec_demon-hunter_vengeance.png
│   │   │   │       ├── spec_druid_balance.png
│   │   │   │       ├── spec_druid_feral.png
│   │   │   │       ├── spec_druid_guardian.png
│   │   │   │       ├── spec_druid_restoration.png
│   │   │   │       ├── spec_hunter_beast-mastery.png
│   │   │   │       ├── spec_hunter_marksmanship.png
│   │   │   │       ├── spec_hunter_survival.png
│   │   │   │       ├── spec_mage_arcane.png
│   │   │   │       ├── spec_mage_fire.png
│   │   │   │       ├── spec_mage_frost.png
│   │   │   │       ├── spec_monk_brewmaster.png
│   │   │   │       ├── spec_monk_mistweaver.png
│   │   │   │       ├── spec_monk_windwalker.png
│   │   │   │       ├── spec_paladin_holy.png
│   │   │   │       ├── spec_paladin_protection.png
│   │   │   │       ├── spec_paladin_retribution.png
│   │   │   │       ├── spec_priest_discipline.png
│   │   │   │       ├── spec_priest_holy.png
│   │   │   │       ├── spec_priest_shadow.png
│   │   │   │       ├── spec_rogue_assassination.png
│   │   │   │       ├── spec_rogue_outlaw.png
│   │   │   │       ├── spec_rogue_subtlety.png
│   │   │   │       ├── spec_shaman_elemental.png
│   │   │   │       ├── spec_shaman_enhancement.png
│   │   │   │       ├── spec_shaman_restoration.png
│   │   │   │       ├── spec_warlock_affliction.png
│   │   │   │       ├── spec_warlock_demonology.png
│   │   │   │       ├── spec_warlock_destruction.png
│   │   │   │       ├── spec_warrior_arms.png
│   │   │   │       ├── spec_warrior_fury.png
│   │   │   │       └── spec_warrior_protection.png
│   │   │   ├── dungeon
│   │   │   │   ├── 1594.jpg
│   │   │   │   ├── 1754.jpg
│   │   │   │   ├── 1762.jpg
│   │   │   │   ├── 1763.jpg
│   │   │   │   ├── 1771.jpg
│   │   │   │   ├── 1822.jpg
│   │   │   │   ├── 1841.jpg
│   │   │   │   ├── 1862.jpg
│   │   │   │   ├── 1864.jpg
│   │   │   │   └── 1877.jpg
│   │   │   ├── icons
│   │   │   │   ├── Battlenet_icon_flat.svg
│   │   │   │   ├── Discord-Logo-Color.svg
│   │   │   │   ├── DPS.png
│   │   │   │   ├── GameIcon-slots.png
│   │   │   │   ├── HEALING.png
│   │   │   │   ├── inv_misc_questionmark.jpg
│   │   │   │   ├── Logo-alliance.png
│   │   │   │   ├── Logo-horde.png
│   │   │   │   ├── money-copper.gif
│   │   │   │   ├── money-gold.gif
│   │   │   │   ├── money-silver.gif
│   │   │   │   ├── mythic_key_level.png
│   │   │   │   ├── stat-icon.svg
│   │   │   │   └── TANK.png
│   │   │   ├── raids
│   │   │   │   ├── antorus-the-burning-throne.jpg
│   │   │   │   ├── the-emerald-nightmare.jpg
│   │   │   │   ├── the-nighthold.jpg
│   │   │   │   ├── tomb-of-sargeras.jpg
│   │   │   │   ├── trial-of-valor.jpg
│   │   │   │   └── uldir.jpg
│   │   │   └── tooltip.png
│   │   └── js
│   │       ├── alters
│   │       │   └── altersList.jsp
│   │       ├── artOfWar.js
│   │       ├── auctionHouse
│   │       │   ├── autionHouse.js
│   │       │   ├── autionItem.jsp
│   │       │   └── itemsList.jsp
│   │       ├── members
│   │       │   ├── loadMemberContent.js
│   │       │   ├── memberDetail.jsp
│   │       │   ├── members.js
│   │       │   └── membersList.jsp
│   │       ├── mythicPlus
│   │       │   ├── mythic_plus.js
│   │       │   └── mythic_plus_list.jsp
│   │       ├── poll_create.js
│   │       ├── polls.js
│   │       ├── update_panel.js
│   │       └── user_panel.js
│   ├── auction_house.jsp
│   ├── blizzLink.jsp
│   ├── favicon.ico
│   ├── guild_challenges.jsp
│   ├── includes
│   │   ├── footer.jsp
│   │   ├── globalObject.jsp
│   │   ├── header.jsp
│   │   └── menu.jsp
│   ├── index.jsp
│   ├── internal_error.jsp
│   ├── login.jsp
│   ├── members.jsp
│   ├── META-INF
│   │   └── context.xml
│   ├── mythic_plus.jsp
│   ├── polls.jsp
│   ├── progress.jsp
│   ├── README.md
│   ├── userpanel
│   │   ├── blizzard_update
│   │   │   ├── run_update.jsp
│   │   │   └── update_panel.jsp
│   │   ├── guildRank
│   │   │   └── guild_rank.jsp
│   │   ├── login_form.jsp
│   │   ├── poll_controller.jsp
│   │   ├── poll_create.jsp
│   │   ├── run_user_main.jsp
│   │   ├── settings.jsp
│   │   └── user_panel.jsp
│   └── WEB-INF
│       ├── build.xml
│       ├── classes
│       │   └── log4j2.xml
│       ├── lib
│       │   ├── javax.websocket-client-api-1.1.jar
│       │   ├── JDA-3.8.1_DEV-withDependencies.jar
│       │   ├── json-simple-1.1.1.jar
│       │   ├── log4j-api-2.11.1.jar
│       │   ├── log4j-core-2.11.1.jar
│       │   ├── log4j-jul-2.11.1.jar
│       │   ├── servlet-api.jar
│       │   └── tyrus-standalone-client-1.9.jar
│       ├── rewrite.config
│       ├── src
│       │   ├── blizzardAPI
│       │   │   ├── APIInfo.java
│       │   │   ├── Update.java
│       │   │   └── UpdateRunning.java
│       │   ├── DataException.java
│       │   ├── dbConnect
│       │   │   ├── Database.java
│       │   │   ├── DBConnect.java
│       │   │   └── DBStructure.java
│       │   ├── DiscordBot.java
│       │   ├── gameObject
│       │   │   ├── AuctionItem.java
│       │   │   ├── Boss.java
│       │   │   ├── characters
│       │   │   │   ├── achievement
│       │   │   │   │   ├── CharacterAchivementsCategory.java
│       │   │   │   │   └── CharacterAchivementsList.java
│       │   │   │   ├── CharacterItems.java
│       │   │   │   ├── CharacterMember.java
│       │   │   │   ├── CharacterSpec.java
│       │   │   │   ├── CharacterStats.java
│       │   │   │   ├── PlayableClass.java
│       │   │   │   ├── PlayableRace.java
│       │   │   │   ├── PlayableSpec.java
│       │   │   │   └── Stat.java
│       │   │   ├── FactionAssaultControl.java
│       │   │   ├── GameObject.java
│       │   │   ├── guild
│       │   │   │   ├── achievement
│       │   │   │   │   ├── GuildAchievement.java
│       │   │   │   │   └── GuildAchievementsList.java
│       │   │   │   ├── challenges
│       │   │   │   │   ├── ChallengeGroup.java
│       │   │   │   │   └── Challenge.java
│       │   │   │   ├── Guild.java
│       │   │   │   ├── New.java
│       │   │   │   ├── raids
│       │   │   │   │   ├── RaidDificultBoss.java
│       │   │   │   │   ├── RaidDificult.java
│       │   │   │   │   └── Raid.java
│       │   │   │   └── Rank.java
│       │   │   ├── Item.java
│       │   │   ├── mythicKeystone
│       │   │   │   ├── KeystoneAffix.java
│       │   │   │   ├── KeystoneDungeon.java
│       │   │   │   └── KeystoneDungeonRun.java
│       │   │   ├── Realm.java
│       │   │   └── Spell.java
│       │   ├── GeneralConfig.java
│       │   ├── Logs.java
│       │   ├── poll
│       │   │   ├── Poll.java
│       │   │   ├── PollOption.java
│       │   │   └── PollOptionResult.java
│       │   ├── sql
│       │   │   ├── guild_members_info.sql
│       │   │   ├── static_content.sql
│       │   │   └── update_timeline.sql
│       │   ├── User.java
│       │   └── viewController
│       │       ├── Alters.java
│       │       ├── AuctionHouse.java
│       │       ├── GameInfo.java
│       │       ├── GuildChallenges.java
│       │       ├── GuildProgress.java
│       │       ├── GuildRanks.java
│       │       ├── Members.java
│       │       ├── MythicPlusControl.java
│       │       ├── PollController.java
│       │       └── UpdateControl.java
│       ├── UML-Diagram.mdj
│       └── web.xml
Lumiahna commented 5 years ago

And well, I got the same errors ;[

sebaturen commented 5 years ago

yea I see... you compile the project? I can't the .class file.

The panel have a build.xml file, If you don't compile yet, go to WEB-INF folder, and run $ ant compile And you can see like this:

[root@localhost WEB-INF]# ant compile
Buildfile: /TEST/WEB-INF/build.xml
Trying to override old definition of task javac
     [echo] Using Java version 1.8. (BlizzardPanel need Java8 (1.8)+)

init:

compile:
   [delete] Deleting directory /opt/tomcat/webapp/TEST/WEB-INF/dist
    [javac] Compiling 54 source files to /opt/tomcat/webapp/TEST/WEB-INF/classes
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.

BUILD SUCCESSFUL
Total time: 3 seconds
sebaturen commented 5 years ago

You need Apache ANT if you want use ant command!

Lumiahna commented 5 years ago

alright. I did some progress and I've got few errors like this

[ERROR] 2019-01-29 14:35:42.243 [Thread-4] UpdateRunning - Fail to get last Update (Type: 0) - com.blizzardPanel.DataException: Last update not found! (Type: 0)

[ERROR] 2019-01-29 14:35:42.889 [Thread-4] Update - Get Guild Realm Slug - com.blizzardPanel.DataException: Error: 403 - Internal Code: 0 - URL> https://eu.api.blizzard.com/data/wow/realm/index
[ERROR] 2019-01-29 14:35:42.906 [Thread-4] Guild - Fail to insert - java.sql.SQLIntegrityConstraintViolationException: (conn=210) Column 'realm_slug' cannot be null

[ERROR] 2019-01-29 14:40:43.310 [Thread-4] RaidDificultBoss - FAIL (EXIT) TO GET BOSS INFO!! high-tinker-mekkatorque
[ERROR] 2019-01-29 14:40:21.565 [Thread-4] Update - BlizzAPI haven a error to 'Sïcario'
        com.blizzardPanel.DataException: Error: 404 - Data not found, check the guild name, server location and realm in APIInfo.java

I can't see data from the last boss (8.1) ^^

sebaturen commented 5 years ago

The first line (Error updateRunning) is only because is first time, don't worry, the second is important, I upload a fix now. Try again and tell me the progress pls.

Lumiahna commented 5 years ago
[ERROR] 2019-01-29 15:10:14.440 [Thread-4] UpdateRunning - Fail to get last Update (Type: 0) - com.blizzardPanel.DataException: Last update not found! (Type: 0)
[INFO ] 2019-01-29 15:10:14.478 [Thread-4] Update - -------Update process is START! (Dynamic)------
[INFO ] 2019-01-29 15:10:14.480 [Thread-4] Update - Guild Information update!
[ERROR] 2019-01-29 15:10:15.991 [Thread-4] Update - Get Guild Realm Slug - com.blizzardPanel.DataException: Error: 403 - Internal Code: 0 - URL> https://eu.api.blizzard.com/data/wow/realm/index
[ERROR] 2019-01-29 15:10:16.007 [Thread-4] Guild - Fail to insert - java.sql.SQLIntegrityConstraintViolationException: (conn=356) Column 'realm_slug' cannot be null
[INFO ] 2019-01-29 15:10:16.008 [Thread-4] Update - Guild members information update!
[INFO ] 2019-01-29 15:10:18.338 [Thread-4] Update - Character information update!
[INFO ] 2019-01-29 15:10:18.407 [Thread-4] Update - 0%
[ERROR] 2019-01-29 15:10:28.079 [Thread-4] Update - BlizzAPI haven a error to 'Vieuxfou'
    com.blizzardPanel.DataException: Error: 404 - Data not found, check the guild name, server location and realm in APIInfo.java
[INFO ] 2019-01-29 15:10:28.080 [Thread-4] Update - ...20%
[ERROR] 2019-01-29 15:10:32.014 [Thread-4] Update - BlizzAPI haven a error to 'Libertheras'
    com.blizzardPanel.DataException: Error: 404 - Data not found, check the guild name, server location and realm in APIInfo.java
[ERROR] 2019-01-29 15:10:32.909 [Thread-4] Update - BlizzAPI haven a error to 'Sïcario'
    com.blizzardPanel.DataException: Error: 404 - Data not found, check the guild name, server location and realm in APIInfo.java
[INFO ] 2019-01-29 15:10:33.684 [Thread-4] Item - New Item in DB 84043 - Wind-Reaver Gauntlets
[INFO ] 2019-01-29 15:10:33.775 [Thread-4] Item - New Item in DB 87293 - Defiant Archer's Bracers
[INFO ] 2019-01-29 15:10:34.456 [Thread-4] Update - Member Poucafougnas not have a keystone run com.blizzardPanel.DataException: Error: 403 - Internal Code: 0 - URL> https://eu.api.blizzard.com/profile/wow/character/null/poucafougnas/mythic-keystone-profile
[INFO ] 2019-01-29 15:10:38.683 [Thread-4] Update - ...40%
[INFO ] 2019-01-29 15:10:46.700 [Thread-4] Update - ...60%
[INFO ] 2019-01-29 15:10:53.201 [Thread-4] Item - New Item in DB 163934 - Gnarled Mood Ring
[INFO ] 2019-01-29 15:10:54.080 [Thread-4] Update - Member Overblade not have a keystone run com.blizzardPanel.DataException: Error: 403 - Internal Code: 0 - URL> https://eu.api.blizzard.com/profile/wow/character/null/overblade/mythic-keystone-profile
[INFO ] 2019-01-29 15:10:55.053 [Thread-4] Update - ...80%
[INFO ] 2019-01-29 15:11:01.125 [Thread-4] Update - ...100%
[INFO ] 2019-01-29 15:11:01.126 [Thread-4] Update - Guild challenges update!
[INFO ] 2019-01-29 15:11:01.326 [Thread-4] Update - 0%
[INFO ] 2019-01-29 15:11:02.002 [Thread-4] Update - ...20%
[INFO ] 2019-01-29 15:11:02.694 [Thread-4] Update - ...40%
[INFO ] 2019-01-29 15:11:02.902 [Thread-4] Update - ...60%
[INFO ] 2019-01-29 15:11:03.828 [Thread-4] Update - ...80%
[INFO ] 2019-01-29 15:11:05.236 [Thread-4] Update - ...100%
[INFO ] 2019-01-29 15:11:05.237 [Thread-4] Update - Guild new update!
[ERROR] 2019-01-29 15:11:07.130 [Thread-4] New - Fail to try save!, no data - isData> true valueLeng> 0
[ERROR] 2019-01-29 15:11:07.141 [Thread-4] New - Fail to try save!, no data - isData> true valueLeng> 0
[ERROR] 2019-01-29 15:11:07.151 [Thread-4] New - Fail to try save!, no data - isData> true valueLeng> 0
[ERROR] 2019-01-29 15:11:07.380 [Thread-4] New - Fail to try save!, no data - isData> true valueLeng> 0
[ERROR] 2019-01-29 15:11:07.946 [Thread-4] New - Fail to try save!, no data - isData> true valueLeng> 0
[ERROR] 2019-01-29 15:11:08.580 [Thread-4] Update - BlizzAPI haven a error to 'Sïcario'
    com.blizzardPanel.DataException: Error: 404 - Data not found, check the guild name, server location and realm in APIInfo.java
[ERROR] 2019-01-29 15:11:08.743 [Thread-4] Update - BlizzAPI haven a error to 'Sïcario'
    com.blizzardPanel.DataException: Error: 404 - Data not found, check the guild name, server location and realm in APIInfo.java
[ERROR] 2019-01-29 15:11:08.884 [Thread-4] Update - BlizzAPI haven a error to 'Sïcario'
    com.blizzardPanel.DataException: Error: 404 - Data not found, check the guild name, server location and realm in APIInfo.java
[ERROR] 2019-01-29 15:11:09.025 [Thread-4] Update - BlizzAPI haven a error to 'Sïcario'
    com.blizzardPanel.DataException: Error: 404 - Data not found, check the guild name, server location and realm in APIInfo.java
[ERROR] 2019-01-29 15:11:10.330 [Thread-4] Update - BlizzAPI haven a error to 'Sïcario'
    com.blizzardPanel.DataException: Error: 404 - Data not found, check the guild name, server location and realm in APIInfo.java
[ERROR] 2019-01-29 15:11:15.122 [Thread-4] Update - BlizzAPI haven a error to 'Sïcario'
    com.blizzardPanel.DataException: Error: 404 - Data not found, check the guild name, server location and realm in APIInfo.java
[ERROR] 2019-01-29 15:11:15.265 [Thread-4] Update - BlizzAPI haven a error to 'Sïcario'
    com.blizzardPanel.DataException: Error: 404 - Data not found, check the guild name, server location and realm in APIInfo.java
[ERROR] 2019-01-29 15:11:15.400 [Thread-4] Update - BlizzAPI haven a error to 'Sïcario'
    com.blizzardPanel.DataException: Error: 404 - Data not found, check the guild name, server location and realm in APIInfo.java
[ERROR] 2019-01-29 15:11:15.584 [Thread-4] Update - BlizzAPI haven a error to 'Sïcario'
    com.blizzardPanel.DataException: Error: 404 - Data not found, check the guild name, server location and realm in APIInfo.java
[ERROR] 2019-01-29 15:11:15.718 [Thread-4] Update - BlizzAPI haven a error to 'Sïcario'
    com.blizzardPanel.DataException: Error: 404 - Data not found, check the guild name, server location and realm in APIInfo.java
[INFO ] 2019-01-29 15:11:16.383 [Thread-4] Update - Wow token information update!
[INFO ] 2019-01-29 15:11:16.600 [Thread-4] Update - Users characters information update!
[INFO ] 2019-01-29 15:11:16.603 [Thread-4] Update - Guild progression update!
[INFO ] 2019-01-29 15:11:17.312 [Thread-4] RaidDificultBoss - Boss 'high-tinker-mekkatorque' not have info in DB, update to blizzard
[ERROR] 2019-01-29 15:11:36.539 [Thread-4] RaidDificultBoss - FAIL (EXIT) TO GET BOSS INFO!! high-tinker-mekkatorque
sebaturen commented 5 years ago

you still have dynamic-us error>

[ERROR] 2019-01-29 15:10:15.991 [Thread-4] Update - Get Guild Realm Slug - com.blizzardPanel.DataException: Error: 403 - Internal Code: 0 - URL> https://eu.api.blizzard.com/data/wow/realm/index
[ERROR] 2019-01-29 15:10:16.007 [Thread-4] Guild - Fail to insert - java.sql.SQLIntegrityConstraintViolationException: (conn=356) Column 'realm_slug' cannot be null

**I fix mekkatorque in last commit pls sure you download the last commit and compile again (is recommend delete last compile files WEB-INF/classes/com/blizzardPanel and compile again)

Lumiahna commented 5 years ago

my bad Here the logs after pulling/compilling

[ERROR] 2019-01-29 15:24:30.363 [Thread-4] UpdateRunning - Fail to get last Update (Type: 0) - com.blizzardPanel.DataException: Last update not found! (Type: 0)
[INFO ] 2019-01-29 15:24:30.400 [Thread-4] Update - -------Update process is START! (Dynamic)------
[INFO ] 2019-01-29 15:24:30.402 [Thread-4] Update - Guild Information update!
[INFO ] 2019-01-29 15:24:33.431 [Thread-4] Update - Guild members information update!
[INFO ] 2019-01-29 15:24:35.781 [Thread-4] Update - Character information update!
[INFO ] 2019-01-29 15:24:35.840 [Thread-4] Update - 0%
[ERROR] 2019-01-29 15:24:45.738 [Thread-4] Update - BlizzAPI haven a error to 'Vieuxfou'
    com.blizzardPanel.DataException: Error: 404 - Data not found, check the guild name, server location and realm in APIInfo.java
[INFO ] 2019-01-29 15:24:45.740 [Thread-4] Update - ...20%
[ERROR] 2019-01-29 15:24:48.317 [Thread-4] Update - BlizzAPI haven a error to 'Libertheras'
    com.blizzardPanel.DataException: Error: 404 - Data not found, check the guild name, server location and realm in APIInfo.java
[ERROR] 2019-01-29 15:24:48.869 [Thread-4] Update - BlizzAPI haven a error to 'Sïcario'
    com.blizzardPanel.DataException: Error: 404 - Data not found, check the guild name, server location and realm in APIInfo.java
[INFO ] 2019-01-29 15:24:51.351 [Thread-4] Update - Member Crépùsculair not have a keystone run com.blizzardPanel.DataException: Error: 403 - Internal Code: 0 - URL> https://eu.api.blizzard.com/profile/wow/character/null/cr%C3%A9p%C3%B9sculair/mythic-keystone-profile
[INFO ] 2019-01-29 15:24:53.699 [Thread-4] Update - ...40%
[INFO ] 2019-01-29 15:25:01.664 [Thread-4] Update - ...60%
[INFO ] 2019-01-29 15:25:04.389 [Thread-4] Update - Member Buglan not have a keystone run com.blizzardPanel.DataException: Error: 403 - Internal Code: 0 - URL> https://eu.api.blizzard.com/profile/wow/character/null/buglan/mythic-keystone-profile
[INFO ] 2019-01-29 15:25:11.922 [Thread-4] Update - ...80%
[INFO ] 2019-01-29 15:25:18.501 [Thread-4] Update - ...100%
[INFO ] 2019-01-29 15:25:18.502 [Thread-4] Update - Guild challenges update!
[INFO ] 2019-01-29 15:25:18.682 [Thread-4] Update - 0%
[INFO ] 2019-01-29 15:25:19.166 [Thread-4] Update - ...20%
[INFO ] 2019-01-29 15:25:19.694 [Thread-4] Update - ...40%
[INFO ] 2019-01-29 15:25:19.974 [Thread-4] Update - ...60%
[INFO ] 2019-01-29 15:25:20.732 [Thread-4] Update - ...80%
[INFO ] 2019-01-29 15:25:22.016 [Thread-4] Update - ...100%
[INFO ] 2019-01-29 15:25:22.017 [Thread-4] Update - Guild new update!
[ERROR] 2019-01-29 15:25:23.738 [Thread-4] New - Fail to try save!, no data - isData> true valueLeng> 0
[ERROR] 2019-01-29 15:25:23.748 [Thread-4] New - Fail to try save!, no data - isData> true valueLeng> 0
[ERROR] 2019-01-29 15:25:23.760 [Thread-4] New - Fail to try save!, no data - isData> true valueLeng> 0
[ERROR] 2019-01-29 15:25:23.989 [Thread-4] New - Fail to try save!, no data - isData> true valueLeng> 0
[ERROR] 2019-01-29 15:25:24.564 [Thread-4] New - Fail to try save!, no data - isData> true valueLeng> 0
[ERROR] 2019-01-29 15:25:25.125 [Thread-4] Update - BlizzAPI haven a error to 'Sïcario'
    com.blizzardPanel.DataException: Error: 404 - Data not found, check the guild name, server location and realm in APIInfo.java
[ERROR] 2019-01-29 15:25:25.282 [Thread-4] Update - BlizzAPI haven a error to 'Sïcario'
    com.blizzardPanel.DataException: Error: 404 - Data not found, check the guild name, server location and realm in APIInfo.java
[ERROR] 2019-01-29 15:25:25.438 [Thread-4] Update - BlizzAPI haven a error to 'Sïcario'
    com.blizzardPanel.DataException: Error: 404 - Data not found, check the guild name, server location and realm in APIInfo.java
[ERROR] 2019-01-29 15:25:25.591 [Thread-4] Update - BlizzAPI haven a error to 'Sïcario'
    com.blizzardPanel.DataException: Error: 404 - Data not found, check the guild name, server location and realm in APIInfo.java
[ERROR] 2019-01-29 15:25:26.625 [Thread-4] Update - BlizzAPI haven a error to 'Sïcario'
    com.blizzardPanel.DataException: Error: 404 - Data not found, check the guild name, server location and realm in APIInfo.java
[ERROR] 2019-01-29 15:25:26.767 [Thread-4] Update - BlizzAPI haven a error to 'Sïcario'
    com.blizzardPanel.DataException: Error: 404 - Data not found, check the guild name, server location and realm in APIInfo.java
[ERROR] 2019-01-29 15:25:26.911 [Thread-4] Update - BlizzAPI haven a error to 'Sïcario'
    com.blizzardPanel.DataException: Error: 404 - Data not found, check the guild name, server location and realm in APIInfo.java
[ERROR] 2019-01-29 15:25:27.052 [Thread-4] Update - BlizzAPI haven a error to 'Sïcario'
    com.blizzardPanel.DataException: Error: 404 - Data not found, check the guild name, server location and realm in APIInfo.java
[ERROR] 2019-01-29 15:25:27.230 [Thread-4] Update - BlizzAPI haven a error to 'Sïcario'
    com.blizzardPanel.DataException: Error: 404 - Data not found, check the guild name, server location and realm in APIInfo.java
[ERROR] 2019-01-29 15:25:27.372 [Thread-4] Update - BlizzAPI haven a error to 'Sïcario'
    com.blizzardPanel.DataException: Error: 404 - Data not found, check the guild name, server location and realm in APIInfo.java
[INFO ] 2019-01-29 15:25:28.080 [Thread-4] Update - Wow token information update!
[INFO ] 2019-01-29 15:25:28.223 [Thread-4] Update - Users characters information update!
[INFO ] 2019-01-29 15:25:28.227 [Thread-4] Update - Guild progression update!
[INFO ] 2019-01-29 15:25:28.930 [Thread-4] RaidDificultBoss - Boss 'high-tinker-mekkatorque' not have info in DB, update to blizzard
[ERROR] 2019-01-29 15:25:48.326 [Thread-4] RaidDificultBoss - FAIL (EXIT) TO GET BOSS INFO!! high-tinker-mekkatorque

Also it does shutdown my tomcat server at the end

sebaturen commented 5 years ago

:D I see the "dynamic-" error is okey. **The members error, like "bizzAPI have error to [member]" is normal if member not login or not use this character, don't worry.

In other way, can you run this command in DB? MariaDB [artofdb]> select id, name, slug from boss_list where id >= 144683;

PD> is designed to throw the system without a serious error.

Lumiahna commented 5 years ago

still have the issue


[INFO ] 2019-01-29 15:44:11.346 [Thread-4] RaidDificultBoss - Boss 'high-tinker-mekkatorque' not have info in DB, update to blizzard
[ERROR] 2019-01-29 15:44:31.114 [Thread-4] RaidDificultBoss - FAIL (EXIT) TO GET BOSS INFO!! high-tinker-mekkatorque
sebaturen commented 5 years ago

Yeah sure, can you send me a result from DB command pls: MariaDB [artofdb]> select id, name, slug from boss_list where id >= 144683;

Lumiahna commented 5 years ago
MariaDB [lastpull]>  select id, name, slug from boss_list where id >= 144683;
+--------+------------------------+------------------------+
| id     | name                   | slug                   |
+--------+------------------------+------------------------+
| 144683 | Champion of the Light  | champion-of-the-light  |
| 144690 | Jadefire Masters       | jadefire-masters       |
| 144691 | Jadefire Masters       | jadefire-masters       |
| 144747 | Conclave of the Chosen | conclave-of-the-chosen |
| 144796 | Mekkatorque            | mekkatorque            |
| 145261 | Opulence               | opulence               |
| 145616 | King Rastakhan         | king-rastakhan         |
| 146256 | Stormwall Blockade     | stormwall-blockade     |
| 146416 | Lady Jaina Proudmoore  | lady-jaina-proudmoore  |
+--------+------------------------+------------------------+
9 rows in set (0.00 sec)
sebaturen commented 5 years ago

Em.... can verificate if file WEB-INF/src/gameObject/guild/raids/RaidDificultBoss.java line 126, have this pls

//-----------Battle of Dazar'alor
case "high-tinker-mekkatorque":
    return "mekkatorque";
sebaturen commented 5 years ago

My guild not kill mekkatorque yet... tell me your guild name/server/realm to test mekkatorque error.

Lumiahna commented 5 years ago

My bad Now I've got this error (so sorry to spam you) [ERROR] 2019-01-29 16:12:37.213 [Thread-4] UpdateRunning - FAIL IN UPDATE TIMELINE! java.lang.IllegalStateException: jdbc/db is missing in JNDI!

sebaturen commented 5 years ago

Em... you sure the META-INF/context.xml is correct DB config?

    <Resource
        name="jdbc/db" type="javax.sql.DataSource"
        maxActive="100" maxIdle="30" maxWait="10000" 
        url="jdbc:mysql://127.0.0.1/<DB NAME>"
        driverClassName="org.mariadb.jdbc.Driver"
        username="<USER>" 
        password="<PASSWORD>"
    />

and have the driver in tomcat libs? Can upload more debug detail pls (don't worry for spam :D)

Lumiahna commented 5 years ago

Seems to work ! I've to fix some stuff like putt a domain and config redirection but it works pretty well

sebaturen commented 5 years ago

the last exception break auto update :S, let me see if u have more error ;)

Lumiahna commented 5 years ago

Sure https://pastebin.com/k4QerUcY

Lumiahna commented 5 years ago

it seems mm+ doesn;t load https://i.postimg.cc/sDvfHbpZ/image.png but it does on guild challenge btw, on bnet api, it seems it does require an url to redirect, you redirect directly on home or any particuliar link ?

sebaturen commented 5 years ago

The guild challenge depend to last weeks, so always have info, the mythi+ is only from active member, in this week, it is not retroactive and only best runs. (if server now reset, your members don;t have mythis+ info)

The redirection is automatic generate, but u need set correct MAIN_URL in META-INF/context.xml. <Environment name="MAIN_URL" value="" override="false" type="java.lang.String" /> If you run in localhost, only use localhost URL.

Lumiahna commented 5 years ago

Ok, seems to work for me now, It does not load properly guild banner or boss img from 8.1 but I see that I can upload them. Some stuff to fix and improve I think, I'll take a loot at it ^^. Thanks for your support and your awesome projet

sebaturen commented 5 years ago

Fix some photos in the morning, check that the assets are updated. I'm checking because our guild page is not updating the mythic +, it's a blizzard problem, they have not updated the information for this section. (raider.io uses full ranking methods, this panel only by members).

I will be updating the project within these days as well, please be aware of the new updates for future improvements.