How to create a server through WLST ( Weblogic Scripting Tool ) ?
How to create a server through WLST ( Weblogic Scripting Tool ) ?
Thanks in advance...
Sanjay
Hi Murugesh,
Thanks a lot for you reply..
I was able to create a server using create(). Is it possible to clone a server ?
When i create a server following tags is added to config.xml
<server>
<name>testServer_lab1</name>
<listen-port>43000</listen-port>
</server>
And if i do a clone through admin console, following is added to config.xml
<server>
<name>testServer2_lab1</name>
<machine xsi:nil="true"></machine>
<listen-port>7001</listen-port>
<cluster xsi:nil="true"></cluster>
<listen-address></listen-address>
<graceful-shutdown-timeout>120</graceful-shutdown-timeout>
</server>
If incase, cloning is not possible through WLST, can i add following
<machine xsi:nil="true"></machine>
<listen-port>7001</listen-port>
<cluster xsi:nil="true"></cluster>
<listen-address></listen-address>
<graceful-shutdown-timeout>120</graceful-shutdown-timeout>
under <server> tag which is created through WLST ?
I am using 9.2 version.
Regards
Sanjay
Similar Messages
-
How to create a web instance in weblogic?
Dear All,
I want to know how to create a web instance in weblogic server?
Furthermore , where can i get more info. about the weblogic
server , including how to use those examples pages provided from
weblogic server, sampling of procedure to config each service ,
e.g EJB , JSDB , JTA , etc., .
thanks,
chris
Read the new JSP1.1 and servlet 2.2 specific for more information on
this. You can deploy several jsp files in a single war file on a server.
-- Prasad
chris lee wrote:
> Dear Prasad Peddada
> Thank you for your helpful information.
> I've read the page you have mentioned, I want to know
> if I've serval pages written in jsp, how should I do if I
> want to access those pages under the weblogic server?
> Furthermore, Does the 'applicantion' mention in the paragraph
> is the web instance I mentioned before?
>
> Thanks,
> chris
>
> Prasad Peddada <[email protected]> wrote:
> >http://edocs.beasys.com/wls/docs60/index.html
> >
> >-- Prasad
> >
> >chris lee wrote:
> >
> >> Dear All,
> >> I want to know how to create a web instance in weblogic
> >server?
> >> Furthermore , where can i get more info. about the weblogic
> >> server , including how to use those examples pages provided
> >from
> >> weblogic server, sampling of procedure to config each
> >service ,
> >> e.g EJB , JSDB , JTA , etc., .
> >>
> >> thanks,
> >> chris
> >
Cheers
- Prasad
-
How to access file server through ethernet BUT internet though wireless
I'm looking for a way to to run my file server network through ethernet while internet access is provided though wireless, but don't want users to have to switch off the wireless when they want to access the file server.
File server is set up at trade shows and the conventions charge a fortune for internet access for multiple users and even more ($6000) for a connection that I'm allowed to put a router on. So I'm considering running my apple router for the file server network without internet access and just having my staff get their internet access from the cheaper wireless access the convention center has throughout the building.
Problem is that I need them to be able to access the file server and the internet at the same time without switching back-and-forth from either network.
Any suggestions? File server and all clients are macs.
Message was edited by: Road ShowHello,
Here are some good articles for this topic, please see:
sql server connectity over the internet:
http://www.codeproject.com/Questions/433687/sql-server-connectity-over-the-internet
How To Connect SQL Server Through Internet:
http://www.youtube.com/watch?v=VOUDdUJ5BLY
Regards,
Elvis Long
TechNet Community Support -
How does create a server with multiple Clients ?
Any people can lead me .
How does create a server with multiple Clients ?
ThanksFor a multithreaded server you will need a thread to listen and at least one thread per client. If the conversation is half duplex, one thread per client works very well, if it's full duplex you will find one thread to send and one to receive much easier to program.
I posted a Simple Socket Server that uses 1+2*clients threads. -
Anyone tried the new Weblogic Scripting Tool (WLST)?
Has anyone tried using the new WebLogic Scripting Tool (WLST) that was recently
posted on the dev2dev WebLogic Utilities site: http://dev2dev.bea.com/resourcelibrary/utilitiestools/adminmgmt.jsp
It looks to be a handy tool that is built upon jython and enables you to easily
navigate, inspect and manipulate the WebLogic MBean tree on a running server.
It also has a nice scripting tool which allows you to convert a config.xml file
into a script that can be run to recreate a domain or specific resources within
the domain. This is exactly something I have been looking for because we occasionally
recreate domains or subsets of a domain for testing and POC purposes.
The utility is fairly well documented and works well for the most part. The only
issue I have run into so far is that is does not seem to understand JMS Distributed
Destinations. When I try to convert a config.xml that contains a DD to a script
it throws a null pointer exception. I have not tried a cluster yet.
I noticed the utility was authored by someone at BEA. Is there potential that
BEA will support this in the future if it catches on? Has anyone had experience
with WLST or jython that would cause you to reccomend (or not) using it?
Thanks.Darryl,
Thanks for the valuable feedback. My comments are inline.
Darryl Stoflet wrote:
As a fairly long time wlshell user who recently started testing wlst there are
few features I have found lacking in wlst.
1. For monitoring purposes I am frequently using the -g and -r options to wlshell's
get command for graphing and repeating respectivelyI haven't looked at -g and -r options in wlshell, but will do so.
Although there is no graphical monitoring of attributes in wlst, but
there is certainly some monitoring capability (which will be enhanced
further in the coming version). Please take a look at the
monitorAttribute() function.
wls:/(offline)> help('monitorAttribute')
Description:
Monitors the specified attribute every by polling every interval.
Syntax:
monitorAttribute(attributeName, interval, monitorFile)
attributeName = Name of the attribue that you would like to monitor.
interval = Time (in seconds) to wait before the next fetch
monitorFile=[optional] File path where the monitored data will be
written to.
Example:
wls:/mydomain/runtime/ServerRuntimes/myserver/ExecuteQueueRuntimes/weblogic.kernel.Default>
monitorAttribute("ServicedRequestTotalCount",10)
Press Return to quit monitoring
Monitoring started for attribute ServicedRequestTotalCount
wls:/(offline)>
>
2. wlshell 2.0 adds the option when connecting to the admin server to also connect
to all managed servers in that domain. This is a nice feature for monitoring because
you then have access to all the runtime mbeans in each managed serverYes, this indeed seems to be a very nice feature. We will consider this
for our next release.
>
3. There is not a good way to pass cmd line options(variables) to wlst. In wlshell
I can send cmd line options via -v. I have tried something similar with wlst using
-loadProperties but this is a little laborious because I do not necessarily want
to create a properties file when a passing in only one or two variables. Also
I find loadProperties lacking somewhat (see 4 below)ok, I just realised that there is indeed a bug in wlst where the command
line arguments are not being honored. In Jython one can access the
command line arguments from the sys.argv variable. For example,
java weblogic.WLST -i foo.py var1 var2 var3
Initializing WebLogic Scripting Tool (WLST) ...
Welcome to Weblogic Server Administration Scripting Shell
Type help() for help on available commands
wls:/offline> print sys.argv
['foo.py', 'var1', 'var2', 'var3']
wls:/offline>
But this isn't working properly, please keep using the loadProperties
untill this has been fixed.
>
4) loadProperties treats all created variables as strings. While this is understandable
from the perspective that getProperty returns a string, it would be nice if wlst
was smart enough that when a property is numbers only its an int, otherwise a
string etc.
wlshell does this logic/conversion for you which really simplifies calling methods
that expect the particular datatype. To get around this problem you can create a script file say,
variables.py which would look like,
# variables that will be used
theInterpreter.set('var1',10)
theInterpreter.set('var2','i am a string')
java weblogic.WLST variables.py
Initializing WebLogic Scripting Tool (WLST) ...
Welcome to Weblogic Server Administration Scripting Shell
Type help() for help on available commands
wls:/(offline)> print var1
10
wls:/(offline)> print var2
'i am a string'
>
5. I'd like to be able to send cmd output etc to a file while running within wlst.
In wlshell its a simple as adding >> filename to the end of the command. In wlst it is not as simple as doing >>, it is more than that. You can
choose any output stream to direct your output to. In your case you can
create a FileOutputStream and route the output to this stream for any
particular command.
Example,
# create a file output stream say fos
from java.io import FileOutputStream
fos = FileOutputStream("output.txt")
# save the default output stream to a variable to
# switch it back
sys.stdout=fos
# Now all output for any function will go to output.txt
ls()
cd('foo')
# after done with your functions switch it back
sys.stdout=origOutput
This is the right Jython way to do it. This works for all output streams
, very useful when you embed an interpreter in a servlet and would like
to display the output via a PrintStream etc.
>
>
All in all wlst is a nice tool. Personally if the above features were added it
would be much easier to transistion to wlst for good.
Also I really like the wlst offline tool. Its nice to be able to do the whole
create and configure domain process with one tool. Will this be supported. Yes indeed. We are working on merging both the tools into one.
I do
not want to rely on it too much if it will not work in future weblogic versions.It will be supported in future release of weblogic.
Thanks,
-satya
>
Thanks,
Darryl
"Steve Hess" <[email protected]> wrote:
Hello,
I am the BEA Product Manager behind WLST.
WLST, as it appears today on dev2dev, is an early release version of
a tool that
BEA does intend to support as part of our next major release. We decided
to issue
early versions of the tool because of the demand for a supported scripting
solution,
and to generate feedback from our user community. I encourage you to
work with
WLST, and assure you that this tool represents our current direction
in management
scripting.
Also note, this newsgroup can be used to issue questions, concerns and
feedback
about WLST. The engineering and PM team will monitor this group and
respond to
your questions as quickly as we can. While we will not be able to respond
to
every feature request, we really value your suggestions, and will endeavor
to
improve the tool in ways that meet your real-world needs.
Cheers,
Steve Hess
Director, WLS PM
"George Lupanoff" <[email protected]> wrote:
Has anyone tried using the new WebLogic Scripting Tool (WLST) that was
recently
posted on the dev2dev WebLogic Utilities site: http://dev2dev.bea.com/resourcelibrary/utilitiestools/adminmgmt.jsp
It looks to be a handy tool that is built upon jython and enables you
to easily
navigate, inspect and manipulate the WebLogic MBean tree on a running
server.
It also has a nice scripting tool which allows you to convert a config.xml
file
into a script that can be run to recreate a domain or specific resources
within
the domain. This is exactly something I have been looking for because
we occasionally
recreate domains or subsets of a domain for testing and POC purposes.
The utility is fairly well documented and works well for the most part.
The only
issue I have run into so far is that is does not seem to understandJMS
Distributed
Destinations. When I try to convert a config.xml that contains a DDto
a script
it throws a null pointer exception. I have not tried a cluster yet.
I noticed the utility was authored by someone at BEA. Is there potential
that
BEA will support this in the future if it catches on? Has anyone had
experience
with WLST or jython that would cause you to reccomend (or not) using
it?
Thanks. -
How to create a new push button in application tool bar in GMGRANT thru BDT
Dear SAP Gurus -
We have a requirement in 'GMGRANT' transaction. We need to create a button in the application tool bar of 'GMGRANT' transaction. Once the button is activated, if the user clicks on the button then it will go to a new screen (external screen). User can input data in to the external sceeen and upon saving, the data will be stored in to a custom table and when user clicks on 'back ' button user should come back to the GMGRANT transaction.
Just wanted to know, how to create / activate a new button on application tool bar of GMGRANT transaction and what are the configuration and detail steps to achieve the same through BDT.
We went through a lot of documents on BDT but do not have a proper solution.
Could you please help.
Thanks in advance.
Regards,
Atul Mohantyhi,
You can find user-exits (menu exits) to add new menu item.
But, there is no possibility to add new buttons on application tool bar.
Regards,
Sailaja. -
How to create a follow up page in scripts using Duplex and Tumble Duplex
How to create a follow up page in scripts using Duplex and Tumble Duplex in print mode of scripts ?
Hi ,
Set the next page property as duplex , and change the print property back to back -
How to create managed server in remote machine ?
Hi,
I have a cluster. It has 2 managed servers
one managed server runs on machine A
I want to run another managed server on machine B
How do i do that.
I have weblogic installed on both machines A and B
Problem:
a.) how to create domain in machine B ? should i use pack/unpack commands or can i create a new domain from scratch in the machine B ?
Machine A has the domain directory created. Machine A also has admin server
b.) if i create a domian from scratch in machine B, then how does synchroniziation happens ?
say in machine A ( initially where the domain is created ). I add some entries in setDomainenv.sh, how will it reflect in machine B ?
Regards,
HarshaThere are many ways to achieve this, this is one of the method that might help you get started...
http://download.oracle.com/docs/cd/E12839_01/web.1111/e14144/toc.htm
Hope this helps.
.raja -
How to create own server account for servlet application
hi friends..
i have created a servlet page which recieve some data from a j2me program..
i am running this aplication on my pc using http://localhost:8080/mypage
now i want to deploy my j2me program on my mobile phone and need to get data in my servlet page
for this i need to create my own server account for apache but i dont know how to create my own sserver account
please help me out if anyone knows it how to do it...
thanx
kiran_aroraif you want to create your own webitem check out the link given by other sdner.
if you want to be able to execute BW query using abap you can check out the following weblog.
/people/durairaj.athavanraja/blog/2005/12/05/execute-bw-query-using-abap-part-iii
Regards
Raja -
How to create Mutiple server instances?
Hai,
Can someone advice me on how do I create mutiple server instances , on the
same machine , with same IP but different ports. I need to do this without clustering.
I would very much appreciate the help.
Thanks and Regards,
Vivek
Hi
If it for clustering then the solution is simple.
WLS clearly states that in a cluster all the servers should be listening on
the same port.
Noe back to the question how do you achieve clustering on a single
machine.Answer is -> multihome it.
I run my WIN 2k m/c with three static ip's and I have cluster of 3 servers
runing on my machine.
We can acheive the same on solaris too.
I hope this helps.
Regards
Hrishi
"Ragae Ghaly" <[email protected]> wrote in message
news:[email protected]...
>
> Hello,
>
> Usually this is the need in having a multi-developer team environment
using one
> installtion of WLS and having each developer running their own instance.
Please
> follow these steps:
> 1- Create a directory in each developer account (call it say "weblogic"),
and
> copy all the files (not directories) from the WLS-home directory into it.
Copy
> also myserver directory into it.
> 2- Create a soft link to each sub-directory (using same names) to the ones
in
> WLS-home (I'm assuming you are running on a unix box)
> 3- Setup each weblogic.properties file in the new developer's directory to
listen
> to a different port (say 7002).
>
> This will create a seperate instance with it's own configuration and
logging.
> This will save much space, but watch on memory here as each instance
consuming
> about 100MB.
>
> To test your components for the new instance, use:
> http://localhost:7002/<uri>
>
> Repeat the steps for another developer, and so on.
>
> Hope this helps.
>
> Ragae
>
>
> "Vivek Kumaresan" <[email protected]> wrote:
> >
> >Hai,
> > Can someone advice me on how do I create mutiple server instances
> >, on the
> >same machine , with same IP but different ports. I need to do this
without
> >clustering.
> >
> >
> >I would very much appreciate the help.
> >
> >Thanks and Regards,
> >Vivek
> >
>
-
How to create a Copybook through Informatica Power Centre
Hi Krishna, i think you need PowerExchange to create copy book. Regards,Darji
Hi Folks & Experts, I have a requirement which is I need to create a copybook through informatica power centre.My source is the SQL server DB and my Target is Copybooks.I am looking for a sample scenario how to create a mapping from DB to Copybooks through Informatica Power Centre. I have seen many blogs but I couldnt find any blog for my requirement. Please help me on this guys. Thanks in Advance,Krishna
-
How to create a user through a webpage which I build.
Hi, every one,
I only have HTML DB developer privilege. How to create a new user and assign a password through a webpage which I build. This means that how can I create a HTML DB user using code. which table in HTML DB stores user's info. Can I access that table by insert user info.
Appreciate!!Scott,
thanks for explanation.
But I don't understand one thing. If security group ID associated with workspace, what does it mean this code (and associated functionality in admin pages):
-- G R O U P S
prompt Creating Groups...
begin
wwv_flow_fnd_user_api.create_user_group (
p_id => 873904557635271,
p_GROUP_NAME => 'ADMINS',
p_SECURITY_GROUP_ID => 504313619757457,
p_GROUP_DESC => 'Àäìèíèñòðàòîðû ñèñòåìû. Ñîçäàþò íîâûõ ïîëüçîâàòåëåé, ìîäèôèöèðóþò ïàðîëè èòï.');
end;
begin
wwv_flow_fnd_user_api.create_user_group (
p_id => 872621957621347,
p_GROUP_NAME => 'MANAGERS',
p_SECURITY_GROUP_ID => 504313619757457,
p_GROUP_DESC => '...');
end;
begin
wwv_flow_fnd_user_api.create_user_group (
p_id => 872900617624637,
p_GROUP_NAME => 'OFFICERS',
p_SECURITY_GROUP_ID => 504313619757457,
p_GROUP_DESC => '...');
end;
begin
wwv_flow_fnd_user_api.create_user_group (
p_id => 873414815628792,
p_GROUP_NAME => 'USERS',
p_SECURITY_GROUP_ID => 504313619757457,
p_GROUP_DESC => ...');
end;
and how I can use this groups (not security, as I understand) for application controlling access? -
How to create 2 server instances in one directory
Hi,
I want to create 2 server instances in one directory . Is it possible ??
If yes how to do it ??
I know that using diff machines is it possible , but I want to create in single system itself.
Thanks in advance,
Rajendra.Use the Directory Server Console
cd /<server-root>
./startconsole &
Drill down to "Server Root" -> Right click -> "Create Instance of" -> "Directory Server" - Complete the pop up specifying instance name and port. -
How to create Proxy Server in Java
Hello I need to create Proxy server on port number 80. Does enybody knows how to do that.??? ThX
A proxy for what?
I assume that you mean a web proxy since you want to run port 80.
I would recomend that you start with an existing proxy like mine.
http://www.khelekore.org/rabbit/
It is free and fully HTTP/1.1 compliant. -
How to create material bom through CS01 if bom created by using ppe
Hi experts,
I have created a material bom through PPE of material A. Now i want to create bom through CS01for same material A.
system shows error "A breakdown (PVS/VA) already exists in iPPE for material".
So how can create bom through CS01?
Suggest me.
Regards,
Nitin NerkarHi,
Please check and implement the below note,
[1311089|https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1311089]
Thanks
Hrishi
Maybe you are looking for
-
Bridge Freezes While Running Firefox
Has any one else experienced the same problem? Bridge CS3 will freeze up if Firefox 3.0.15 is running at the same time. It seems to me that Firefox conflicts significantly with Adobe CS3 such as Bridge and Photoshop. If I force quit Firefox, Bridge a
-
@-moz-keyframes does not seem to work in cs 5.5
I have difficulties when editing a CSS style in CS5.5. Dreamweaver accepts @-webkit-keyframes [id]... and @keyframes [id]... without any problems. Only when I try do use @-moz-keyframes [id]... the editor does not seem to accept the term. Usually the
-
Where can i find the cached file?
where can i find the cached file?. while one video was getting cached . I could see the cached file in the cache directory that mozilla firefox uses which in my pc is .....Local Settings\Application Data\Mozilla\Firefox\Profiles\uujksq39.default\Cach
-
Acrobat Reader DC and Adobe Acrobat XI
My PC automagically updated my Acrobat reader to the new piece of junk they call "Acrobat Reader DC" It is absolutely useless! It will not allow to keep the "tools" panel out of view - I have to get rid of it every time a view a document. It does not
-
Passing parameter in stored procedure
Hi, I am really new to using Oracle stored procedure. I have just tested a sample stored proc which should return multiple rows without passing any parameter. here is the stored proc I wrote create or replace procedure get_address as cur_table sys_re