weweneh1 Posted November 19, 2018 Posted November 19, 2018 hello please help .. i already deployed my war file in my domain but when i try visit,it will redirect in 127.0.0.1:8080/weweneh1_login/login instead of wekenche.tk/login .. please help me ,and is there's any way to deploy my war file in https://wekenche.tk? not in http://wekenche/login..thank you in advance
weweneh1 Posted November 19, 2018 Author Posted November 19, 2018 i try to re deploy still same outcome.and i also try extract the war file to /public_html but its not working
wolstech Posted November 19, 2018 Posted November 19, 2018 If I remember right, that issue is caused by a code error on your part. Check to make sure you didn't reference localhost or 127.0.0.1 explicitly anywhere in your war. Krydos might know more, I have very little knowledge of how java works.
Krydos Posted November 19, 2018 Posted November 19, 2018 That redirect is caused by your code. Most likely it's a conflict with our systems renaming your .war file from what it expects to be named. You are deploying login.war, but we need to append your username to the front of it to make weweneh1_login.war. If our system didn't do that anyone else who tried to deploy a login.war would overwrite your site. Most of the time this can be fixed by naming your file weweneh1_login.war when you create it.
weweneh1 Posted November 21, 2018 Author Posted November 21, 2018 thank you sir it deployed:) but i got 404 error accessing in links can you please tell me what the problem? Coz it working here in my local with remote mysql
weweneh1 Posted November 21, 2018 Author Posted November 21, 2018 i think its beacause of the spring security i used but im not suredo you have any idea? please help me :'(
Krydos Posted November 21, 2018 Posted November 21, 2018 It looks like your application won't even start.FAIL - Application at context path [/weweneh1_wekenche] could not be started FAIL - Encountered exception [org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/weweneh1_wekenche]]]
weweneh1 Posted November 21, 2018 Author Posted November 21, 2018 try again sir.. i re deployed it..it still have problem in login
Krydos Posted November 21, 2018 Posted November 21, 2018 Try https://stackoverflow.com/a/50493714/2336864
weweneh1 Posted November 21, 2018 Author Posted November 21, 2018 i already did that but still no luck.
weweneh1 Posted November 21, 2018 Author Posted November 21, 2018 hello Kyros i cant deploy my new war file "Java deployment failed with errors.", can you help me? thank you in advance ..
Krydos Posted November 22, 2018 Posted November 22, 2018 22-Nov-2018 04:58:14.062 SEVERE [localhost-startStop-23] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/weweneh1_admin]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:986) at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1857) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: org.springframework.jmx.export.UnableToRegisterMBeanException: Unable to register MBean [HikariDataSource (HikariPool-6)] with key 'dataSource'; nested exception is javax.management.InstanceAlreadyExistsException: com.zaxxer.hikari:name=dataSource,type=HikariDataSource
weweneh1 Posted November 22, 2018 Author Posted November 22, 2018 I've deployed it locally it work fine
Recommended Posts