• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

J2SDKEE AND WEBLOGIC5

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear friend,
please help me i tried lot but always face some new kind of error to please help me?
I have installed BEA Weblogic 5.1 and J2EE1.2.1 in my pc i having windows 98 as an operating system and i having already jdk1.2 installed in my pc .
now i want to know that what i have to do next ie how to set path and classpath in my pc and how to execute my first ejb programme please also mention how to use Weblogic 5.1 server start from begining . i have seen that there are some example given in j2sdkee1.2.1\doc\guides\ejb\example. but i dont know how to run them .
Hellllp! (and thanks in advance!)
 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
friends
I also tried out the same thing and i came across same problem so if any body know how to solve the above problem kindly help us
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am also looking for the answere of the above problem if any bodies knows than please help me/us in above situation.
thanks
------------------
 
jits
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am also looking for the answere of the above problem if any bodies knows than please help me/us in above situation.
thanks
------------------
 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Don't weblogic and j2ee require windows NT ???
 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a .bat file which sets up the class path for running weblogic. Give me ur email addresses, and i'll mail it to u.
Raghu
 
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
BEA does not recommend the use of external J2EE components outside of what is included within their class packages. Do not look at things from Sun such as the latest servlet SDK or JNDI SDK as upgrades for WebLogic. They are merely implementing the specification and by being licensed, must provide APIs that completely reflect Sun's reference implementation (what you downloaded).
Jesse
 
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I am getting the following errors when I tried to build the example build.sh in weblogic/examples/ejb/basic/beanManaged directory.
.../beanManaged<343> build.sh
Account.java:4: Class javax.ejb.EJBObject not found in import.
import javax.ejb.EJBObject;
^
Account.java:17: Interface javax.ejb.EJBObject of interface examples.ejb.basic.beanManaged.Account not found.
public interface Account extends EJBObject {
^
AccountHome.java:3: Class javax.ejb.CreateException not found in import.
import javax.ejb.CreateException;
^
AccountHome.java:4: Class javax.ejb.EJBHome not found in import.
import javax.ejb.EJBHome;
^
AccountHome.java:5: Class javax.ejb.FinderException not found in import.
import javax.ejb.FinderException;
^
AccountHome.java:18: Interface javax.ejb.EJBHome of interface examples.ejb.basic.beanManaged.AccountHome not found.
public interface AccountHome extends EJBHome {
^
AccountBean.java:11: Class javax.ejb.CreateException not found in import.
import javax.ejb.CreateException;

I have the following weblogic classpath
WEBLOGICCLASSPATH=./license:./classes:./lib/weblogicaux.jar:./myserver/serverclasses:/user/rdevaraj/weblogic/lib
classpath is
# Java 1
JAVACLASSPATH=$JAVA_HOME/lib/classes.zip:./classes/boot:./eval/cloudscape/lib/cl
oudscape.jar

$JAVA -ms64m -mx64m -classpath $JAVACLASSPATH -Dweblogic.class.path=$WEBLOGICCLA
SSPATH -Dweblogic.home=. weblogic.Server
else
# Java 2
JAVACLASSPATH=./classes/boot:./eval/cloudscape/lib/cloudscape.jar
Java paths are
JAVA_HOME=/usr/local/tools/jdk1.2.2
PRE_CLASSPATH=
POST_CLASSPATH=
JAVA_OPTIONS=-native

I am running this on the SUN Solaris. I am able to compile and run the regular swing programs. The imports in javax.* are found. I downloaded the J2EE.1.2.1 and set the path correctly in my .profile. Can anybody explain what else I have to do?.
Thanks
Raj
 
Ranch Hand
Posts: 919
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Raj, Have you edited the 'build.sh' file and adjusted the variables to match your environment, especially ${WL_HOME} ?
 
Raj Devaraj
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
George,
Thanks. I just made that one change and it worked. Also, it is great to have Weblogic forum.
Paul: Thanks for creating this forum. It will be a great place to visit.
Raj
 
Something about .... going for a swim. With this tiny ad ...
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic