Hi,
I'm trying to deploy an application to my managed server, already created the necessary Connection Pool and datasources but there is still an exception occuring.
Exception:weblogic.management.ApplicationException : activate failed for BusinessServices.jar Module: BusinessServices.jar Error: Exception activating module: EJBModule(BusinessServices.jar,status=PREPARED) Unable to deploy EJB: PPrefDefRel from BusinessServices.jar: [EJB:011028]The DataSource with the JNDI name: jdbc/WASCustomer could not be located. Please ensure that the DataSource has been deployed successfully and that the JNDI name in your EJB Deployment descriptor is correct.
As I said the datasource is already created and deployed. Already tried googling this but to no avail. What do you guys think is the problem?
Many thanks,
Aldrin
3 3741
hey aldsaldrin!
Would you mind posting your code? It's likely you aleady searched the forum on this, I pulled up a small list for you though: http://bytes.com/search.php?searchid=127010
Hope you get an idea there. If nothing, you might want to try your connection as a simple ODBC connection just to see if at least you can connect to the server... -
-
......
-
-
-
private Connection connection=null;
-
private ResultSet rs = null;
-
private Statement st = null;
-
String connectionURL = "jdbc:odbc:Northwind";
-
-
-
public InsertBean()
-
{
-
try {
-
// Load the database driver
-
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
-
// Get a Connection to the database
-
connection = DriverManager.getConnection(connectionURL, "root", "root");
-
}catch(Exception e){
-
System.out.println("Exception is ;"+e);
-
}
-
-
}
-
-
......
-
-
In a bit!
Dököll
Hi Dokoll,
Thanks on the help on my previous post. I've been testing my connection in the Weblogic Configuration wizard with this:
Driver = oracle.jdbc.OracleDriver
URL = jdbc:oracle:thin:@localhost:1598:D014
User = user
Password = password
SQL Test = SELECT 1 FROM DUAL
but the connection would neither show it passes or fails but instead it does not stop.Also I tried replacing the driver to what you suggested "sun.jdbc.odbc.JdbcOdbcDriver" but an error occurs: "No suitable Driver". What do you think is the problem?
Many thanks,
Aldrin
Sign in to post your reply or Sign up for a free account.
Similar topics
by: kjr |
last post by:
Hi,
I have two application modules, one an EJB App Module, and the other a
Web App Module. The Web App module uses struts, and the action class
of a form accesses an EJB bean. If I modify this...
|
by: Benny |
last post by:
Hi i am using fop to generate dynamical pdf documents from a servlet,
in weblogic 5.1.
Fop works very fine but i need to generate barcodes in my documents so
i am integrating it with krysalis...
|
by: Per-Christian Engdal |
last post by:
Hi,
I have built a cocoon.war file, and deployed it on my BEA Weblogic 8.1
Sp2 (Windows 2000) installation. The deployment works without
exceptions, but when I try to access cocoon through...
|
by: Accolo1 |
last post by:
Help we are looking for this person, do you know them?
William
wjohnson@accolo.com
Title: BEA WebLogic Portal Guru
Job #: 03-04468
Check the pulse of your career! Evolve our eCommerce web...
|
by: WebServiceSecurity |
last post by:
The issue involves the following technologies: -
1. .NET 2.0 Framework
2. WSE2.0 (WS-Security)
3. X.509 certificates
4. BEA Weblogic 8.1.5
|
by: manauwaralam |
last post by:
javax.naming.NameNotFoundException: While trying to lookup 'weblogic.jdbc.jts.vdmsPool' didn't find subcontext 'jdbc' Resolved weblogic; remaining name 'jdbc/jts/vdmsPool'
at...
|
by: swebster |
last post by:
Can someone explain the differences between setting cookies on TomCat or a Weblogic webserver?
I discovered today during a deployment to Weblogic that a cookie can be set and retrieved in a...
|
by: JAYROO5245 |
last post by:
This last weekend 3-28 to 3-30, we upgraded our Hardware to all be on virtual servers. Each of our environments has a single Admin server and a clustered A and B server on three different virtual...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |