Problem with Ejb Example
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Riyaz_Ahmed
Posted On:   Monday, March 14, 2005 10:05 AM

My application is unable to create a jar file ,even it is given in the ejn.ini and build.cmd is showing the path for it plz help me . my build.cmd is----> javac -d "D:Ejbtut" "D:EjbtutpropsPropsHome.java" "D:EjbtutpropsProps.java" "D:EjbtutpropsPropsBean.java" jar -cvf Props.jar PropsEjb.jar -C "D:Ejbtut" META-INF/ejb-jar.xml "props/PropsHome.class" "props/Props.class" "props/PropsBean.class" blxejbc Props.jar PropsEjb.jar ejn.ini---------> # The EJB server configuration file server.port: 2050 isNameServer: yes ejb.protocol: JRMP admin.po   More>>

My application is unable to create a jar file ,even it is given in the ejn.ini and build.cmd is showing the path for it plz help me .

my build.cmd is---->
javac -d "D:Ejbtut" "D:EjbtutpropsPropsHome.java" "D:EjbtutpropsProps.java"

"D:EjbtutpropsPropsBean.java"
jar -cvf Props.jar PropsEjb.jar
-C "D:Ejbtut" META-INF/ejb-jar.xml "props/PropsHome.class" "props/Props.class"

"props/PropsBean.class"
blxejbc Props.jar PropsEjb.jar


ejn.ini--------->
# The EJB server configuration file

server.port: 2050
isNameServer: yes

ejb.protocol: JRMP

admin.port: 2051
admin.password: admin

license.file: d:AppsBlazixlicense.dat
tempDir: d:AppsBlazixejbtemp

# EJB JAR files can be copied to this directory for automatic deployment
ejbDir: d:AppsBlazixejbdir

# Alternate syntax for deploying EJB JAR files.
# Note: Live deploying or re-deploying is only available with "ejbDir".

ejbJar: D:EjbtutPropsEjb.jar
ejb.Props.dataSource:propsDataSource
ejb.Props.table: PropsTable

dataSource.name: propsDataSource
dataSource.propsDatasource.odbc: PropsOdbc

dataSource.name:empDataSource
dataSource.empDataSource.odbc:employee

ejb.Props.dataSource: propsDataSource
ejb.Props.table: PropsTable

its unable to find -->desisoft.ejbtools.EjbCompiler

which is given in blxejbc.cmd----------->

@java desisoft.ejbtools.EjbCompiler -c d:AppsBlazixejb.ini %1 %2 %3 %4 %5 %6 %7 %8
@pause


i am using Blazix as a Application server.
plz help me in solving this problem

   <<Less
About | Sitemap | Contact