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

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

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 #668 of 675 |
RE: [wlshell] Re: Classcast Exception error

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 the “info –v” command. As shown below,

Thanks,

  Paco

 

 

wlsh [not connected]> ver

 

wlshell version 2.1.0

 

Java version:

BEA Systems, Inc., BEA JRockit(R), version R26.4.0-63_CR302700-72606-1.5.0_06-20061127-1108-win-ia32

 

Connectors:

 

protocols: local

provider:  wlshell.connect.jmx.LocalConnector

version:   wlshell Local JMX Connector version 2.1.0 for JMX 1.2 and higher

 

protocols: service:jmx:rmi

provider:  wlshell.connect.jmx.RemoteConnector

version:   wlshell Remote JMX Connector version 2.1.0 for JMX 1.2 with JMX Remote API 1.0

 

protocols: http, https, service:jmx:t3, t3, t3s

provider:  wlshell.connect.jmx.weblogic.Connector

version:   wlshell Connector version 2.1.0 for WebLogic 6.1, 7.0, 8.1, 9.2 and 10

Using WebLogic libraries:

WebLogic Server 10.0 SP0  Wed May 9 18:10:27 EDT 2007 933139

 

wlsh [not connected]> info -v

not connected

 

current path keys: [Type, Name, Application, Stream]

 

additional information:

- heap size free/total/max (MB): 51/64/128

- user.dir: c:\wlshell\wlshell-2.1.0\bin

- java.class.path: c:\BEA-WL~3\patch_wls1000\profiles\default\sys_manifest_classpath\weblogic_patch.jar;c:\BEA-WL~3\patch_wlw1000\profiles\d

efault\sys_manifest_classpath\weblogic_patch.jar;c:\BEA-WL~3\JROCKI~1\lib\tools.jar;C:\BEA-WL~3\WLSERV~1.0\server\lib\weblogic_sp.jar;C:\BEA

-WL~3\WLSERV~1.0\server\lib\weblogic.jar;c:\BEA-WL~3\modules\features\weblogic.server.modules_10.0.0.0.jar;c:\BEA-WL~3\modules\features\com.

bea.cie.common-plugin.launch_2.1.0.0.jar;C:\BEA-WL~3\WLSERV~1.0\server\lib\webservices.jar;c:\BEA-WL~3\modules\ORGAPA~1.5/lib/ant-all.jar;c:

\BEA-WL~3\modules\NETSFA~1.0/lib/ant-contrib.jar;C:\wlshell\wlshell-2.1.0\lib\wlshell-2.1.0.jar;C:\wlshell\wlshell-2.1.0\lib\log4j-1.2.8.jar

;C:\wlshell\wlshell-2.1.0\lib\looks-1.1.2.jar;C:\wlshell\wlshell-2.1.0\lib\forms-1.0.2.jar;C:\wlshell\wlshell-2.1.0\lib\xconfig-2.0.jar;C:\w

lshell\wlshell-2.1.0\lib\xbean.jar;;C:\BEA-WL~3\WLSERV~1.0\server\lib\wli.jar;C:\BEA-WL~3\WLSERV~1.0\server\lib\knex.jar;C:\BEA-WL~3\WLSERV~

1.0\p13n\lib\p13n_system.jar

 

 

 

 


From: wlshell@yahoogroups.com [mailto:wlshell@yahoogroups.com] On Behalf Of SUDHAKAR KR
Sent: Friday, September 14, 2007 10:45 AM
To: wlshell@yahoogroups.com
Subject: Re: [wlshell] Re: Classcast Exception error

 

Hello Paco,

 

Sorry. I overlooked. Please find attached.

 

Thanks

Sudhakar

----- Original Message ----
From: Paco Gomez <paco@pacogomez.com>
To: wlshell@yahoogroups.com
Sent: Friday, September 14, 2007 10:55:59 AM
Subject: RE: [wlshell] Re: Classcast Exception error

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 [mailto:wlshell@ yahoogroups. com] On Behalf Of SUDHAKAR KR
Sent: Friday, September 14, 2007 9:44 AM
To: wlshell@yahoogroups .com
Subject: Re: [wlshell] Re: Classcast Exception error

 

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, IP address, user id and password. I hope you understand.

 

please find attached the same.

 

Thanks

Sudhakar


 

----- Original Message ----
From: sfomad <paco@pacogomez. com>
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.

 

 


Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase.



Fri Sep 14, 2007 3:58 pm

sfomad
Online Now Online Now
Send Email Send Email

Forward
Message #668 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
Online Now 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
Online Now 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
Online Now 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