This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of Software Teaming: A Mob Programming, Whole-Team Approach and have Woody Zuill and Kevin Meadows on-line!
See this thread for details.

megala raghavan

Greenhorn
+ Follow
since Jun 01, 2003
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by megala raghavan

i have created the bean, home and remote interfaces.. when i try to deploy on weblogic 8.1 . do i need to create the .properties files and what and all i have to specify here and ejb.jar and weblogic-ejb.jar.
thanks in advance..
19 years ago
i have created the bean, home and remote interfaces.. when i try to deploy on weblogic 8.1 . do i need to create the .properties files and what and all i have to specify here and ejb.jar and weblogic-ejb.jar.
thanks in advance..
hi
u no need to worry abt the license file and all..
just go to weblogic.com u can find the 8.1 dowload option all u need to have regitered user that is all..
19 years ago
Hai
i am using weblogic 6.1, i have created the JDBC Connection pools -->
with the following values
Name : conpool
url : jdbc:weblogic racle
Driver Classname : weblogic.jdbc.oci.Driver
Properties user=username
(key=value)password=password
db=sidname.
and the same way i have created the JDBC Data Source -->
with the following values
Name: myDataSource
JNDI Name: ------- ?
Pool Name: conpool
with other fields
and JDBC Tx Data Sources -->
Name: conpoolDS
JNDI Name: ------- ?
Pool Name: conpool
and i used to call like the following
Hashtable ht = new Hashtable();
ht.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
ht.put(Context.PROVIDER_URL, "t3://localhost:7001");
// Get a context for the JNDI look up
ctx = new InitialContext(ht);
// Context ctx = new InitialContext();
out.println("<p>Connection successful{123}...<p>Executing SQL...<p>");
// Look up myDataSource
javax.sql.DataSource ds
= (javax.sql.DataSource) ctx.lookup ("myDataSource");
//Create a connection object
conn = ds.getConnection();
out.println("<p>Connection successful...<p>Executing SQL...<p>");

// execute some SQL statements to demonstrate the connection.
stmt = conn.createStatement();
the exception on page is -->
Connection error:javax.naming.NameNotFoundException: Unable to resolve myDataSource. Resolved: ''
Unresolved:'myDataSource' ; remaining name ''
My question is in JNDI Name ----- ? what i'll have to fill.(or which) and how to solve this problem?.
thanks in advance..
Regards,
Megala
19 years ago
hi
In weblogic i have done the connection pool set up, from which part of my code i have to use this connection pool. in EJB code or servlet code.
do we need use this connection pool in our class to connect to database or how to use pl. help me
19 years ago
hai can anybody help me to deploy the an J2ee applicatoin to Weblogic 6.1 ie where to deploy EJB and Jsp files. I have seen the j2eetutorials converter examples , but i am not able to understand, can you please help me how to deploy one full j2ee application to weblogic 6.1 Thanks in advance. Regards, Megala
19 years ago
hai all,

i have tried to connect my oracle8.1.7 database from weblogic server 6.1 sp2 (Trial version downloaded from
internet),
i am not able to connect the database the code have used
Properties props = new Properties();
props.put("user", "uid");
props.put("password", "password");
//props.put("db", "dbname");
Driver myDriver = (Driver)Class.forName("weblogic.jdbc.oci.Driver").newInstance();
con =myDriver.connect("jdbc:weblogic racle bname", props);
the file has compiled and when i tried to run from command prompt the following error i saw,
---
Missing license file for: WebLogic Server 6.1
java.sql.SQLException: Fail to load jDriver/Oracle due to license checking faile
d!
at weblogic.jdbc.oci.Driver.loadLibraryIfNeeded(Driver.java:182)
at weblogic.jdbc.oci.Driver.connect(Driver.java:76)
at testweblogicdrive.main(testweblogicdrive.java:32)
when i tried to verify the Connection from the Command Line i got the same error above..
i have the valid license.bea also. please help me to solve this problem.
Regards,
Megala
19 years ago