Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / December 2005

Tip: Looking for answers? Try searching our database.

Ejb & Blizzard - PropsBeanCtx_Skel.class Error

Thread view: 
ro001 - 13 Dec 2005 15:01 GMT
Hi all,

- I create the database
- Add to my ejb.ini file
 dataSource.name: propsDataSource
 dataSource.propsDatasource.odbc: PropsOdbc
- Execute blizzard.cmd, create enity bean.

Then i receive the following error below............

Could anyone have any information as to what is causing this? I have
seen numerous posts on this topic but no  answers unfortunately!!

this is my blxejbc.cmd file
@java -classpath u:\blazix\blazix.jar desisoft.ejbtools.EjbCompiler -c
u:\Blazix\ejb.ini %1 %2 %3 %4 %5 %6 %7 %8
@pause

this is my build.cmd
javac -classpath .;u:\blazix\blazix.jar -d "U:\interfaces"
"U:\interfaces\PropsHome.java" "U:\interfaces\Props.java"
"U:\interfaces\PropsBean.java"
jar -cvf u:\interfaces\Props.jar -C "U:\interfaces"
META-INF/ejb-jar.xml  "properties/PropsHome.class"
"properties/Props.class" "properties/PropsBean.class"
u:\blazix\blxejbc u:\interfaces\Props.jar u:\interfaces\PropsEjb.jar

---------------------------------------------------------------------------­--------------------------.

Props: Compiling classes with javac
Props: Generating RMI classes
Props: Adding to JAR file u:\interfaces\PropsEjb.jar
java.io.FileNotFoundException:
U:\Blazix\ejbtemp\properties\PropsBeanCtx_Skel.cl
a.s (The system cannot find the file specified)
       at java.io.FileInputStream.open(Native Method)
       at java.io.FileInputStream.<init>(FileInputStream.java:106)
       at
desisoft.ejbtools.EjbCompiler.addZipEntry(EjbCompiler.java:79)
       at
desisoft.ejbtools.EjbCompiler.compileAndAddToJar(EjbCompiler.java:133
8)
       at
desisoft.ejbtools.EjbCompiler.compileBeans(EjbCompiler.java:449)
       at desisoft.ejbtools.EjbCompiler.compile(EjbCompiler.java:224)
       at desisoft.ejbtools.EjbCompiler.main(EjbCompiler.java:1513)
Press any key to continue . . .

U:\interfaces>build.cmd

U:\interfaces>javac -classpath .;u:\blazix\blazix.jar -d
"U:\interfaces" "U:\int
erfaces\PropsHome.java" "U:\interfaces\Props.java"
"U:\interfaces\PropsBean.java
"

U:\interfaces>jar -cvf Props.jar -C "U:\interfaces"
META-INF/ejb-jar.xml  "prope
rties/PropsHome.class" "properties/Props.class"
"properties/PropsBean.class"
added manifest
adding: META-INF/ejb-jar.xml(in = 869) (out= 432)(deflated 50%)
adding: properties/PropsHome.class(in = 408) (out= 246)(deflated 39%)
adding: properties/Props.class(in = 304) (out= 207)(deflated 31%)
adding: properties/PropsBean.class(in = 1475) (out= 613)(deflated 58%)

U:\interfaces>u:\blazix\blxejbc u:\interfaces\Props.jar
u:\interfaces\PropsEjb.j
ar
Blazix EJB Compiler 1.2
Copyright (C) Desiderata Software, 2001-2002
All rights reserved
Configuration file: u:\Blazix\ejb.ini
JRMP Version

Processing Entity bean "Props"
 Validating bean classes
 Generating bean support classes
Props: Compiling classes with javac
Props: Generating RMI classes
Props: Adding to JAR file u:\interfaces\PropsEjb.jar
java.io.FileNotFoundException:
U:\Blazix\ejbtemp\properties\PropsBeanCtx_Skel.class (The system cannot
find the file specified)
       at java.io.FileInputStream.open(Native Method)
       at java.io.FileInputStream.<init>(FileInputStream.java:106)
       at
desisoft.ejbtools.EjbCompiler.addZipEntry(EjbCompiler.java:79)
       at
desisoft.ejbtools.EjbCompiler.compileAndAddToJar(EjbCompiler.java:133
8)
       at
desisoft.ejbtools.EjbCompiler.compileBeans(EjbCompiler.java:449)
       at desisoft.ejbtools.EjbCompiler.compile(EjbCompiler.java:224)
       at desisoft.ejbtools.EjbCompiler.main(EjbCompiler.java:1513)
Press any key to continue . . .
ro001 - 13 Dec 2005 20:43 GMT
Have found out the solution to this problem!! is as some people had
said, java 1.5 creates an error. I have installed 1.4 and reference to
the 1.4 directory all the calls to java in my cmd files!!! this solves
the problem!!

> Hi all,
>
[quoted text clipped - 92 lines]
>         at desisoft.ejbtools.EjbCompiler.main(EjbCompiler.java:1513)
> Press any key to continue . . .


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.