473,387 Members | 1,664 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Weblogic Console deployment

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
Nov 21 '08 #1
3 3741
Dököll
2,364 Expert 2GB
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...


Expand|Select|Wrap|Line Numbers
  1.  
  2. ......
  3.  
  4.  
  5.     private Connection connection=null;
  6.     private ResultSet rs = null;
  7.     private Statement st = null;
  8.     String connectionURL = "jdbc:odbc:Northwind";
  9.  
  10.  
  11.     public InsertBean() 
  12.     {
  13.          try {
  14.        // Load the database driver
  15.       Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
  16.       // Get a Connection to the database
  17.       connection = DriverManager.getConnection(connectionURL, "root", "root"); 
  18.       }catch(Exception e){
  19.       System.out.println("Exception is ;"+e);
  20.       }
  21.  
  22.     }  
  23.  
  24. ......
  25.  
  26.  
In a bit!

Dököll
Nov 23 '08 #2
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
Nov 24 '08 #3
Dököll
2,364 Expert 2GB
Sorry!

I did not mention it, it's included in the jre or sdk, if you have them installed.

By having 'sun.jdbc.odbc.JdbcOdbcDriver', your application calls jdbc/odbc driver...

Have a look here:Using a PreparedStatement through sun.jdbc.odbc.JdbcOdbcDriver : JDBC ODBC*«*Database SQL JDBC*«*Java

Has JNDI, if you'd like to try again, I just feel straight odbc helps tackle problems better.

It's really pretty simple. Do stay tuned if links do not work...

Dököll
Nov 25 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

0
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...
0
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...
0
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...
4
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...
1
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
0
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...
5
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...
2
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...
0
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,...
0
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$) { } ...
0
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
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...
0
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...
0
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...
0
Oralloy
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,...
0
jinu1996
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.