• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

unable to connect WLST to Node Manager

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Using nmConnect() command I was trying to connect WLST to Node Manager but unable to do so.

I get the following error if I give the following command

wls:/offline> nmConnect('weblogic', 'weblogic', 'localhost', '5556', 'base_domain', 'C:\bea9\user_projects\domains\base_domain', 'ssl')

Connecting to Node Manager ...
Traceback (innermost last):
File "<input>", line 1, in ?
File "<iostream>", line 1499, in nmConnect
WLSTException: 'Error occured while performing nmConnect : Cannot connect to the
Node Manager.I/O error while reading domain directory: java.io.IOException: C:\
\bea9\\weblogic90\\common\\bin\\\bea9\\user_projects\\domains\base_domain: The f
ilename, directory name, or volume label syntax is incorrect Use dumpStack() to
view the full stacktrace'

I also tried dumpStack(), this is the message I got

wls:/offline> dumpStack()
This Exception occured at Mon Jul 06 02:30:32 GMT 2009
weblogic.nodemanager.NMException: I/O error while reading domain directory: java
.io.IOException: C:\bea9\weblogic90\common\binea9\user_projects\domainase_domain
: The filename, directory name, or volume label syntax is incorrect
at weblogic.nodemanager.client.NMServerClient.checkResponse(NMServerClie
nt.java:239)
at weblogic.nodemanager.client.NMServerClient.connect(NMServerClient.jav
a:197)
at weblogic.nodemanager.client.NMServerClient.checkConnected(NMServerCli
ent.java:151)
at weblogic.nodemanager.client.NMServerClient.getVersion(NMServerClient.
java:41)
at weblogic.management.scripting.NodeManagerService.verifyConnection(Nod
eManagerService.java:183)
at weblogic.management.scripting.NodeManagerService.nmConnect(NodeManage
rService.java:176)
at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[
Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;
I)Ljava.lang.Object;(Unknown Source)
at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java
:160)
at org.python.core.PyMethod.__call__(PyMethod.java:96)
at org.python.core.PyObject.__call__(PyObject.java:248)
at org.python.core.PyObject.invoke(PyObject.java:2016)
at org.python.pycode._pyx2.nmConnect$93(<iostream>:1487)
at org.python.pycode._pyx2.call_function(ILorg.python.core.PyFrame;)Lorg
.python.core.PyObject;(<iostream>:???)
at org.python.core.PyTableCode.call(PyTableCode.java:208)
at org.python.core.PyTableCode.call(PyTableCode.java:404)
at org.python.core.PyFunction.__call__(PyFunction.java:184)
at org.python.core.PyObject.__call__(PyObject.java:248)
at org.python.pycode._pyx22.f$0(<input>:1)
at org.python.pycode._pyx22.call_function(ILorg.python.core.PyFrame;)Lor
g.python.core.PyObject;(<input>:???)
at org.python.core.PyTableCode.call(PyTableCode.java:208)
at org.python.core.PyCode.call(PyCode.java:14)
at org.python.core.Py.runCode(Py.java:1135)
at org.python.core.Py.exec(Py.java:1157)
at org.python.util.PythonInterpreter.exec(PythonInterpreter.java:148)
at org.python.util.InteractiveInterpreter.runcode(InteractiveInterpreter
.java:89)
at org.python.util.InteractiveInterpreter.runsource(InteractiveInterpret
er.java:70)
at org.python.util.InteractiveInterpreter.runsource(InteractiveInterpret
er.java:40)
at weblogic.management.scripting.WLST.main(WLST.java:130)


Could you guys tell me what could be the error?


Any help is appreciated


Thanks,
Charan
 
Ranch Hand
Posts: 977
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

check is your domain is registered with nodemanager at nodemanager.domains file.
You can also take a look at a script I have written for starting servers with nodemanager at:

http://mmaiacupofcoffee.blogspot.com/2009/06/weblogic-wlst-inicializando-servidores.html

The post is in portuguese(I'm from Brazil) but you may be able to understand the script. It uses a properties file to load the variables wich you will also find in the post.

Other thing is, unless extremely necessary I start node manager using plain socket connection because configuring it to use ssl is a pain in ....

[]s
 
I am mighty! And this is a mighty small ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic