Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Application Deployment Error -

 
Derek Joyce
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We are trying to migrate an in-house application from weblogic 8.1sp6 to JBoss 4.0.5. We have no experience in JBoss. As the t3 protocol is weblogic proprietory we are trying to use iiop as a replacement. However, we are getting the following runtime errors on the client side:

Java Web Start 1.4.2_14 Console, started Tue May 19 08:43:07 BST 2009
Java 2 Runtime Environment: Version 1.4.2_14 by Sun Microsystems Inc.
FATAL lookup, lookup(String , Class
javax.naming.CommunicationException: Could not obtain connection to any of these urls: iiop://3.9.2.91:8080 and discovery failed with error: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out] [Root exception is javax.naming.CommunicationException: Failed to connect to server iiop:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server iiop:1099 [Root exception is java.net.UnknownHostException: iiop: iiop]]]
at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1414)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:594)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
at javax.naming.InitialContext.lookup(Unknown Source)
at com.cso.dms.client.components.dmsservicelocator.DMSServiceLocator.lookup(DMSServiceLocator.java:138)
at com.cso.dms.client.components.dmsservicelocator.DMSServiceLocator.getSecurityHandleFetcher(DMSServiceLocator.java:593)
at com.cso.dms.client.components.dmsservicelocator.DMSServiceLocator.getSecurityHandle(DMSServiceLocator.java:631)
at com.cso.dms.client.components.dmsbusinessdelegate.util.SecurityProxy.authenticateUser(SecurityProxy.java:2037)
at com.cso.dms.client.gui.framework.DMSMainWindow.<init>(DMSMainWindow.java:133)
at com.cso.dms.client.gui.framework.DMSMainWindow.main(DMSMainWindow.java:424)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.continueLaunch(Unknown Source)
at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: javax.naming.CommunicationException: Failed to connect to server iiop:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server iiop:1099 [Root exception is java.net.UnknownHostException: iiop: iiop]]
at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:269)
at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1385)
... 20 more
Caused by: javax.naming.ServiceUnavailableException: Failed to connect to server iiop:1099 [Root exception is java.net.UnknownHostException: iiop: iiop]
at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:243)
... 21 more
Caused by: java.net.UnknownHostException: iiop: iiop
at java.net.InetAddress.getAllByName0(Unknown Source)
at java.net.InetAddress.getAllByName0(Unknown Source)
at java.net.InetAddress.getAllByName(Unknown Source)
at java.net.InetAddress.getByName(Unknown Source)
at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:76)
at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:239)
... 21 more
FATAL lookup, lookup(String , Class
javax.naming.CommunicationException: Could not obtain connection to any of these urls: iiop://3.9.2.91:8080 and discovery failed with error: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out] [Root exception is javax.naming.CommunicationException: Failed to connect to server iiop:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server iiop:1099 [Root exception is java.net.UnknownHostException: iiop]]]
at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1414)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:594)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
at javax.naming.InitialContext.lookup(Unknown Source)
at com.cso.dms.client.components.dmsservicelocator.DMSServiceLocator.lookup(DMSServiceLocator.java:138)
at com.cso.dms.client.components.dmsservicelocator.DMSServiceLocator.getSecurityHandleFetcher(DMSServiceLocator.java:593)
at com.cso.dms.client.components.dmsservicelocator.DMSServiceLocator.getSecurityHandle(DMSServiceLocator.java:644)
at com.cso.dms.client.components.dmsbusinessdelegate.util.SecurityProxy.authenticateUser(SecurityProxy.java:2037)
at com.cso.dms.client.gui.framework.DMSMainWindow.<init>(DMSMainWindow.java:133)
at com.cso.dms.client.gui.framework.DMSMainWindow.main(DMSMainWindow.java:424)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.continueLaunch(Unknown Source)
at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: javax.naming.CommunicationException: Failed to connect to server iiop:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server iiop:1099 [Root exception is java.net.UnknownHostException: iiop]]
at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:269)
at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1385)
... 20 more
Caused by: javax.naming.ServiceUnavailableException: Failed to connect to server iiop:1099 [Root exception is java.net.UnknownHostException: iiop]
at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:243)
... 21 more
Caused by: java.net.UnknownHostException: iiop
at java.net.InetAddress.getAllByName0(Unknown Source)
at java.net.InetAddress.getAllByName0(Unknown Source)
at java.net.InetAddress.getAllByName(Unknown Source)
at java.net.InetAddress.getByName(Unknown Source)
at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:76)
at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:239)
... 21 more
FATAL getSecurityHandle, Retry Exception getSecurityHandle
com.cso.dms.framework.exception.DMSServiceLocatorException: Unable to get SecurityHandle. Could not obtain connection to any of these urls: iiop://3.9.2.91:8080 and discovery failed with error: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out]
at com.cso.dms.client.components.dmsservicelocator.DMSServiceLocator.getSecurityHandleFetcher(DMSServiceLocator.java:603)
at com.cso.dms.client.components.dmsservicelocator.DMSServiceLocator.getSecurityHandle(DMSServiceLocator.java:644)
at com.cso.dms.client.components.dmsbusinessdelegate.util.SecurityProxy.authenticateUser(SecurityProxy.java:2037)
at com.cso.dms.client.gui.framework.DMSMainWindow.<init>(DMSMainWindow.java:133)
at com.cso.dms.client.gui.framework.DMSMainWindow.main(DMSMainWindow.java:424)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.continueLaunch(Unknown Source)
at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: com.cso.dms.framework.exception.DMSServiceLocatorException: Could not obtain connection to any of these urls: iiop://3.9.2.91:8080 and discovery failed with error: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out]
at com.cso.dms.client.components.dmsservicelocator.DMSServiceLocator.lookup(DMSServiceLocator.java:149)
at com.cso.dms.client.components.dmsservicelocator.DMSServiceLocator.getSecurityHandleFetcher(DMSServiceLocator.java:593)
... 15 more
ERROR authenticateUser, Exception Occurred Security Proxy - authenticateUser
com.cso.dms.framework.exception.DMSServiceLocatorException: Unable to get SecurityHandle. Could not obtain connection to any of these urls: iiop://3.9.2.91:8080 and discovery failed with error: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out]
at com.cso.dms.client.components.dmsservicelocator.DMSServiceLocator.getSecurityHandleFetcher(DMSServiceLocator.java:603)
at com.cso.dms.client.components.dmsservicelocator.DMSServiceLocator.getSecurityHandle(DMSServiceLocator.java:631)
at com.cso.dms.client.components.dmsbusinessdelegate.util.SecurityProxy.authenticateUser(SecurityProxy.java:2037)
at com.cso.dms.client.gui.framework.DMSMainWindow.<init>(DMSMainWindow.java:133)
at com.cso.dms.client.gui.framework.DMSMainWindow.main(DMSMainWindow.java:424)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.continueLaunch(Unknown Source)
at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: com.cso.dms.framework.exception.DMSServiceLocatorException: Could not obtain connection to any of these urls: iiop://3.9.2.91:8080 and discovery failed with error: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out]
at com.cso.dms.client.components.dmsservicelocator.DMSServiceLocator.lookup(DMSServiceLocator.java:149)
at com.cso.dms.client.components.dmsservicelocator.DMSServiceLocator.getSecurityHandleFetcher(DMSServiceLocator.java:593)
... 15 more
java.lang.NullPointerException
at com.cso.dms.client.plaf.DMSOptionPaneUI.setFocusTraversal(DMSOptionPaneUI.java:173)
at com.cso.dms.client.plaf.DMSOptionPaneUI$2.run(DMSOptionPaneUI.java:148)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
FATAL <init>, User ID from getuserID:joyced
com.cso.dms.components.security.exception.DMSSecurityException: Unable to get SecurityHandle. Could not obtain connection to any of these urls: iiop://3.9.2.91:8080 and discovery failed with error: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out]
at com.cso.dms.client.components.dmsbusinessdelegate.util.SecurityProxy.authenticateUser(SecurityProxy.java:2051)
at com.cso.dms.client.gui.framework.DMSMainWindow.<init>(DMSMainWindow.java:133)
at com.cso.dms.client.gui.framework.DMSMainWindow.main(DMSMainWindow.java:424)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.continueLaunch(Unknown Source)
at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

We have seen similar errors on the internet which suggested adding various jboss jars to the application classpath (done) or checking the network for firewall issues (none). Have we failed to set some parameter in JBoss perhaps? If anyone has seen similar messages and has any suggestions/solutions, their help would be much appreciated.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic