Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/opt/scripts/wls - startWebLogicAdmin.sh cannot connect #19

Closed
michaeljquinn opened this issue Apr 19, 2014 · 5 comments
Closed

/opt/scripts/wls - startWebLogicAdmin.sh cannot connect #19

michaeljquinn opened this issue Apr 19, 2014 · 5 comments

Comments

@michaeljquinn
Copy link

I have changed to bridged adapter and a soappp ip of 192.168.1.60

In my environment (environment type is 'development', set in soaapp.pp)
it seems I need
1 - host's ip address - in my case 192.168.1.60
2 - connect type of 'plain'

the default script that is generated, sets to 'localhost' and 'ssl' which for me does not seem to work

There is obviously something I missed in the config ?

@biemond
Copy link
Owner

biemond commented Apr 19, 2014

Hi,

Can you show me your config.

When jsse is enabled you need to have jce extended policy of java.

@michaeljquinn
Copy link
Author

Edwin

Thanks for the help

Which configs are you after ?

In my config, I changed to a public network with ip 192.168.56.23/22 (db and app)

The startWebLogic works with ssl now, but only the the public IP , rather than localhost

From: Edwin Biemond [mailto:notifications@github.com]
Sent: Saturday, 19 April 2014 7:05 PM
To: biemond/biemond-orawls
Cc: Michael Quinn
Subject: Re: [biemond-orawls] /opt/scripts/wls - startWebLogicAdmin.sh cannot connect (#19)

Hi,

Can you show me your config.

When jsse is enabled you need to have jce extended policy of java.


Reply to this email directly or view it on GitHub #19 (comment) .Image removed by sender.

@biemond
Copy link
Owner

biemond commented Apr 21, 2014

Ok, great.

first it is important to know how your /etc/hosts looks like ,on which device localhost is attached
I see in wls:domain when you don't provide adminserver_address it will listen on localhost , maybe this should be empty so it listen on every ip.
$adminserver_address = hiera('domain_adminserver_address', "localhost"),

On orawls::nodemanager you can leave nodemanager_address empty
$nodemanager_address = undef,

and orawls::control which will connect to the nodemanager to start the adminserver
$adminserver_address = hiera('domain_adminserver_address', "localhost"),
So when the nodemanager and adminserver listen on every device this should work.

I will do some tests

@michaeljquinn
Copy link
Author

Edwin

Thanks

One more thing, it seems the domain name generated is the script is oim, not soaDomain ?

From: Edwin Biemond [mailto:notifications@github.com]
Sent: Tuesday, 22 April 2014 4:33 AM
To: biemond/biemond-orawls
Cc: Michael Quinn
Subject: Re: [biemond-orawls] /opt/scripts/wls - startWebLogicAdmin.sh cannot connect (#19)

Ok, great.

first it is important to know how your /etc/hosts looks like ,on which device localhost is attached
I see in wls:domain when you don't provide adminserver_address it will listen on localhost , maybe this should be empty so it listen on every ip.
$adminserver_address = hiera('domain_adminserver_address', "localhost"),

On orawls::nodemanager you can leave nodemanager_address empty
$nodemanager_address = undef,

and orawls::control which will connect to the nodemanager to start the adminserver
$adminserver_address = hiera('domain_adminserver_address', "localhost"),
So when the nodemanager and adminserver listen on every device this should work.

I will do some tests


Reply to this email directly or view it on GitHub #19 (comment) .Image removed by sender.

@biemond
Copy link
Owner

biemond commented Apr 24, 2014

Hi,

did you just use the include or did you set the following params in a class or in a yaml file

class{'orautils':
    osOracleHomeParam      => "/opt/oracle",
    oraInventoryParam      => "/opt/oracle/oraInventory",
    osDomainTypeParam      => "soa",
    osLogFolderParam       => "/data/logs",
    osDownloadFolderParam  => "/data/install",
    osMdwHomeParam         => "/opt/oracle/wls/Middleware11gR1",
    osWlHomeParam          => "/opt/oracle/wls/Middleware11gR1/wlserver_10.3",
    oraUserParam           => "oracle",
    osDomainParam          => "osbSoaDomain",
    osDomainPathParam      => "/opt/oracle/wls/Middleware11gR1/user_projects/domains/osbSoaDomain",
    nodeMgrPathParam       => "/opt/oracle/wls/Middleware11gR1/wlserver_10.3/server/bin",
    nodeMgrPortParam       => 5556,
    nodeMgrAddressParam    => 'localhost',
    wlsUserParam           => "weblogic",
    wlsPasswordParam       => "weblogic1",
    wlsAdminServerParam    => "AdminServer",
    jsseEnabledParam       => false,
} 

or with hiera ( include orautils )

orautils::osOracleHomeParam:      "/opt/oracle"
orautils::oraInventoryParam:      "/opt/oracle/oraInventory"
orautils::osDomainTypeParam:      "admin"
orautils::osLogFolderParam:       "/data/logs"
orautils::osDownloadFolderParam:  "/data/install"
orautils::osMdwHomeParam:         "/opt/oracle/wls/Middleware11gR1"
orautils::osWlHomeParam:          "/opt/oracle/wls/Middleware11gR1/wlserver_10.3"
orautils::oraUserParam:           "oracle"

orautils::osDomainParam:          "Wls1036"
orautils::osDomainPathParam:      "/opt/oracle/wlsdomains/domains/Wls1036"
orautils::nodeMgrPathParam:       "/opt/oracle/middleware11g/wlserver_10.3/server/bin"

orautils::nodeMgrPortParam:       5556
orautils::nodeMgrAddressParam:    'localhost'
orautils::wlsUserParam:           "weblogic"
orautils::wlsPasswordParam:       "weblogic1"
orautils::wlsAdminServerParam:    "AdminServer"
orautils::jsseEnabledParam:       true

@biemond biemond closed this as completed May 25, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants