Compile the ejb

hello
i am now studying j2eetutorial from sun,in this book,it always compile the ejb by the ant tool,i don't know why,is it necessary?because i feel difficult to write the "build.xml" file.
question 1:can i use "javac" to compile the ejb,i think
it's possible.
question 2:how can i master the "build.xml",where can i
get the tutorial that help me to learn it?
THANK YOU IN ADVANCE!

I am learning EJB too.
In fact you don't need to install ant to compile the EJB.
Install Forte for Java instead and include the J2EE.jar in the project, then you can compile the EJB in Forte. I find it is much easier than the ant tool.

Similar Messages

  • Error in compiling the ejb source files......

    hi all,
    it makes me to go mad...
    i have got error sometimes while compiling the ejb java source files and sometimes not...
    i would appreciate anybody for helping me in this problem
    i am using sun application server 8.1 and javac compiler
    i have got the following error
    D:\>path=%path%;c:\j2sdk1.4.2_12\bin;
    D:\>set classpath=%classpath%;d:\Sun\AppServer\lib\j2ee.jar;
    D:\>javac d:\Librarys\Library.java
    D:\>javac d:\Librarys\LibraryBean.java
    D:\>javac d:\Librarys\LibraryHome.java
    d:\Librarys\LibraryHome.java:8: cannot resolve symbol
    symbol : class Library
    location: interface Librarys.LibraryHome
    public Library create(String id, String name, String address, String phoneNo
    ) throws RemoteException, CreateException;
    ^
    d:\Librarys\LibraryHome.java:9: cannot resolve symbol
    symbol : class Library
    location: interface Librarys.LibraryHome
    public Library findByPrimaryKey(String id) throws FinderException, RemoteExc
    eption;
    ^
    2 errors
    D:\>

    hi,
    thanks for ur reply
    i haven't tried the thing given by you
    i will reply u soon after trying out that
    but when i compiled *.java instead of compiling individual files
    everything go fine....

  • Error while compiling the ejb java source files.................

    hi,
    i am new to ejb.......
    i have got error while compiling the ejb java source files............
    while compiling..........of this three i ahve got err in ejb home interface....
    ejb remote interface - succeded
    ejb bean class - succeded
    ejb home interface - error
    the error..............is in the return type of the ejb create() method in ejb home interface(which is the type of remote interface).
    the error message is cannot resolve symbol

    Hi,
    thanks for ur reply .....
    i have done enough searching in all sites including sun forum but in vain
    i have pasted my error below...
    can u plz predict anything from it
    D:\>path=%path%;c:\j2sdk1.4.2_12\bin;
    D:\>set classpath=%classpath%;d:\Sun\AppServer\lib\j2ee.jar;
    D:\>javac d:\Librarys\Library.java
    D:\>javac d:\Librarys\LibraryBean.java
    D:\>javac d:\Librarys\LibraryHome.java
    d:\Librarys\LibraryHome.java:8: cannot resolve symbol
    symbol : class Library
    location: interface Librarys.LibraryHome
    public Library create(String id, String name, String address, String phoneNo
    ) throws RemoteException, CreateException;
    ^
    d:\Librarys\LibraryHome.java:9: cannot resolve symbol
    symbol : class Library
    location: interface Librarys.LibraryHome
    public Library findByPrimaryKey(String id) throws FinderException, RemoteExc
    eption;
    ^
    2 errors
    thanks in advance...

  • Deploy EJB : Errors compiling the communication stubs

    Compiling Stubs...Errors compiling the communication stubs
    /tmp/ejb/oraclex/java/awt/ColorPackage/ColorSpaceHolder.java:35: Class java.awt.ColorPackage.ColorSpace not found.
    public java.awt.ColorPackage.ColorSpace value;
    ^
    /tmp/ejb/oraclex/java/awt/ColorPackage/ColorSpaceHolder.java:38: Class java.awt.ColorPackage.ColorSpace not found.
    public ColorSpaceHolder(java.awt.ColorPackage.ColorSpace value) {
    ^
    /tmp/ejb/oraclex/java/awt/ColorPackage/ColorSpaceHelper.java:38: Class java.awt.ColorPackage.ColorSpace not found.
    public static java.awt.ColorPackage.ColorSpace read(org.omg.CORBA.portable.InputStream _input) {
    ^
    /tmp/ejb/oraclex/java/awt/ColorPackage/ColorSpaceHelper.java:39: Class java.awt.ColorPackage.ColorSpace not found.
    return (java.awt.ColorPackage.ColorSpace) ((com.visigenic.vbroker.orb.GiopInputStream)_input).read_estruct("java.awt.ColorPackage.ColorSpace");
    ^
    /tmp/ejb/oraclex/java/awt/ColorPackage/ColorSpaceHelper.java:41: Class java.awt.ColorPackage.ColorSpace not found.
    public static void write(org.omg.CORBA.portable.OutputStream _output, java.awt.ColorPackage.ColorSpace value) {
    ^
    /tmp/ejb/oraclex/java/awt/ColorPackage/ColorSpaceHelper.java:42: Class java.awt.ColorPackage.ColorSpace not found in void write(org.omg.CORBA.portable.OutputStream, java.awt.ColorPackage.ColorSpace).
    ((com.visigenic.vbroker.orb.GiopOutputStream)_output).write_estruct(value, "java.awt.ColorPackage.ColorSpace");
    ^
    /tmp/ejb/oraclex/java/awt/ColorPackage/ColorSpaceHelper.java:44: Class java.awt.ColorPackage.ColorSpace not found.
    public static void insert(org.omg.CORBA.Any any, java.awt.ColorPackage.ColorSpace value) {
    ^
    /tmp/ejb/oraclex/java/awt/ColorPackage/ColorSpaceHelper.java:49: Class java.awt.ColorPackage.ColorSpace not found.
    public static java.awt.ColorPackage.ColorSpace extract(org.omg.CORBA.Any any) {
    There is no ColorSpace class ?

    ./my_deployejb.sh -republish -verbose -u mylog -p mypass -s sess_iiop://localhost:2481:mydb -temp /tmp/ejb -descriptor myejb.ejb myjar.jar
    avec my_deployejb.sh :
    #! /bin/ksh
    # %W% %E%
    addclasspath=""
    args=""
    while test $# -gt 0
    do
    case $1 in
    -classpath|-addclasspath) shift; addclasspath=$addclasspath:$1;;
    *) args="$args $1"
    esac
    shift
    done
    JRECLASSPATH=$JAVA_HOME/lib/tools.jar:$ORACLE_HOME/lib/aurora_client.jar:/oracle1/app/oracle/product/8.1.6/jlib/javax-ssl-1_1.jar:/oracle1/app/oracle/product/8.1.6/jlib/jssl-1_1.ja r:$ORACLE_HOME/lib/jasper.zip:$ORACLE_HOME/lib/vbjtools.jar:$ORACLE_HOME/lib/vbjorb.jar:$ORACLE_HOME/lib/vbjapp.jar:$ORACLE_HOME/javavm/lib/aurora.zip:$ORACLE_HOME/jdbc/lib/classes 12_01.zip$addclasspath:$CLASSPATH
    echo $JRECLASSPATH
    export JRECLASSPATH
    exec java -classpath $JRECLASSPATH oracle.aurora.ejb.deployment.GenerateEjb $args
    null

  • Errors compiling the example.rmi_iiop.ejb.generic_idl example

    Hello,
    I have WebLogic Server 6.0, jdk1.3, Inprise's Visibroker for C++ 4.0 all on Windows
    NT.
    I am following the steps on the examples\rmi_iiop\ejb\generic_idl\package-summary.html
    page in my weblogic directory. The errors occur at step 3g of the section "Compile
    the c++ stubs and client source file ".
    The errors are output by the java compiler. They are:
    C:\bea\wlserver6.0 samples\examples\rmi_iiop\ejb\generic_idl>CL /MD /DTHREAD /no
    logo -DWIN32 /GX /DSTRICT /DALIGNED /DVISIBROKER /DMSVCUSING_BUG /DMSVCNESTEDUS
    ING_BUG -Icpp -Ic:\Inprise\vbroker\include -Ic:\Inprise\vbroker\include\stubs -I
    C:\bea\wlserver6.0\samples -c Trader_c.cpp TraderHome_c.cpp cpp\Client.cpp cpp\j
    avax\ejb\EJBObject_c.cpp cpp\javax\ejb\EJBHome_c.cpp cpp\javax\ejb\RemoveEx_c.cp
    p cpp\javax\ejb\RemoveException_c.cpp cpp\java\lang\_Object_c.cpp cpp\java\lang\
    Exc.cpp cpp\java\lang\_Exception_c.cpp cpp\java\lang\Throwable_c.cpp cpp\java\
    rmi\Remote_c.cpp cpp\java\io\PrintWriter_c.cpp cpp\java\io\PrintStream_c.cpp cpp
    \java\io\Writer_c.cpp cpp\java\io\Serializable_c.cpp cpp\java\io\IOException_c.c
    pp cpp\java\io\IOEx_c.cpp cpp\org\omg\boxedRMI\seq1_wchar_c.cpp
    Trader_c.cpp
    Trader_c.hh(15) : warning C4067: unexpected tokens following pragma directive -
    expected a newline
    cpp\javax/ejb/EJBObject_c.hh(15) : warning C4067: unexpected tokens following pr
    agma directive - expected a newline
    cpp\javax/ejb/EJBObject_c.hh(18) : warning C4067: unexpected tokens following pr
    agma directive - expected a newline
    cpp\javax/ejb/RemoveEx_c.hh(15) : warning C4067: unexpected tokens following pra
    gma directive - expected a newline
    cpp\javax/ejb/RemoveException_c.hh(15) : warning C4067: unexpected tokens follow
    ing pragma directive - expected a newline
    cpp\java/lang/_Exception_c.hh(15) : warning C4067: unexpected tokens following p
    ragma directive - expected a newline
    cpp\java/lang/Throwable_c.hh(15) : warning C4067: unexpected tokens following pr
    agma directive - expected a newline
    cpp\java/lang/Throwable_c.hh(18) : warning C4067: unexpected tokens following pr
    agma directive - expected a newline
    cpp\java/io/PrintWriter_c.hh(15) : warning C4067: unexpected tokens following pr
    agma directive - expected a newline
    cpp\java/io/PrintWriter_c.hh(18) : warning C4067: unexpected tokens following pr
    agma directive - expected a newline
    cpp\java/io/PrintWriter_c.hh(21) : warning C4067: unexpected tokens following pr
    agma directive - expected a newline
    cpp\java/io/Writer_c.hh(15) : warning C4067: unexpected tokens following pragma
    directive - expected a newline
    cpp\java/io/Writer_c.hh(18) : warning C4067: unexpected tokens following pragma
    directive - expected a newline
    cpp\java/io/IOEx_c.hh(15) : warning C4067: unexpected tokens following pragma di
    rective - expected a newline
    cpp\java/io/IOException_c.hh(15) : warning C4067: unexpected tokens following pr
    agma directive - expected a newline
    cpp\java/io/IOException_c.hh(90) : error C2039: 'Exception' : is not a member of
    'lang'
    cpp\java/io/IOException_c.hh(90) : error C2504: 'Exception' : base class undefin
    ed
    cpp\java/io/IOException_c.hh(127) : error C2039: 'OBV_Exception' : is not a memb
    er of 'lang'
    cpp\java/io/IOException_c.hh(127) : error C2504: 'OBV_Exception' : base class un
    defined
    cpp\java/lang/Throwable_c.hh(21) : warning C4067: unexpected tokens following pr
    agma directive - expected a newline
    cpp\java/io/PrintStream_c.hh(15) : warning C4067: unexpected tokens following pr
    agma directive - expected a newline
    cpp\java/io/PrintStream_c.hh(18) : warning C4067: unexpected tokens following pr
    agma directive - expected a newline
    cpp\java/io/PrintStream_c.hh(21) : warning C4067: unexpected tokens following pr
    agma directive - expected a newline
    cpp\java/io/PrintStream_c.hh(22) : fatal error C1083: Cannot open include file:
    'org/omg/boxedRMI/seq1_octet_c.hh': No such file or directory
    TraderHome_c.cpp
    TraderHome_c.hh(15) : warning C4067: unexpected tokens following pragma directiv
    e - expected a newline
    C:\bea\wlserver6.0\samples\examples/rmi_iiop/ejb/generic_idl/Trader_c.hh(15) : w
    arning C4067: unexpected tokens following pragma directive - expected a newline
    cpp\javax/ejb/EJBObject_c.hh(15) : warning C4067: unexpected tokens following pr
    agma directive - expected a newline
    cpp\javax/ejb/EJBObject_c.hh(18) : warning C4067: unexpected tokens following pr
    agma directive - expected a newline
    cpp\javax/ejb/RemoveEx_c.hh(15) : warning C4067: unexpected tokens following pra
    gma directive - expected a newline
    cpp\javax/ejb/RemoveException_c.hh(15) : warning C4067: unexpected tokens follow
    ing pragma directive - expected a newline
    cpp\java/lang/_Exception_c.hh(15) : warning C4067: unexpected tokens following p
    ragma directive - expected a newline
    cpp\java/lang/Throwable_c.hh(15) : warning C4067: unexpected tokens following pr
    agma directive - expected a newline
    cpp\java/lang/Throwable_c.hh(18) : warning C4067: unexpected tokens following pr
    agma directive - expected a newline
    cpp\java/io/PrintWriter_c.hh(15) : warning C4067: unexpected tokens following pr
    agma directive - expected a newline
    cpp\java/io/PrintWriter_c.hh(18) : warning C4067: unexpected tokens following pr
    agma directive - expected a newline
    cpp\java/io/PrintWriter_c.hh(21) : warning C4067: unexpected tokens following pr
    agma directive - expected a newline
    cpp\java/io/Writer_c.hh(15) : warning C4067: unexpected tokens following pragma
    directive - expected a newline
    cpp\java/io/Writer_c.hh(18) : warning C4067: unexpected tokens following pragma
    directive - expected a newline
    cpp\java/io/IOEx_c.hh(15) : warning C4067: unexpected tokens following pragma di
    rective - expected a newline
    cpp\java/io/IOException_c.hh(15) : warning C4067: unexpected tokens following pr
    agma directive - expected a newline
    cpp\java/io/IOException_c.hh(90) : error C2039: 'Exception' : is not a member of
    'lang'
    cpp\java/io/IOException_c.hh(90) : error C2504: 'Exception' : base class undefin
    ed
    cpp\java/io/IOException_c.hh(127) : error C2039: 'OBV_Exception' : is not a memb
    er of 'lang'
    cpp\java/io/IOException_c.hh(127) : error C2504: 'OBV_Exception' : base class un
    defined
    cpp\java/lang/Throwable_c.hh(21) : warning C4067: unexpected tokens following pr
    agma directive - expected a newline
    cpp\java/io/PrintStream_c.hh(15) : warning C4067: unexpected tokens following pr
    agma directive - expected a newline
    cpp\java/io/PrintStream_c.hh(18) : warning C4067: unexpected tokens following pr
    agma directive - expected a newline
    cpp\java/io/PrintStream_c.hh(21) : warning C4067: unexpected tokens following pr
    agma directive - expected a newline
    cpp\java/io/PrintStream_c.hh(22) : fatal error C1083: Cannot open include file:
    'org/omg/boxedRMI/seq1_octet_c.hh': No such file or directory
    Client.cpp
    Have I misapplied some steps? Or, my env has not been set correctly?
    Any help would be greatly appreciated.
    Kevin Wu

    Thanks for your respond, Eduardo.
    Could you explain me in more detail why the C++ code doesn't compile, and how the
    new target in the make file can help us?
    Thanks!
    Eduardo Ceballos <[email protected]> wrote:
    There's nothing wrong with what you've done. The C code just doesn't compile.
    Grab WLS 6.0 SP1 when it is available (shortly). There is a new target in
    the make file that narrows the IDL production by method signature.
    Kevin Wu wrote:
    Hello,
    I have WebLogic Server 6.0, jdk1.3, Inprise's Visibroker for C++ 4.0 allon Windows
    NT.
    I am following the steps on the examples\rmi_iiop\ejb\generic_idl\package-summary.html
    page in my weblogic directory. The errors occur at step 3g of the section"Compile
    the c++ stubs and client source file ".
    The errors are output by the java compiler. They are:
    C:\bea\wlserver6.0 samples\examples\rmi_iiop\ejb\generic_idl>CL /MD /DTHREAD/no
    logo -DWIN32 /GX /DSTRICT /DALIGNED /DVISIBROKER /DMSVCUSING_BUG /DMSVCNESTEDUS
    ING_BUG -Icpp -Ic:\Inprise\vbroker\include -Ic:\Inprise\vbroker\include\stubs-I
    C:\bea\wlserver6.0\samples -c Trader_c.cpp TraderHome_c.cpp cpp\Client.cppcpp\j
    avax\ejb\EJBObject_c.cpp cpp\javax\ejb\EJBHome_c.cpp cpp\javax\ejb\RemoveEx_c.cp
    p cpp\javax\ejb\RemoveException_c.cpp cpp\java\lang\_Object_c.cpp cpp\java\lang\
    Exc.cpp cpp\java\lang\_Exception_c.cpp cpp\java\lang\Throwable_c.cppcpp\java\
    rmi\Remote_c.cpp cpp\java\io\PrintWriter_c.cpp cpp\java\io\PrintStream_c.cppcpp
    \java\io\Writer_c.cpp cpp\java\io\Serializable_c.cpp cpp\java\io\IOException_c.c
    pp cpp\java\io\IOEx_c.cpp cpp\org\omg\boxedRMI\seq1_wchar_c.cpp
    Trader_c.cpp
    Trader_c.hh(15) : warning C4067: unexpected tokens following pragma directive-
    expected a newline
    cpp\javax/ejb/EJBObject_c.hh(15) : warning C4067: unexpected tokens followingpr
    agma directive - expected a newline
    cpp\javax/ejb/EJBObject_c.hh(18) : warning C4067: unexpected tokens followingpr
    agma directive - expected a newline
    cpp\javax/ejb/RemoveEx_c.hh(15) : warning C4067: unexpected tokens followingpra
    gma directive - expected a newline
    cpp\javax/ejb/RemoveException_c.hh(15) : warning C4067: unexpected tokensfollow
    ing pragma directive - expected a newline
    cpp\java/lang/_Exception_c.hh(15) : warning C4067: unexpected tokens followingp
    ragma directive - expected a newline
    cpp\java/lang/Throwable_c.hh(15) : warning C4067: unexpected tokens followingpr
    agma directive - expected a newline
    cpp\java/lang/Throwable_c.hh(18) : warning C4067: unexpected tokens followingpr
    agma directive - expected a newline
    cpp\java/io/PrintWriter_c.hh(15) : warning C4067: unexpected tokens followingpr
    agma directive - expected a newline
    cpp\java/io/PrintWriter_c.hh(18) : warning C4067: unexpected tokens followingpr
    agma directive - expected a newline
    cpp\java/io/PrintWriter_c.hh(21) : warning C4067: unexpected tokens followingpr
    agma directive - expected a newline
    cpp\java/io/Writer_c.hh(15) : warning C4067: unexpected tokens followingpragma
    directive - expected a newline
    cpp\java/io/Writer_c.hh(18) : warning C4067: unexpected tokens followingpragma
    directive - expected a newline
    cpp\java/io/IOEx_c.hh(15) : warning C4067: unexpected tokens followingpragma di
    rective - expected a newline
    cpp\java/io/IOException_c.hh(15) : warning C4067: unexpected tokens followingpr
    agma directive - expected a newline
    cpp\java/io/IOException_c.hh(90) : error C2039: 'Exception' : is not amember of
    'lang'
    cpp\java/io/IOException_c.hh(90) : error C2504: 'Exception' : base classundefin
    ed
    cpp\java/io/IOException_c.hh(127) : error C2039: 'OBV_Exception' : isnot a memb
    er of 'lang'
    cpp\java/io/IOException_c.hh(127) : error C2504: 'OBV_Exception' : baseclass un
    defined
    cpp\java/lang/Throwable_c.hh(21) : warning C4067: unexpected tokens followingpr
    agma directive - expected a newline
    cpp\java/io/PrintStream_c.hh(15) : warning C4067: unexpected tokens followingpr
    agma directive - expected a newline
    cpp\java/io/PrintStream_c.hh(18) : warning C4067: unexpected tokens followingpr
    agma directive - expected a newline
    cpp\java/io/PrintStream_c.hh(21) : warning C4067: unexpected tokens followingpr
    agma directive - expected a newline
    cpp\java/io/PrintStream_c.hh(22) : fatal error C1083: Cannot open includefile:
    'org/omg/boxedRMI/seq1_octet_c.hh': No such file or directory
    TraderHome_c.cpp
    TraderHome_c.hh(15) : warning C4067: unexpected tokens following pragmadirectiv
    e - expected a newline
    C:\bea\wlserver6.0\samples\examples/rmi_iiop/ejb/generic_idl/Trader_c.hh(15): w
    arning C4067: unexpected tokens following pragma directive - expecteda newline
    cpp\javax/ejb/EJBObject_c.hh(15) : warning C4067: unexpected tokens followingpr
    agma directive - expected a newline
    cpp\javax/ejb/EJBObject_c.hh(18) : warning C4067: unexpected tokens followingpr
    agma directive - expected a newline
    cpp\javax/ejb/RemoveEx_c.hh(15) : warning C4067: unexpected tokens followingpra
    gma directive - expected a newline
    cpp\javax/ejb/RemoveException_c.hh(15) : warning C4067: unexpected tokensfollow
    ing pragma directive - expected a newline
    cpp\java/lang/_Exception_c.hh(15) : warning C4067: unexpected tokens followingp
    ragma directive - expected a newline
    cpp\java/lang/Throwable_c.hh(15) : warning C4067: unexpected tokens followingpr
    agma directive - expected a newline
    cpp\java/lang/Throwable_c.hh(18) : warning C4067: unexpected tokens followingpr
    agma directive - expected a newline
    cpp\java/io/PrintWriter_c.hh(15) : warning C4067: unexpected tokens followingpr
    agma directive - expected a newline
    cpp\java/io/PrintWriter_c.hh(18) : warning C4067: unexpected tokens followingpr
    agma directive - expected a newline
    cpp\java/io/PrintWriter_c.hh(21) : warning C4067: unexpected tokens followingpr
    agma directive - expected a newline
    cpp\java/io/Writer_c.hh(15) : warning C4067: unexpected tokens followingpragma
    directive - expected a newline
    cpp\java/io/Writer_c.hh(18) : warning C4067: unexpected tokens followingpragma
    directive - expected a newline
    cpp\java/io/IOEx_c.hh(15) : warning C4067: unexpected tokens followingpragma di
    rective - expected a newline
    cpp\java/io/IOException_c.hh(15) : warning C4067: unexpected tokens followingpr
    agma directive - expected a newline
    cpp\java/io/IOException_c.hh(90) : error C2039: 'Exception' : is not amember of
    'lang'
    cpp\java/io/IOException_c.hh(90) : error C2504: 'Exception' : base classundefin
    ed
    cpp\java/io/IOException_c.hh(127) : error C2039: 'OBV_Exception' : isnot a memb
    er of 'lang'
    cpp\java/io/IOException_c.hh(127) : error C2504: 'OBV_Exception' : baseclass un
    defined
    cpp\java/lang/Throwable_c.hh(21) : warning C4067: unexpected tokens followingpr
    agma directive - expected a newline
    cpp\java/io/PrintStream_c.hh(15) : warning C4067: unexpected tokens followingpr
    agma directive - expected a newline
    cpp\java/io/PrintStream_c.hh(18) : warning C4067: unexpected tokens followingpr
    agma directive - expected a newline
    cpp\java/io/PrintStream_c.hh(21) : warning C4067: unexpected tokens followingpr
    agma directive - expected a newline
    cpp\java/io/PrintStream_c.hh(22) : fatal error C1083: Cannot open includefile:
    'org/omg/boxedRMI/seq1_octet_c.hh': No such file or directory
    Client.cpp
    Have I misapplied some steps? Or, my env has not been set correctly?
    Any help would be greatly appreciated.
    Kevin Wu

  • How do I add -Xlint option to the EJB compilation process?

    Hello,
    I have a 4 server node clustered environment. I am running WebLogic
    Server 9 MP 2 on Windows server 2003 Enterprise Edition SP 2. I am
    running Sun JDK 1.5 update 11. When the EJBs are compiled Isee the
    following message in the server logs (for every EJB):
    ####<Nov 16, 2007 6:15:09 PM CST> <Info> <EJB> <machine1> <wlserver1>
    <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default
    (self-tuning)'> <<WLS Kernel>> <> <> <1195258509358> <BEA-012033>
    <Compiling generated EJB classes produced the following Java compiler
    output:
    Note: Some input files use unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    I checked through the documentation, and the extra EJB compiler options
    don't offer the -Xlint option. I checked the Java documentation and it
    does support that option. My servers are using the default javac
    compiler. I have not figured out how I can add the -Xlint option to the
    server compilation process, in order to get the additional information I
    need to diagnose the problem. Please help.
    http://e-docs.bea.com/wls/docs92/ConsoleHelp/pagehelp/Corecoreserverserve
    rconfiggeneraltitle.html#advancedAttributes
    Thanks,
    pimy

        I love being able to have a group contact list on my device.
    You can go to Contacts>Click on the icon right below the contacts with 2 people>Select the green plus sign in the upper right hand corner>Create a group name and then go thru the contact list to add up to 20 contacts for the group.
    This will help you get the group contacts added again.
    Tamara H.
    Follow us on Twitter @VZWSupport

  • I can't access able to compile the servlet that access EJB methods

    Hello,
    i have written i servlet (TestServlet.java) to access the ejb(SignOn) method(validateUser(userId,Password)) but i can't compile this servlet.it shows this type error.can anybody help me to do it complete.i have written the ejb & servlet in (d:\ejb\src\demo).
    D:\riazejb\src\demo>javac TestServlet.java
    TestServlet.java:15: cannot find symbol
    symbol : class SignOnHome
    location: class demo.TestServlet
    SignOnHome signOnHome;
    ^
    TestServlet.java:16: cannot find symbol
    symbol : class SignOn
    location: class demo.TestServlet
    SignOn signOn;
    ^
    TestServlet.java:23: cannot find symbol
    symbol : class SignOnHome
    location: class demo.TestServlet
    signOnHome = (SignOnHome)PortableRemoteObject.narrow(objref,SignOnHome.c
    lass);
    My servlet code is
    package demo;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.*;
    import java.util.*;
    import javax.naming.*;
    import javax.ejb.*;
    import demo.*;
    import javax.rmi.PortableRemoteObject;
    public class TestServlet extends HttpServlet {
    SignOnHome signOnHome;
    SignOn signOn;
    public void init(ServletConfig config) throws ServletException {
    //Look up home interface
    try {
    InitialContext ctx = new InitialContext();
    Object objref = ctx.lookup("demo/SignOn");
    signOnHome = (SignOnHome)PortableRemoteObject.narrow(objref,SignOnHome.class);
    } catch (Exception NamingException) {
    NamingException.printStackTrace();
    public void doGet (HttpServletRequest request,HttpServletResponse response)
    throws ServletException, IOException
    PrintWriter out;
    response.setContentType("text/html");
    String title = "EJB Example";
    out = response.getWriter();
    out.println("<html>");
    out.println("<head>");
    out.println("<title>Hello World Servlet!</title>");
    out.println("</head>");
    out.println("<body>");
    out.println("<p align=\"center\"><font size=\"4\" color=\"#000080\">Servlet Calling Session Bean</font></p>");
    try{
    // MyTestSession beanRemote;
    SignOn signOn;
    signOn = (SignOn)signOnHome.create();
    out.println("<p align=\"center\"> Message from Session Bean is: <b>" + signOn.validateUser(student,password) + "</b></p>");
    signOn.remove();
    }catch(Exception CreateException){
    CreateException.printStackTrace();
    out.println("<p align=\"center\"><a href=\"javascript:history.back()\">Go to Home</a></p>");
    out.println("</body>");
    out.println("</html>");
    out.close();
    public void destroy() {
    System.out.println("Destroy");
    Thanks in advance.
    Riaz

    Have you added the EJB client JAR to classpath for compilation?
    java -classpath "%CLASSPATH%;<<EJBCLient JAR path>> *.java

  • Unable to load the EJB module. DeploymentContext does not contain any EJB.

    I'm writing an enterprise application to familiarize myself with Glassfish 3.1.2 and EJB 3.1. I've created several local, stateless beans, and injected one into a JSF managed bean. The ejb and web modules compile fine, but when I launch the application with Glassfish I get the following startup error and the application does not deploy. I don't understand what it means, can someone ellaborate?
    SEVERE: Exception while invoking class org.glassfish.ejb.startup.EjbDeployer prepare method
    SEVERE: Exception while invoking class org.glassfish.javaee.full.deployment.EarDeployer prepare method
    SEVERE: Exception while preparing the app
    SEVERE: Unable to load the EJB module. DeploymentContext does not contain any EJB. Check the archive to ensure correct packaging for D:\Documents\NetBeansProjects\Test\dist\gfdeploy\Test\Test-war_war.
    If you use EJB component annotations to define the EJB, and an ejb or web deployment descriptor is also used, please make sure that the deployment descriptor references a Java EE 5 or higher version schema, and that the metadata-complete attribute is not set to true, so the component annotations can be processed as expected
    org.glassfish.deployment.common.DeploymentException: Unable to load the EJB module. DeploymentContext does not contain any EJB. Check the archive to ensure correct packaging for D:\Documents\NetBeansProjects\Test\dist\gfdeploy\Test\Test-war_war.
    If you use EJB component annotations to define the EJB, and an ejb or web deployment descriptor is also used, please make sure that the deployment descriptor references a Java EE 5 or higher version schema, and that the metadata-complete attribute is not set to true, so the component annotations can be processed as expected
         at org.glassfish.javaee.full.deployment.EarDeployer.prepare(EarDeployer.java:166)
         at com.sun.enterprise.v3.server.ApplicationLifecycle.prepareModule(ApplicationLifecycle.java:871)
         at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:410)
         at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
         at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:389)
         at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:348)
         at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:363)
         at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1085)
         at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:95)
         at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1291)
         at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1259)
         at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:461)
         at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:212)
         at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:179)
         at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)
         at com.sun.enterprise.v3.services.impl.ContainerMapper$Hk2DispatcherCallable.call(ContainerMapper.java:354)
         at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)
         at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:860)
         at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757)
         at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056)
         at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:229)
         at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
         at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
         at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
         at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
         at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
         at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
         at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
         at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
         at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
         at java.lang.Thread.run(Thread.java:722)

    My guess is that you deployed an ejb without bean in it. when you have an ejb module, be sure you have at least one bean present.
    Are you sure you have implementend some beans? Or did you do this only in the web module?
    Try adding an @Stateless bean doing nothing in you ejb module, redeploy and let me know if that works

  • Error targeting server for the EJB module while deploying the sample banking application

    I am currently having a very difficult time attempting to deploy the
    example banking application that I downloaded from the BEA website. I
    have followed all of the steps in the "Hands On: Deploying the Sample
    Banking Application" document, and I do fine until I get to the next to
    last step. When I attempt to target the server for the EJB module, the
    deployment process generates the error that I have included at the end
    of this message.
    I can get to the login.html page under "http://localhost:7001/banking/",
    but after that I can't go further.
    Any suggestions. BTW, in case you haven't figured it out, I'm brand new
    to BEA WebLogic server.
    Thanks in advance for any help you can offer.
    Scott
    Error deploying application \ejb:
    Unable to deploy EJB: \ejb from \ejb:
    Compiler failed
    executable.exec(java.lang.String[javac,-nowarn,-classpath,E:\bea\wlserver6.1\tmp_ejbwinged-demon7001\banking-exploded_\ejb;E:\bea\wlserver6.1\.\config\ScottsServer\applications\.wlnotdelete\wlap60763\ejb;E:\bea\jdk131\jre\lib\rt.jar;E:\bea\jdk131\jre\lib\i18n.jar;E:\bea\jdk131\jre\lib\sunrsasign.jar;E:\bea\jdk131\jre\classes;.;E:\bea\wlserver6.1\lib\weblogic_sp.jar;E:\bea\wlserver6.1\lib\weblogic.jar,-d,E:\bea\wlserver6.1\tmp_ejbwinged-demon7001\banking-exploded_\ejb,E:\bea\wlserver6.1\tmp_ejbwinged-demon7001\banking-exploded_\ejb\examples\tutorials\migration\banking\*.java])
    at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:302)
    at weblogic.ejb20.deployer.Deployer.runEJBC(Deployer.java:296)
    at weblogic.ejb20.deployer.Deployer.compileEJB(Deployer.java:684)
    at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:851)
    at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:30)
    at weblogic.j2ee.Application.addComponent(Application.java:163)
    at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)
    at
    weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:329)
    at
    weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:144)
    at java.lang.reflect.Method.invoke(Native Method)
    at
    weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
    at
    weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
    at
    weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
    at
    weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:491)
    at
    weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:361)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
    at $Proxy11.addDeployment(Unknown Source)
    at
    weblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBeanImpl.java:1516)
    at
    weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:895)
    at
    weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:847)
    at
    weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:295)
    at
    com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1356)
    at
    com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1331)
    at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:322)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:204)
    at $Proxy68.setTargets(Unknown Source)
    at java.lang.reflect.Method.invoke(Native Method)
    at
    weblogic.management.console.info.FilteredMBeanAttribute.doSet(FilteredMBeanAttribute.java:92)
    at
    weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:135)
    at
    weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
    at
    weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
    at
    weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2495)
    at
    weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

    The deployment process invokes javac internally to compile some generated classes.
    Do you have javac installed and in the path?
    Seth
    Scott Springer wrote:
    I am currently having a very difficult time attempting to deploy the
    example banking application that I downloaded from the BEA website. I
    have followed all of the steps in the "Hands On: Deploying the Sample
    Banking Application" document, and I do fine until I get to the next to
    last step. When I attempt to target the server for the EJB module, the
    deployment process generates the error that I have included at the end
    of this message.
    I can get to the login.html page under "http://localhost:7001/banking/",
    but after that I can't go further.
    Any suggestions. BTW, in case you haven't figured it out, I'm brand new
    to BEA WebLogic server.
    Thanks in advance for any help you can offer.
    Scott
    Error deploying application \ejb:
    Unable to deploy EJB: \ejb from \ejb:
    Compiler failed
    executable.exec(java.lang.String[javac,-nowarn,-classpath,E:\bea\wlserver6.1\tmp_ejbwinged-demon7001\banking-exploded_\ejb;E:\bea\wlserver6.1\.\config\ScottsServer\applications\.wlnotdelete\wlap60763\ejb;E:\bea\jdk131\jre\lib\rt.jar;E:\bea\jdk131\jre\lib\i18n.jar;E:\bea\jdk131\jre\lib\sunrsasign.jar;E:\bea\jdk131\jre\classes;.;E:\bea\wlserver6.1\lib\weblogic_sp.jar;E:\bea\wlserver6.1\lib\weblogic.jar,-d,E:\bea\wlserver6.1\tmp_ejbwinged-demon7001\banking-exploded_\ejb,E:\bea\wlserver6.1\tmp_ejbwinged-demon7001\banking-exploded_\ejb\examples\tutorials\migration\banking\*.java])
    at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:302)
    at weblogic.ejb20.deployer.Deployer.runEJBC(Deployer.java:296)
    at weblogic.ejb20.deployer.Deployer.compileEJB(Deployer.java:684)
    at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:851)
    at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:30)
    at weblogic.j2ee.Application.addComponent(Application.java:163)
    at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)
    at
    weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:329)
    at
    weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:144)
    at java.lang.reflect.Method.invoke(Native Method)
    at
    weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
    at
    weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
    at
    weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
    at
    weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:491)
    at
    weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:361)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
    at $Proxy11.addDeployment(Unknown Source)
    at
    weblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBeanImpl.java:1516)
    at
    weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:895)
    at
    weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:847)
    at
    weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:295)
    at
    com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1356)
    at
    com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1331)
    at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:322)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:204)
    at $Proxy68.setTargets(Unknown Source)
    at java.lang.reflect.Method.invoke(Native Method)
    at
    weblogic.management.console.info.FilteredMBeanAttribute.doSet(FilteredMBeanAttribute.java:92)
    at
    weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:135)
    at
    weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
    at
    weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
    at
    weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2495)
    at
    weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

  • Deployejb : Oracle 8.1.6 : Errors compiling the communication stubs

    Hi,
    I was able to deploy EJB using JDeveloper 3.1 in the Oracle 8i (1.1.6) DB.However, when I try it manually, it is giving errors.
    I was able to use deployejb tool succesfully with Oracle 8.1.5 DB.Is there some problem with Oracle 8.1.6 DB?
    This is output, I am getting :
    Reading Deployment Descriptor...done
    Verifying Deployment Descriptor...done
    Gathering users...done
    Generating Comm Stubs.....................................done
    Compiling Stubs...Errors compiling the communication stubs
    C:\sandeep\JDeveloper3.0\class\TEMP\EJBPackage\_OracleEJBHomeImplBase.java:24: i
    llegal combination of modifiers: abstract and strictfp
    abstract public class _OracleEJBHomeImplBase extends org.omg.CORBA.portable.Skel
    eton implements EJBPackage.OracleEJBHome {
    ^
    C:\sandeep\JDeveloper3.0\class\TEMP\EJBPackage\_OracleEJBRemoteImplBase.java:24:
    illegal combination of modifiers: abstract and strictfp
    abstract public class _OracleEJBRemoteImplBase extends org.omg.CORBA.portable.Sk
    eleton implements EJBPackage.OracleEJBRemote {
    ^
    2 errors
    Is this a problem with the classpath/path settings?
    Please advise!!
    TIA
    Sandeep
    null

    Thanks,I got it
    -- Sandeep
    null

  • A prefix can be included in the EJB JNDI name dynamically?

    In the Stateless annotation, we can specify the mappedName attribute to the EJB JNDI name bind.
    Can we specify a prefix to the mappedName separately?
    For example: We have this:
    @Stateless(mappedName="myEJB")And don't want to do this:
    @Stateless(mappedName="prefix/myEJB")We want to include the prefix in another place in the code dynamically.
    Can we do that??

    jtahlborn wrote:
    eudesf wrote:
    Hello! Thanks for reply!
    As I can't configure programatically, there is any way to configure in an application descriptor, or in another place of the application server?
    The idea is to publish two applications that use the same EJB classes, but in different JNDI namespaces, because we don't want to share the resources. Otherwise, it will result in JNDI name conflicts. The applications works in different contexts and we want to reuse the existing EJB definitions.
    Any suggestion?yes you can do this. ejb 3.0 keeps the features from 2.1, namely all the xml based configuration (although it is now optional). and, the annotations are always overriden by the xml configuration. thus, you can create different deployments with different the same compiled class files. you just need to override the annotation configuration with xml configuration (via ejb-jar.xml or whatever).Yes, we can do that. I've tested here, and it works. But, can we do better?
    The configuration via XML implies maintenance, and it's not good, because we have so many EJBs to maintain.
    And there is another problem... The EJB classes are in JARs, and these JARs are shared across the applications.
    Pretend that you have to maintain two versions of each EJB JAR. One with XML configured and other without. If we change one, the another must be changed too. How can it be productive?
    I have seen some EJB implementations that are more flexible with JNDI naming.
    See:
    - [http://openejb.apache.org/jndi-names.html|http://openejb.apache.org/jndi-names.html]
    - [http://fixunix.com/weblogic/221782-dynamic-jndi-name-weblogic-ejb-jar-xml.html|http://fixunix.com/weblogic/221782-dynamic-jndi-name-weblogic-ejb-jar-xml.html]
    Does it have a better solution in Glassfish?

  • No EJBs found in the ejb-jar file

    Hello all, we are thinking about migrating from JBoss to WebLogic server, so as a proof of concept I am trying to migrate a JBoss Seam web application to WebLogic server.
    I have followed all the instructions here: http://docs.jboss.org/seam/2.0.2.SP1/reference/en-US/html/weblogic.html and I have set up ebvryhting that is needed in order to start the server (JMS queues, datasources, etc) but when the server starts and tries to load the web application I got the following error message
    <29 ═Ύί 2010 4:34:51 ΉΉ EET> <Error> <Deployer> <BEA-149205> <Failed to initialize the application 'myapplication-ear' due to error weblogic.application.ModuleException: Exception preparing module
    : EJBModule(MyApplication.jar)
    [EJB:011023]An error occurred while reading the deployment descriptor. The error was:
    No EJBs found in the ejb-jar file 'MyApplication.jar'. Please ensure the ejb-jar contains EJB declarations via an ejb-jar.xml deployment descriptor or at least one class annotated with t
    he @Stateless, @Stateful or @MessageDriven EJB annotation...
    weblogic.application.ModuleException: Exception preparing module: EJBModule(MyApplication.jar)
    [EJB:011023]An error occurred while reading the deployment descriptor. The error was:
    No EJBs found in the ejb-jar file 'MyApplication.jar'. Please ensure the ejb-jar contains EJB declarations via an ejb-jar.xml deployment descriptor or at least one class annotated with t
    he @Stateless, @Stateful or @MessageDriven EJB annotation..
    at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:467)
    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
    at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:507)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:149)
    Truncated. see log file for complete stacktrace
    Caused By: java.io.IOException: No EJBs found in the ejb-jar file 'MyApplication.jar'. Please ensure the ejb-jar contains EJB declarations via an ejb-jar.xml deployment descriptor or at l
    east one class annotated with the @Stateless, @Stateful or @MessageDriven EJB annotation.
    at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.createReadOnlyDescriptorFromJarFile(EjbDescriptorReaderImpl.java:219)
    at weblogic.ejb.spi.EjbDescriptorFactory.createReadOnlyDescriptorFromJarFile(EjbDescriptorFactory.java:93)
    at weblogic.ejb.container.deployer.EJBModule.loadEJBDescriptor(EJBModule.java:1242)
    at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:395)
    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
    Truncated. see log file for complete stacktrace
    The MyApplication.jar is where we keep all the models and we are using an exploded folder for the ear file. We have declared all the classes to be entities by using the @Entity and @Table annotations and we have also defined an interceptor in the ejb-jar.xml file (shown below).
    <?xml version="1.0" encoding="UTF-8"?>
    <ejb-jar xmlns="http://java.sun.com/xml/ns/javaee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd"
    version="3.0">
    <interceptors>
    <interceptor>
    <interceptor-class>org.jboss.seam.ejb.SeamInterceptor</interceptor-class>
    </interceptor>
    </interceptors>
    <assembly-descriptor>
    <interceptor-binding>
    <ejb-name>*</ejb-name>
    <interceptor-class>org.jboss.seam.ejb.SeamInterceptor</interceptor-class>
    </interceptor-binding>
    </assembly-descriptor>
    </ejb-jar>
    I have tried to compile everythign from scratch by using weblogic.appc but I am getting the same error: No EJBs found in the ejb-jar file 'ejbModule'. Please ensure the ejb-jar contains EJB declarations via an ejb-jar.xml deployment descriptor or at least one class annotated with the @Stateless, @Stateful or @MessageDriven EJB annotation.
    Any ideas what is going on and how I can resolve the issue?
    Regards
    Panos
    Edited by: 816483 on 29 Νοε 2010 6:53 πμ

    Hi John,
    I am working on development an enterprise application using EJB 3.0 on Weblogic 10.
    While developing, I am keeping all my classes (from ejb's as well as web) into APP-INF/classes directory. It is working fine for Web and ejb 2.0 packages, but ejb 3.0 packages, I get the following error when I keep my ejb 3.0 beans classes in APP-INF/classes directory.
    No EJBs found in the ejb-jar file 'customer'. Please ensure the ejb-jar contains EJB declarations via an ejb-jar.xml deployment descriptor or at least one class annotated with the @Stateless, @Stateful or @MessageDriven EJB annotation.
    One solution is to keep the classes under customer ejb directory, but I wan tto keep all the classes in APP-INF/classes directory so that when using Eclipse IDE I can output all compiled sources into APP-INF/classes directory.
    Has anyone faced this situation? Any suggestions to fix this issue?

  • The DOCTYPE declaration in the ejb-jar.xml deployment descriptor is missing

    Hello,
    I want to create web service from ejb but everytime I want to do it, I get the following error:
    I'm using NWDS 7.2 and JDK 1.6
    [004]Deployment aborted
    Settings
    SDM host : XXX
    SDM port : 50118
    URL to deploy : file:/C:/DOCUME1/XXXX/LOCALS1/Temp/temp3760382784932063822XXXWSProjectEar.ear
    Result
    => deployment aborted : file:/C:/DOCUME1/XXX/LOCALS1/Temp/temp3760382784932063822XXX/WSProjectEar.ear
    Aborted: development component 'XXXWSProjectEar'/'sap.com'/'localhost'/'2011.01.06.15.48.31'/'0':
    Caught exception during application deployment from SAP J2EE Engine's deploy service:
    java.rmi.RemoteException: Cannot deploy application sap.com/XXXWSProjectEar.. Reason: The DOCTYPE declaration in the ejb-jar.xml deployment descriptor is missing. ; nested exception is:      com.sap.engine.services.ejb.exceptions.deployment.EJBXMLParserException: The DOCTYPE declaration in the ejb-jar.xml deployment descriptor is missing.
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
    Deployment exception : The deployment of at least one item aborted
    Can anyone tell me why am I getting this error.
    Thnx for your help.
    Best regards.

    Hello Decio Junior,
    Actually yes, I resolved my problem.
    I'm developing an EJB 3.0 project. I'm using NWDS 7.2 and JDK 1.6 as I said.
    The problem is that my server was using JDK 1.4 and that was the problem.
    EJB 1.1 and 2.1 need ejb-jar.xml but EJB 3.0 use the annotations instead.
    Check your server JDK Version. It should be JDK 1.5 or higher.
    Something else that you should check, in your project properties :
    In the Build PATH : Use JDK 1.5
    In the Java Compiler : Set the java compiler compliance level to 1.6 and check use default compliance settings
    Hope it would help.
    If you need more explanations, I'm here
    Good luck.

  • Error compiling single ejb using appc/ejbc (long)

    This may be related to my earlier post ("no longer able to build ejb
    using appc (WLS 8.1)", posted this morning), but the error and the way I
    encountered it were different enough that I thought I'd post as a new
    topic. I've been trying to build a project using weblogic 8.1, but I've
    been running into some problems.
    As a test, I tried compiling a single ejb from the command line using
    the new appc compiler. I compiled the source files and moved them to a
    clean build directory, along with the deployment descriptors. From the
    command line, I set the system classpath to the bare minimum necessary
    to build the ejb-- the jdk tools.jar, the jre rt.jar, the weblogic.jar
    file, the project bin directory, the log4j.jar, and my database driver
    jar (see [1] and the echoed resulting classpath at [2] below). I then
    invoked appc, specifying the output and source paths ([3]). The
    resulting error ([4]) shows a much larger classpath, which abruptly ends
    with a "?". I ran the same test using ejbc instead of appc, and I get
    the very same problem (same error message). I've never encountered
    problems like these before, and other than upgrading to weblogic 8.1, my
    system configuration hasn't changed. Any ideas or suggestions would be
    greatly appreciated!
    system:
    weblogic 8.1
    sun jdk 1.4.1_02 (bundled with weblogic)
    win 2k
    Test and resulting error message:
    [1] SETTING CLASSPATH...
    D:\workspace\TRIPS\deployment\build>set classpath=D:\bea\jdk141_02\jre
    \lib\rt.jar;D:\bea\jdk141_02\lib\tools.jar;D:\bea\weblogic81\server\lib
    \weblogic.jar;D:\workspace\TRIPS\bin;D:\workspace\TRIPS\lib\log4j.jar;D:
    \workspace\TRIPS\lib\ifxjdbc.jar
    [2] ECHOING CLASSPATH...
    D:\workspace\TRIPS\deployment\build>set classpath
    classpath=D:\bea\jdk141_02\jre\lib\rt.jar;D:\bea\jdk141_02\lib
    \tools.jar;D:\bea\weblogic81\server\lib\weblogic.jar;D:\workspace\TRIPS
    \bin;D:\workspace\TRIPS\lib\log4j.jar;D:\workspace\TRIPS\lib\ifxjdbc.jar
    [3] INVOKING APPC...
    D:\workspace\TRIPS\deployment\build>java weblogic.appc -output D:
    \workspace\TRIP
    S\deployment\build\VASKeyGenerator.jar D:\workspace\TRIPS\deployment
    \build
    [4] ERROR MESSAGE...
    java.io.IOException: CreateProcess: javac -classpath "C:\temp\appcgen;C:
    \Program
    Files\Java\j2re1.4.1_01\lib\rt.jar;C:\Program Files\Java\j2re1.4.1_01
    \lib\i18n.
    jar;C:\Program Files\Java\j2re1.4.1_01\lib\sunrsasign.jar;C:\Program
    Files\Java\
    j2re1.4.1_01\lib\jsse.jar;C:\Program Files\Java\j2re1.4.1_01\lib
    \jce.jar;C:\Prog
    ram Files\Java\j2re1.4.1_01\lib\charsets.jar;C:\Program Files\Java
    \j2re1.4.1_01\
    classes;D:\bea\jdk141_02\jre\lib\rt.jar;D:\bea\jdk141_02\lib
    \tools.jar;D:\bea\we
    blogic81\server\lib\weblogic.jar;D:\bea\weblogic81\server\lib
    \wlcipher.jar;D:\be
    a\weblogic81\server\lib\webservices.jar;D:\bea\weblogic81\server\lib
    \xmlx.jar;D:
    \bea\weblogic81\server\lib\ojdbc14.jar;D:\bea\weblogic81\server\lib
    \EccpressoAsn
    1.jar;D:\bea\weblogic81\server\lib\EccpressoCore.jar;D:\bea\weblogic81
    \server\li
    b\EccpressoJcae.jar;D:\bea\weblogic81\server\lib\ant\ant.jar;D:\bea
    \weblogic81\s
    erver\lib\ant\optional.jar;D:\bea\weblogic81\server\lib\ant\jakarta-oro-
    2.0.4.ja
    r;D:\bea\weblogic81\server\lib\ant\xml-apis.jar;D:\bea\weblogic81\server
    \lib\ant
    \xerc?
    at java.lang.Win32Process.create(Native Method)
    at java.lang.Win32Process.<init>(Win32Process.java:63)
    at java.lang.Runtime.execInternal(Native Method)
    at java.lang.Runtime.exec(Runtime.java:566)
    at java.lang.Runtime.exec(Runtime.java:491)
    at java.lang.Runtime.exec(Runtime.java:457)
    at weblogic.utils.Executable.exec(Executable.java:227)
    at weblogic.utils.Executable.exec(Executable.java:156)
    at weblogic.utils.Executable.exec(Executable.java:142)
    at weblogic.utils.compiler.CompilerInvoker.execCompiler
    (CompilerInvoker.
    java:246)
    at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit
    (CompilerInvo
    ker.java:463)
    at weblogic.utils.compiler.CompilerInvoker.compile
    (CompilerInvoker.java:
    364)
    at weblogic.utils.compiler.CompilerInvoker.compile
    (CompilerInvoker.java:
    372)
    at weblogic.ejb20.ejbc.EJBCompiler.doCompile
    (EJBCompiler.java:270)
    at weblogic.ejb20.ejbc.EJBCompiler.compileEJB
    (EJBCompiler.java:468)
    at weblogic.ejb20.ejbc.EJBCompiler.compileEJB
    (EJBCompiler.java:387)
    at weblogic.appc.compileEJB(appc.java:735)
    at weblogic.appc.compileEJB(appc.java:709)
    at weblogic.appc.compileInput(appc.java:446)
    at weblogic.appc.runBody(appc.java:167)
    at weblogic.utils.compiler.Tool.run(Tool.java:146)
    at weblogic.utils.compiler.Tool.run(Tool.java:103)
    at weblogic.appc.main(appc.java:961)
    Exec failed .. exiting
    D:\workspace\TRIPS\deployment\build>

    Hi Tim,
    I just got past a similar problem by specifying the full path to javac
    in build.xml. Like:
    <wlappc source="${dest.dir}" compiler="C:\bea\jdk141_02\bin\javac"
    />
    Tim Perrigo <[email protected]> wrote in message news:<[email protected]>...
    This may be related to my earlier post ("no longer able to build ejb
    using appc (WLS 8.1)", posted this morning), but the error and the way I
    encountered it were different enough that I thought I'd post as a new
    topic. I've been trying to build a project using weblogic 8.1, but I've
    been running into some problems.
    As a test, I tried compiling a single ejb from the command line using
    the new appc compiler. I compiled the source files and moved them to a
    clean build directory, along with the deployment descriptors. From the
    command line, I set the system classpath to the bare minimum necessary
    to build the ejb-- the jdk tools.jar, the jre rt.jar, the weblogic.jar
    file, the project bin directory, the log4j.jar, and my database driver
    jar (see [1] and the echoed resulting classpath at [2] below). I then
    invoked appc, specifying the output and source paths ([3]). The
    resulting error ([4]) shows a much larger classpath, which abruptly ends
    with a "?". I ran the same test using ejbc instead of appc, and I get
    the very same problem (same error message). I've never encountered
    problems like these before, and other than upgrading to weblogic 8.1, my
    system configuration hasn't changed. Any ideas or suggestions would be
    greatly appreciated!
    system:
    weblogic 8.1
    sun jdk 1.4.1_02 (bundled with weblogic)
    win 2k
    Test and resulting error message:
    [1] SETTING CLASSPATH...
    D:\workspace\TRIPS\deployment\build>set classpath=D:\bea\jdk141_02\jre
    \lib\rt.jar;D:\bea\jdk141_02\lib\tools.jar;D:\bea\weblogic81\server\lib
    \weblogic.jar;D:\workspace\TRIPS\bin;D:\workspace\TRIPS\lib\log4j.jar;D:
    \workspace\TRIPS\lib\ifxjdbc.jar
    [2] ECHOING CLASSPATH...
    D:\workspace\TRIPS\deployment\build>set classpath
    classpath=D:\bea\jdk141_02\jre\lib\rt.jar;D:\bea\jdk141_02\lib
    \tools.jar;D:\bea\weblogic81\server\lib\weblogic.jar;D:\workspace\TRIPS
    \bin;D:\workspace\TRIPS\lib\log4j.jar;D:\workspace\TRIPS\lib\ifxjdbc.jar
    [3] INVOKING APPC...
    D:\workspace\TRIPS\deployment\build>java weblogic.appc -output D:
    \workspace\TRIP
    S\deployment\build\VASKeyGenerator.jar D:\workspace\TRIPS\deployment
    \build
    [4] ERROR MESSAGE...
    java.io.IOException: CreateProcess: javac -classpath "C:\temp\appcgen;C:
    \Program
    Files\Java\j2re1.4.1_01\lib\rt.jar;C:\Program Files\Java\j2re1.4.1_01
    \lib\i18n.
    jar;C:\Program Files\Java\j2re1.4.1_01\lib\sunrsasign.jar;C:\Program
    Files\Java\
    j2re1.4.1_01\lib\jsse.jar;C:\Program Files\Java\j2re1.4.1_01\lib
    \jce.jar;C:\Prog
    ram Files\Java\j2re1.4.1_01\lib\charsets.jar;C:\Program Files\Java
    \j2re1.4.1_01\
    classes;D:\bea\jdk141_02\jre\lib\rt.jar;D:\bea\jdk141_02\lib
    \tools.jar;D:\bea\we
    blogic81\server\lib\weblogic.jar;D:\bea\weblogic81\server\lib
    \wlcipher.jar;D:\be
    a\weblogic81\server\lib\webservices.jar;D:\bea\weblogic81\server\lib
    \xmlx.jar;D:
    \bea\weblogic81\server\lib\ojdbc14.jar;D:\bea\weblogic81\server\lib
    \EccpressoAsn
    1.jar;D:\bea\weblogic81\server\lib\EccpressoCore.jar;D:\bea\weblogic81
    \server\li
    b\EccpressoJcae.jar;D:\bea\weblogic81\server\lib\ant\ant.jar;D:\bea
    \weblogic81\s
    erver\lib\ant\optional.jar;D:\bea\weblogic81\server\lib\ant\jakarta-oro-
    2.0.4.ja
    r;D:\bea\weblogic81\server\lib\ant\xml-apis.jar;D:\bea\weblogic81\server
    \lib\ant
    \xerc?
    at java.lang.Win32Process.create(Native Method)
    at java.lang.Win32Process.<init>(Win32Process.java:63)
    at java.lang.Runtime.execInternal(Native Method)
    at java.lang.Runtime.exec(Runtime.java:566)
    at java.lang.Runtime.exec(Runtime.java:491)
    at java.lang.Runtime.exec(Runtime.java:457)
    at weblogic.utils.Executable.exec(Executable.java:227)
    at weblogic.utils.Executable.exec(Executable.java:156)
    at weblogic.utils.Executable.exec(Executable.java:142)
    at weblogic.utils.compiler.CompilerInvoker.execCompiler
    (CompilerInvoker.
    java:246)
    at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit
    (CompilerInvo
    ker.java:463)
    at weblogic.utils.compiler.CompilerInvoker.compile
    (CompilerInvoker.java:
    364)
    at weblogic.utils.compiler.CompilerInvoker.compile
    (CompilerInvoker.java:
    372)
    at weblogic.ejb20.ejbc.EJBCompiler.doCompile
    (EJBCompiler.java:270)
    at weblogic.ejb20.ejbc.EJBCompiler.compileEJB
    (EJBCompiler.java:468)
    at weblogic.ejb20.ejbc.EJBCompiler.compileEJB
    (EJBCompiler.java:387)
    at weblogic.appc.compileEJB(appc.java:735)
    at weblogic.appc.compileEJB(appc.java:709)
    at weblogic.appc.compileInput(appc.java:446)
    at weblogic.appc.runBody(appc.java:167)
    at weblogic.utils.compiler.Tool.run(Tool.java:146)
    at weblogic.utils.compiler.Tool.run(Tool.java:103)
    at weblogic.appc.main(appc.java:961)
    Exec failed .. exiting
    D:\workspace\TRIPS\deployment\build>

  • Errors occured when compile the bpel process

    Errors occurred when compile the bpel process using bpel designer for Eclipse:
    (com.oracle.bpel.designer_0.9.13)
    using PM: bpel_jboss_101200
    More error infomation following:
    Buildfile: E:\OraBpelDEclipse3.2\workspace\AboutTest\build.xml
    main:
    [bpelc] E:\OraBpelDEclipse3.2\workspace\AboutTest\temp\bpelc762.tmp\BPEL-INF\src\bpel\p0\BPEL_BIN.java:835: Invalid expression statement.
    [bpelc] retun true;
    [bpelc] ^
    [bpelc] E:\OraBpelDEclipse3.2\workspace\AboutTest\temp\bpelc762.tmp\BPEL-INF\src\bpel\p0\BPEL_BIN.java:835: ';' expected.
    [bpelc] retun true;
    [bpelc] ^
    [bpelc] E:\OraBpelDEclipse3.2\workspace\AboutTest\temp\bpelc762.tmp\BPEL-INF\src\bpel\p0\BPEL_BIN.java:208: Method setPartneLinkBinding(com.collaxa.cube.rm.suitcase.PartnerLinkBindingDescriptor) not found in class com.collaxa.cube.engine.types.bpel.CXPartnerLink.
    [bpelc] __pl.setPartneLinkBinding(getProcessDescriptor().getPartnerLinkBindings().getPartnerLinkBinding(__pl.getName()));
    [bpelc] ^
    [bpelc] E:\OraBpelDEclipse3.2\workspace\AboutTest\temp\bpelc762.tmp\BPEL-INF\src\bpel\p0\BPEL_BIN.java:584: Undefined variable: __ctx
    [bpelc] __setOutgoingLinks(__sc, __ctx);
    [bpelc] ^
    [bpelc] 4 errors
    BUILD FAILED
    E:\OraBpelDEclipse3.2\workspace\AboutTest\build.xml:28: ORABPEL-01005
    Error in java files auto-generated when compiling ,why?
    Thanks!

    when compiled again without any change, the same errors like above are not occurs
    more info.
    Buildfile: E:\OraBpelDEclipse3.2\workspace\AboutTest\build.xml
    main:
    BUILD SUCCESSFUL
    Total time: 9 seconds
    BUT, some errors occurs in BPEL PM server and in Console the process is not available
    more Info: Because I using Chinese version,some chinese Info occurs in the error infomation ,so i have translated some character into English.
    process "AboutTest" (version "1.0") compiled sucessfully
    15:49:15,718 INFO [STDOUT] <2007-05-11 15:49:15,718> <INFO> <default.collaxa.cu
    be.engine.deployment> process "AboutTest" (version "1.0") loaded sucessfully.
    16:25:25,265 INFO [STDOUT] <2007-05-11 16:25:25,250> <INFO> <default.collaxa.cu
    be.compiler> validating "E:\OraBPELPM\domains\default\tmp\.bpel_AboutTest_1.0.jar\
    AboutTest.bpel" ...
    16:25:35,015 INFO [STDOUT] E:\OraBPELPM\domains\default\tmp\.bpel_AboutTest_1.0
    .jar\BPEL-INF\src\bpel\p0\BPEL_BIN.java:835: Invalid expression statement.
    16:25:35,015 INFO [STDOUT] retun true;
    16:25:35,015 INFO [STDOUT] ^
    16:25:35,031 INFO [STDOUT] E:\OraBPELPM\domains\default\tmp\.bpel_AboutTest_1.0
    .jar\BPEL-INF\src\bpel\p0\BPEL_BIN.java:835: ';' expected.
    16:25:35,031 INFO [STDOUT] retun true;
    16:25:35,031 INFO [STDOUT] ^
    16:25:35,859 INFO [STDOUT] E:\OraBPELPM\domains\default\tmp\.bpel_AboutTest_1.0
    .jar\BPEL-INF\src\bpel\p0\BPEL_BIN.java:208: Method setPartneLinkBinding(com.col
    laxa.cube.rm.suitcase.PartnerLinkBindingDescriptor) not found in class com.colla
    xa.cube.engine.types.bpel.CXPartnerLink.
    16:25:35,859 INFO [STDOUT] __pl.setPartneLinkBinding(getProcessDescript
    or().getPartnerLinkBindings().getPartnerLinkBinding(__pl.getName()));
    16:25:35,859 INFO [STDOUT] ^
    16:25:35,859 INFO [STDOUT] E:\OraBPELPM\domains\default\tmp\.bpel_AboutTest_1.0
    .jar\BPEL-INF\src\bpel\p0\BPEL_BIN.java:584: Undefined variable: __ctx
    16:25:35,859 INFO [STDOUT] __setOutgoingLinks(__sc, __ctx);
    16:25:35,859 INFO [STDOUT] ^
    16:25:35,859 INFO [STDOUT] 4 errors
    16:25:36,343 INFO [STDOUT] <2007-05-11 16:25:36,312> <ERROR> <default.collaxa.c
    ube.engine.deployment> <CubeProcessFactory::generateProcessClass>
    process "AboutTest" (version "1.0") compiled failed.
    16:25:36,359 INFO [STDOUT] <2007-05-11 16:25:36,359> <ERROR> <default.collaxa.c
    ube.engine.deployment> <CubeProcessLoader::create> can not compile the class .
    can not compile the bpel class generated from "AboutTest".
    16:25:36,375 INFO [STDOUT] <2007-05-11 16:25:36,375> <ERROR> <default.collaxa.c
    ube.engine.deployment> process "AboutTest" (version "1.0") loaded failed!!
    16:25:37,281 INFO [STDOUT] <2007-05-11 16:25:37,265> <ERROR> <default.collaxa.c
    ube> <BaseCubeSessionBean::logError>
    if you have installed patched in server, please check whether the proriety "bpelcClasspath" contained the patch class.
    16:25:37,343 INFO [STDOUT] at com.collaxa.cube.engine.deployment.CubeProces
    sHolder.bind(CubeProcessHolder.java:1257)
    16:25:37,343 INFO [STDOUT] at com.collaxa.cube.engine.deployment.CubeProces
    sHolder.loadAndBind(CubeProcessHolder.java:870)
    16:25:37,421 INFO [STDOUT] at com.collaxa.cube.engine.deployment.CubeProces
    sHolder.loadArchive(CubeProcessHolder.java:812)
    16:25:37,421 INFO [STDOUT] at com.collaxa.cube.engine.CubeEngine.loadProces
    sArchive(CubeEngine.java:985)
    16:25:37,421 INFO [STDOUT] at com.collaxa.cube.ejb.impl.BPELDomainManagerBe
    an.loadProcessArchive(BPELDomainManagerBean.java:390)
    16:25:37,421 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(
    Native Method)
    16:25:37,421 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(N
    ativeMethodAccessorImpl.java:39)
    16:25:37,421 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invo
    ke(DelegatingMethodAccessorImpl.java:25)
    16:25:37,421 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:3
    24)
    16:25:37,421 INFO [STDOUT] at org.jboss.ejb.StatelessSessionContainer$Conta
    inerInterceptor.invoke(StatelessSessionContainer.java:683)
    16:25:37,421 INFO [STDOUT] at org.jboss.resource.connectionmanager.CachedCo
    nnectionInterceptor.invoke(CachedConnectionInterceptor.java:186)
    16:25:37,421 INFO [STDOUT] at org.jboss.ejb.plugins.StatelessSessionInstanc
    eInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72)
    16:25:37,421 INFO [STDOUT] at org.jboss.ejb.plugins.AbstractTxInterceptor.i
    nvokeNext(AbstractTxInterceptor.java:84)
    16:25:37,421 INFO [STDOUT] at org.jboss.ejb.plugins.TxInterceptorCMT.runWit
    hTransactions(TxInterceptorCMT.java:282)
    16:25:37,421 INFO [STDOUT] at org.jboss.ejb.plugins.TxInterceptorCMT.invoke
    (TxInterceptorCMT.java:148)
    16:25:37,437 INFO [STDOUT] at org.jboss.ejb.plugins.SecurityInterceptor.inv
    oke(SecurityInterceptor.java:111)
    16:25:37,437 INFO [STDOUT] at org.jboss.ejb.plugins.LogInterceptor.invoke(L
    ogInterceptor.java:191)
    16:25:37,437 INFO [STDOUT] at org.jboss.ejb.plugins.ProxyFactoryFinderInter
    ceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
    16:25:37,437 INFO [STDOUT] at org.jboss.ejb.StatelessSessionContainer.inter
    nalInvoke(StatelessSessionContainer.java:331)
    16:25:37,437 INFO [STDOUT] at org.jboss.ejb.Container.invoke(Container.java
    :709)
    16:25:37,437 INFO [STDOUT] at sun.reflect.GeneratedMethodAccessor81.invoke(
    Unknown Source)
    16:25:37,437 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invo
    ke(DelegatingMethodAccessorImpl.java:25)
    16:25:37,437 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:3
    24)
    16:25:37,437 INFO [STDOUT] at org.jboss.mx.server.ReflectedDispatcher.dispa
    tch(ReflectedDispatcher.java:60)
    16:25:37,437 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invoc
    ation.java:62)
    16:25:37,437 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invoc
    ation.java:54)
    16:25:37,437 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocat
    ion.java:82)
    16:25:37,437 INFO [STDOUT] at org.jboss.mx.server.AbstractMBeanInvoker.invo
    ke(AbstractMBeanInvoker.java:197)
    16:25:37,453 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MB
    eanServerImpl.java:473)
    16:25:37,453 INFO [STDOUT] at org.jboss.invocation.local.LocalInvoker.invok
    e(LocalInvoker.java:97)
    16:25:37,453 INFO [STDOUT] at org.jboss.invocation.InvokerInterceptor.invok
    e(InvokerInterceptor.java:90)
    16:25:37,453 INFO [STDOUT] at org.jboss.proxy.TransactionInterceptor.invoke
    (TransactionInterceptor.java:46)
    16:25:37,453 INFO [STDOUT] at org.jboss.proxy.SecurityInterceptor.invoke(Se
    curityInterceptor.java:55)
    16:25:37,453 INFO [STDOUT] at org.jboss.proxy.ejb.StatelessSessionIntercept
    or.invoke(StatelessSessionInterceptor.java:100)
    16:25:37,453 INFO [STDOUT] at org.jboss.proxy.ClientContainer.invoke(Client
    Container.java:85)
    16:25:37,453 INFO [STDOUT] at $Proxy146.loadProcessArchive(Unknown Source)
    16:25:37,453 INFO [STDOUT] at com.collaxa.cube.engine.deployment.CubeProces
    sMonitorWork.run(CubeProcessMonitorWork.java:129)
    16:25:37,453 INFO [STDOUT] at oracle.tip.adapter.fw.jca.work.WorkerJob.go(W
    orkerJob.java:51)
    16:25:37,453 INFO [STDOUT] at oracle.tip.adapter.fw.common.ThreadPool.run(T
    hreadPool.java:267)
    16:25:37,453 INFO [STDOUT] at java.lang.Thread.run(Thread.java:534)
    16:25:37,453 INFO [STDOUT] <2007-05-11 16:25:37,453> <ERROR> <default.collaxa.c
    ube.engine.deployment> <CubeProcessMonitorWork::run> Error while loading process
    archive E:\OraBPELPM\domains\default\deploy\bpel_AboutTest_1.0.jar
    why?
    thanks

Maybe you are looking for

  • Links and destinations problems - page view

    Hi there, I'm working on a large PDF in Adobe Acrobat 9 Pro. This PDF has a LOT of internal links, and I want to link to a page view, and inherit zoom. Not only do I have to manually change the zoom to "inherit zoom" after I create a link, but Acroba

  • Additional Fields in IWBK

    Hi Experts, My client is looking for two additional fields to be added in to standard report IWBK. I want to know whether it is possible to add below mentioned additional fields to IWBK. If yes how? Is there any user exit or BADI available for the sa

  • 10.1.2.3 : OC4J is hanging up and "SlowRequest BG processor" is missing

    SR:3-3486590521 Hi all, IHAC who is experiencing "Viewer is Busy" error when accessing Discoverer. After running large workbooks the OC4J_BI_Forms seems freezing and no user can't connect to discoverer with blank screen. When customer kill the OC4J_B

  • X4500 RAID Configuration for best performance for video storage

    Hello all: Our company is working with a local university to deploy IP video security cameras. The university has an X4500 Thumper that they would like to use for the storage of the video archives. The video management software (VMS) will run on an I

  • Excise for trading firms

    Hi all, We have created an excise add-on for trading firm.This add-on is typically designed for trading firms where excise is not considered in the accounting process.It is just received and forwarded to end customer. I would like to share some infor