Version 1

    I am getting the fallowing error while integrating Quartz job server in the JBoss

    javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out]

     

     

    The steps i fallowed to configure the Quarts

     

    1. I removed the quartz.jar from the {JBoss_Home}/deploy/lib and Quartz-ra.rar from {JBoss_Home}/deploy folder.

     

    2. Added the quartz 1.6.5.jar and quartz-jboss-1.6.5.jar into {JBoss_Home}/deploy/lib .

     

    3. Added the quartz-service.xml with fallowing details

     

    <?xml version="1.0" encoding="UTF-8"?>

     

    <server>
      <mbean code="org.quartz.ee.jmx.jboss.QuartzService" name="user:service=QuartzService,name=QuartzService">   
        <attribute name="JndiName">Quartz</attribute>
        <depends>jboss.jca:service=DataSourceBinding,name=QuartzDS</depends>
        <attribute name="Properties">       
          org.quartz.scheduler.instanceName = DefaultQuartzScheduler
          org.quartz.scheduler.rmi.export = false
          org.quartz.scheduler.rmi.proxy = false
          org.quartz.scheduler.xaTransacted = false
          org.quartz.threadPool.class = org.quartz.simpl.SimpleThreadPool 
          org.quartz.threadPool.threadCount = 5
          org.quartz.threadPool.threadPriority = 4
          org.quartz.jobStore.class = org.quartz.simpl.RAMJobStore 
        </attribute> 
       
      </mbean>
    </server>

     

    4. I have written the Servlet to schedule the job

         package com.radiant.cisms.help.servlets;

     

    import java.io.IOException;
    import java.util.Date;

     

    import javax.naming.InitialContext;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;

     

    import org.quartz.CronTrigger;
    import org.quartz.JobDetail;
    import org.quartz.Scheduler;
    import org.quartz.SchedulerException;
    import org.quartz.SchedulerFactory;
    import org.quartz.SimpleTrigger;
    import org.quartz.impl.StdScheduler;
    import org.quartz.impl.StdSchedulerFactory;

     

    /**
    * Servlet implementation class for Servlet: JobSeduleServlet
    *
    */
    public class JobSeduleServlet extends javax.servlet.http.HttpServlet implements javax.servlet.Servlet {
       static final long serialVersionUID = 1L;
      
        /* (non-Java-doc)
         * @see javax.servlet.http.HttpServlet#HttpServlet()
         */
        public JobSeduleServlet() throws SchedulerException {
            super();
            sedulingUsingJboss();
        }      
       
      
        protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
            System.out.println("under doGet method.................");
            sedulingUsingJboss();
        }     
       
       
        protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
            System.out.println("under doPost method.................");
            sedulingUsingJboss();
        }  
       
      
        public void sedulingUsingJboss(){
            System.out.println("under...sedulingUsingJboss................. ");
             try { 
                   InitialContext ctx = new InitialContext(); 
                   System.out.println("Intial Context........."+ctx);
                   System.out.println("..................."+ctx.lookup("Quartz"));
                   StdScheduler scheduler = (StdScheduler) ctx.lookup("Quartz"); 
                  
                  JobDetail jd=new JobDetail("myjob",scheduler.DEFAULT_GROUP,TestJob.class); 
                   CronTrigger ct = new CronTrigger("cronTrigger","group2","0 0/5 * * * ?"); 
                   scheduler.scheduleJob(jd,ct); 
                  
                   } catch (Exception exc) {   
                      exc.printStackTrace(); 
                   } 
        }
    }

     

     

    5. Above servlet has been configured in web.xml as fallowes

     

    <servlet>
            <servlet-name>JobSeduleServlet</servlet-name>
            <servlet-class>com.radiant.cisms.help.servlets.JobSeduleServlet</servlet-class>
            <load-on-startup>1</load-on-startup>
        </servlet>

    <servlet-mapping>
            <servlet-name>JobSeduleServlet</servlet-name>
            <url-pattern>/servlet/JobSeduleServlet</url-pattern>
        </servlet-mapping>

     

    According to console generated by the server Quartz service is loding successfully.

     

    But while calling the JobScheduleServlet it is throwing the exception as fallowes

     

    17:56:19,564 ERROR [STDERR] javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out]
    17:56:19,565 ERROR [STDERR]     at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:1317)
    17:56:19,565 ERROR [STDERR]     at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1446)
    17:56:19,565 ERROR [STDERR]     at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:594)
    17:56:19,565 ERROR [STDERR]     at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
    17:56:19,566 ERROR [STDERR]     at javax.naming.InitialContext.lookup(InitialContext.java:392)
    17:56:19,566 ERROR [STDERR]     at com.radiant.cisms.help.servlets.JobSeduleServlet.sedulingUsingJboss(JobSeduleServlet.java:92)
    17:56:19,566 ERROR [STDERR]     at com.radiant.cisms.help.servlets.JobSeduleServlet.<init>(JobSeduleServlet.java:34)
    17:56:19,566 ERROR [STDERR]     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    17:56:19,566 ERROR [STDERR]     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    17:56:19,566 ERROR [STDERR]     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    17:56:19,566 ERROR [STDERR]     at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    17:56:19,566 ERROR [STDERR]     at java.lang.Class.newInstance0(Class.java:355)
    17:56:19,566 ERROR [STDERR]     at java.lang.Class.newInstance(Class.java:308)
    17:56:19,566 ERROR [STDERR]     at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1104)
    17:56:19,566 ERROR [STDERR]     at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)
    17:56:19,566 ERROR [STDERR]     at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4071)
    17:56:19,566 ERROR [STDERR]     at org.apache.catalina.core.StandardContext.start(StandardContext.java:4375)
    17:56:19,566 ERROR [STDERR]     at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:790)
    17:56:19,567 ERROR [STDERR]     at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:770)
    17:56:19,567 ERROR [STDERR]     at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
    17:56:19,567 ERROR [STDERR]     at sun.reflect.GeneratedMethodAccessor141.invoke(Unknown Source)
    17:56:19,567 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    17:56:19,567 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:597)
    17:56:19,567 ERROR [STDERR]     at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)
    17:56:19,567 ERROR [STDERR]     at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
    17:56:19,567 ERROR [STDERR]     at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
    17:56:19,567 ERROR [STDERR]     at org.apache.catalina.core.StandardContext.init(StandardContext.java:5312)
    17:56:19,567 ERROR [STDERR]     at sun.reflect.GeneratedMethodAccessor137.invoke(Unknown Source)
    17:56:19,567 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    17:56:19,567 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:597)
    17:56:19,567 ERROR [STDERR]     at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)
    17:56:19,568 ERROR [STDERR]     at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
    17:56:19,568 ERROR [STDERR]     at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
    17:56:19,568 ERROR [STDERR]     at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301)
    17:56:19,568 ERROR [STDERR]     at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)
    17:56:19,568 ERROR [STDERR]     at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)
    17:56:19,568 ERROR [STDERR]     at org.jboss.web.WebModule.startModule(WebModule.java:83)
    17:56:19,568 ERROR [STDERR]     at org.jboss.web.WebModule.startService(WebModule.java:61)
    17:56:19,568 ERROR [STDERR]     at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
    17:56:19,568 ERROR [STDERR]     at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
    17:56:19,568 ERROR [STDERR]     at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
    17:56:19,568 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    17:56:19,568 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:597)
    17:56:19,568 ERROR [STDERR]     at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
    17:56:19,568 ERROR [STDERR]     at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
    17:56:19,568 ERROR [STDERR]     at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
    17:56:19,569 ERROR [STDERR]     at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
    17:56:19,569 ERROR [STDERR]     at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
    17:56:19,569 ERROR [STDERR]     at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
    17:56:19,569 ERROR [STDERR]     at $Proxy0.start(Unknown Source)
    17:56:19,569 ERROR [STDERR]     at org.jboss.system.ServiceController.start(ServiceController.java:417)
    17:56:19,569 ERROR [STDERR]     at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
    17:56:19,569 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    17:56:19,569 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:597)
    17:56:19,569 ERROR [STDERR]     at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
    17:56:19,569 ERROR [STDERR]     at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
    17:56:19,569 ERROR [STDERR]     at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
    17:56:19,569 ERROR [STDERR]     at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
    17:56:19,569 ERROR [STDERR]     at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
    17:56:19,569 ERROR [STDERR]     at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
    17:56:19,569 ERROR [STDERR]     at $Proxy200.start(Unknown Source)
    17:56:19,570 ERROR [STDERR]     at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
    17:56:19,570 ERROR [STDERR]     at sun.reflect.GeneratedMethodAccessor120.invoke(Unknown Source)
    17:56:19,570 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    17:56:19,570 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:597)
    17:56:19,570 ERROR [STDERR]     at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
    17:56:19,570 ERROR [STDERR]     at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
    17:56:19,570 ERROR [STDERR]     at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
    17:56:19,570 ERROR [STDERR]     at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
    17:56:19,570 ERROR [STDERR]     at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
    17:56:19,570 ERROR [STDERR]     at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
    17:56:19,570 ERROR [STDERR]     at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
    17:56:19,570 ERROR [STDERR]     at org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:87)
    17:56:19,570 ERROR [STDERR]     at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
    17:56:19,570 ERROR [STDERR]     at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
    17:56:19,571 ERROR [STDERR]     at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
    17:56:19,571 ERROR [STDERR]     at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
    17:56:19,571 ERROR [STDERR]     at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
    17:56:19,571 ERROR [STDERR]     at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
    17:56:19,571 ERROR [STDERR]     at $Proxy201.start(Unknown Source)
    17:56:19,571 ERROR [STDERR]     at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
    17:56:19,571 ERROR [STDERR]     at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
    17:56:19,571 ERROR [STDERR]     at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
    17:56:19,571 ERROR [STDERR]     at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
    17:56:19,571 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    17:56:19,571 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:597)
    17:56:19,571 ERROR [STDERR]     at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
    17:56:19,571 ERROR [STDERR]     at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
    17:56:19,571 ERROR [STDERR]     at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
    17:56:19,571 ERROR [STDERR]     at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
    17:56:19,572 ERROR [STDERR]     at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
    17:56:19,572 ERROR [STDERR]     at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
    17:56:19,572 ERROR [STDERR]     at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
    17:56:19,572 ERROR [STDERR]     at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
    17:56:19,572 ERROR [STDERR]     at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
    17:56:19,572 ERROR [STDERR]     at $Proxy9.deploy(Unknown Source)
    17:56:19,572 ERROR [STDERR]     at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
    17:56:19,572 ERROR [STDERR]     at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
    17:56:19,572 ERROR [STDERR]     at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
    17:56:19,572 ERROR [STDERR]     at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
    17:56:19,572 ERROR [STDERR]     at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
    17:56:19,572 ERROR [STDERR]     at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
    17:56:19,573 ERROR [STDERR]     at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
    17:56:19,573 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    17:56:19,573 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:597)
    17:56:19,573 ERROR [STDERR]     at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
    17:56:19,573 ERROR [STDERR]     at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
    17:56:19,573 ERROR [STDERR]     at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
    17:56:19,573 ERROR [STDERR]     at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
    17:56:19,573 ERROR [STDERR]     at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
    17:56:19,573 ERROR [STDERR]     at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
    17:56:19,574 ERROR [STDERR]     at $Proxy0.start(Unknown Source)
    17:56:19,574 ERROR [STDERR]     at org.jboss.system.ServiceController.start(ServiceController.java:417)
    17:56:19,574 ERROR [STDERR]     at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
    17:56:19,574 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    17:56:19,574 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:597)
    17:56:19,574 ERROR [STDERR]     at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
    17:56:19,574 ERROR [STDERR]     at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
    17:56:19,574 ERROR [STDERR]     at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
    17:56:19,574 ERROR [STDERR]     at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
    17:56:19,574 ERROR [STDERR]     at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
    17:56:19,574 ERROR [STDERR]     at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
    17:56:19,574 ERROR [STDERR]     at $Proxy4.start(Unknown Source)
    17:56:19,574 ERROR [STDERR]     at org.jboss.deployment.SARDeployer.start(SARDeployer.java:304)
    17:56:19,574 ERROR [STDERR]     at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
    17:56:19,575 ERROR [STDERR]     at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
    17:56:19,575 ERROR [STDERR]     at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
    17:56:19,575 ERROR [STDERR]     at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
    17:56:19,575 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    17:56:19,575 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    17:56:19,575 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    17:56:19,575 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:597)
    17:56:19,575 ERROR [STDERR]     at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
    17:56:19,575 ERROR [STDERR]     at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
    17:56:19,575 ERROR [STDERR]     at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
    17:56:19,575 ERROR [STDERR]     at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
    17:56:19,575 ERROR [STDERR]     at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
    17:56:19,575 ERROR [STDERR]     at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
    17:56:19,575 ERROR [STDERR]     at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
    17:56:19,575 ERROR [STDERR]     at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
    17:56:19,576 ERROR [STDERR]     at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
    17:56:19,576 ERROR [STDERR]     at $Proxy5.deploy(Unknown Source)
    17:56:19,576 ERROR [STDERR]     at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
    17:56:19,576 ERROR [STDERR]     at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
    17:56:19,576 ERROR [STDERR]     at org.jboss.Main.boot(Main.java:200)
    17:56:19,576 ERROR [STDERR]     at org.jboss.Main$1.run(Main.java:508)
    17:56:19,576 ERROR [STDERR]     at java.lang.Thread.run(Thread.java:619)
    17:56:19,577 ERROR [STDERR] Caused by: java.net.SocketTimeoutException: Receive timed out
    17:56:19,577 ERROR [STDERR]     at java.net.PlainDatagramSocketImpl.receive0(Native Method)
    17:56:19,577 ERROR [STDERR]     at java.net.PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java:136)
    17:56:19,577 ERROR [STDERR]     at java.net.DatagramSocket.receive(DatagramSocket.java:712)
    17:56:19,577 ERROR [STDERR]     at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:1287)
    17:56:19,577 ERROR [STDERR]     ... 146 more

     

     

    Please help me soon.....

     

    Thanks in advance

    Mallik