I was trying out some sample code to deploy an stateful session bean in Webloic 6.0 through JBUILDER5.
After write all the required classes and during the make process, the EJBC compiler complains of having the Bean, remote and the home class in the classpath, and these classes should only exist in the EJB jar file. I do no have the " ADD Project Classpath" option selected.
The same code, "EJBC" compiles and works on another machine with the same settings and program installations.
After I generate the ejb Stubs and skeletons on the other machine and port the codes back to my machine it runs fine, but i cannot still ejb complie those codes due the above error.
I have tried hard to change a lot of settings but still can't do the ejb complie on my machine, which is an windows NT 4 workstation. I have checked my system classpath as well but cant figure out where the problem might be.
Somebody please provide a clue of what's going on and what needs to be done to resolve this error. Appreciate your positive response from a GURU.
-
Jbuilder5 & WebLogic 6.0 <EJBC Deployment Error> (7 messages)
- Posted by: Pradeep Lalwani
- Posted on: December 18 2001 03:57 EST
Threaded Messages (7)
- Jbuilder5 & WebLogic 6.0 <EJBC Deployment Error> by Venket Raman on December 18 2001 10:54 EST
- Jbuilder5 & WebLogic 6.0 <EJBC Deployment Error> by Mani Venkatesan on December 19 2001 15:23 EST
- Jbuilder5 & WebLogic 6.0 <EJBC Deployment Error> by Pradeep Lalwani on December 21 2001 10:09 EST
-
Jbuilder5 & WebLogic 6.0 <EJBC Deployment Error> by Mani Venkatesan on December 21 2001 05:07 EST
-
Jbuilder5 & WebLogic 6.0 <EJBC Deployment Error> by Pradeep Lalwani on December 23 2001 01:36 EST
-
Jbuilder5 & WebLogic 6.0 <EJBC Deployment Error> by Sudhir Kethamakka on May 22 2002 02:47 EDT
- Jbuilder5 & WebLogic 6.0 <EJBC Deployment Error> by Sudhir Kethamakka on May 23 2002 11:18 EDT
-
Jbuilder5 & WebLogic 6.0 <EJBC Deployment Error> by Sudhir Kethamakka on May 22 2002 02:47 EDT
-
Jbuilder5 & WebLogic 6.0 <EJBC Deployment Error> by Pradeep Lalwani on December 23 2001 01:36 EST
-
Jbuilder5 & WebLogic 6.0 <EJBC Deployment Error> by Mani Venkatesan on December 21 2001 05:07 EST
- Jbuilder5 & WebLogic 6.0 <EJBC Deployment Error> by Pradeep Lalwani on December 21 2001 10:09 EST
-
Jbuilder5 & WebLogic 6.0 <EJBC Deployment Error>[ Go to top ]
- Posted by: Venket Raman
- Posted on: December 18 2001 10:54 EST
- in response to Pradeep Lalwani
JBuilder needs to compile the Home Interface to generate the stubs and skeleton. I think probably it fails to create the stubs and skeleton in your machine. If you add a jar file containing those stubs and skeleton it works, right. I think you need to find out what error you get while generating the stubs and skeleton. This can be seen in the output/compile window pane.
Regards
Mohan -
Jbuilder5 & WebLogic 6.0 <EJBC Deployment Error>[ Go to top ]
- Posted by: Mani Venkatesan
- Posted on: December 19 2001 15:23 EST
- in response to Pradeep Lalwani
this error pccurs when u hv the build directory also in ur classpath. u can remedy this by doing 1 of 2 things
- b4 running ejbc , clean ur build directoy
- b4 running ejbc, remove build directory from classpath
-
Jbuilder5 & WebLogic 6.0 <EJBC Deployment Error>[ Go to top ]
- Posted by: Pradeep Lalwani
- Posted on: December 21 2001 10:09 EST
- in response to Mani Venkatesan
Hi Subramanian,
I did try that. Cleaned up the class files from the build directory and tried running the EJBC, but b4 running the ejbc it compiles the class files and puts it back in the build directory, and gives the same error. Is there any way we could EJBC without "JavaC" compiling these classes before.
Thanx 4 ur response.
-
Jbuilder5 & WebLogic 6.0 <EJBC Deployment Error>[ Go to top ]
- Posted by: Mani Venkatesan
- Posted on: December 21 2001 17:07 EST
- in response to Pradeep Lalwani
try doing a manual build -
- compile all java files using javac
- make a jar of the class files generated - make sure ur .java files are not in this jar!!
- move this jar file to some other directory
- run ejbc in that directory
if the same error pops up then u have the build dir in ur system classpath and u shd rm it.
if it doesnt, then modify ur makefile to rm the class files b4 running ejbc. Note that ejbc doesnt compile ur java files again. -
Jbuilder5 & WebLogic 6.0 <EJBC Deployment Error>[ Go to top ]
- Posted by: Pradeep Lalwani
- Posted on: December 23 2001 01:36 EST
- in response to Mani Venkatesan
thanks again.
Finally managed to do that. A lot of trouble but worth the brainstorming.
appreciate your response -
Jbuilder5 & WebLogic 6.0 <EJBC Deployment Error>[ Go to top ]
- Posted by: Sudhir Kethamakka
- Posted on: May 22 2002 14:47 EDT
- in response to Pradeep Lalwani
Could you please let me know, what exactly you did to fix this problem. I am getting this error on my Laptop(Windows 2000) , it works fine on my desktop(NT). using JBUILDER 6.0 and wls 6.1
Thank you
Sudhir. -
Jbuilder5 & WebLogic 6.0 <EJBC Deployment Error>[ Go to top ]
- Posted by: Sudhir Kethamakka
- Posted on: May 23 2002 23:18 EDT
- in response to Sudhir Kethamakka
Never mind, I got it !!