i need to use key tab for database authorization in web logic. my application should read database configuration from JNDI specified in web logic data. can someone please guide me what exactly need to be done for same.
I understand you're asking how to define a JNDI datasource on Weblogic. In the homepage, click "Data Sources". Set a datasource name along with a jndi name. on the next page, chose the appropriate driver. the next page is where you choose the target server for that data source. Choose the server you're working on and save. you can access that datasource in your code by its jndi name.
Related
How to Configure Teradata Database in Mule. The Settings using Generic Databse confiiguration..I have username,password and server name with me.. using these how can i connect succesfully. Ans also what is the connector to be used and what is Driver Class name.
1st Download terajdbc4.jar and tdgsscconfig.jar(optional) and add to your project build path in referenced libraries. Then goto Database connector. Click Generic Database Connector. enter under Dtabase URL:
URL: jdbc:teradata://databaseServername/USER=username,PASSWORD=password DriverClass Name: com.teradata.jdbc.TeraDriver(click search button and add which comes in drop down list)
If you want to add any parameters in URL.. just add it by separating with comma(,)
Test the connection. It will be successful.
1st Download terajdbc4.jar and tdgsscconfig.jar(optional) and add to your project build path in referenced libraries. Then goto Database connector. Click Generic Database Connector. enter under Dtabase URL:
URL: jdbc:teradata://databaseServername/USER=username,PASSWORD=password DriverClass Name: com.teradata.jdbc.TeraDriver(click search button and add which comes in drop down list)
If you want to add any parameters in URL.. just add it by separating with comma(,)
Test the connection. It will be successful.
Need more help please let me know your query
The correct way to connect Teradata from Generic Databse confiiguration is as following:-
<db:generic-config name="Generic_Database_Configuration" url="jdbc:teradata://<your_Ip address of the db_host>/DBS_PORT=1025,DATABASE=<db_name>,USER=<user_Name>,PASSWORD=<password>,CHARSET=UTF8"
driverClassName="com.teradata.jdbc.TeraDriver" doc:name="Generic Database Configuration" />
Which is in the form of
jdbc:teradata://<your_Ip address of the db_host>/DBS_PORT=1025,DATABASE=<db_name>,USER=<user_Name>,PASSWORD=<password>,CHARSET=UTF8
and yes terajdbc4.jar and tdgsscconfig.jar are required.
Also make sure you are able to connect the Teradata DB if it is hosted in VM so that it is accessible fro Mule application. That's it requires :)
Scenario: I have an IBM Domino web application (.NSF) and contains divisions (refer to the image). I want to migrate the content (such as blogs, main content and the article) to my WebSphere Portal. What is the first thing to do?
My understanding in migration is database to database migration and seems I don't know where to find the database for my contents knowing that database in creating domino application is built in. Advance thanks!
Refer to this image: http://postimg.org/image/irxsjdk8p/
The database is the NSF file - although it's possible that the information might be aggregated from several NSF files so you'll have to do some analysis. The first thing to do is to use the Notes client to identify the documents that contain the content that you want to migrate, check their properties to determine what NSF file they are stored in and what form they are based on, and then use Domino Designer to open the NSF file (or files, possibly) and analyze the form and determine which items contain the values that need to be migrated.
I have to configure the mysql database properties in pentaho.
please anyone suggest me in stepwise. i am new to this tool.
Try reading the below links.
http://infocenter.pentaho.com/help/index.jsp?topic=%2Fpme_user_guide%2Fconcept_pme_setting_up_db_connection.html
http://wiki.pentaho.com/display/EAI/.03+Database+Connections
Its pretty straight forward.
For dynamically passing the db-parameters through the file in pentaho. check this link:
In pentaho..How to pass a text file which contains all the definition of the connection parameters in the job?
In the transformation UI(Spoon) , there are two tabs like View and Design.
1)Select View tab
2)Right click on database Connections
3)Click New then dialog box appears
4)Select mysql database and Define your database connection as you needed.
5)Test the connection.
I'm trying to create a Penaho Dashboard using CDE and I have problems accessing my Data.
I have found tutorials but they always use SampleData or Steel Wheels. I have managed to do that myself, but I need to access my own database.
I was able to connect with my oracle database from the Data Source manager and created my own Data Source. But now I don't know how to access those tables from CDE. If I chose "sql datasource" I see the SampleData datasource and can do queries on it, but not the one I created with my database.
So, once I create a connection with my orcale database, how do I access my tables from CDE?
Thanks
There are two options:
SQL over JDBC: you define the db host, port, name, username and password;
SQL over JNDI: it'll use a registered JNDI from the Pentaho platform.
The JNDI field is an auto-complete field and fills in the various available options. However, if your newly created connection doesn't show up there, don't worry. Just type it in, it'll work.
you have to setup your data-source..
Click on datasources-panel on right corner
Click on sql Queries from the list you have seen on left side.
then click on sql over sqljndi
now here in properties in jndi set your database connection you want to access.
you can-not see the out-put of particular query in CDE for that open the same file in CDA for checking particular query's result(which you can find under files section).
I am using netbeans IDE 7.1. I am trying to generate entity classes from a database(sql server). I am able to setup the connection to this remote datasource but in the New Entity Classes from database Wizard the tables are not showing up and at the bottom it says select atleast one table.
I could execute queries and browse through the tables from the netbeans databases service.
Can someone help me to fix this..
Thanks
maybe your schema is not selected correctly, check on service windows->database->your connection(the bold schema is a default selected schema) if it wrong, right-click->properties, and change your schema to public, all the tables that you created are here normally
hope useful :)
I faced this issue and the only way I could get it to work was to create a new connection every time. Once i created a new connection it would show me the tables and I could use it, otherwise it would just leave the list empty
In the newer versions of NetBeans if you create a database connection with default schema, it will take mysql as schema name and generate the connection string.
So goto your DB connection in NetBeans and edit your connection url.
Example :
Change
jdbc:mysql://localhost:3306/mysql?zeroDateTimeBehavior=CONVERT_TO_NULL
to
jdbc:mysql://localhost:3306/YOUR_SCHEMA_NAME?zeroDateTimeBehavior=CONVERT_TO_NULL (add your schema name in the connection string and save)
I had to go into Glassfish console and create a special connnection pool and resource. The connection pool had to be res-type="java.sql.Driver" (not datasource). Then when creating my entity, I picked this new resource from the list and it worked, my tables showed up.