1 Reply Latest reply on Jun 14, 2006 1:53 AM by Guofeng Zhang

    Error message "Failed to setup client ENC" when setup portal

    Guofeng Zhang Novice

      I am new to jboss portal.

      I copied jboss-portal.sar and portal-hsqldb-ds.xml to $JBOSS_HOME/server/default/deploy according to the instruction in http://docs.jboss.com/jbportal/v2.2/user-guide/en/html/installation.html.

      When I run Jboss, I got the following error message. I do not know what cause it.

      Thanks for your help very much.


      2006-06-14 13:39:48,359 ERROR [org.jboss.deployment.MainDeployer] Could not start deployment: file:/D:/VCS/platform/jboss-4.0.4.GA/server/default/deploy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-client.jar
      org.jboss.deployment.DeploymentException: Failed to setup client ENC; - nested throwable: (javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out])
       at org.jboss.deployment.ClientDeployer.start(ClientDeployer.java:171)
       at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
       at org.jboss.deployment.MainDeployer.addDeployer(MainDeployer.java:368)
       ....
      Caused by: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out]
       at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:1317)
       at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1446)
       at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:594)
       at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
       at javax.naming.InitialContext.lookup(InitialContext.java:351)
       at org.jboss.util.naming.Util.createSubcontext(Util.java:69)
       at org.jboss.util.naming.Util.createSubcontext(Util.java:52)
       at org.jboss.deployment.ClientDeployer.setupEnvironment(ClientDeployer.java:221)
       at org.jboss.deployment.ClientDeployer.start(ClientDeployer.java:167)
       ... 117 more
      Caused by: java.net.SocketTimeoutException: Receive timed out
       at java.net.PlainDatagramSocketImpl.receive0(Native Method)
       at java.net.PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java:136)
       at java.net.DatagramSocket.receive(DatagramSocket.java:712)
       at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:1287)
       ... 125 more