EJB in JBuilder

Please tell me some links which have documents of Guiding to program EJB in JBuilder7,
Thanks .

こんにちは、
日本語で書いてあるページを読んでください。
I have one link but it is in Japanese
http://www.borland.co.jp/jbuilder/papers/weblogic51/index.html

Similar Messages

  • Problem: call EJB by ejblocalhome

    1.Environment:Jbuilder8/Weblogic7.0
    2.Name of EJB2.0 designer of JBuider8 :EJBBusiness
    3.Name of stateless session EJB:BaseInfoNotify
    4.the EJB includes
    BaseInfoNotifyBean.java
    BaseInfoNotifyLocal.java
    BaseInfoNotifyLocalHome.java
    5.local home jndi name is:BaseInfoNotifyLocal.
    6.I deploy the EJB by Jbuilder automatically.
    Then I want to access the EJB throuth a servlet by the following code:
    Context context = new InitialContext();
    baseInfoNotifyLocalHome = (BaseInfoNotifyLocalHome)context.lookup("BaseInfoNotifyLocal");
    exceptions:
    javax.naming.LinkException: . Root exception is javax.naming.NameNotFoundExcept
    ion: Unable to resolve 'app/ejb/EJBBusiness.jar#BaseInfoNotify/local-home' Resol
    ved: 'app/ejb' Unresolved:'EJBBusiness.jar#BaseInfoNotify' ; remaining name 'EJB
    Business.jar#BaseInfoNotify/local-home'
    at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(Basic
    NamingNode.java:858)
    at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.jav
    a:223)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:18
    7)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:19
    5)
    at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:338)
    at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:333)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:19
    7)
    at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:338)
    at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:333)
    at weblogic.jndi.factories.java.ReadOnlyContextWrapper.lookup(ReadOnlyCo
    ntextWrapper.java:36)
    Why is Unresolved:'EJBBusiness.jar#BaseInfoNotify' ???????????

    i have the same problem!
    i create a sessionbean with local home,
    i call it with an other sessionbean in a same jar,that's ok!but i call it with a jsp file ,throw errs!
    why?
    how can i get a locahome outside a jar?
    thank you very much!

  • Call EJB by localhome

    1.Environment:Jbuilder8/Weblogic7.0
    2.Name of EJB2.0 designer of JBuider8 :EJBBusiness
    3.Name of stateless session EJB:BaseInfoNotify
    4.the EJB includes
    BaseInfoNotifyBean.java
    BaseInfoNotifyLocal.java
    BaseInfoNotifyLocalHome.java
    5.local home jndi name is:BaseInfoNotifyLocal.
    6.I deploy the EJB by Jbuilder automatically.
    Then I want to access the EJB throuth a servlet by the following code:
    Context context = new InitialContext();
    baseInfoNotifyLocalHome = (BaseInfoNotifyLocalHome)context.lookup("BaseInfoNotifyLocal");
    exceptions:
    javax.naming.LinkException: . Root exception is javax.naming.NameNotFoundExcept
    ion: Unable to resolve 'app/ejb/EJBBusiness.jar#BaseInfoNotify/local-home' Resol
    ved: 'app/ejb' Unresolved:'EJBBusiness.jar#BaseInfoNotify' ; remaining name 'EJB
    Business.jar#BaseInfoNotify/local-home'
    at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(Basic
    NamingNode.java:858)
    at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.jav
    a:223)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:18
    7)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:19
    5)
    at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:338)
    at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:333)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:19
    7)
    at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:338)
    at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:333)
    at weblogic.jndi.factories.java.ReadOnlyContextWrapper.lookup(ReadOnlyCo
    ntextWrapper.java:36)
    Why is Unresolved:'EJBBusiness.jar#BaseInfoNotify' ???????????

    i have the same problem!
    i create a sessionbean with local home,
    i call it with an other sessionbean in a same jar,that's ok!but i call it with a jsp file ,throw errs!
    why?
    how can i get a locahome outside a jar?
    thank you very much!

  • Remote Debugging WLS

    Has anyone set up a script (Windows) to run WLS in debug mode (-Xdebug)
    according to the JPDA spec using JDK1.2.2? I want to step into EJB from
    JBuilder.
    Thanks, Jon

    Hi.
    I modified one of our standard start scripts for WL 4.5.1 to do this. The
    server does start with this script, but I haven't used it to step into an
    EJB from an IDE.
    Hope this helps,
    Michael Young
    BEA Systems
    levyjj wrote:
    Has anyone set up a script (Windows) to run WLS in debug mode (-Xdebug)
    according to the JPDA spec using JDK1.2.2? I want to step into EJB from
    JBuilder.
    Thanks, Jon[startdebug12.cmd]

  • How to integrate the JBuilder5 and weblogic5.1 together?

    Thousands of thanks to you!

    hi,
    i assume your question is to deploy ejbs from jbuilder 5 ito weblogic 5.1.0. to enable this, you must first have either Inprise app server 4.1 or borland app server 4.5. configure your jbuilder for one of these server first. this can be done in the enterprise setup menuitem under tools menu. then there will be a check box for enable integration. check this. then configure weblogic 5.1.0 a tab has been provided for this. configuration is simple. we have to tell the installation directory of weblogic. then restart jbuilder and gotcha it is integrated.
    after creatting a project, alter the project properteis to have weblogic as the app server. build th jar file to create imple classes, stubs etc., noe run the project and the bean would be deployed.
    regards
    Srinivasan.R

  • How to deploy ejb in an Enterprise Environment using the jbuilder plugin

    Hello:
    I use Oracle9iAS Plug-in Release 2 (9.0.2) for Borland JBuilder 7 to deploy my ejb. But now, i would like to deploy my ejb to oc4j in an Enterprise Environment (not as standalone).
    Does anybody know how can i do it? I noted that the plugin use admin.jar to deploy ejb, and I suppose it need to use dcmctl.
    Thank you
    Sergio

    Sergio,
    The current release of Borland JBuilder only allows you to deploy to standalone OC4J. If you want to deploy to Oracle9iAS (Enterprise OC4J), please try Oracle9i JDeveloper 9.0.3:
    http://otn.oracle.com/software/products/jdev/content.html
    JDeveloper 9.0.3 uses DCM to deploy to Oracle9iAS
    Regards,
    Chen.

  • JBuilder plugin does not generate orion-ejb-jar.xml

    Hello,
    We are using JBuilder to code EJB's. I downloaded the OC4J plugins for JBuilder 5 and 6. Everything installed right but filling in the deployment descriptor does not automatically generate XML entries in the orion-ejb-jar.xml. I have to do this by hand.
    Deploying to OC4J 1.0.2.2.1 succeeds and also running OC4J 1.0.2.2.1 in the debugger of JBuilder succeeds.
    I would like to see an automatic process of filling in the right tags in the orion-ejb-jar.xml just as what happens in JDeveloper or in JBuilder for the ejb-inprise.xml.
    Who is responsible for making the plugins?
    The plugins are good but things must be better for working with JBuilder to Oracle 9iAS.
    Last big very big point is the lack of good documentation.
    Oracle, when you have good technology please tell me in good documentation how to use it otherwise how will I ever discover the good things. Maybe we are trowing things away because of not knowing.
    The plugins are only for working with OC4J 1.0.2.2.x.
    When will there be plugins voor OC4J version 2?
    With regards,
    Johan Borchers
    VDA informatiebegheersing.

    Here is the URL where you can download the JBuilder7 plugin for OC4J 903. It supports CMP and automatically generates orion-ejb-jar.xml, but the CMR mapping is supported from JBuilder8 and the corresponding plugin.
    http://codecentral.borland.com/codecentral/ccWeb.exe/listing?id=19237

  • The  manner that JBuilder names for ejb isn't seem canon

    below is JBuilder auto produce
    abstract public class LockerBean implements EntityBean{
    public interface LockerHome extends javax.ejb.EJBLocalHome {
    ........} //"LockerHome" should correct "LockerLocalHome"
    public interface LockerRemote extends javax.ejb.EJBObject {
    ...........}//"LockerRemote"should correct "Locker"
    public interface LockerRemoteHome extends javax.ejb.EJBHome {
    ............}//"LockerRemoteHome"should correct "LockerHome"
    but book says
    remote interface names:<bean-name>Home
    local interface:<bean-name>LocalHome
    remote bean interface:<bean-name>
    local bean interface<bean-name>Local
    implementation classes:<bean-name>EJB
    I have never seen <bean-name>Remote and <bean-name>RemoteHome
    but JBuilder can compiler and run above class! why

    From a compilation perspective,
    It does not matter what you call the interfaces. You could call them larry, moe and curly for the different home interfaces.
    All that matters is that they are indicated properly in the descriptors and used appropriately in the code.
    Of course from a readability, usablility and maintainability perspective, use appropriate names.
    What JBuilder does is a standard for JBuilder. (I think specifically the release of JBuilder you have)
    It need not match what is there in your book.
    Vijay

  • Debugging session EJBs in WLS 6.1 with JBuilder 5

    Hello,
    I'm trying to debug my code by attaching my JBuilder 5 to a WLS 6.1 running on
    my pc. This works fine up to the moment I try to debug code in a EJB session bean.
    If I try to debug "step by step" I get a message:
    Can not locate <my ejb>fquimtELOIml.java from project source/class path.
    and when I try to evaluate the value of an object inside the EJB I get a message
    "unable to evaluate"...
    Does somebody have an idea what I did wrong?
    Thanks,
    Roland

    "Roland Pennings" <[email protected]> wrote in message
    news:3e671a7f$[email protected]..
    I'm trying to debug my code by attaching my JBuilder 5 to a WLS 6.1running on
    my pc. This works fine up to the moment I try to debug code in a EJBsession bean.
    >
    If I try to debug "step by step" I get a message:
    Can not locate <my ejb>fquimtELOIml.java from project source/class path.
    and when I try to evaluate the value of an object inside the EJB I get amessage
    "unable to evaluate"...
    Does somebody have an idea what I did wrong?Sure. Use System.out.println. It's ten times more
    efficient that IDE debugging.
    Regards,
    Slava Imeshev

  • JBuilder 3.2 crashes on remote debug of EJB

    Error message says:
    "....access violation...rdbk.dll..."
    Also when you type:
    call dbms_java.grant_permission('WEROWE',
    ','SYS:oracle.security.JServerPermission', ','Debug', null);
    into the database to grant debug permission on the 8.1.7 database SQL*Plus says:
    SP2-0552: Bind variable "ORACLE" not declared.

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Walker Rowe ([email protected]):
    Error message says:
    "....access violation...rdbk.dll..."
    Also when you type:
    call dbms_java.grant_permission('WEROWE',
    ','SYS:oracle.security.JServerPermission', ','Debug', null);
    This one is dfinitly misspelled in the help file, according to the online help it should be:
    call dbms_java.grant_permission( 'WEROWE',
    'oracle.security.JServerPermission', 'Debug', null);
    or:
    grant javadebugpriv to werowe;
    both should do!!
    Pretty annoying isnt it - wrong helpfiles
    cost a lot of time!!
    into the database to grant debug permission on the 8.1.7 database SQL*Plus says:
    SP2-0552: Bind variable "ORACLE" not declared.<HR></BLOCKQUOTE>
    null

  • 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.

  • Unable to deploy a cmp 2.0 ejb to wls 8.1

    windows Xp professional
    IBM DB2
    JBuilder 9.0
    i build a ejb jar with jb9.0 wizard, then deploy it to wls.
    but ...
    D:\servers\bea\jdk141_03\bin\javaw -classpath
    D:\servers\bea\weblogic81\server\lib\weblogic_sp.jar;D:\servers\bea\weblogic81\server\lib\weblogic.jar;D:\servers\bea\weblogic81\server\lib\webservices.jar;
    weblogic.Deployer -user jerez -adminurl http://kame_house:7001
    -password kinchin4587 -activate -name water -upload -source
    D:/workspace/jbproject/water/water.jar -targets jerez
    Initiated Task: [4] [Deployer:149026]Deploy application water on jerez.
    Task 4 failed: [Deployer:149026]Deploy application water on jerez.
    Deployment failed on Server jerez
    weblogic.management.DeploymentException:
    Exception:weblogic.management.ApplicationException: activate failed for
    water
         Module: water     Error: Exception activating module:
    EJBModule(water,status=PREPARED)
    Unable to deploy EJB: Angle from water.jar:
    java.lang.AbstractMethodError:
    weblogic.jdbc.wrapper.DatabaseMetaData_COM_ibm_db2_jdbc_app_DB2DatabaseMetaData.supportsBatchUpdates()Z
         at
    weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.verifyBatchUpdatesSupported(RDBMSPersistenceManager.java:2081)
         at
    weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.setup(RDBMSPersistenceManager.java:200)
         at
    weblogic.ejb20.manager.BaseEntityManager.setupPM(BaseEntityManager.java:217)
         at
    weblogic.ejb20.manager.BaseEntityManager.setup(BaseEntityManager.java:184)
         at weblogic.ejb20.manager.DBManager.setup(DBManager.java:164)
         at
    weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.activate(ClientDrivenBeanInfoImpl.java:1004)
         at weblogic.ejb20.deployer.EJBDeployer.activate(EJBDeployer.java:1322)
         at weblogic.ejb20.deployer.EJBModule.activate(EJBModule.java:610)
         at
    weblogic.j2ee.J2EEApplicationContainer.activateModule(J2EEApplicationContainer.java:3012)
         at
    weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2076)
         at
    weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2057)
         at
    weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2624)
         at
    weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2547)
         at
    weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2349)
         at
    weblogic.management.deploy.slave.SlaveDeployer$Task.checkAutoCommit(SlaveDeployer.java:2431)
         at
    weblogic.management.deploy.slave.SlaveDeployer$Task.prepare(SlaveDeployer.java:2343)
         at
    weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2511)
         at
    weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:833)
         at
    weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:542)
         at
    weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:500)
         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)

    Hi,
    How did you uninstall the graphics drvier? From Devices manager or Programs and Features?
    Please open Control Panel\All Control Panel Items\Programs and Features
    And then, search for "NVIDIA Graphics Driver" and then select the "Change/Remove" button to begin the uninstall process. 
    Next, once the uninstall has completed, reboot Windows so that the other NVIDIA components can be removed as well.
    If the issue still persists, since this driver that you recently installed caused problems with your PC, you can restore Windows back to an earlier point in time.
    http://windows.microsoft.com/en-us/windows-8/restore-refresh-reset-pc
    Regards,
    Kelvin Xu
    TechNet Community Support

  • How can I fix the problem like this?( in JBuilder6+Weblogic+ejb)

    "Cabin.ejbgrpx": D:\JBuilder6\jdk1.3.1\bin\javaw -classpath "D:\java_code\jb6\MyFirstEJB\classes;D:\bea\weblogic700\server\lib\weblogic_sp.jar;D:\bea\weblogic700\server\lib\weblogic.jar;D:\JBuilder6\lib\jbuilder.jar;D:\JBuilder6\lib\help.jar;D:\JBuilder6\lib\gnuregexp.jar;D:\JBuilder6\jdk1.3.1\demo\jfc\Java2D\Java2Demo.jar;D:\JBuilder6\jdk1.3.1\jre\lib\i18n.jar;D:\JBuilder6\jdk1.3.1\jre\lib\jaws.jar;D:\JBuilder6\jdk1.3.1\jre\lib\rt.jar;D:\JBuilder6\jdk1.3.1\jre\lib\sunrsasign.jar;D:\JBuilder6\jdk1.3.1\lib\dt.jar;D:\JBuilder6\jdk1.3.1\lib\htmlconverter.jar;D:\JBuilder6\jdk1.3.1\lib\tools.jar;D:\JBuilder6\jdk1.3.1\lib\ejb.jar;D:\JBuilder6\jdk1.3.1\lib\tools.jar;D:\JBuilder6\patch\jb6_all_001.jar;D:\JBuilder6\lib\activation.jar;D:\JBuilder6\lib\beandt.jar;D:\JBuilder6\lib\borlandxml.jar;D:\JBuilder6\lib\castor-xml.jar;D:\JBuilder6\lib\castor.jar;D:\JBuilder6\lib\cx.jar;D:\JBuilder6\lib\dbswing.jar;D:\JBuilder6\lib\dbswingdt.jar;D:\JBuilder6\lib\dbtools.jar;D:\JBuilder6\lib\dt.jar;D:\JBuilder6\lib\dx.jar;D:\JBuilder6\lib\gnuregexp.jar;D:\JBuilder6\lib\help.jar;D:\JBuilder6\lib\iastools.jar;D:\JBuilder6\lib\ias_common.jar;D:\JBuilder6\lib\internetbeans.jar;D:\JBuilder6\lib\jakarta-regexp-1.1.jar;D:\JBuilder6\lib\javaws.jar;D:\JBuilder6\lib\jbcl.jar;D:\JBuilder6\lib\jbuilder.jar;D:\JBuilder6\lib\jdbcx.jar;D:\JBuilder6\lib\jdom.jar;D:\JBuilder6\lib\jds.jar;D:\JBuilder6\lib\jdsremote.jar;D:\JBuilder6\lib\jdsserver.jar;D:\JBuilder6\lib\junit.jar;D:\JBuilder6\lib\mail.jar;D:\JBuilder6\lib\sqltools.jar;D:\JBuilder6\lib\unittest.jar;D:\JBuilder6\lib\webserverglue.jar;D:\JBuilder6\lib\xalan.jar;D:\JBuilder6\lib\xerces.jar;D:\JBuilder6\lib\xml4j.jar;D:\JBuilder6\lib\xmlbeans.jar;D:\JBuilder6\lib\xmldbms.jar;D:\JBuilder6\lib\bes\agentclient.jar;D:\JBuilder6\lib\bes\asrt.jar;D:\JBuilder6\lib\bes\client.jar;D:\JBuilder6\lib\bes\guicore.jar;D:\JBuilder6\lib\bes\jaas.jar;D:\JBuilder6\lib\bes\jcert.jar;D:\JBuilder6\lib\bes\jnet.jar;D:\JBuilder6\lib\bes\jsse.jar;D:\JBuilder6\lib\bes\lm.jar;D:\JBuilder6\lib\bes\vbdev.jar;D:\JBuilder6\lib\bes\vbejb.jar;D:\JBuilder6\lib\bes\vbjdev.jar;D:\JBuilder6\lib\bes\vbjorb.jar;D:\JBuilder6\lib\bes\vbsec.jar;D:\JBuilder6\lib\bes\xmlrt.jar"
    weblogic.ejbc -keepgenerated -compiler D:/JBuilder6/bin/bcjW D:/java_code/jb6/MyFirstEJB/Cabin.jar.jar
    D:/java_code/jb6/MyFirstEJB/Cabin.jar
    "Cabin.ejbgrpx": Spaces in the temporary directory path may cause WebLogic EJBC utility
    to produce fatal compile errors.
    "Cabin.ejbgrpx": <2002-5-30 &#19979;&#21320;11&#26102;32&#20998;20&#31186;> <Warning>
    <EJB> <010054> <EJB Deployment: CabinBean has a class com.titan.cabin.CabinBean which
    is in the classpath. This class should only be located in the ejb-jar file.>
    "Cabin.ejbgrpx": <2002-5-30 &#19979;&#21320;11&#26102;32&#20998;20&#31186;> <Warning>
    <EJB> <010054> <EJB Deployment: CabinBean has a class com.titan.cabin.CabinHome which
    is in the classpath. This class should only be located in the ejb-jar file.>
    "Cabin.ejbgrpx": <2002-5-30 &#19979;&#21320;11&#26102;32&#20998;20&#31186;> <Warning>
    <EJB> <010054> <EJB Deployment: CabinBean has a class com.titan.cabin.Cabin which
    is in the classpath. This class should only be located in the ejb-jar file.>
    "Cabin.ejbgrpx": <2002-5-30 &#19979;&#21320;11&#26102;32&#20998;20&#31186;> <Warning>
    <EJB> <010054> <EJB Deployment: CabinBean has a class com.titan.cabin.CabinPK which
    is in the classpath. This class should only be located in the ejb-jar file.>
    "Cabin.ejbgrpx": ERROR: The classes which ejbc generated from your home and remote
    interfaces cannot be loaded. Please ensure that you have set the -d option to a
    writeable directory.
    "Cabin.ejbgrpx": ERROR: ejbc found errors

    iTunes error 54

  • Help with EJB Arch: Synchronous front-end -- Asynchronous back-end

    Hi folks, We are developing an application with the following characteristics: - users can invoke requests on our appl and they will expect a quick response - to obtain the information requested by the user, our application talks with Tibco using RV. This communication follows a pub/sub messaging paradigm and is asynchronous. - thus, we have a synchronous req/resp front-end and an asynch back-end.
    We would like some advice as to the best way of architecting this application. Here is our approach. Please critic and suggest alternatives.
    1. Consider an user who has requested something from our app. 2. The user will be using a JSP based front-end. (S)he submits the request on a form and a servlet is driven. 3. The servlet uses a session EJB and invokes one of its methods, which handles some business-specific logic. 4. The method in the session EJB then instantiates a helper class. 5. A method on our helper class is now driven. This method sends a message to Tibco and it provides a callback method in the helper class. 6. The method in the helper class blocks the thread - basically, it waits. 7. Meanwhile, Tibco does the processing and invokes the callback method (in the helper class) with the result. 8. In the callback method, the data sent by Tibco is stored in member variables of the helper class. 9. The callback method wakes up the blocking thread. 10. The method in step 6 wakes up and returns the information to the session EJB. 11. The session EJB returns the information to the invoking servlet. 12. The servlet provides the information back to the user.
    The version of Tibco-RV that we are using is not JMS compliant.
    We keep hearing that threads should be handled very carefully in an EJB container environment, so we would like to know if the way we are handling the thread in the helper class is okay. Could we remove the helper class and do the same thread-handling in the session EJB itself?
    Can we use JMS in this solution even though our Tibco-RV does not support JMS?
    Tools: Weblogic App Server 6.1, JBuilder 5.0.
    Thanks for your advice and suggestions!

    Let me start off by mentioning that Sonic MQ (an excellent JMS server) now provides a bridge for TIB/Rendezous. I am also wrestling with a simliar issue, something that requires threading at the servlet or ejb level, and have given some thought to using JMS. My concern was that JMS is an asynchronous process so it's model does not fit well with the synchronous front end. Technically I can see a few ways to implement it but architecturally I am not convinced that they are sound. You could send a message from the session bean to the TIB via SonicMQ and have a JMS message bean registered as a listener for messages from the TIB, again via SonicMQ. The JMS bean could update a static class or singleton which your session checks but you still have the issue of making the session bean wait on that event.
    I'll do a bit more digging and see if there's a design pattern available for this situation.
    -Dat

  • EJB Dependencies in WebLogic

    I have what I hope is a fairly straightforward question, but I can't seem to figure it out from the documentation.
    I'm using Weblogic 6 and JBuilder. I'm trying to deploy an EJB. In the application folder of my Weblogic Server I put the .jar file for the EJB, and also a .jar file that contains a bunch of common classes needed by all the EJBs I'm working on. When the server starts up, the bean complains that it can't find the helper classes in the other .jar.
    What do I need to do in order for the bean to be able to see and use classes in the other .jar file?

    I am going from memory, but I believe that in WLS 6 that there is a \lib directory some where under the application deployment directory. This is where you need to add your helper .jar files.

Maybe you are looking for

  • Is it possible to add buttons on a screen without drawing in screen painter

    Hi experts and others, I want to design a flexible screen structure so I want my buttons which are on a screen appears according to my wish at runtime. Is it possible to design a screen like this. In addition, I would get my button's name and fcode f

  • How can I lock the order of photos in my IPhoto albums?

    I have created albums in IPhoto and have arranged the photos in the order I want them.  But when I open IPhoto and click on an album, I often find that some of the photos have moved to different locations.  This is maddening to me!  Is there a way to

  • Wlc5760 web authentication custom page

    I have installed custom web pages with our company logo on the autentication pages.  everything is fine, users are able to access the pages and autenticate but the logo image is not showing. instead of the logo *some text missing * is appearing on th

  • Ascii characters removal

    hii experts, this is shreya.i have a payload from where i need to remove the special characters searching them through their ascii codes. Please  suggest a solution to my problem.

  • Firefox does not load any webpages. Only shows "done" in corner. IE (64bit) works fine

    The firefox program loads fine. However it only shows "untitled" in the tab and "done" in the bottom corner. It does not show any error notifications. When I click a bookmark, or enter a URL into the location bar it makes not attempt to contact the s