From: sfomad <paco@...>
To: wlshell@yahoogroups.com
Sent: Friday, September 14, 2007 10:01:43 AM
Subject: [wlshell] Re: Classcast Exception error
To find out what the issue is, can you start wlshell with the -d flag
(wlsh -d), execute "ver" to show the version and the connect command?
then send the wlshell.log file for review,
Paco
--- In wlshell@yahoogroups .com, "Sudhakar" <sudha22@... > wrote:
>
> Hello,
>
> I am having trouble connecting to one of the weblogic server which is
> running Weblogic 8.1 SP5. It is throwing the following exception
> shown below.
>
> Any help is greatly appreciated.
>
>
> ############ ######### ######
> From command line I just gave.
>
> wlsh
>
> Then,
>
> connect <server name>:port <userid> <password>
>
>
> ## RESPONSE ##
> connecting to t3://<server name>:7001 as administrator. ..done
>
>
connection information:
> - the server name is "server" and belongs to "domain name" domain
> - this server is running as the administration server
> - the shell is accessing all MBeans in this domain
> - the server version is:
> WebLogic Server 8.1 SP5 Mon Sep 19 23:06:54 PDT 2005 641358
> WebLogic XMLX Module 8.1 SP5 Mon Sep 19 23:06:54 PDT 2005 641358
> - see /ServerRuntime/ ahpst.documentdn a.com for more runtime
> information.
>
> connecting to servers... failed
> java.lang.ClassCast Exception:
> weblogic.jndi. internal. WLEventContextIm pl
> failed
> could not get information from the server(s)
>
> ## From WLSHELL.log# ######### ########
> 2007-09-12 17:30:58 ERROR - java.lang.ClassCast Exception:
> weblogic.jndi. internal. WLEventContextIm pl
> at
> wlshell.jmx. weblogic. WebLogicMBeanSer verHelper. reloadServerList
(Z)Z
> (WebLogicMBeanServe rHelper.java: 338)
> at wlshell.connect. jmx.weblogic. RemoteConnectorP re9.connect
> (Ljava.lang. String;Ljava. lang.String; Ljava.lang. String;Ljava. lang.Stri
> ng;)Z(RemoteConnect orPre9.java: 117)
> at wlshell.connect. jmx.weblogic. Connector. connect
> (Ljava.lang. String;Ljava. lang.String; Ljava.lang. String;Ljava. lang.Stri
> ng;)Z(Connector. java:95)
> at wlshell.commands. Session.connectC md
> (Ljava.lang. String;Ljava. lang.Object; Ljava.lang. Object;Ljava. lang.Obje
> ct;)Ljava.lang. Boolean;( Session.java: 238)
> at wlshell.eval. TreeEvaluator. evalConnect
> (Lwlshell.parser. SimpleNode; Ljava.io. PrintWriter; )Ljava.lang. Object;
> (TreeEvaluator. java:794)
> at wlshell.eval. TreeEvaluator. eval
> (Lwlshell.parser. SimpleNode; Ljava.io. PrintWriter; )Ljava.lang. Object;
> (TreeEvaluator. java:147)
> at
wlshell.eval. TreeEvaluator. evalCommand
> (Lwlshell.parser. SimpleNode; Ljava.io. PrintWriter; )Ljava.lang. Object;
> (TreeEvaluator. java:552)
> at wlshell.eval. TreeEvaluator. eval
> (Lwlshell.parser. SimpleNode; Ljava.io. PrintWriter; )Ljava.lang. Object;
> (TreeEvaluator. java:229)
> at wlshell.eval. TreeEvaluator. evalCommands
> (Lwlshell.parser. SimpleNode; Ljava.io. PrintWriter; )Ljava.lang. Object;
> (TreeEvaluator. java:363)
> at wlshell.eval. TreeEvaluator. eval
> (Lwlshell.parser. SimpleNode; Ljava.io. PrintWriter; )Ljava.lang. Object;
> (TreeEvaluator. java:141)
> at wlshell.eval. TreeEvaluator. evalScript
> (Lwlshell.parser. SimpleNode; Ljava.io. PrintWriter; )Ljava.lang. Object;
> (TreeEvaluator. java:297)
> at wlshell.eval. TreeEvaluator. eval
> (Lwlshell.parser. SimpleNode; Ljava.io. PrintWriter; )Ljava.lang. Object;
> (TreeEvaluator.
java:227)
> at wlshell.cl.CommandL ineImpl.eval
> (Lwlshell.parser. SimpleNode; Ljava.io. PrintWriter; )Ljava.lang. Object;
> (CommandLineImpl. java:59)
> at wlshell.cl.TextComm andLine.run( [Ljava.lang. String;)V
> (TextCommandLine. java:121)
> at wlshell.cl.TextComm andLine.main( [Ljava.lang. String;)V
> (TextCommandLine. java:36)
> at wlshell.Main. main([Ljava. lang.String; )V(Main.java: 48)
>
Luggage? GPS? Comic books?
Check out fitting gifts for grads at Yahoo! Search.