jQuery in Action, 3rd edition
The moose likes EJB and other Java EE Technologies and the fly likes Weblogic newbie question. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Weblogic newbie question." Watch "Weblogic newbie question." New topic

Weblogic newbie question.

Billy Fence

Joined: Jul 17, 2003
Posts: 17
Really hope someone out there can help me. I'm using standard weblogic 6.1 install with only one administration server 'myserver'. By default this is tied to machine (none), listens to 7001 and has an empty listen address. When I want to create a new logical server, for example one named applicserver I need to bind that to a machine. Since the machine listbox only shows me (none) I try that and start to run it. This is what happens:

<08-Aug-03 15:24:29 CEST> <Error> <NodeManager> <Could not start server 'wasp-adminserver' via Node Manager - reason: '[SecureCommandInvoker: Could not create a socket to the NodeManager running on host 'localhost:5555' to execute command 'online applicserver', reason: Connection refused: connect. Ensure that the NodeManager on host 'localhost' is configured to listen on port '5555' and that it is actively listening]'>

So I thought let's create a new machine and call that localhost that listens to another port, for example 7999. Then tried to bind the applicserver to that new machine and tried to start it. Again the above output. It drives me nutts. I don't have a helping hand close by and the weblogic documentation is too much to go through, so I'm stuck. Can anyone out there explain what I'm doing wrong.
Lasse Koskela

Joined: Jan 23, 2002
Posts: 11962
This question would have better chances of getting answered in the BEA/WebLogic Forum.
I assume you have already went through the documentation...?

Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Billy Fence

Joined: Jul 17, 2003
Posts: 17
I will repost it in the bea/weblogic forum.
p.s. If we all would look at the documentation there would be no forum ;-)
I'm really stuck with this one.....
Anurag Mishra
Ranch Hand

Joined: Jun 16, 2003
Posts: 121
Hi Billy,
if u have created a new Domain using Configuration Wizard or something..
if u see ur Computer directory
there u might have creared some domain pls look for <B>"config.xml"</B> file
n then it will look like the below one
u need to specify ur machine name's IP address in <B>"ListenAddress"</B> and
Portno as 7000 in <B>"ListenPort"</B>
pls chk the belo mentioned file,

<?xml version="1.0" encoding="UTF-8"?>
<Domain ConfigurationVersion="" Name="anurag_domain">
<Server JMSThreadPoolSize="15" ListenAddress=""
ListenPort="7001" Name="myserver" NativeIOEnabled="true"
ReliableDeliveryPolicy="RMDefaultPolicy" ServerVersion="">
<SSL Enabled="false" HostnameVerificationIgnored="false"
IdentityAndTrustLocations="KeyStores" Name="myserver"/>
<JMSFileStore Directory="rmfilestore" Name="FileStore"/>
<WSReliableDeliveryPolicy DefaultRetryCount="10"
DefaultTimeToLive="60000" Name="RMDefaultPolicy" Store="FileStore"/>
<Security Name="anurag_domain"
Realm="wl_default_realm" RealmSetup="true"/>
Credential="{3DES}w3eAHyL9m3x6psNFX5/UmEaloQjCavNJBo2xdbswhdI=" Name="anurag_domain"/>
Name="anurag_domain" RealmBootStrapVersion="1"/>
<Realm FileRealm="wl_default_file_realm" Name="wl_default_realm"/>
<FileRealm Name="wl_default_file_realm"/>
<PasswordPolicy Name="wl_default_password_policy"/>
<JMSServer Name="WSStoreForwardInternalJMSServermyserver"
Store="FileStore" Targets="myserver">
<JMSQueue CreationTime="1059201907359"
JNDINameReplicated="false" Name="WSInternaljms.internal.queue.WSStoreForwardQueuemyserver"/>
<JMSQueue CreationTime="1059201907640"
JNDINameReplicated="false" Name="WSInternaljms.internal.queue.WSDupsEliminationHistoryQueuemyserver"/>
<Application Name="_appsdir_Search_war"
StagedTargets="myserver" StagingMode="stage" TwoPhase="true">
<WebAppComponent Name="Search" Targets="myserver" URI="Search.war"/>

SCJP 1.2
Billy Fence

Joined: Jul 17, 2003
Posts: 17
Don't really get your explaination. Maybe I'm trying to say can you create more more than one nodemanager per physical machine. As far as I see it I'm trying to create a managed server on the same server as the administration server. When I try to start this managed server I invoke a nodemanager which is located on the administration server, and I wonder if that is possible?
I agree. Here's the link: http://aspose.com/file-tools
subject: Weblogic newbie question.
It's not a secret anymore!