Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

ejbc error in weblogic 5.1

  Asked By: Joel    Date: Jan 09    Category: Java    Views: 1070
  

i am running weblogic 5.1 on windows 2000 standalone server. while running a build script given along with the container managed bean example in the weblogic (d:\weblogic\examples\ejb\basic\containerManaged\..), i am getting following output. there is error in the ejbc portion. plz help... the same example used to run perfectly in weblogic 5.1 on windows 98.


D:\weblogic\examples\ejb\basic\containerManaged>dir
Volume in drive D has no label.
Volume Serial Number is 410B-1AF4

Directory of D:\weblogic\examples\ejb\basic\containerManaged

02/28/2001 11:33p <DIR> .
02/28/2001 11:33p <DIR> ..
04/03/2000 05:38p 2,190 Account.java
04/03/2000 05:38p 7,817 AccountBean.java
04/03/2000 05:38p 4,673 AccountHome.java
03/01/2001 01:06a 1,275 build.cmd
04/03/2000 05:38p 1,489 build.sh
04/03/2000 05:38p &nb! sp; 12,321 Client.java
04/03/2000 05:38p 1,210 ejb-jar.xml
04/03/2000 05:38p 4,437 examples.ejb.basic.containerManaged.Accou
nt.html
04/03/2000 05:38p 13,638 examples.ejb.basic.containerManaged.Accou
ntBean.html
04/03/2000 05:38p 7,759 examples.ejb.basic.containerManaged.Accou
ntHome.html
04/03/2000 05:38p 5,177 examples.ejb.basic.containerManaged.Clien
t.html
04/03/2000 05:38p 2,850 examples.ejb.basic.container! Managed.PEE.h
tml
04/03/2000 05:38p 1,198 GNUmakefile
04/03/2000 05:38p 15,781 index.html
04/03/2000 05:38p 814 ProcessingErrorException.java
04/03/2000 05:38p 1,472 weblogic-cmp-rdbms-jar.xml
04/03/2000 05:38p 975 weblogic-ejb-jar.xml
17 File(s) 85,076 bytes
2 Dir(s) ! nbsp; 736,886,784 bytes free

D:\weblogic\examples\ejb\basic\containerManaged>build

D:\weblogic\examples\ejb\basic\containerManaged>if "" == "" set JAVA_HOME=d:\jdk
1.2.2

D:\weblogic\examples\ejb\basic\containerManaged>if "" == "" set WL_HOME=\weblogi
c

D:\weblogic\examples\ejb\basic\containerManaged>set MYSERVER=\weblogic\myserver


D:\weblogic\examples\ejb\basic\containerManaged>set MYCLASSPATH=d:\jdk1.2.2\lib\
tools.jar;\weblogic\classes;\weblogic\lib\weblogicaux.jar;\weblogic\myserver\cli
entclasses

D:\weblogic\examples\ejb\basic\containerManaged>mkdir build build\META-INF

D:\weblogic\examples\ejb\basic\containerManaged>copy *.xml build\META-INF
ejb-jar.xml
weblogic-cmp-rdbms-jar.xml
weblogic-ejb-jar.xml
3 file(s) copied.

D:\weblogic\examples\ejb\basic\containerManaged>javac -d build -classpath d:\jdk
1.2.2\lib\tools.jar;\weblogic\classes;\weblogic\lib\weblogicaux.jar;\weblogic\my
server\clientclasses Account.java AccountHome.java ProcessingErrorException.java
AccountBean.java

D:\weblogic\examples\ejb\basic\containerManaged>cd build

D:\weblogic\examples\ejb\basic\containerManaged\build>jar cv0f std_ejb_basic_con
tainerManaged.jar META-INF examples
added manifest
ignoring entry META-INF/
adding: META-INF/ejb-jar.xml(in = 1210) (out= 1210)(stored 0%)
adding: META-INF/weblogic-cmp-rdbms-jar.xml(in = 1472) (out= 1472)(stored 0%)
adding: META-INF/weblogic-ejb-jar.xml(in = 975) (out= 975)(stored 0%)
adding: examples/(in = 0) (out= 0)(stored 0%)
adding: examples/ejb/(in = 0) (out= 0)(stored 0%)
adding: examples/ejb/basic/(in = 0) (out= 0)(stored 0%)
adding: examples/ejb/basic/containerManaged/(in = 0) (out= 0)(stored 0%)
adding: examples/ejb/basic/containerManaged/Account.class(in = 447) (out= 447)(s
tored 0%)
adding: examples/ejb/basic/containerManaged/AccountHome.class(in = 736) (out= 73
6)(stored 0%)
adding: examples/ejb/basic/containerManaged/ProcessingErrorException.class(in =
339) (out= 339)(stored 0%)
adding: examples/ejb/basic/containerManaged/Acco! untBean.class(in = 3890) (out= 3
890)(stored 0%)

D:\weblogic\examples\ejb\basic\containerManaged\build>cd ..

D:\weblogic\examples\ejb\basic\containerManaged>java -classpath d:\jdk1.2.2\lib\
tools.jar;\weblogic\classes;\weblogic\lib\weblogicaux.jar;\weblogic\myserver\cli
entclasses -Dweblogic.home=\weblogic weblogic.ejbc -compiler javac build\std_ejb
_basic_containerManaged.jar \weblogic\myserver\ejb_basic_containerManaged.jar
ERROR: Error from ejbc: D:\weblogic\examples\ejb\basic\containerManaged\ejbcgen\
Files\JavaSoft\JRE\1\2\lib\rt\jar;C:\ProgramAD.ser (The filename, directory name
, or volume label syntax is incorrect)
ERROR: ejbc found errors

D:\weblogic\examples\ejb\basic\containerManaged>javac -d \weblogic\myserver\clie
ntclasses -classpath d:\jdk1.2.2\lib\tools.jar;\weblogic\classes;\weblogic\lib\w
eblogicaux.jar;\weblogic\myserver\clientclasses Account.java AccountHome.java Pr
ocessingErrorException.java Client.java

Share: 

 

2 Answers Found

 
Answer #1    Answered By: Elias Turner     Answered On: Jan 09

D:\weblogic\examples\ejb\basic\containerManaged\ejbcgen\
Files\JavaSoft\JRE\1\2\lib\rt\jar;

change
.....\rt\jar;
to
.....\rt.jar;

 
Answer #2    Answered By: Kifah Malik     Answered On: Jan 09

but i have not written that line(...rt\jar...) in my make file. i have written the ejbc command syntax as given in the ejb examples in weblogic  5.1. i was not getting any errors in windows  98 or NT.

 
Didn't find what you were looking for? Find more on ejbc error in weblogic 5.1 Or get search suggestion and latest updates.




Tagged: