6 Replies Latest reply on May 31, 2016 7:03 AM by nickarls

    Wildfly 10 war deployment Problem

    asimdogar

      Hi,

      i deployed war on wild fly 10 but its url is not working properly due to some configuration. Exposed war is deployed .As URL appending problem. see below images

      Capture.PNG Capture1.PNG

        • 1. Re: Wildfly 10 war deployment Problem
          asimdogar

          answer me

          • 2. Re: Wildfly 10 war deployment Problem
            nickarls

            Or else? ;-)

             

            Has it worked on another AS/version?

            Show us the structure of the deployment, the log during deployment and the code that does the navigation to the next page...

            • 3. Re: Wildfly 10 war deployment Problem
              asimdogar

              actually i'm new on wildfly and i configure ip on standalone.xml and deploy a war .

               

               

              13:02:12,123 WARN  [com.i2c.operations.module.security.util.SecurityUtils] (ServerService Thread Pool -- 73) ldapConfig are not eastablished... /export/home/appuser/asim/wildfly-10.0.0.Final/standalone/deployments/i2coperation.warWEB-INF/ldap.ini (No such file or directory)

              13:02:12,130 ERROR [stderr] (ServerService Thread Pool -- 73) java.io.FileNotFoundException: /export/home/appuser/asim/wildfly-10.0.0.Final/standalone/deployments/i2coperation.warWEB-INF/ldap.ini (No such file or directory)

              13:02:12,138 ERROR [stderr] (ServerService Thread Pool -- 73)    at java.io.FileInputStream.open(Native Method)

              13:02:12,140 ERROR [stderr] (ServerService Thread Pool -- 73)    at java.io.FileInputStream.<init>(FileInputStream.java:138)

              13:02:12,142 ERROR [stderr] (ServerService Thread Pool -- 73)    at java.io.FileInputStream.<init>(FileInputStream.java:93)

              13:02:12,144 ERROR [stderr] (ServerService Thread Pool -- 73)    at com.i2c.util.CommonUtilities.loadPropertyFile(CommonUtilities.java:768)

              13:02:12,146 ERROR [stderr] (ServerService Thread Pool -- 73)    at com.i2c.operations.module.security.util.SecurityUtils.configLDAP(SecurityUtils.java:81)

              13:02:12,149 ERROR [stderr] (ServerService Thread Pool -- 73)    at com.i2c.domain.StartUp.contextInitialized(StartUp.java:48)

              13:02:12,152 ERROR [stderr] (ServerService Thread Pool -- 73)    at io.undertow.servlet.core.ApplicationListeners.contextInitialized(ApplicationListeners.java:187)

              13:02:12,157 ERROR [stderr] (ServerService Thread Pool -- 73)    at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:198)

              13:02:12,161 ERROR [stderr] (ServerService Thread Pool -- 73)    at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:100)

              13:02:12,164 ERROR [stderr] (ServerService Thread Pool -- 73)    at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:82)

              13:02:12,167 ERROR [stderr] (ServerService Thread Pool -- 73)    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

              13:02:12,170 ERROR [stderr] (ServerService Thread Pool -- 73)    at java.util.concurrent.FutureTask.run(FutureTask.java:266)

              13:02:12,174 ERROR [stderr] (ServerService Thread Pool -- 73)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

              13:02:12,177 ERROR [stderr] (ServerService Thread Pool -- 73)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

              13:02:12,180 ERROR [stderr] (ServerService Thread Pool -- 73)    at java.lang.Thread.run(Thread.java:745)

              13:02:12,183 ERROR [stderr] (ServerService Thread Pool -- 73)    at org.jboss.threads.JBossThread.run(JBossThread.java:320)

              13:02:12,187 FATAL [com.i2c.domain.StartUp] (ServerService Thread Pool -- 73) ##SQL-EXCEPTION## QUERY-ID: The SQL Exception Got while loading configurations: java.lang.NullPointerException

                      at com.i2c.operations.module.security.util.SecurityUtils.configLDAP(SecurityUtils.java:88)

                      at com.i2c.domain.StartUp.contextInitialized(StartUp.java:48)

                      at io.undertow.servlet.core.ApplicationListeners.contextInitialized(ApplicationListeners.java:187)

                      at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:198)

                      at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:100)

                      at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:82)

                      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:1142)

                      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

                      at java.lang.Thread.run(Thread.java:745)

                      at org.jboss.threads.JBossThread.run(JBossThread.java:320)

              • 4. Re: Wildfly 10 war deployment Problem
                nickarls

                How about

                 

                java.io.FileNotFoundException: /export/home/appuser/asim/wildfly-10.0.0.Final/standalone/deployments/i2coperation.warWEB-INF/ldap.ini (No such file or directory)

                • 5. Re: Wildfly 10 war deployment Problem
                  asimdogar

                  why i should make this directory??

                  • 6. Re: Wildfly 10 war deployment Problem
                    nickarls

                    Just stating what the exception says. The strange thing there is the lack of / between .war and WEB-INF

                     

                    What happens at com.i2c.operations.module.security.util.SecurityUtils.configLDAP(SecurityUtils.java:88) ?

                     

                    Perhaps you are referencing the file in a non-compatible way?