• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Devaka Cooray
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
Bartenders:

weblogic.Admin command not running

 
Ranch Hand
Posts: 189
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My env varaible are set like:


Now when I am trying to run this from my command prompt:
C:\Documents and Settings\navbhatt>weblogic.Admin
I am getting like:

'weblogic.Admin' is not recognized as an internal or external command,
operable program or batch file.

Any idea why 'weblogic.Admin' is not recognized here?
 
author
Posts: 3285
13
Mac OS X Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Anand Bhatt:
My env varaible are set like:


Now when I am trying to run this from my command prompt:
C:\Documents and Settings\navbhatt>weblogic.Admin
I am getting like:

'weblogic.Admin' is not recognized as an internal or external command,
operable program or batch file.

Any idea why 'weblogic.Admin' is not recognized here?



*Hint 1* Are you executing it with java?
*Hint 2* You need to think about your CLASSPATH

Cheers,
Martijn
 
Anand Bhatt
Ranch Hand
Posts: 189
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
1* Are you executing it with java? I am not get this point

2:You need to think about your CLASSPATH : Path is already set there
 
Ranch Hand
Posts: 470
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Anand, do you know that weblogic.Admin utility is deprecated as of WebLogic Server 9.0?
 
Anand Bhatt
Ranch Hand
Posts: 189
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My classpath is showing as:
CLASSPATH=;C:\bea9.2\patch_weblogic921\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\bea9.2\JDK150~1\lib\tools.jar
;C:\bea9.2\WEBLOG~1\server\lib\weblogic_sp.jar;C:\bea9.2\WEBLOG~1\server\lib\weblogic.jar;C:\bea9.2\WEBLOG~1\server\lib\webservice
s.jar;;C:\bea9.2\WEBLOG~1\common\eval\pointbase\lib\pbclient51.jar;C:\bea9.2\WEBLOG~1\server\lib\xqrl.jar;;
 
Martijn Verburg
author
Posts: 3285
13
Mac OS X Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
A few points:

1.) See Misha's post, sounds like you're trying to run a deprecated utility

2.) Your CLASSPATH looks very suspicious to me (with all of the ~ characters), this is often caused by using windows directory structures, e.g. Is C:\bea9.2\WEBLOG~1\ a real directory? I'd used the full directory name but quote it.

2.a) Alternatively make sure that you have the jar files in a directory structure without spaces or ~ characters
 
drifter
Posts: 1364
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Any idea why 'weblogic.Admin' is not recognized here?


Originally posted by Anand Bhatt:
1* Are you executing it with java? I am not get this point



The command to run weblogic.Admin is
 
Anand Bhatt
Ranch Hand
Posts: 189
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Misha ,
This might be reason, as I am using weblogic9.2
 
You have to be odd to be #1 - Seuss. An odd little ad:
The new gardening playing cards kickstarter is now live!
https://www.kickstarter.com/projects/paulwheaton/garden-cards
reply
    Bookmark Topic Watch Topic
  • New Topic