0 Replies Latest reply on Aug 14, 2001 2:17 AM by 3004

    NumberFormatException on getEJBObject

    3004

                Hi,
                
                I got NumberFormatException when getEJBObject() is called in WL6.1 clustering.
                I suspect if the format of example for "Cluster Address list" at page 6-5 in
                "Using Weblogic Server Clusters" document is correct. According to the document,
                the field should accept the following format;
                192.168.0.50,192.168.0.51,192.168.0.52:7001
                I confirmed first operator of NumberFormatException is taken from the field by
                changing the port number.
                So, what is the correct syntax for "Cluster Address List" field?
                
                Here is the stacktrace;
                NumberFormatExceptionjava.lang.NumberFormatException: 7031:7031
                at java.lang.Integer.parseInt(Integer.java:423)
                at java.lang.Integer.parseInt(Integer.java:463)
                at weblogic.rjvm.ServerURL.parseURL(ServerURL.java:281)
                at weblogic.rjvm.ServerURL.<init>(ServerURL.java:69)
                at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLIni
                tialContextFactoryDelegate.java:261)
                at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLIni
                tialContextFactoryDelegate.java:203)
                at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialCont
                extFactory.java:124)
                at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
                65)
                at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:246
                )
                at javax.naming.InitialContext.init(InitialContext.java:222)
                at javax.naming.InitialContext.<init>(InitialContext.java:198)
                at weblogic.ejb20.internal.HomeHandleImpl.getEJBHome(HomeHandleImpl.java
                :61)
                at weblogic.ejb20.internal.HandleImpl.getEJBObject(HandleImpl.java:134)
                at cygent.portal.frame.jsp.CygentHttpSessionState.releaseDataCursor(Cyge
                ntHttpSessionState.java:382)
                
                Thanks in advance,