0 Replies Latest reply on Aug 2, 2017 5:38 AM by bhagyashree sharma

    Wildfly 8.2.1 throws javax.naming.NameNotFoundException after restart

    bhagyashree sharma Newbie

      Hi,

       

           I am using wildfly 8.2.1 in my application and deployed 4 ears in domain server with server name "job-server-1"

           It was running fine from last 3 months.

           Yesterday I have restarted wildlfy sever and checked system process , it was started with name job-server-1 but my application portal was not up.

           when I checked in wildlfy administrator,  server status is showing stopped.

          

           Wildfly is throwing exception in my application log :

       

      2017-08-01 10:40:41.0059 ERROR default task-17 com.coupon.web.action.LoginAction - Exception generated while Login : function doLogin() : Exception is :javax.naming.NameNotFoundException: CouponEAR/CouponEJB/LoginServiceImpl [Root exception is java.lang.IllegalStateException]

      at org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:140)

      at org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:81)

      at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:202)

      at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:179)

      at org.jboss.as.naming.InitialContext$DefaultInitialContext.lookup(InitialContext.java:235)

       

      I did not redeploy any ear or change anything on server.

       

      What could be the cause?

      I did not see any exception in server.log either.

       

      Thanks.