Wrox Home  
Search P2P Archive for: Go

  Return to Index  

j2ee thread: Problem with running Example files??


Message #1 by bikashpaul_2001@y... on Wed, 23 Oct 2002 07:50:34
bikashpaul_2001@y... wrote:

> 
> Hi all friends,
> 
> I am trying deploy 'Bean-Managed Persistence' example of Entity Bean(which
> is Account transaction) on J2EE Server which is come with J2sdkee1.2.1
> Documentation.When Iam trying to deploy this example on J2ee server it is
> giving me Error "javax.naming.InvalidNameException: JNDI name
> enter 'jdbc/Cloudscape' for resource reference 'jdbc/AccountDB' is not
> valid". But I set this JNDI name as per given Guideline on Documentation
> for this example.Another Problem Iam facing is When I tried to create
> table "account" in AccountDB Database by using given 'CreateTable.bat'
> file which is located in c:\j2sdkee1.2.1\doc\guides\ejb\examples\util\
> then it is giving me "ERROR:File not found CreateTable.sql".I first
> created 'AccountDB' Database by executing 'CloudJ.bat' and then I tried to
> create 'account' table in 'AccountDB'then it is giving me above metioned
> error.Cloudscape database is running perfectly and
> database 'AccountDB'also created successfully.But I couldn't understand
> why it is giving me this error.Can any one plz guide me how I can slove
> this problem.
> 
> Regards
> Bikash

Hi Bikash,

Your first problem is derived from your second problem, solve the first 
problem by using other means to create a table for your Cloudscape 
database. You can either use Cloudscape tools (GUI) or text based tools 
come with Cloudscape, read the documentation and I am sure that you will 
get it. See BEA Weblogic server, becoz it also uses the same evaluation 
database given when installation.

Good luck!


-- 
Thanks,

Neo Gigs
"Follow the white rabbit..."

  Return to Index