Wrox Home  
Search P2P Archive for: Go

  Return to Index  

j2ee thread: problems when running book example on WLserver 6.0


Message #1 by "Jimmy Zhang" <jzhang@a...> on Mon, 18 Jun 2001 17:59:09
Hi,

I downloaded the book source code of "Professional Java Server Programming 
J2EE Edition" and I tried to test the first example of Chapter 19, which 
is 'Financial Aid Calculator Bean' on the WebLogic Server 6.0. I set up 
the environment and compiled fine, then packaged into the 
finCalc_stateless.jar file and deployed into application directory, but 
when I started the default server, I got the following message:

============
<Jun 18, 2001 11:30:06 AM EDT> <Error> <J2EE> <Error deploying application 
finCalc_stateless: Could not deploy: 'finCalc_stateless.jar'
Possible reasons include:
1. The bean or an interface class has been modified but
   the deployment descriptor has not been updated
2. The database mappings in the deployment descriptor do not
   match the database definition
3. The jar file is not a valid jar file
4. The jar file does not contain a valid bean>
============

I did exactly the same as the book code except changing the code of 
TestClient.java, the Context.INITIAL_CONTEXT_FACTORY and 
Context.PROVIDER_URL into weblogic settings. All the codes are compiled 
perfectly without any errors. I didnot change ejb-jar.xml also.

Could anybody help me figure out what is wrong? I really appreciate.

Jimmy

  Return to Index