Pages

Monday 7 July 2014

Sample Questions for Test C2180-401, IBM WebSphere Application Server Network Deployment V8.5.5 and Liberty Profile, System Administration

Sample Questions for Test C2180-401, IBM WebSphere Application Server Network 
Deployment V8.5.5 and Liberty Profile, System Administration:

                                            I can copy and paste questions from IBM Website. But it isn't good (i.e.copyright). So, I can give the path to go there.... Just click below link for Sample Questions......

http://public.dhe.ibm.com/partnerworld/pub/certify/sam401.pdf

More details about IBM WebSphere Application Server Network Deployment v 8.5.5 certification details 


                                            I have provided this link for learning purpose only.....not for commercial.....


Follow my blog and subscribe my channel to get alerts to your mail when i post new video........


Feedback and comments are most welcome....... Say "HI" on comment box at least if u like.....

Friday 4 July 2014

The test connection operation failed for data source sample on server nodeagent at node with the following exception: java.lang.IllegalArgumentException: protocol = socket host = null

Error:
        Below error may come when u configure oracle data source in WebSphere Application Server.
                                                     The test connection operation failed for data source sample on server nodeagent at node localhostNode01 with the following exception: java.lang.IllegalArgumentException: protocol = socket host = null. View JVM logs for further details.

Ans:
      Check once URL of Oracle Data Source in configuration. Specify correct URL.
Follow  my blog and subscribe my channel to get alerts to your mail when i post new video.......
       


Feedback and comments are most welcome....... say "hi" on comment box at least if u like..... 

The test connection operation failed for data source sample on server nodeagent at node with the following exception: java.sql.SQLException: Listener refused the connection with the following error: ORA-12514

 Error: 
         Below error may  come when u configure oracle data source in WebSphere Application Server
                                                                     The test connection operation failed for data source sample on server nodeagent at node with the following exception: java.sql.SQLException: Listener refused the connection with the following error: ORA-12514, TNS:listener does not currently know of service requested in connect descriptor DSRA0010E: SQL State = 66000, Error Code = 12,514. View JVM logs for further details.

Ans:
         Check the URL of oracle in your Data source configuration.



Follow  my blog and subscribe my channel to get alerts to your mail when i post new video.......
       


Feedback and comments are most welcome....... say "hi" on comment box at least if u like..... 

Wednesday 2 July 2014

Configuration oracle datasource in WebSphere Application Server V8.5 on linux

Follow the step to configure oracle data source in WebSphere Application Server v 8.5  on Linux:

  If u want to watch installation process click on below link
Note:
         I installed oracle Express edition on Linux. U can download oracle express from internet  and also download "ojdbc6.jar" from internet.

1.First create one deployment profile (dmgr), one Custom profile (node).
2.Federate node to dmgr.
3.Open Admin Console in browser.
                         ex: http://:/ibm/console
4.I divided this task into 3 parts (Generally to configure data source we will follow like this only).
                             1)Creating an authentication alias.
                             2)Creating the JDBC provider.
                             3)Creating data source.
5)Let us do it now..........

Task 1) Creating an authentication alias:
                             Normally an authentication alias is required to access database. An authentication alias contains user ID and Password.
                   Now follow the step to complete this step.
1)Login to admin console, Expand Security------->Click on "Global Security"
2)In authentication page, Expand "Java Authentication and Authorization Service"-------->Click on "J2C authentication data".

3)Click on "New".

4)Provide the values for Alias, User ID and Password. Here User Id and Password must have to access the database.

           ex:
          Alias                               -----------      Sample_login
          User ID                           -----------      sample (It is my database User ID)
          Password                         -----------      xxxxxxxx(It is my database password)


Note: Here User ID and Password change according to your database.
5)Click on "Apply". Then Click on "review" and select the check box "Synchronize changes with Nodes" and click on "Save". Click on "Ok".
 6)Now u can check an authentication alias is created. It is like below image.

7)We completed first task......Now we will move to next task.....

Task 2)Creating the JDBC provider:
                       Follow the steps to complete this task.......
1)Expand "Resources" in the admin console.
2)Expand "JDBC". Click on "JDBC Provides".

3)Select the Scope( I selected node scope).Then Click on "New".

4)Provide the Database type, Provider Type, Implementation type and Name. Then click on "Next"
Ex:
          Database type                  --------                   oracle
          Provider type                   --------                   oracle JDBC Driver
          Implementation type       --------                   Connection pool data source
          Name                              --------                   oracle JDBC Driver (It is default name. If u want to change u will modify it).

5)Provide the path for jar files.(Where it is saved in your box).Then click on "Next".

6)Verify summary. Click on "Finish". Then Click on "review" and select the check box "Synchronize changes with Nodes" and click on "Save". Click on "OK".

7)Now u can check JDBC driver is created.

8) We completed Second task......Now we will move to last task.....

Task 3)Creating data source:
                        Follow the steps to complete this task......
1) 1)Expand "Resources" in the admin console.
2)Expand "JDBC". Click on "Data sources".

3) Select the Scope( I selected node scope).Then Click on "New".

4)Provide Data source name and JNDI name. Then click on "Next".

ex:
                   Data source name                     --------                   sample
                   JNDI name                               --------                   jndi/sample

5)Select "select an existing JDBC provide" radio button. Then select "oracle JDBC driver" in drop down list. Then click on "Next".

6)Specify the URL.
ex:
        jdbc:oracle:thin:@localhost:1521:XE

7)Select "Component-managed authentication alias", "Mapping-configuration alias " and "Container-managed authentication alias" from dropdown list. Then click on "Next".

ex:
          Component-managed authentication alias     ----     Sample_login
          Container-managed authentication alias                 ----     Sample_login


Here Sample_login is name of an authentication alias.
8)Verify summary. Click on "Finish". Then Click on "review" and select the check box "Synchronize changes with Nodes" and click on "Save". Click on "OK".

9)Now u can check Data source is created.

8) We completed all tasks......Now we will check test connection.....
9)Select "sample"(My data source name)  and click on "Test connection".

10)Verify test connection is successful or not. If it is successful u will get message like below image.  
   


Follow  my blog and subscribe my channel to get alerts to your mail when i post new video.......
       


Feedback and comments are most welcome....... say "hi" on comment box at least if u like.....