File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes BEA/Weblogic and the fly likes Weblogic Data source Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Weblogic Data source" Watch "Weblogic Data source" New topic
Author

Weblogic Data source

Meet Gaurav
Ranch Hand

Joined: Oct 08, 2008
Posts: 492
Hi

Am new to Weblogic server. Currently we have installed the weblogic server in the UNIX box. Please assist me how to create Datasource, connection pool and EAR deployment in weblogic without Frontend Console(I mean that I dont have any windows machine to access the weblogic console)

How to do these things in the unix box itself. Currently we are using OC4J and admin_client.jar will do that for me without OEM(Oracle enterprise Manager).

If possible please provide me some links.
Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6661
    
    5

The admin console will open on any browser. Just open up konqueror or whatever browser you have and pay the admin console a visit.

If you do not want to use the admin console, use WLST scripting to deploy your EAR, data sources etc


SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
Meet Gaurav
Ranch Hand

Joined: Oct 08, 2008
Posts: 492
Could you please give me some links for sample WLST scripting datasource and connection pool creation and also how to execute WLST script.
Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6661
    
    5

Here is one that shows how to integrate WLST with python

http://blogs.oracle.com/jamesbayer/2007/10/automate_wls_console_tasks_wit.html

Here is a list of commands

http://download.oracle.com/docs/cd/E12840_01/wls/docs103/config_scripting/reference.html
Meet Gaurav
Ranch Hand

Joined: Oct 08, 2008
Posts: 492
Thanks Deepak,

But still am not clear about what is WLST scripting. And how to execute the WLST script code. Am new to weblogic please assist me..
Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6661
    
    5

WLST scripts are those scripts that can work in tandem with weblogic. They can be executed offline or online when the WL server is running. It depends on what your script does. Scripts can create domain, configure data sources, deploy applications etc.

Go through the links and you should find documentation on how to execute the scripts and write them.
Meet Gaurav
Ranch Hand

Joined: Oct 08, 2008
Posts: 492
Thanks Deepak. Let me check that
Meet Gaurav
Ranch Hand

Joined: Oct 08, 2008
Posts: 492
Deepak one more query. whether the weblogic Datasource will encrypt the database password or simply store the password as it is in the datasources.xml like OC4J.

If so, where I can find the encryption algorithm.
Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6661
    
    5

The password will be encrypted and you cannot see it once you save it. The encryption algorithm ? hmm... I do not think that is documented. I think it is a MD5 hash, but I am not sure
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Weblogic Data source