Search the web
Sign In
New User? Sign Up
wlshell
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Classcast Exception error   Message List  
Reply | Forward Message #663 of 675 |
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.documentdna.com for more runtime
information.

connecting to servers... failed
java.lang.ClassCastException:
weblogic.jndi.internal.WLEventContextImpl
failed
could not get information from the server(s)

## From WLSHELL.log##################
2007-09-12 17:30:58 ERROR - java.lang.ClassCastException:
weblogic.jndi.internal.WLEventContextImpl
at
wlshell.jmx.weblogic.WebLogicMBeanServerHelper.reloadServerList(Z)Z
(WebLogicMBeanServerHelper.java:338)
at wlshell.connect.jmx.weblogic.RemoteConnectorPre9.connect
(Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;Ljava.lang.Stri
ng;)Z(RemoteConnectorPre9.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.connectCmd
(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.CommandLineImpl.eval
(Lwlshell.parser.SimpleNode;Ljava.io.PrintWriter;)Ljava.lang.Object;
(CommandLineImpl.java:59)
at wlshell.cl.TextCommandLine.run([Ljava.lang.String;)V
(TextCommandLine.java:121)
at wlshell.cl.TextCommandLine.main([Ljava.lang.String;)V
(TextCommandLine.java:36)
at wlshell.Main.main([Ljava.lang.String;)V(Main.java:48)




Wed Sep 12, 2007 9:39 pm

sudha22
Offline Offline
Send Email Send Email

Forward
Message #663 of 675 |
Expand Messages Author Sort by Date

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...
Sudhakar
sudha22
Offline Send Email
Sep 12, 2007
9:43 pm

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...
sfomad
Offline Send Email
Sep 14, 2007
2:03 pm

Hello Paco, Thanks for replying. I have followed your instructions and created the wlshell.log. Unfortunately, I had to mask some details such as server name,...
SUDHAKAR KR
sudha22
Offline Send Email
Sep 14, 2007
2:49 pm

Sudhakar, I didn't see the output of the "ver" command. Can you execute "ver" within wlshell and send me the output? Paco _____ From: wlshell@yahoogroups.com...
Paco Gomez
sfomad
Offline Send Email
Sep 14, 2007
3:02 pm

Hello Paco, Sorry. I overlooked. Please find attached. Thanks Sudhakar ... From: Paco Gomez <paco@...> To: wlshell@yahoogroups.com Sent: Friday,...
SUDHAKAR KR
sudha22
Offline Send Email
Sep 14, 2007
3:47 pm

Sudhakar, I was referring to the "ver" command inside wlshell. That produces detailed information of the libraries being used. Also please attach the output of...
Paco Gomez
sfomad
Offline Send Email
Sep 14, 2007
4:00 pm

Paco, Please find below the details. C:\Program Files\wlshell-2.1.0\bin>wlsh wlshell, a multipurpose shell. Version 2.1.0 by Paco Gomez (c) 2002 - 2007....
SUDHAKAR KR
sudha22
Offline Send Email
Sep 14, 2007
7:18 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help