Deployed EJB's not seen in console

 

I finally figured out what the problem is.
It's because my domain is not the default domain.
If I deploy to the default domain then I can see the EJBs.
Do you need create a new console to look at EJBs in a non-default
domain? It certainly seems like you should be able
to view other domains from the default because you can go
between domains in it.
Shelly
"Shelly" <[email protected]> wrote:
>
>
Kumar,
I wish it were that simple!
I deployed the beans and then brought up the default server
and
console afterwards. The beans do not show up no matter
what.
I have reinstalled etc, nothing seems to work. I've even
changed
what ports the default server is listening on.
I've created a new domain and deployed to it - still no
EJB's
in the console.
I did try to look at the JNDI tree for the server and
I get an
error even when it is running:
myserver-1 is not running at the moment:
newdomain:Name=myserver-1,Location=myserver-1,Type=ServerRuntime
Maybe that has something to do with it.
It is the same in 6.0 and SP1.
Regards,
Shelly
Kumar Allamraju <[email protected]> wrote:
Is the bean deployed before the server startup or after
the startup?
If the former is true, you should see the deployed beans
in the console
If the latter is true and you accessed console before
deploying the bean, you
refresh the page to get the
latest changes.
BTW, are you on SP1 or the GA release?
Kumar
Gary Keim wrote:
Since we know the beans are getting successfully deployed,this turns into a
Console issue so I'm forwarding the thread to
weblogic.developer.interest.management.console. Maybeour friends over
there have the answer.
Gary
Shelly <[email protected]> wrote in message
news:[email protected]...
When I change the logging level to info, I can see
that they are
successfully deployed. However, they don't show
up
in the console.
Do they have to be in an EAR module? Maybe that
is
it, because
the build scripts are just putting the jar files
in
the applications
directory.
"Gary Keim" <[email protected]> wrote:
I believe you should see deployed applications in
the
console, regardless of
how they are deployed. I know that when I stuffan EAR
module in the
domain's applications directory, it gets deployedand
I can see it in The
Console.
Do you see anything in the log file about that deployment?
Gary
Teo Kian Hui <[email protected]> wrote in message
news:[email protected]...
Did you deploy those beans using the console?
If
so,
you should be able
to see them.
Shelly Foland wrote:
I have deployed some EJB20 beans to WebLogic6.0.
I've tested with a client that they work and
are successfully
deployed.
When the server comes up it doesn't mention
them
like
5.1 used
to. I also can't see them using the console.
Is
there a way
to see that the EJB's were successfully deployed
other
than
testing with a client.
Thanks,
Shelly

Similar Messages

  • Calling a newly deployed EJB from an EJB gives a NoSuchMethod Exception if the jar of the newly deployed ejb is not in the classpath

    Hi ,
    I have an EJB A which is already deployed when the server starts. A second ejb
    B is deployed at a later time.
    EJB A calls methods in EJB B. I use reflection in EJB A to call methods in EJB
    B.
    I get a NoSuchMethodException when I call the create method in the Home object
    of EJB B. If I add the ejb jar file to the classpath before the server starts
    then it is able to resolve the method.
    The problem is the EJBs which are called from EJB A is not known before the server
    is started. New EJBs can be deployed at runtime and EJB A should be able call
    the methods in newly deployed EJB's.
    I also use the URLClassLoader to load all the classes in the jar file of the newly
    deployed EJB in EJB A and it still gives a NoSuchMethodException because it cannot
    resolve the stub class.
    My error log is shown below.
    This is an urgent issue.
    Thanks
    SampleConnector::testEJBService called
    In Key : P1 Value : Input2
    In Key : P3 Value : Input1
    In Key : P2 Value : SomeConst
    Loaded Class = com.bizwave.samples.rejb.SampleRemote
    Loaded Class = com.bizwave.samples.rejb.SampleRemoteEJB
    Loaded Class = com.bizwave.samples.rejb.SampleRemoteEJB_svq1df_EOImpl
    Loaded Class = com.bizwave.samples.rejb.SampleRemoteEJB_svq1df_HomeImpl
    Loaded Class = com.bizwave.samples.rejb.SampleRemoteEJB_svq1df_Impl
    Loaded Class = com.bizwave.samples.rejb.SampleRemoteHome
    java.lang.NoSuchMethodException
    at java.lang.Class.getMethod0(Native Method)
    at java.lang.Class.getDeclaredMethod(Class.java:1151)
    at com.bizwave.samples.ejb.SampleConnectorEJB.testEJBService(SampleCon
    ctorEJB.java:181)
    at com.bizwave.samples.ejb.SampleConnectorEJB_be5y1v_EOImpl.testEJBSer
    ce(SampleConnectorEJB_be5y1v_EOImpl.java:98)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.bizwave.fc.utils.ClassUtils.invokeEJBMethod(ClassUtils.java:109
    at com.bizwave.infra.fjet.engine.EJBServiceStepMgr.executeService(EJBS
    viceStepMgr.java:91)

    Hi,
    I am attaching a test case. This test case actually demonstrates a security bug.
    Unzip the file and modify the StartWeblogic.cmd in domainA to not refer to the
    SampleRemoteEJB.jar in the classpath. If u run the test client under the client
    dir u will see a NoSuchMethodException.
    The reason is it is not able to load the dynamically generated stub file.
    Initially I had the getMethod and it didn't work. You might have to modify the
    files to suit ur env. The easier way is to run th edomain wizard and create 2
    domains. Run the servers in development mode and place the jars under the applications
    dir
    Thanks
    Rajesh Mirchandani <[email protected]> wrote:
    Do you have any old EJB classes in your classpath? Did you recompile
    your EJBs if you
    upgraded from a old release or a Service pack?
    Bob Lee wrote:
    Hmmmm. That's an interesting problem.
    Why is it giving you a NoSuchMethodException instead of a
    ClassNotFoundException?
    Can you post the code from SampleConctorEJB.java, line 181?
    Try changing your call to getDeclaredMethod() to getMethod().
    getDeclaredMethod() searches only the class you called it on, whereas
    getMethod() traverses to the superclasses and interfaces. You onlyneed
    getDeclaredMethod() when you're accessing a nonpublic method.
    Not sure if this will help, but it's worth a shot.
    Bob
    Vasu wrote:
    Hi ,
    I have an EJB A which is already deployed when the server starts.
    A second ejb
    B is deployed at a later time.
    EJB A calls methods in EJB B. I use reflection in EJB A to call methodsin EJB
    B.
    I get a NoSuchMethodException when I call the create method in theHome object
    of EJB B. If I add the ejb jar file to the classpath before the serverstarts
    then it is able to resolve the method.
    The problem is the EJBs which are called from EJB A is not knownbefore the server
    is started. New EJBs can be deployed at runtime and EJB A shouldbe able call
    the methods in newly deployed EJB's.
    I also use the URLClassLoader to load all the classes in the jarfile of the newly
    deployed EJB in EJB A and it still gives a NoSuchMethodExceptionbecause it cannot
    resolve the stub class.
    My error log is shown below.
    This is an urgent issue.
    Thanks
    SampleConnector::testEJBService called
    In Key : P1 Value : Input2
    In Key : P3 Value : Input1
    In Key : P2 Value : SomeConst
    Loaded Class = com.bizwave.samples.rejb.SampleRemote
    Loaded Class = com.bizwave.samples.rejb.SampleRemoteEJB
    Loaded Class = com.bizwave.samples.rejb.SampleRemoteEJB_svq1df_EOImpl
    Loaded Class = com.bizwave.samples.rejb.SampleRemoteEJB_svq1df_HomeImpl
    Loaded Class = com.bizwave.samples.rejb.SampleRemoteEJB_svq1df_Impl
    Loaded Class = com.bizwave.samples.rejb.SampleRemoteHome
    java.lang.NoSuchMethodException
    at java.lang.Class.getMethod0(Native Method)
    at java.lang.Class.getDeclaredMethod(Class.java:1151)
    at com.bizwave.samples.ejb.SampleConnectorEJB.testEJBService(SampleCon
    ctorEJB.java:181)
    at com.bizwave.samples.ejb.SampleConnectorEJB_be5y1v_EOImpl.testEJBSer
    ce(SampleConnectorEJB_be5y1v_EOImpl.java:98)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.bizwave.fc.utils.ClassUtils.invokeEJBMethod(ClassUtils.java:109
    at com.bizwave.infra.fjet.engine.EJBServiceStepMgr.executeService(EJBS
    viceStepMgr.java:91)
    Rajesh Mirchandani
    Developer Relations Engineer
    BEA Support
    [user_projects.zip]

  • Deploying EJBs [b]not[/b] in an EAR

    Is it possible to deploy EJBs in 9.0.3 without the EJB jars belonging to an EAR? It looks like the deployment tools can handle deploying EARs and WARs only. The reason I ask is that I'm looking into porting a large component based EJB/web service application that currently runs in JBoss. Under JBoss, the EJBs are deployed in jars and the web services in WARs. Shared classes are deployed into the lib directory. I realize this is non-standard, but it facilitates development and administration since individual components (EJBs) can be added or redeployed without redeploying the whole EAR. Our business model is to build solutions (application) out of components and it would be somewhat painful to have to create and maintain very large EAR files for each solution.

    Hi Jeff,
    I believe the recommended way to do this in OC4J is to build a hierarchy of parent (and child) applications. Make an EAR (i.e. application) that only contains EJBs, and make it the parent application of your web services application. You can find more details in the documentation.
    Good Luck,
    Avi.

  • Unable to see Deployed EJB's in console

    I'm having problems seeing my deployed EJB's and servlets on the
    console. I'm running WL6.1 SP1.
    My ejbs and servlets are in one jar file. This jar file is in
    d:/javelin/deployment directory and not in the
    bea/wlserver6.0/config/investia/applications directory.
    Anyone have any idea on how I can fix this?
    Below is my config.xml file.
    Thanks,
    Ruben
    <!--If your domain is active, please do not edit the config.xml
    file. Any changes made to that file while the domain is active will
    not have any effect on the domain's configuration and are likely to be
    lost. If your domain is inactive, you may edit this file with an XML
    editor. If you do so, please refer to the configuration DTD. In
    general, we recommend that changes to your configuration file be made
    through the Administration Console.-->
    <Domain
    Name="investia"
    >
    <ApplicationManager
    Name="investia"
    />
    <Application
    Deployed="true"
    Name="console"
    Path="./config/investia/applications"
    >
    <WebAppComponent
    Name="console"
    Targets="javelin"
    URI="console.war"
    />
    </Application>
    <Application
    Deployed="true"
    Name="certificate"
    Path="./config/investia/applications"
    >
    <WebAppComponent
    Name="certificate"
    Targets="javelin"
    URI="certificate.war"
    />
    </Application>
    <Security
    GuestDisabled="false"
    Name="investia"
    PasswordPolicy="mypasswordpolicy"
    Realm="myRealm"
    />
    <Application
    Name="javelin.jar"
    Path="d:/javelin/deployment"
    >
    <EJBComponent
    Name="javelin.jar"
    Targets="javelin"
    URI="javelin.jar"
    />
    </Application>
    <JTA
    Name="investia"
    />
    <JDBCConnectionPool
    CapacityIncrement="1"
    DriverName="oracle.jdbc.driver.OracleDriver"
    InitialCapacity="1"
    MaxCapacity="20"
    Name="ejbPool"
    Properties="user=javelin;password=javelin;dll=ocijdbc8;server=devo_brutus;protocol=oci8"
    Targets="javelin"
    URL="jdbc:oracle:oci8:"
    />
    <Log
    FileName="investia.log"
    Name="investia"
    />
    <Realm
    FileRealm="myFileRealm"
    Name="myRealm"
    />
    <FileRealm
    Name="myFileRealm"
    />
    <PasswordPolicy
    LockoutEnabled="false"
    MinimumPasswordLength="8"
    Name="mypasswordpolicy"
    />
    <JMSServer
    Name="JMSServer-0"
    />
    <Application
    Name="bob.jar"
    Path="d:/javelin/deployment"
    >
    <EJBComponent
    Name="bob.jar"
    Targets="javelin"
    URI="bob.jar"
    />
    </Application>
    <Application
    Deployed="true"
    Name="DefaultWebApp_javelin-1"
    Path="./config/investia/applications"
    >
    <WebAppComponent
    Name="DefaultWebApp_javelin"
    Targets="javelin"
    URI="DefaultWebApp_javelin"
    />
    </Application>
    <Server
    HelpPageURL="/weblogic/javelin/public_html/docs51/adminhelp/"
    HttpdEnabled="true"
    IdlePeriodsUntilTimeout="65534"
    JDBCLogFileName="jdbc.log"
    JDBCLoggingEnabled="false"
    Name="javelin"
    NativeIOEnabled="true"
    PeriodLength="6000000"
    StdoutEnabled="true"
    SystemPassword="password"
    ThreadPoolSize="25"
    ZACEnabled="true"
    ListenPort="11199"
    StdoutSeverityLevel="64"
    >
    <SSL
    CertificateCacheSize="3"
    Enabled="false"
    ListenPort="7002"
    Name="javelin"
    ServerCertificateChainFileName="config/investia/ca.pem"
    ServerCertificateFileName="config/investia/democert.pem"
    ServerKeyFileName="config/investia/demokey.pem"
    />
    <ServerDebug
    Name="javelin"
    />
    <KernelDebug
    Name="javelin"
    />
    <Log
    FileMinSize="4096"
    FileName="javelin.log"
    Name="javelin"
    />
    <WebServer
    DefaultWebApp="DefaultWebApp_javelin"
    HttpsKeepAliveSecs="120"
    KeepAliveSecs="60"
    LogFileName="access.log"
    LoggingEnabled="false"
    Name="javelin"
    Targets="javelin"
    />
    </Server>
    </Domain>

    An added note:  In looking into other similar posts, I see instructions to "trash the file: com.apple.finder.plist" in User Library/Preferences.  I was going to try that, and reload my preferences, but I do not have that file.

  • Deployed EJB Not Bound

    I deplyed a simple EJB on S17AS. The server.log tells me it is deployed successful.
    CORE3282: stdout: ejbCreate() on obj samples.jdbc.simple.ejb.GreeterDBBean@1017ca1
    CORE3282: stdout: ejbCreate() on obj samples.jdbc.simple.ejb.GreeterDBBean@9d5793
    LDR5010: All ejb(s) of [simpleEjb] loaded successfully!
    The relevant simpleEjb.jar_verified.txt is as follows
         Test Name : tests.ejb.ias.ASEjbJndiName
         Test Assertion :
         Test Description : PASSED [AS-EJB ejb] : jndi-name is simpleHome
    However, the server log did not indicate the EJB is bound even if I set the log level to finest.
    Therefore when I tried to access it, I get the following error
    Exception in thread "main" javax.naming.NameNotFoundException: No object bound f
    or java:comp/env/ejb/simpleHome
    at com.sun.enterprise.naming.java.javaURLContext.lookup(javaURLContext.j
    ava:116)
    at javax.naming.InitialContext.lookup(InitialContext.java:347)
    at HelloClient.main(HelloClient.java:61)
    The client code is as follows
    String JNDIName = "java:comp/env/ejb/simpleHome";
    myGreeterDBHome = (GreeterDBHome) javax.rmi.PortableRemoteObject.narrow(
                   initContext.lookup(JNDIName), GreeterDBHome.class);
    The sun-ejb-jar.xml is as follows
    <?xml version="1.0" encoding="UTF-8"?>
    <!--
    Copyright 2002 Sun Microsystems, Inc. All rights reserved.
    -->
    <!DOCTYPE sun-ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Sun ONE Application Server 7.0 EJB 2.0//EN' 'http://www.sun.com/software/sunone/appserver/dtds/sun-ejb-jar_2_0-0.dtd'>
    <sun-ejb-jar>
    <enterprise-beans>
    <name>simpleEjb.jar</name>
    <ejb>
    <ejb-name>simpleEJB</ejb-name>
    <jndi-name>simpleHome</jndi-name>
    <is-read-only-bean>false</is-read-only-bean>
                   <bean-pool>
                        <steady-pool-size>2</steady-pool-size>
                        <resize-quantity>5</resize-quantity>
                        <max-pool-size>20</max-pool-size>
                        <pool-idle-timeout-in-seconds>3600</pool-idle-timeout-in-seconds>
                   </bean-pool>
    </ejb>
    </enterprise-beans>
    </sun-ejb-jar>
    I tried to use lookup for both "java:comp/env/ejb/simpleHome" and "java:comp/env/simpleHome". None succeed.
    Does anyone know why the ejb is deployed successful but not bound?
    Sha

    Hi, Parsuram,
    I did restart the server and the error is the same.
    Here is the sample code. I did not change them. Only the names in deployment descriptors are modified.
    Below is the info.
    *************************Remote Interface
    Copyright � 2002 Sun Microsystems, Inc. All rights reserved.
    package samples.jdbc.simple.ejb;
    * Remote interface for the GreeterDBEJB. The remote interface defines all possible
    * business methods for the bean. These are the methods going to be invoked remotely
    * by the servlets, once they have a reference to the remote interface.
    * Servlets generally take the help of JNDI to lookup the bean's home interface and
    * then use the home interface to obtain references to the bean's remote interface.
    public interface GreeterDB extends javax.ejb.EJBObject {
    * Returns the greeting String such as "Good morning, John"
         * @return the greeting String
    public String getGreeting() throws java.rmi.RemoteException;
    *************************Home Interface
    Copyright � 2002 Sun Microsystems, Inc. All rights reserved.
    package samples.jdbc.simple.ejb;
    * Home interface for the GreeterDB EJB. Clients generally use home interface
    * to obtain references to the bean's remote interface.
    public interface GreeterDBHome extends javax.ejb.EJBHome {
    * Gets a reference to the remote interface to the GreeterDBBean.
         * @exception throws CreateException and RemoteException.
    public GreeterDB create() throws java.rmi.RemoteException, javax.ejb.CreateException;
    *************************Bean Class
    Copyright � 2002 Sun Microsystems, Inc. All rights reserved.
    package samples.jdbc.simple.ejb;
    import java.util.*;
    import java.io.*;
    * A simple stateless session bean which generates the greeting string for jdbc-simple
    * application. This bean implements the business method as declared by the remote interface.
    public class GreeterDBBean implements javax.ejb.SessionBean {
    private javax.ejb.SessionContext m_ctx = null;
    * Sets the session context. Required by EJB spec.
         * @param ctx A SessionContext object.
    public void setSessionContext(javax.ejb.SessionContext ctx) {
    m_ctx = ctx;
    * Creates a bean. Required by EJB spec.
    public void ejbCreate() {
    System.out.println("ejbCreate() on obj " + this);
    * Removes a bean. Required by EJB spec.
    public void ejbRemove() {
    System.out.println("ejbRemove() on obj " + this);
    * Loads the state of the bean from secondary storage. Required by EJB spec.
    public void ejbActivate() {
    System.out.println("ejbActivate() on obj " + this);
    * Keeps the state of the bean to secondary storage. Required by EJB spec.
    public void ejbPassivate() {
    System.out.println("ejbPassivate() on obj " + this);
    * Required by EJB spec.
    public void GreeterDBBean() {
    * Returns the Greeting String based on the time
    * @return the Greeting String.
    public String getGreeting() throws java.rmi.RemoteException {
    System.out.println("GreeterDB EJB is determining message...");
    String message = null;
    Calendar calendar = new GregorianCalendar();
    int currentHour = calendar.get(Calendar.HOUR_OF_DAY);
    if(currentHour < 12) message = "morning";
    else {
    if( (currentHour >= 12) &&
    (calendar.get(Calendar.HOUR_OF_DAY) < 18)) message = "afternoon";
    else message = "evening";
    System.out.println("- Message determined successfully");
    return message;
    ************************ejb-jar.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!--
    Copyright 2002 Sun Microsystems, Inc. All rights reserved.
    -->
    <!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN' 'http://java.sun.com/dtd/ejb-jar_2_0.dtd'>
    <ejb-jar>
    <enterprise-beans>
    <session>
    <display-name>simple</display-name>
    <ejb-name>simpleEJB</ejb-name>
    <home>samples.jdbc.simple.ejb.GreeterDBHome</home>
    <remote>samples.jdbc.simple.ejb.GreeterDB</remote>
    <ejb-class>samples.jdbc.simple.ejb.GreeterDBBean</ejb-class>
    <session-type>Stateless</session-type>
    <transaction-type>Bean</transaction-type>
    </session>
    </enterprise-beans>
    </ejb-jar>
    ************************sun-ejb-jar.xml
    <sun-ejb-jar>
    <enterprise-beans>
    <name>simpleEjb.jar</name>
    <ejb>
    <ejb-name>simpleEJB</ejb-name>
    <jndi-name>ejb/simpleHome</jndi-name>
    <is-read-only-bean>false</is-read-only-bean>
                   <bean-pool>
                        <steady-pool-size>2</steady-pool-size>
                        <resize-quantity>5</resize-quantity>
                        <max-pool-size>20</max-pool-size>
                        <pool-idle-timeout-in-seconds>3600</pool-idle-timeout-in-seconds>
                   </bean-pool>
    </ejb>
    </enterprise-beans>
    </sun-ejb-jar>
    ************************Assemble Info
    C:\Sun\AppServer7\samples\jdbc\simple\assemble\jar>jar cvf simpleEjb.jar *
    added manifest
    ignoring entry META-INF/
    adding: META-INF/ejb-jar.xml(in = 710) (out= 350)(deflated 50%)
    adding: META-INF/sun-ejb-jar.xml(in = 803) (out= 424)(deflated 47%)
    adding: samples/(in = 0) (out= 0)(stored 0%)
    adding: samples/jdbc/(in = 0) (out= 0)(stored 0%)
    adding: samples/jdbc/simple/(in = 0) (out= 0)(stored 0%)
    adding: samples/jdbc/simple/ejb/(in = 0) (out= 0)(stored 0%)
    adding: samples/jdbc/simple/ejb/GreeterDB.class(in = 210) (out= 168)(deflated 20%)
    adding: samples/jdbc/simple/ejb/GreeterDBBean.class(in = 1441) (out= 734)(deflated 49%)
    adding: samples/jdbc/simple/ejb/GreeterDBHome.class(in = 257) (out= 177)(deflated 31%)
    C:\Sun\AppServer7\samples\jdbc\simple\assemble\jar>jar tf simpleEJB.jar
    META-INF/
    META-INF/MANIFEST.MF
    META-INF/ejb-jar.xml
    META-INF/sun-ejb-jar.xml
    samples/
    samples/jdbc/
    samples/jdbc/simple/
    samples/jdbc/simple/ejb/
    samples/jdbc/simple/ejb/GreeterDB.class
    samples/jdbc/simple/ejb/GreeterDBBean.class
    samples/jdbc/simple/ejb/GreeterDBHome.class
    ******************************** Deployment Info
    server1: Applications: EJB Modules: simpleEjb
    EJB Module Name: simpleEjb
    Location: C:\Sun\AppServer7\domains\domain1\server1\applications\j2ee-modules\simpleEjb_1
    ******************************** simplEJB.jar_verified.txt
    STATIC VERIFICATION RESULTS
         NUMBER OF FAILURES/WARNINGS/ERRORS
         # of Failures : 0
    # of Warnings : 1
         # of Errors : 0
         Test Name : tests.ejb.ias.ASEjbJndiName
         Test Assertion :
         Test Description : PASSED [AS-EJB ejb] : jndi-name is ejb/simpleHome
         WARNINGS :
         Test Name : tests.ejb.businessmethod.BusinessMethodException
         Test Assertion : Enterprise bean business method throws RemoteException test
         Test Description : For [ module_simpleEjb#simpleEjb#simpleEJB ]
    For EJB Class [ samples.jdbc.simple.ejb.GreeterDBBean ] business method [ getGreeting ]
    Error: Compatibility Note: A public business method [ getGreeting ] was found, but EJB 1.0 allowed the business methods to throw the java.rmi.RemoteException to indicate a non-application exception. This practice is deprecated in EJB 1.1 ---an EJB 1.1 compliant enterprise bean should throw the javax.ejb.EJBException or another RuntimeException to indicate non-application exceptions to the Container.
    *********************** server log (no binding info)
    [05/Jan/2003:17:07:19] FINE ( 1760): [EJBClassPathUtils] EJB Class Path for [simpleEjb] is ...
    [C:\Sun\AppServer7\domains\domain1\server1\applications\j2ee-modules\simpleEjb_1, C:\Sun\AppServer7\domains\domain1\server1\generated\ejb\j2ee-modules\simpleEjb]
    [05/Jan/2003:17:07:20] FINE ( 1760): Loading StatelessSessionContainer...
    [05/Jan/2003:17:07:20] FINE ( 1760): [BaseContainer] Registered EJB [simpleEJB] with MBeanServer under name [ias:instance-name=server1,mclass=stateless-session-bean,name=simpleEJB,root=root,standalone-ejb-module=simpleEjb,type=monitor]
    [05/Jan/2003:17:07:20] FINE ( 1760): main: name = "samples.jdbc.simple.ejb._GreeterDBBean_RemoteHomeImpl_Tie", codebase = ""
    [05/Jan/2003:17:07:20] FINE ( 1760): main: name = "samples.jdbc.simple.ejb._GreeterDBHome_Stub", codebase = ""
    [05/Jan/2003:17:07:20] FINE ( 1760): main: name = "samples.jdbc.simple.ejb._GreeterDBHome_Stub", codebase = ""
    [05/Jan/2003:17:07:20] FINE ( 1760): main: name = "samples.jdbc.simple.ejb._GreeterDBBean_EJBObjectImpl_Tie", codebase = ""
    [05/Jan/2003:17:07:20] FINE ( 1760): main: name = "samples.jdbc.simple.ejb._GreeterDB_Stub", codebase = ""
    [05/Jan/2003:17:07:20] FINE ( 1760): [Pool-ejb/simpleHome]: Added PoolResizeTimerTask...
    [05/Jan/2003:17:07:20] FINE ( 1760): Created container with uinque id: 68275827784351744
    [05/Jan/2003:17:07:20] FINE ( 1760): Application deployment successful : com.sun.ejb.containers.StatelessSessionContainer@1083717
    [05/Jan/2003:17:07:20] INFO ( 1760): LDR5010: All ejb(s) of [simpleEjb] loaded successfully!
    [05/Jan/2003:17:07:22] FINE ( 1760): Started 48 request processing threads
    [05/Jan/2003:17:07:22] INFO ( 1760): CORE3274: successful server startup
    [05/Jan/2003:17:07:22] FINE ( 1760): The server is now ready to process requests
    [05/Jan/2003:17:07:22] INFO ( 1760): CORE3282: stdout: ejbCreate() on obj samples.jdbc.simple.ejb.GreeterDBBean@10613aa
    [05/Jan/2003:17:07:22] INFO ( 1760): CORE3282: stdout: ejbCreate() on obj samples.jdbc.simple.ejb.GreeterDBBean@1f52460
    [05/Jan/2003:17:07:22] INFO ( 1760): CORE5053: Application onReady complete.
    *********************** Client class
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    import java.util.Properties;
    import java.util.Hashtable;
    import javax.ejb.*;
    import java.sql.*;
    import javax.sql.*;
    import samples.jdbc.simple.ejb.*;
    public class HelloClient {
         public static void main(String[] args) throws Exception {
    javax.ejb.Handle beanHandle;
    GreeterDBHome myGreeterDBHome;
    GreeterDB myGreeterDBRemote;
    InitialContext initContext = null;
    Hashtable env = new java.util.Hashtable(1);
    initContext = getContextInfo();
    String JNDIName = "java:comp/env/ejb/simpleHome";
    System.out.println("- Looking up: " + JNDIName);
    myGreeterDBHome = (GreeterDBHome) javax.rmi.PortableRemoteObject.narrow(initContext.lookup(JNDIName), GreeterDBHome.class);
    myGreeterDBRemote = myGreeterDBHome.create();
              String theMessage = myGreeterDBRemote.getGreeting();
    myGreeterDBRemote.remove();
         public static InitialContext getContextInfo() {
         InitialContext ctx = null;
         String url = "iiop://1st:3700";
         String fac = "com.sun.enterprise.naming.SerialInitContextFactory";
    try {
         Properties props = new Properties();
         props.put(Context.INITIAL_CONTEXT_FACTORY, fac);
         props.put(Context.PROVIDER_URL, url);
              ctx = new InitialContext(props);
         catch (NamingException ne){
    System.out.println("We were unable to get a connection to " +
    " the application server at " + url);
    ne.printStackTrace();
    return ctx;
    *********************** Running Client from command line
    C:\Sun\AppServer7\samples\jdbc\simple\assemble\jar>java HelloClient
    - Looking up: java:comp/env/ejb/simpleHome
    Exception in thread "main" javax.naming.NameNotFoundException: No object bound for java:comp/env/ejb/simpleHome
    at com.sun.enterprise.naming.java.javaURLContext.lookup(javaURLContext.java:116)
    at javax.naming.InitialContext.lookup(InitialContext.java:347)
    at HelloClient.main(HelloClient.java:34)

  • Weblogic 6.0 have any deploy ejb tools or consoles?

    In weblogic 5.1, the deploy tool can set the ejb properties and attributes
    including datasource, transation ect.,
    but the weblogic 6.0's console only can deploy ejb and can't set the ejb's
    properties.
    Is there any console or tools to set the ejb's properties in weblogic 6.0?

    coming in 61. Download and try the beta from
    http://commerce.bea.com/downloads/weblogic_server.jsp
    Viresh Garg
    BEA Systems
    Alex wrote:
    In weblogic 5.1, the deploy tool can set the ejb properties and attributes
    including datasource, transation ect.,
    but the weblogic 6.0's console only can deploy ejb and can't set the ejb's
    properties.
    Is there any console or tools to set the ejb's properties in weblogic 6.0?

  • Error deploying ejb on wl8.1sp2: trace not help

    Greetings,
    I'm deploying my EAR with my EJB on weblogic 8.1sp2, and I'm getting
    this error that isn't very helpful.
    There is any hint about the cause for this error, and the application
    runs fine in JBOSS 3.2. I'm just building the descriptors (with xdoclet)
    for weblogic.
    What is the problem?
    thanks,
    Pedro Salazar
    trace error:
    weblogic.management.ApplicationException:
    Exception:weblogic.management.ApplicationException: prepare failed for
    AccessEJB.jar
    Module: AccessEJB.jar Error: Exception preparing module:
    EJBModule(AccessEJB.jar,status=NEW)
    Unable to deploy EJB: AccessEJB.jar from AccessEJB.jar:
    Compiler failed executable.exec
    at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:274)
    at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476)
    at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:407)
    at weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDeployer.java:493)
    at weblogic.ejb20.deployer.EJBDeployer.compileJar(EJBDeployer.java:763)
    at
    weblogic.ejb20.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:701)
    at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1277)
    at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:477)
    at
    weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2962)
    at
    weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1534)
    at
    weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1188)
    at
    weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1031)
    at
    weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2602)
    at
    weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2552)
    at
    weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2474)
    at
    weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
    at
    weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
    at
    weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
    at
    weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    java.io.IOException: Compiler failed executable.exec
    at
    weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:470)
    at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:329)
    at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:337)
    at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:270)
    at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476)
    at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:407)
    at weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDeployer.java:493)
    at weblogic.ejb20.deployer.EJBDeployer.compileJar(EJBDeployer.java:763)
    at
    weblogic.ejb20.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:701)
    at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1277)
    at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:477)
    at
    weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2962)
    at
    weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1534)
    at
    weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1188)
    at
    weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1031)
    at
    weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2602)
    at
    weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2552)
    at
    weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2474)
    at
    weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
    at
    weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
    at
    weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
    at
    weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    at
    weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2556)
    at
    weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2474)
    at
    weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
    at
    weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
    at
    weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
    at
    weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    --------------- nested within: ------------------
    weblogic.management.ManagementException: - with nested exception:
    [weblogic.management.ApplicationException:
    Exception:weblogic.management.ApplicationException: prepare failed for
    AccessEJB.jar
    Module: AccessEJB.jar Error: Exception preparing module:
    EJBModule(AccessEJB.jar,status=NEW)
    Unable to deploy EJB: AccessEJB.jar from AccessEJB.jar:
    Compiler failed executable.exec
    at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:274)
    at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476)
    at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:407)
    at weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDeployer.java:493)
    at weblogic.ejb20.deployer.EJBDeployer.compileJar(EJBDeployer.java:763)
    at
    weblogic.ejb20.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:701)
    at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1277)
    at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:477)
    at
    weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2962)
    at
    weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1534)
    at
    weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1188)
    at
    weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1031)
    at
    weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2602)
    at
    weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2552)
    at
    weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2474)
    at
    weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
    at
    weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
    at
    weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
    at
    weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    java.io.IOException: Compiler failed executable.exec
    at
    weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:470)
    at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:329)
    at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:337)
    at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:270)
    at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476)
    at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:407)
    at weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDeployer.java:493)
    at weblogic.ejb20.deployer.EJBDeployer.compileJar(EJBDeployer.java:763)
    at
    weblogic.ejb20.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:701)
    at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1277)
    at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:477)
    at
    weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2962)
    at
    weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1534)
    at
    weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1188)
    at
    weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1031)
    at
    weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2602)
    at
    weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2552)
    at
    weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2474)
    at
    weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
    at
    weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
    at
    weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
    at
    weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    at
    weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2491)
    at
    weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
    at
    weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
    at
    weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
    at
    weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    No Exception Messages

    Typically this means that javac is not in your server's path.
    There's two possible solutions:
    1) add javac to your server's path
    or
    2) run java weblogic.appc <ear/jar file> before deploying
    I typically recommend #2 since it catches many errors before deployment.
    -- Rob
    Pedro Salazar wrote:
    Greetings,
    I'm deploying my EAR with my EJB on weblogic 8.1sp2, and I'm getting
    this error that isn't very helpful.
    There is any hint about the cause for this error, and the application
    runs fine in JBOSS 3.2. I'm just building the descriptors (with xdoclet)
    for weblogic.
    What is the problem?
    thanks,
    Pedro Salazar
    trace error:
    weblogic.management.ApplicationException:
    Exception:weblogic.management.ApplicationException: prepare failed for
    AccessEJB.jar
    Module: AccessEJB.jar Error: Exception preparing module:
    EJBModule(AccessEJB.jar,status=NEW)
    Unable to deploy EJB: AccessEJB.jar from AccessEJB.jar:
    Compiler failed executable.exec
    at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:274)
    at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476)
    at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:407)
    at weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDeployer.java:493)
    at weblogic.ejb20.deployer.EJBDeployer.compileJar(EJBDeployer.java:763)
    at
    weblogic.ejb20.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:701)
    at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1277)
    at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:477)
    at
    weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2962)
    at
    weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1534)
    at
    weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1188)
    at
    weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1031)
    at
    weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2602)
    at
    weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2552)
    at
    weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2474)
    at
    weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
    at
    weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
    at
    weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
    at
    weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    java.io.IOException: Compiler failed executable.exec
    at
    weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:470)
    at
    weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:329)
    at
    weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:337)
    at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:270)
    at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476)
    at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:407)
    at weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDeployer.java:493)
    at weblogic.ejb20.deployer.EJBDeployer.compileJar(EJBDeployer.java:763)
    at
    weblogic.ejb20.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:701)
    at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1277)
    at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:477)
    at
    weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2962)
    at
    weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1534)
    at
    weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1188)
    at
    weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1031)
    at
    weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2602)
    at
    weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2552)
    at
    weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2474)
    at
    weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
    at
    weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
    at
    weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
    at
    weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    at
    weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2556)
    at
    weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2474)
    at
    weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
    at
    weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
    at
    weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
    at
    weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    --------------- nested within: ------------------
    weblogic.management.ManagementException: - with nested exception:
    [weblogic.management.ApplicationException:
    Exception:weblogic.management.ApplicationException: prepare failed for
    AccessEJB.jar
    Module: AccessEJB.jar Error: Exception preparing module:
    EJBModule(AccessEJB.jar,status=NEW)
    Unable to deploy EJB: AccessEJB.jar from AccessEJB.jar:
    Compiler failed executable.exec
    at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:274)
    at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476)
    at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:407)
    at weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDeployer.java:493)
    at weblogic.ejb20.deployer.EJBDeployer.compileJar(EJBDeployer.java:763)
    at
    weblogic.ejb20.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:701)
    at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1277)
    at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:477)
    at
    weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2962)
    at
    weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1534)
    at
    weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1188)
    at
    weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1031)
    at
    weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2602)
    at
    weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2552)
    at
    weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2474)
    at
    weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
    at
    weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
    at
    weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
    at
    weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    java.io.IOException: Compiler failed executable.exec
    at
    weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:470)
    at
    weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:329)
    at
    weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:337)
    at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:270)
    at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476)
    at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:407)
    at weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDeployer.java:493)
    at weblogic.ejb20.deployer.EJBDeployer.compileJar(EJBDeployer.java:763)
    at
    weblogic.ejb20.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:701)
    at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1277)
    at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:477)
    at
    weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2962)
    at
    weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1534)
    at
    weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1188)
    at
    weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1031)
    at
    weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2602)
    at
    weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2552)
    at
    weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2474)
    at
    weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
    at
    weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
    at
    weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
    at
    weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    at
    weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2491)
    at
    weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
    at
    weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
    at
    weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
    at
    weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    No Exception Messages

  • Error while deploying WC application: Unable to deploy EJB

    Hi All,
    we are getting the below error quite frequently, whenever we deploy the application to server:
    [03:35:14 AM] Weblogic Server Exception: weblogic.application.ModuleException: Exception preparing module: EJBModule(CAWrapperEJB.jar)
    Unable to deploy EJB: CAService from CAWrapperEJB.jar:
    [EJB:011055]Error deploying the EJB 'CAService(Application: CAPortal, EJBComponent: CAWrapperEJB.jar)', the JNDI name 'CAPortal-CAPModel-CAService2#com.lexisnexis.service.CAService' is already in use. You must set a different JNDI name in the weblogic-ejb-jar.xml deployment descriptor or corresponding annotation for this EJB before it can be deployed.
    [03:35:14 AM] Caused by: java.lang.Throwable: Substituted for missing class [EJB - 11055]Error deploying the EJB 'CAService(Application: CAPortal, EJBComponent: CAWrapperEJB.jar)', the JNDI name 'CAPortal-CAPModel-CAService2#com.lexisnexis.service.CAnService' is already in use. You must set a different JNDI name in the weblogic-ejb-jar.xml deployment descriptor or corresponding annotation for this EJB before it can be deployed.
    [03:35:14 AM] See server logs or server console for more details.
    -to solve this issue we just delete the cache and restart the Managed server.
    Please tell me what is the cause of this error and how can we fix it permanently, as restarting the server everytime is not very convenient.
    TIA,
    Bob

    The content of "weblogic-ejb-jar.xml" present in code is:
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <weblogic-ejb-jar xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-ejb-jar http://www.bea.com/ns/weblogic/weblogic-ejb-jar/1.0/weblogic-ejb-jar.xsd"
    xmlns="http://www.bea.com/ns/weblogic/weblogic-ejb-jar">
    </weblogic-ejb-jar>

  • Fail to Deploy EJB to JServer in JDeveloper3.0

    I had a trouble to deploy the EJBHotel example.
    My env is Oracle8i in NT with JDeveloper3.0.
    All IIOP & JDBC connection is fine. The user
    had JAVAUSERPRIV and even JAVASYSPRIV.
    The test under Published JServer Objects
    has Public Read, Write and Execute Permission.
    However I got the following message when I
    deploy from JDeveloper (both JDK1.2 and JDK1.1).
    Can someone give me direction to figure out
    what privilege it needed?
    Thank you very much.
    *** Executing deployment profile D:\Download\OneEJBHotelSample\oneEJBHotel\HotelSystem1.prf ***
    *** Generating archive file D:\Download\OneEJBHotelSample\oneEJBHotel\HotelSystem.jar ***
    Compiling the project...done
    Validating the profile...done
    Initializing deployment...done
    Scanning project files...done
    Generating classpath dependencies...done
    Generating archive entries table...done
    *** Archive generation completed ***
    *** Deploying the EJB to JServer ***
    EJB deployment argument list:
    "C:\Program Files\Oracle\JDeveloper 3.0\java\bin\javaw"
    "-DPATH=C:\Program Files\Oracle\JDeveloper 3.0\bin;C:\Program Files\Oracle\JDeveloper 3.0\java\bin"
    -classpath
    "C:\Program Files\Oracle\JDeveloper 3.0\java\lib\classes.zip;C:\Program Files\Oracle\JDeveloper 3.0\lib\jdeveloper.zip;D:\Download\Program Files\Oracle\JDeveloper 2.0\myclasses;C:\Program Files\Oracle\JDeveloper 3.0\java1.2\jre\lib\rt.jar;C:\Program Files\Oracle\JDeveloper 3.0\lib\jdev-rt.zip;C:\Program Files\Oracle\JDeveloper 3.0\lib\jbcl2.0.zip;C:\Program Files\Oracle\JDeveloper 3.0\lib\jgl3.1.0.jar;C:\Program Files\Oracle\JDeveloper 3.0\sqlj\lib\runtime.zip;C:\Program Files\Oracle\JDeveloper 3.0\jdbc\lib\oracle8.1.5\classes111.zip;C:\Program Files\Oracle\JDeveloper 3.0\lib\connectionmanager.zip;C:\Program Files\Oracle\JDeveloper 3.0\lib\dacf.zip;C:\Program Files\Oracle\JDeveloper 3.0\infobus\lib\infobus.jar;C:\Program Files\Oracle\JDeveloper 3.0\lib\LW_pfjbean.jar;C:\Program Files\Oracle\JDeveloper 3.0\lib\jbodatum.zip;C:\Program Files\Oracle\JDeveloper 3.0\lib\jbomt.zip;C:\Program Files\Oracle\JDeveloper 3.0\lib\jboremote.zip;C:\Program Files\Oracle\JDeveloper 3.0\lib\jndi.jar;C:\Program Files\Oracle\JDeveloper 3.0\lib\xmlparserv2.jar;C:\Program Files\Oracle\JDeveloper 3.0\lib\javax_ejb.zip;C:\Program Files\Oracle\JDeveloper 3.0\aurora\lib\aurora_client.jar;C:\Program Files\Oracle\JDeveloper 3.0\aurora\lib\vbjorb.jar;C:\Program Files\Oracle\JDeveloper 3.0\aurora\lib\vbjapp.jar;C:\Program Files\Oracle\JDeveloper 3.0\aurora\lib\vbjtools.jar;C:\Program Files\Oracle\JDeveloper 3.0\aurora\lib\vbj30ssl.jar;C:\Program Files\Oracle\JDeveloper 3.0\aurora\lib\aurora_client.jar;C:\Program Files\Oracle\JDeveloper 3.0\aurora\lib\vbjorb.jar;C:\Program Files\Oracle\JDeveloper 3.0\aurora\lib\vbjapp.jar;C:\Program Files\Oracle\JDeveloper 3.0\aurora\lib\vbjtools.jar;C:\Program Files\Oracle\JDeveloper 3.0\aurora\lib\vbj30ssl.jar;C:\Program Files\Oracle\JDeveloper 3.0\jdbc\lib\oracle8.1.5\classes111.zip"
    oracle.aurora.ejb.deployment.GenerateEjb
    -u
    travel
    -p
    travel
    -s
    sess_iiop://localhost:2481:gspc
    -republish
    -keep
    -temp
    TEMP
    -descriptor
    "D:\Download\OneEJBHotelSample\oneEJBHotel\HotelSystem.dd"
    -generated
    "D:\Download\OneEJBHotelSample\oneEJBHotel\HotelSystemGen.jar"
    "D:\Download\OneEJBHotelSample\oneEJBHotel\HotelSystem.jar"
    AppAccelerator(tm) 1.1.8 for Java (JDK 1.1), x86 version.
    Copyright (c) 1997-1998 Borland International. All Rights Reserved.
    Copyright (c) 1997-1999 Oracle Corporation. All Rights Reserved.
    java.lang.UnsatisfiedLinkError: doPrivileged
    at org.omg.CORBA.ORB.getSystemProperty(Compiled Code)
    at
    at oracle.aurora.jndi.orb_dep.IRFinder.initialReferences(Compiled Code)
    at oracle.aurora.jndi.sess_iiop.SessionCtx.initialContext(Compiled Code)
    at oracle.aurora.jndi.sess_iiop.SessionCtx.<init>(Compiled Code)
    at oracle.aurora.jndi.sess_iiop.ServiceCtx.createSession(Compiled Code)
    at oracle.aurora.jndi.sess_iiop.ServiceCtx.login(Compiled Code)
    at oracle.aurora.server.tools.sess_iiop.ToolI mpl.initializeSession(Compiled Code)
    at oracle.aurora.server.tools.sess_iiop.ToolImpl.parseStdArgs(Compiled Code)
    at oracle.aurora.server.tools.sess_iiop.ToolImpl.invoke(Compiled Code)
    at oracle.aurora.ejb.deployment.GenerateEjb.main(Compiled Code)
    *** Errors occurred while deploying the EJB to JServer ***
    *** Deployment completed ***
    null

    I use jbuilder+seblogic 8.1 sp2 to deploy EJB, but
    some errors appear in console as follow:
    Usage: java weblogic.Deployer [options] [actions]
    [File(s)]
    where options include:
    -adminurl <<protocol>://<server>:<port>>
    rt>> Administration server URL:
    default iiop://localhost:7001
    iiop://localhost:7001
    -username <username> user name
    name
    -password <password> password for the user
    user
    -userconfigfile <userconfigfile> The user config
    nfig file contains the
    user security credentials; it
    curity credentials; it is administered
    by the weblogic.Admin tool
    he weblogic.Admin tool
    -userkeyfile <keyConfigFile> The users key file;
    ile; it is administered
    by the weblogic.Admin tool.
    e weblogic.Admin tool.
    -examples Displays example usage of this
    this tool.
    -name <application name> Defaults to the basename
    name of the deployment
    file or directory.
    file or directory.
    -targets <<target(s)>> A comma separated list of
    t of targets for the
    current operation. If not
    rent operation. If not specified, all
    configured targets are used.
    ured targets are used. For a new
    application, the default target
    on, the default target is the
    administration server.
    administration server.
    -deploy Make an application available
    able for service.
    -redeploy Replace a running application
    tion partially or
    entirely.
    entirely.
    entirely.
    -undeploy Take an application out of
    t of service.
    Unrecognized option or flag, -sourcerootforupload
    pls tell me the reason,and how to solve this
    problem,thanksThe message indicates that you haven't passed the correct arguments on command line. Look at this message "Unrecognized option or flag, -sourcerootforupload" in particular.
    I suppose you need to tinker around with JBuilder. Try searching for this problem on Weblogic forum. Someone might have faced this already.

  • How to make jar files availabe for deployed EJBs

    Hi,
    I'm interested on how to make jar files availabe for deployed EJBs.
    My EJB is packed in an ear. It uses a util jar. I now just add the jar to the
    classpath, but I think that shouldn't be the way. Is there somthing in the admin
    console to make jars available or do I have to insert it in the ear file? And
    if so, where do I hve to place it?
    Thanks
    Claudia

    Put the util.jar in the ear with your ejb jars - at the same level (i.e. in
    the root) - but do not include them in the manifest.xml.
    Also each ejb jar that refers to util.jar must have util.jar on its internal
    classpath in the manifest.
    "Claudia" <[email protected]> wrote in message
    news:3d537db5$[email protected]..
    >
    Hi,
    I'm interested on how to make jar files availabe for deployed EJBs.
    My EJB is packed in an ear. It uses a util jar. I now just add the jar tothe
    classpath, but I think that shouldn't be the way. Is there somthing in theadmin
    console to make jars available or do I have to insert it in the ear file?And
    if so, where do I hve to place it?
    Thanks
    Claudia

  • Problem in deploying EJBs (More than 390) in weblogic-BEA says JDK issue!!!

    Our application had 390 EJBs before the current build. It was running fine on Weblogic 6.1-SP4 with JDK 1.3.1_08.
    In the current build, 3 EJBs were introduced and the Weblogic server started giving deployment problems. We then came across the Weblogic Bug stating the magic Number of 390 and delegating it to a SUN Bug. But, contrary to the SUN bug which says of a OutofMemory issue, we were not getting any OutOfMemory error.
    Then, just to test the 390 number, we cut downed on the number of EJBs reducing the number to 388, in a test environment. EJBs got deployed without problem. Then we added 3 EJBs (increasing the EJB count to 391), and Weblogic server started giving Deployment problem in a EJB which was one of the 388 that were running fine earlier.But, now also there was no OutOfMemory error. Then we removed one of the newly added EJBs to bring the EJB count to 390. The Weblogic deployed the EJBs without error(even the one which was giving problem when EJB count was 391).
    So, 390 seems to be the number but, contrary to BEA problem ID: 035884 which delegates the problem to SUN Bug ID:4390238 (Incidentally SUN has closed this bug as Non-reproducable), we are not getting any OutOfMemory error.
    My questions to the JAVA community are:
    1)Is the problem really related to JDK or Weblogic?
    2)If it's a problem with JDK, then what should be done to fix it?
    ==========================================
    A deployment error generated is pasted below:
    ==========================================
    java.lang.reflect.InvocationTargetException: weblogic.management.DistributedManagementException: Distributed Management [1 exceptions]
    at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:559)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:376)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
    at $Proxy14.addDeployment(Unknown Source)
    at weblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBeanImpl.java:1545)
    at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:908)
    at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:847)
    at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:310)
    at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1358)
    at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1333)
    at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:322)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:204)
    at $Proxy11.setTargets(Unknown Source)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.console.info.MBeanAttribute.doSet(MBeanAttribute.java:84)
    at weblogic.management.console.info.MBeanReferenceAttribute.addToArrayAttribute(MBeanReferenceAttribute.java:254)
    at weblogic.management.console.info.MBeanReferenceAttribute.doSet(MBeanReferenceAttribute.java:124)
    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:262)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:198)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2637)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2359)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    Distributed update exception
    - remote object: stellar:Location=primary-server,Name=primary-server,Type=ServerConfig
    - remote server: weblogic.management.internal.RemoteMBeanServerImpl@1d5ebc
    - actionName: addDeployment
    - params: [Ljava.lang.Object;@5f97ae
    - signature: [Ljava.lang.String;@5f28a6
    Distributed update exception
    - remote object: stellar:Location=primary-server,Name=primary-server,Type=ServerConfig
    - remote server: weblogic.management.internal.RemoteMBeanServerImpl@1d5ebc
    Unable to deploy EJB: STTaskPrivilegeLinkEntity from Entities.jar:
    java.lang.ClassNotFoundException: Class bytes found but defineClass() failed with java.lang.ClassFormatError: com/c4/stellar/server/ejbs/entities/STTaskPrivilegeLinkEntity_apfxaw__WebLogic_CMP_RDBMS (Illegal Method name "Exception in 'findBySTTaskEntity_3v8zjr__WebLogic_CMP_RDBMS_taskPrivilegeLinkEntity__WL_' while usi") for com.c4.stellar.server.ejbs.entities.STTaskPrivilegeLinkEntity_apfxaw__WebLogic_CMP_RDBMS
    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:165)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
    at weblogic.ejb20.deployer.BeanInfoImpl.loadClass(BeanInfoImpl.java:307)
    at weblogic.ejb20.deployer.EntityBeanInfoImpl.getGeneratedBeanClass(EntityBeanInfoImpl.java:362)
    at weblogic.ejb20.manager.BaseEntityManager.setup(BaseEntityManager.java:114)
    at weblogic.ejb20.manager.DBManager.setup(DBManager.java:123)
    at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.deploy(ClientDrivenBeanInfoImpl.java:817)
    at weblogic.ejb20.deployer.Deployer.deployDescriptor(Deployer.java:1299)
    at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:1005)
    at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:33)
    at weblogic.j2ee.Application.addComponent(Application.java:174)
    at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:364)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:150)
    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:374)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
    at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:507)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:376)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
    at $Proxy14.addDeployment(Unknown Source)
    at weblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBeanImpl.java:1545)
    at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:908)
    at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:847)
    at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:310)
    at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1358)
    at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1333)
    at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:322)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:204)
    at $Proxy11.setTargets(Unknown Source)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.console.info.MBeanAttribute.doSet(MBeanAttribute.java:84)
    at weblogic.management.console.info.MBeanReferenceAttribute.addToArrayAttribute(MBeanReferenceAttribute.java:254)
    at weblogic.management.console.info.MBeanReferenceAttribute.doSet(MBeanReferenceAttribute.java:124)
    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:262)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:198)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2637)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2359)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    --------------- nested within: ------------------
    weblogic.utils.AssertionError: ***** ASSERTION FAILED ***** - with nested exception:
    [java.lang.ClassNotFoundException: Class bytes found but defineClass() failed with java.lang.ClassFormatError: com/c4/stellar/server/ejbs/entities/STTaskPrivilegeLinkEntity_apfxaw__WebLogic_CMP_RDBMS (Illegal Method name "Exception in 'findBySTTaskEntity_3v8zjr__WebLogic_CMP_RDBMS_taskPrivilegeLinkEntity__WL_' while usi") for com.c4.stellar.server.ejbs.entities.STTaskPrivilegeLinkEntity_apfxaw__WebLogic_CMP_RDBMS]
    at weblogic.ejb20.deployer.EntityBeanInfoImpl.getGeneratedBeanClass(EntityBeanInfoImpl.java:367)
    at weblogic.ejb20.manager.BaseEntityManager.setup(BaseEntityManager.java:114)
    at weblogic.ejb20.manager.DBManager.setup(DBManager.java:123)
    at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.deploy(ClientDrivenBeanInfoImpl.java:817)
    at weblogic.ejb20.deployer.Deployer.deployDescriptor(Deployer.java:1299)
    at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:1005)
    at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:33)
    at weblogic.j2ee.Application.addComponent(Application.java:174)
    at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:364)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:150)
    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:374)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
    at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:507)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:376)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
    at $Proxy14.addDeployment(Unknown Source)
    at weblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBeanImpl.java:1545)
    at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:908)
    at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:847)
    at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:310)
    at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1358)
    at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1333)
    at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:322)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:204)
    at $Proxy11.setTargets(Unknown Source)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.console.info.MBeanAttribute.doSet(MBeanAttribute.java:84)
    at weblogic.management.console.info.MBeanReferenceAttribute.addToArrayAttribute(MBeanReferenceAttribute.java:254)
    at weblogic.management.console.info.MBeanReferenceAttribute.doSet(MBeanReferenceAttribute.java:124)
    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:262)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:198)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2637)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2359)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:1087)
    at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:33)
    at weblogic.j2ee.Application.addComponent(Application.java:174)
    at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:364)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:150)
    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:374)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
    at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:507)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:376)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
    at $Proxy14.addDeployment(Unknown Source)
    at weblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBeanImpl.java:1545)
    at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:908)
    at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:847)
    at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:310)
    at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1358)
    at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1333)
    at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:322)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:204)
    at $Proxy11.setTargets(Unknown Source)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.console.info.MBeanAttribute.doSet(MBeanAttribute.java:84)
    at weblogic.management.console.info.MBeanReferenceAttribute.addToArrayAttribute(MBeanReferenceAttribute.java:254)
    at weblogic.management.console.info.MBeanReferenceAttribute.doSet(MBeanReferenceAttribute.java:124)
    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:262)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:198)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2637)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2359)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    Unable to deploy EJB: STTaskPrivilegeLinkEntity from Entities.jar:
    java.lang.ClassNotFoundException: Class bytes found but defineClass() failed with java.lang.ClassFormatError: com/c4/stellar/server/ejbs/entities/STTaskPrivilegeLinkEntity_apfxaw__WebLogic_CMP_RDBMS (Illegal Method name "Exception in 'findBySTTaskEntity_3v8zjr__WebLogic_CMP_RDBMS_taskPrivilegeLinkEntity__WL_' while usi") for com.c4.stellar.server.ejbs.entities.STTaskPrivilegeLinkEntity_apfxaw__WebLogic_CMP_RDBMS
    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:165)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
    at weblogic.ejb20.deployer.BeanInfoImpl.loadClass(BeanInfoImpl.java:307)
    at weblogic.ejb20.deployer.EntityBeanInfoImpl.getGeneratedBeanClass(EntityBeanInfoImpl.java:362)
    at weblogic.ejb20.manager.BaseEntityManager.setup(BaseEntityManager.java:114)
    at weblogic.ejb20.manager.DBManager.setup(DBManager.java:123)
    at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.deploy(ClientDrivenBeanInfoImpl.java:817)
    at weblogic.ejb20.deployer.Deployer.deployDescriptor(Deployer.java:1299)
    at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:1005)
    at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:33)
    at weblogic.j2ee.Application.addComponent(Application.java:174)
    at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:364)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:150)
    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:374)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
    at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:507)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:376)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
    at $Proxy14.addDeployment(Unknown Source)
    at weblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBeanImpl.java:1545)
    at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:908)
    at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:847)
    at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:310)
    at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1358)
    at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1333)
    at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:322)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:204)
    at $Proxy11.setTargets(Unknown Source)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.console.info.MBeanAttribute.doSet(MBeanAttribute.java:84)
    at weblogic.management.console.info.MBeanReferenceAttribute.addToArrayAttribute(MBeanReferenceAttribute.java:254)
    at weblogic.management.console.info.MBeanReferenceAttribute.doSet(MBeanReferenceAttribute.java:124)
    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:262)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:198)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2637)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2359)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    --------------- nested within: ------------------
    weblogic.utils.AssertionError: ***** ASSERTION FAILED ***** - with nested exception:
    [java.lang.ClassNotFoundException: Class bytes found but defineClass() failed with java.lang.ClassFormatError: com/c4/stellar/server/ejbs/entities/STTaskPrivilegeLinkEntity_apfxaw__WebLogic_CMP_RDBMS (Illegal Method name "Exception in 'findBySTTaskEntity_3v8zjr__WebLogic_CMP_RDBMS_taskPrivilegeLinkEntity__WL_' while usi") for com.c4.stellar.server.ejbs.entities.STTaskPrivilegeLinkEntity_apfxaw__WebLogic_CMP_RDBMS]
    at weblogic.ejb20.deployer.EntityBeanInfoImpl.getGeneratedBeanClass(EntityBeanInfoImpl.java:367)
    at weblogic.ejb20.manager.BaseEntityManager.setup(BaseEntityManager.java:114)
    at weblogic.ejb20.manager.DBManager.setup(DBManager.java:123)
    at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.deploy(ClientDrivenBeanInfoImpl.java:817)
    at weblogic.ejb20.deployer.Deployer.deployDescriptor(Deployer.java:1299)
    at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:1005)
    at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:33)
    at weblogic.j2ee.Application.addComponent(Application.java:174)
    at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:364)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:150)
    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:374)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
    at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:507)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:376)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
    at $Proxy14.addDeployment(Unknown Source)
    at weblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBeanImpl.java:1545)
    at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:908)
    at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:847)
    at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:310)
    at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1358)
    at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1333)
    at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:322)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:204)
    at $Proxy11.setTargets(Unknown Source)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.console.info.MBeanAttribute.doSet(MBeanAttribute.java:84)
    at weblogic.management.console.info.MBeanReferenceAttribute.addToArrayAttribute(MBeanReferenceAttribute.java:254)
    at weblogic.management.console.info.MBeanReferenceAttribute.doSet(MBeanReferenceAttribute.java:124)
    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:262)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:198)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2637)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2359)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    --------------- nested within: ------------------
    weblogic.management.DistributedOperationUpdateException:
    Unable to deploy EJB: STTaskPrivilegeLinkEntity from Entities.jar:
    java.lang.ClassNotFoundException: Class bytes found but defineClass() failed with java.lang.ClassFormatError: com/c4/stellar/server/ejbs/entities/STTaskPrivilegeLinkEntity_apfxaw__WebLogic_CMP_RDBMS (Illegal Method name "Exception in 'findBySTTaskEntity_3v8zjr__WebLogic_CMP_RDBMS_taskPrivilegeLinkEntity__WL_' while usi") for com.c4.stellar.server.ejbs.entities.STTaskPrivilegeLinkEntity_apfxaw__WebLogic_CMP_RDBMS
    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:165)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
    at weblogic.ejb20.deployer.BeanInfoImpl.loadClass(BeanInfoImpl.java:307)
    at weblogic.ejb20.deployer.EntityBeanInfoImpl.getGeneratedBeanClass(EntityBeanInfoImpl.java:362)
    at weblogic.ejb20.manager.BaseEntityManager.setup(BaseEntityManager.java:114)
    at weblogic.ejb20.manager.DBManager.setup(DBManager.java:123)
    at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.deploy(ClientDrivenBeanInfoImpl.java:817)
    at weblogic.ejb20.deployer.Deployer.deployDescriptor(Deployer.java:1299)
    at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:1005)
    at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:33)
    at weblogic.j2ee.Application.addComponent(Application.java:174)
    at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:364)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:150)
    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:374)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
    at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:507)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:376)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
    at $Proxy14.addDeployment(Unknown Source)
    at weblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBeanImpl.java:1545)
    at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:908)
    at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:847)
    at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:310)
    at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1358)
    at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1333)
    at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:322)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:204)
    at $Proxy11.setTargets(Unknown Source)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.console.info.MBeanAttribute.doSet(MBeanAttribute.java:84)
    at weblogic.management.console.info.MBeanReferenceAttribute.addToArrayAttribute(MBeanReferenceAttribute.java:254)
    at weblogic.management.console.info.MB

    So, 390 seems to be the number but, contrary to BEA
    problem ID: 035884 which delegates the problem to SUN
    Bug ID:4390238 (Incidentally SUN has closed this bug
    as Non-reproducable), we are not getting any
    OutOfMemory error.Did you check the server logs? There might be an OutOfMemoryError logged.
    My questions to the JAVA community are:
    1)Is the problem really related to JDK or Weblogic?Apparently, the problem is with the Weblogic. Did you try deploying the same number on some higher version of Weblogic? (7.0 for instance)
    2)If it's a problem with JDK, then what should be
    done to fix it?Check the bug database for the same bug id. There is a workaround posted. The evaluation comments are also hinting at using the suggested VM options.
    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4390238

  • Unable to deploy EJB application

    Hi iam getting the following exception while deploying an EJB application in WebLogic 8.1
    Exception:weblogic.management.ApplicationException: prepare failed for Addition
    Module: Addition Error: Exception preparing module: EJBModule(Addition,status=NEW)
    Unable to deploy EJB: Addition.jar from Addition.jar:
    Compiler failed executable.exec
    at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:274)
    at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:468)
    at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:401)
    at weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDeployer.java:493)
    at weblogic.ejb20.deployer.EJBDeployer.compileJar(EJBDeployer.java:763)
    what might be the reason for this exception ????

    This problem is caused by the way WebLogic calls javac to compile the generated classes for the EJBs deployment. This became a big problem for our project with 50 Entity EJBs 2.0 with CMP/CMR, about 15 EJB-QL statements, 3 MDB and 8 Session EJB. I think that these numbers are limits, so exceeding any of these numbers cause javac to exhaust the memory it allocates by default. Even the WebLogic 8.1.Server's administarion console allows you to supply additional parameters for RMI and EJB compilers, it does not allow to supply the -J-Xmx256M (or more) option needed to increase the memory javac allocates.
    Thus:
    1. In the active $JAVA_HOME/bin of the Server create the file:
    Windows:
    javac1.cmd Containing:
    javac -J-Xmx256M %*
    Linux:
    javac1.sh Containing:
    #!/bin/bash
    javac -J-Xmx256M $*
    make it "executable"
    NOTE: startWeblogic script sets it own JAVA_HOME, so check it first.
    2. In the administraitve console of WebLogic 8.1 Server select the server in the left frame under the
    <Domain> / Servers branch. In the right frame select the General tab.
    3. In the Java Compiler box change javac to javac1.cmd or javac1.sh respectively. No restart is needed.
    This solved our problem.
    I could not find any solution published, hopefully this will help other colleagues.
    Rusi Popov

  • Error deploying EJB on WL 6.0

    Hi,
    I'm trying to deploy an EJB jar file on WL6.0 in a Solaris environment, but I'm
    encoutering the following error. The EJB jar deployed fine on a Windows system,
    but I keep on getting this error on a Solaris machine. Any help/info would be
    appreciated.
    Thanks in advance,
    - Jerome
    <Dec 10, 2001 5:45:09 PM PST> <Info> <Logging> <Only log messages of severity
    "Error" or worse will be displayed in this window. This can be changed at Admin
    Console> hats> Servers> myserver> Logging> General> Stdout severity threshold>
    java.io.IOException: javac: not found
    at java.lang.UNIXProcess.forkAndExec(Native Method)
    at java.lang.UNIXProcess.<init>(UNIXProcess.java:54)
    at java.lang.Runtime.execInternal(Native Method)
    at java.lang.Runtime.exec(Runtime.java:551)
    at java.lang.Runtime.exec(Runtime.java:477)
    at java.lang.Runtime.exec(Runtime.java:443)
    at weblogic.utils.Executable.exec(Executable.java:144)
    at weblogic.utils.Executable.exec(Executable.java:108)
    at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:555)
    at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:372)
    at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:180)
    at weblogic.ejb20.deployer.Deployer.runEJBC(Deployer.java:228)
    at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:799)
    at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:31)
    at weblogic.j2ee.Application.addComponent(Application.java:133)
    at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:115)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:327)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:277)
    at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:232)
    at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:192)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
    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:439)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:180)
    at $Proxy30.updateDeployments(Unknown Source)
    at weblogic.management.configuration.ServerMBean_CachingStub.updateDeployments(ServerMBean_CachingStub.java:2299)
    at weblogic.management.mbeans.custom.ApplicationManager.startConfigManager(ApplicationManager.java:240)
    at weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManager.java:122)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
    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:439)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:180)
    at $Proxy24.start(Unknown Source)
    at weblogic.management.configuration.ApplicationManagerMBean_CachingStub.start(ApplicationManagerMBean_CachingStub.java:435)
    at weblogic.management.Admin.startApplicationManager(Admin.java:1033)
    at weblogic.management.Admin.finish(Admin.java:493)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:429)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:170)
    at weblogic.Server.main(Server.java:35)
    <Dec 10, 2001 5:45:32 PM PST> <Error> <J2EE> <Error deploying EJB Component :
    Shared.jar
    weblogic.ejb20.EJBDeploymentException: EJB Deployment errors:; nested exception
    is:
    Compiler failed executable.exec(java.lang.String[javac, -nowarn, -classpath,
    /opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared:/opt/weblogic6.0/wlserver6.0:/opt/weblogic6.0/wlserver6.0/lib/weblogic_sp.jar:/opt/weblogic6.0/wlserver6.0/lib/weblogic.jar:/usr/java/bin/javac:/opt/weblogic6.0:/home/adserver/current/Library/jce1_2-do.jar:/home/adserver/current/JavaSource:/home/adserver/current/EJBSource:/opt/weblogic6.0/wlserver6.0/./config/hats/applications/.wl_temp_do_not_delete/wl_local_comp12301.jar:/opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared,
    -d, /opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared, /opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared/com/hiwire/ejb/spotmanager/shared/SpotManagerSessionSLBeanHomeImpl.java,
    /opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared/com/hiwire/ejb/spotmanager/shared/SpotManagerSessionSLBeanEOImpl.java,
    /opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared/com/hiwire/ejb/spotmanager/shared/SpotManagerSessionSLBeanImpl.java])
    Compiler failed executable.exec(java.lang.String[javac, -nowarn, -classpath,
    /opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared:/opt/weblogic6.0/wlserver6.0:/opt/weblogic6.0/wlserver6.0/lib/weblogic_sp.jar:/opt/weblogic6.0/wlserver6.0/lib/weblogic.jar:/usr/java/bin/javac:/opt/weblogic6.0:/home/adserver/current/Library/jce1_2-do.jar:/home/adserver/current/JavaSource:/home/adserver/current/EJBSource:/opt/weblogic6.0/wlserver6.0/./config/hats/applications/.wl_temp_do_not_delete/wl_local_comp12301.jar:/opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared,
    -d, /opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared, /opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared/com/hiwire/ejb/spotmanager/shared/SpotManagerSessionSLBeanHomeImpl.java,
    /opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared/com/hiwire/ejb/spotmanager/shared/SpotManagerSessionSLBeanEOImpl.java,
    /opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared/com/hiwire/ejb/spotmanager/shared/SpotManagerSessionSLBeanImpl.java])
    at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:228)
    at weblogic.ejb20.deployer.Deployer.runEJBC(Deployer.java:228)
    at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:799)
    at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:31)
    at weblogic.j2ee.Application.addComponent(Application.java:133)
    at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:115)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:327)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:277)
    at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:232)
    at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:192)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
    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:439)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:180)
    at $Proxy30.updateDeployments(Unknown Source)
    at weblogic.management.configuration.ServerMBean_CachingStub.updateDeployments(ServerMBean_CachingStub.java:2299)
    at weblogic.management.mbeans.custom.ApplicationManager.startConfigManager(ApplicationManager.java:240)
    at weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManager.java:122)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
    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:439)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:180)
    at $Proxy24.start(Unknown Source)
    at weblogic.management.configuration.ApplicationManagerMBean_CachingStub.start(ApplicationManagerMBean_CachingStub.java:435)
    at weblogic.management.Admin.startApplicationManager(Admin.java:1033)
    at weblogic.management.Admin.finish(Admin.java:493)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:429)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:170)
    at weblogic.Server.main(Server.java:35)
    >
    <Dec 10, 2001 5:45:32 PM PST> <Error> <J2EE> <Error deploying application Shared.jar:
    Could not deploy: 'Shared.jar':
    Compiler failed executable.exec(java.lang.String[javac, -nowarn, -classpath,
    /opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared:/opt/weblogic6.0/wlserver6.0:/opt/weblogic6.0/wlserver6.0/lib/weblogic_sp.jar:/opt/weblogic6.0/wlserver6.0/lib/weblogic.jar:/usr/java/bin/javac:/opt/weblogic6.0:/home/adserver/current/Library/jce1_2-do.jar:/home/adserver/current/JavaSource:/home/adserver/current/EJBSource:/opt/weblogic6.0/wlserver6.0/./config/hats/applications/.wl_temp_do_not_delete/wl_local_comp12301.jar:/opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared,
    -d, /opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared, /opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared/com/hiwire/ejb/spotmanager/shared/SpotManagerSessionSLBeanHomeImpl.java,
    /opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared/com/hiwire/ejb/spotmanager/shared/SpotManagerSessionSLBeanEOImpl.java,
    /opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared/com/hiwire/ejb/spotmanager/shared/SpotManagerSessionSLBeanImpl.java])>

    I removed the EJB classes from my classpath, but I am now getting the following
    error. If I remove the EJB classes from the classpath, how does ejbc know where
    to look for the classes when making the jar files?
    ERROR: Error from ejbc: java.lang.NoClassDefFoundError: Lcom/hiwire/ejb/spotmanager/shared/SpotManagerSessionSLHome;
    at java.lang.Class.getFields0(Native Method)
    at java.lang.Class.getDeclaredFields(Class.java:998)
    at weblogic.ejb20.compliance.SessionBeanClassChecker.checkEJBContextIsNotTransient(SessionBeanClassChecker.java:61)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.ejb20.compliance.EJBComplianceChecker.check(EJBComplianceChecker.java:230)
    at weblogic.ejb20.compliance.EJBComplianceChecker.checkDeploymentInfo(EJBComplianceChecker.java:185)
    at weblogic.ejb20.ejbc.EJBCompiler.complianceCheckJar(EJBCompiler.java:309)
    at weblogic.ejb20.ejbc.EJBCompiler.checkCompliance(EJBCompiler.java:266)
    at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:136)
    at weblogic.ejbc20.runBody(ejbc20.java:707)
    at weblogic.utils.compiler.Tool.run(Tool.java:81)
    at weblogic.ejbc.main(ejbc.java:20)
    ERROR: ejbc found errors
    Rob Woollen <[email protected]> wrote:
    It looks like you still don't have javac in your $PATH.
    You also should remove the EJB classes from your classpath. They should
    only be in your jar file.
    -- Rob
    Jerome Sieng wrote:
    Rob,
    I am now trying to run weblogic.ejbc(wl6.0) on the jar before deployingit, but
    I'm getting the following error. Any ideas?
    Thanks
    - Jerome
    <Dec 10, 2001 7:52:17 PM PST> <Error> <EJB> <EJB Deployment: Adminhas a class
    com.hiwire.ejb.spotmanager.admin.AdminSessionSFBean which is in theclasspath.
    This class should only be located in the ejb-jar file.>
    <Dec 10, 2001 7:52:17 PM PST> <Error> <EJB> <EJB Deployment: Adminhas a class
    com.hiwire.ejb.spotmanager.admin.AdminSessionSFHome which is in theclasspath.
    This class should only be located in the ejb-jar file.>
    <Dec 10, 2001 7:52:17 PM PST> <Error> <EJB> <EJB Deployment: Adminhas a class
    com.hiwire.ejb.spotmanager.admin.AdminSessionSF which is in the classpath.This
    class should only be located in the ejb-jar file.>
    <Dec 10, 2001 7:52:17 PM PST> <Error> <EJB> <EJB Deployment: GroupEntityHomehas
    a class com.hiwire.ejb.spotmanager.admin.GroupEntityBean which is inthe classpath.
    This class should only be located in the ejb-jar file.>
    <Dec 10, 2001 7:52:17 PM PST> <Error> <EJB> <EJB Deployment: GroupEntityHomehas
    a class com.hiwire.ejb.spotmanager.admin.GroupEntityHome which is inthe classpath.
    This class should only be located in the ejb-jar file.>
    <Dec 10, 2001 7:52:17 PM PST> <Error> <EJB> <EJB Deployment: GroupEntityHomehas
    a class com.hiwire.ejb.spotmanager.admin.GroupEntity which is in theclasspath.
    This class should only be located in the ejb-jar file.>
    <Dec 10, 2001 7:52:17 PM PST> <Error> <EJB> <EJB Deployment: GroupEntityHomehas
    a class com.hiwire.ejb.spotmanager.admin.GroupPK which is in the classpath.This
    class should only be located in the ejb-jar file.>
    <Dec 10, 2001 7:52:17 PM PST> <Error> <EJB> <EJB Deployment: TunerEntityHomehas
    a class com.hiwire.ejb.spotmanager.admin.TunerEntityBean which is inthe classpath.
    This class should only be located in the ejb-jar file.>
    <Dec 10, 2001 7:52:17 PM PST> <Error> <EJB> <EJB Deployment: TunerEntityHomehas
    a class com.hiwire.ejb.spotmanager.admin.TunerEntityHome which is inthe classpath.
    This class should only be located in the ejb-jar file.>
    <Dec 10, 2001 7:52:17 PM PST> <Error> <EJB> <EJB Deployment: TunerEntityHomehas
    a class com.hiwire.ejb.spotmanager.admin.TunerEntity which is in theclasspath.
    This class should only be located in the ejb-jar file.>
    <Dec 10, 2001 7:52:17 PM PST> <Error> <EJB> <EJB Deployment: TunerEntityHomehas
    a class com.hiwire.ejb.spotmanager.admin.TunerPK which is in the classpath.This
    class should only be located in the ejb-jar file.>
    <Dec 10, 2001 7:52:17 PM PST> <Error> <EJB> <EJB Deployment: UserEntityHomehas
    a class com.hiwire.ejb.spotmanager.admin.UserEntityBean which is inthe classpath.
    This class should only be located in the ejb-jar file.>
    <Dec 10, 2001 7:52:17 PM PST> <Error> <EJB> <EJB Deployment: UserEntityHomehas
    a class com.hiwire.ejb.spotmanager.admin.UserEntityHome which is inthe classpath.
    This class should only be located in the ejb-jar file.>
    <Dec 10, 2001 7:52:17 PM PST> <Error> <EJB> <EJB Deployment: UserEntityHomehas
    a class com.hiwire.ejb.spotmanager.admin.UserEntity which is in theclasspath.
    This class should only be located in the ejb-jar file.>
    <Dec 10, 2001 7:52:17 PM PST> <Error> <EJB> <EJB Deployment: UserEntityHomehas
    a class com.hiwire.ejb.spotmanager.admin.UserPK which is in the classpath.This
    class should only be located in the ejb-jar file.>
    java.io.IOException: javac: not found
    at java.lang.UNIXProcess.forkAndExec(Native Method)
    at java.lang.UNIXProcess.<init>(UNIXProcess.java:54)
    at java.lang.Runtime.execInternal(Native Method)
    at java.lang.Runtime.exec(Runtime.java:551)
    at java.lang.Runtime.exec(Runtime.java:477)
    at java.lang.Runtime.exec(Runtime.java:443)
    at weblogic.utils.Executable.exec(Executable.java:144)
    at weblogic.utils.Executable.exec(Executable.java:108)
    at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:555)
    at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:372)
    at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:180)
    at weblogic.ejbc20.runBody(ejbc20.java:707)
    at weblogic.utils.compiler.Tool.run(Tool.java:81)
    at weblogic.ejbc.main(ejbc.java:20)
    Exec failed .. exiting
    Rob Woollen <[email protected]> wrote:
    It looks like you don't have javac in the solaris path.
    FWIW, you might consider just running weblogic.ejbc on the jar before
    deploying it.
    -- Rob
    Jerome Sieng wrote:
    Hi,
    I'm trying to deploy an EJB jar file on WL6.0 in a Solaris environment,but I'm
    encoutering the following error. The EJB jar deployed fine on a
    Windows
    system,
    but I keep on getting this error on a Solaris machine. Any help/infowould be
    appreciated.
    Thanks in advance,
    - Jerome
    <Dec 10, 2001 5:45:09 PM PST> <Info> <Logging> <Only log messages
    of
    severity
    "Error" or worse will be displayed in this window. This can be changedat Admin
    Console> hats> Servers> myserver> Logging> General> Stdout severitythreshold>
    java.io.IOException: javac: not found
    at java.lang.UNIXProcess.forkAndExec(Native Method)
    at java.lang.UNIXProcess.<init>(UNIXProcess.java:54)
    at java.lang.Runtime.execInternal(Native Method)
    at java.lang.Runtime.exec(Runtime.java:551)
    at java.lang.Runtime.exec(Runtime.java:477)
    at java.lang.Runtime.exec(Runtime.java:443)
    at weblogic.utils.Executable.exec(Executable.java:144)
    at weblogic.utils.Executable.exec(Executable.java:108)
    at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:555)
    at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:372)
    at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:180)
    at weblogic.ejb20.deployer.Deployer.runEJBC(Deployer.java:228)
    at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:799)
    at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:31)
    at weblogic.j2ee.Application.addComponent(Application.java:133)
    at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:115)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:327)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:277)
    at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:232)
    at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:192)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
    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:439)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:180)
    at $Proxy30.updateDeployments(Unknown Source)
    at weblogic.management.configuration.ServerMBean_CachingStub.updateDeployments(ServerMBean_CachingStub.java:2299)
    at weblogic.management.mbeans.custom.ApplicationManager.startConfigManager(ApplicationManager.java:240)
    at weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManager.java:122)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
    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:439)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:180)
    at $Proxy24.start(Unknown Source)
    at weblogic.management.configuration.ApplicationManagerMBean_CachingStub.start(ApplicationManagerMBean_CachingStub.java:435)
    at weblogic.management.Admin.startApplicationManager(Admin.java:1033)
    at weblogic.management.Admin.finish(Admin.java:493)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:429)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:170)
    at weblogic.Server.main(Server.java:35)
    <Dec 10, 2001 5:45:32 PM PST> <Error> <J2EE> <Error deploying EJB
    Component
    Shared.jar
    weblogic.ejb20.EJBDeploymentException: EJB Deployment errors:; nestedexception
    is:
    Compiler failed executable.exec(java.lang.String[javac,
    -nowarn,
    -classpath,
    /opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared:/opt/weblogic6.0/wlserver6.0:/opt/weblogic6.0/wlserver6.0/lib/weblogic_sp.jar:/opt/weblogic6.0/wlserver6.0/lib/weblogic.jar:/usr/java/bin/javac:/opt/weblogic6.0:/home/adserver/current/Library/jce1_2-do.jar:/home/adserver/current/JavaSource:/home/adserver/current/EJBSource:/opt/weblogic6.0/wlserver6.0/./config/hats/applications/.wl_temp_do_not_delete/wl_local_comp12301.jar:/opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared,
    -d, /opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared, /opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared/com/hiwire/ejb/spotmanager/shared/SpotManagerSessionSLBeanHomeImpl.java,
    /opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared/com/hiwire/ejb/spotmanager/shared/SpotManagerSessionSLBeanEOImpl.java,
    /opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared/com/hiwire/ejb/spotmanager/shared/SpotManagerSessionSLBeanImpl.java])
    Compiler failed executable.exec(java.lang.String[javac,
    -nowarn,
    -classpath,
    /opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared:/opt/weblogic6.0/wlserver6.0:/opt/weblogic6.0/wlserver6.0/lib/weblogic_sp.jar:/opt/weblogic6.0/wlserver6.0/lib/weblogic.jar:/usr/java/bin/javac:/opt/weblogic6.0:/home/adserver/current/Library/jce1_2-do.jar:/home/adserver/current/JavaSource:/home/adserver/current/EJBSource:/opt/weblogic6.0/wlserver6.0/./config/hats/applications/.wl_temp_do_not_delete/wl_local_comp12301.jar:/opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared,
    -d, /opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared, /opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared/com/hiwire/ejb/spotmanager/shared/SpotManagerSessionSLBeanHomeImpl.java,
    /opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared/com/hiwire/ejb/spotmanager/shared/SpotManagerSessionSLBeanEOImpl.java,
    /opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared/com/hiwire/ejb/spotmanager/shared/SpotManagerSessionSLBeanImpl.java])
    at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:228)
    at weblogic.ejb20.deployer.Deployer.runEJBC(Deployer.java:228)
    at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:799)
    at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:31)
    at weblogic.j2ee.Application.addComponent(Application.java:133)
    at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:115)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:327)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:277)
    at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:232)
    at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:192)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
    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:439)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:180)
    at $Proxy30.updateDeployments(Unknown Source)
    at weblogic.management.configuration.ServerMBean_CachingStub.updateDeployments(ServerMBean_CachingStub.java:2299)
    at weblogic.management.mbeans.custom.ApplicationManager.startConfigManager(ApplicationManager.java:240)
    at weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManager.java:122)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
    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:439)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:180)
    at $Proxy24.start(Unknown Source)
    at weblogic.management.configuration.ApplicationManagerMBean_CachingStub.start(ApplicationManagerMBean_CachingStub.java:435)
    at weblogic.management.Admin.startApplicationManager(Admin.java:1033)
    at weblogic.management.Admin.finish(Admin.java:493)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:429)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:170)
    at weblogic.Server.main(Server.java:35)
    >
    <Dec 10, 2001 5:45:32 PM PST> <Error> <J2EE> <Error deploying applicationShared.jar:
    Could not deploy: 'Shared.jar':
    Compiler failed executable.exec(java.lang.String[javac,
    -nowarn,
    -classpath,
    /opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared:/opt/weblogic6.0/wlserver6.0:/opt/weblogic6.0/wlserver6.0/lib/weblogic_sp.jar:/opt/weblogic6.0/wlserver6.0/lib/weblogic.jar:/usr/java/bin/javac:/opt/weblogic6.0:/home/adserver/current/Library/jce1_2-do.jar:/home/adserver/current/JavaSource:/home/adserver/current/EJBSource:/opt/weblogic6.0/wlserver6.0/./config/hats/applications/.wl_temp_do_not_delete/wl_local_comp12301.jar:/opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared,
    -d, /opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared, /opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared/com/hiwire/ejb/spotmanager/shared/SpotManagerSessionSLBeanHomeImpl.java,
    /opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared/com/hiwire/ejb/spotmanager/shared/SpotManagerSessionSLBeanEOImpl.java,
    /opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared/com/hiwire/ejb/spotmanager/shared/SpotManagerSessionSLBeanImpl.java])>

  • Glassfish 4 deploy ejb

    Hi , it is very strange but I am trying to deploy an ejb as jar file , of course netbeans have not generated te ejb-jar-xml , but when I try to deploy the jar file via glassfish console ,it show me :
    Invalid ejb jar HomeBankNB-ejb: it contains zero ejb. A valid ejb jar requires at least one session/entity/message driven bean..
    But it is impossible, ejb-jar.xml isn't present ?  some help ?
    I am very frustrated with glassfish !

    your best source for information on using imprise/borland's jbuilder 4 (a non-oracle product) and problems you may have using it to deploy java code developed in it to any database (oracle or anyone else) would be to contact the vendor for jbuilder 4.

  • Fail to deploy EJB

    I use jbuilder+seblogic 8.1 sp2 to deploy EJB, but some errors appear in console as follow:
    Usage: java weblogic.Deployer [options] [actions] [File(s)]
    where options include:
    -adminurl <<protocol>://<server>:<port>> Administration server URL:
    default iiop://localhost:7001
    -username <username> user name
    -password <password> password for the user
    -userconfigfile <userconfigfile> The user config file contains the
    user security credentials; it is administered
    by the weblogic.Admin tool
    -userkeyfile <keyConfigFile> The users key file; it is administered
    by the weblogic.Admin tool.
    -examples Displays example usage of this tool.
    -name <application name> Defaults to the basename of the deployment
    file or directory.
    -targets <<target(s)>> A comma separated list of targets for the
    current operation. If not specified, all
    configured targets are used. For a new
    application, the default target is the
    administration server.
    -deploy Make an application available for service.
    -redeploy Replace a running application partially or
    entirely.
    -undeploy Take an application out of service.
    Unrecognized option or flag, -sourcerootforupload
    pls tell me the reason,and how to solve this problem,thanks

    I use jbuilder+seblogic 8.1 sp2 to deploy EJB, but
    some errors appear in console as follow:
    Usage: java weblogic.Deployer [options] [actions]
    [File(s)]
    where options include:
    -adminurl <<protocol>://<server>:<port>>
    rt>> Administration server URL:
    default iiop://localhost:7001
    iiop://localhost:7001
    -username <username> user name
    name
    -password <password> password for the user
    user
    -userconfigfile <userconfigfile> The user config
    nfig file contains the
    user security credentials; it
    curity credentials; it is administered
    by the weblogic.Admin tool
    he weblogic.Admin tool
    -userkeyfile <keyConfigFile> The users key file;
    ile; it is administered
    by the weblogic.Admin tool.
    e weblogic.Admin tool.
    -examples Displays example usage of this
    this tool.
    -name <application name> Defaults to the basename
    name of the deployment
    file or directory.
    file or directory.
    -targets <<target(s)>> A comma separated list of
    t of targets for the
    current operation. If not
    rent operation. If not specified, all
    configured targets are used.
    ured targets are used. For a new
    application, the default target
    on, the default target is the
    administration server.
    administration server.
    -deploy Make an application available
    able for service.
    -redeploy Replace a running application
    tion partially or
    entirely.
    entirely.
    entirely.
    -undeploy Take an application out of
    t of service.
    Unrecognized option or flag, -sourcerootforupload
    pls tell me the reason,and how to solve this
    problem,thanksThe message indicates that you haven't passed the correct arguments on command line. Look at this message "Unrecognized option or flag, -sourcerootforupload" in particular.
    I suppose you need to tinker around with JBuilder. Try searching for this problem on Weblogic forum. Someone might have faced this already.

Maybe you are looking for

  • Here is what to do when rentals do not show up in your itunes library!!! Windows and Mac

    Windows Step 1: Make sure your rental is in your purchase history...here's how -Click on the Store Tab -Click View Account -Scroll down to Purchase History and click See All -Your latest purchase should be listed at the top of the page Step 2: Click

  • Embarrassed

    I was actually embarrassed this weekend as I tried to show off my new iPad. The constant Wi-Fi connectivity issues caused pausing and disconnects on web pages, videos, the app store, etc.. How do you explain this to someone you want to impress? It wa

  • How to create Java Nodes SAP PI 7.1

    Hi all. I need to create a new java node in a SAP PI 7.1 I was searching, but I cannot find a solution, someone could help me please?. Thank you very much

  • No Open If Statement

    Hi,   In my program, Iam getting the error that 'no open if statement'.Please correct me. Also please let me know the functionality of hide statement in this progra,. REPORT  ZMTSHPRG7                               . TYPES: BEGIN OF TY_KNA1, KUNNR TY

  • Maps & KML, how many placemarks max in a kml file ?

    Hello! I would like to know how many placemarks of a kml file are displayed into the Map application. Best regards,