some very basic problem PLEASE HELP ME :( - Weblogic

This is a discussion on some very basic problem PLEASE HELP ME :( - Weblogic ; hi, im just new to EJB's and WebLogic. i have integrated JBuilderX with BEAweblogic 8.1 and then made simplest ejb. started the server. > server successfuly started then made test client and while running test client i got following error... ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: some very basic problem PLEASE HELP ME :(

  1. some very basic problem PLEASE HELP ME :(

    hi,
    im just new to EJB's and WebLogic. i have integrated JBuilderX with BEAweblogic 8.1 and then made simplest ejb.
    started the server.
    > server successfuly started

    then made test client and while running test client i got following error...


    "EJBModule.jar": Spaces in the temporary directory path may cause WebLogic APPC utility to produce fatal compile errors.

    "EJBModule.jar": Spaces in the classpath may cause WebLogic APPC utility to produce fatal compile errors.


    "EJBModule.jar": C:\bea\jdk142_04\bin\javaw -classpath "C:\bea\weblogic81\server\lib\weblogic_sp.jar;C:\be a\weblogic81\server\lib\weblogic.jar;C:\bea\weblog ic81\server\lib\webservices.jar;C:\Documents and Settings\Administrator\jbproject\ejbsess\EJBModule .jar;" weblogic.appc -keepgenerated -forceGeneration -compiler C:/bea/jdk142_04/bin/javac "C:/Documents and Settings/Administrator/jbproject/ejbsess/EJBModule.jar.jar" -output "C:/Documents and Settings/Administrator/jbproject/ejbsess/EJBModule.jar"

    AND


    "EJBModule.jar":

    "EJBModule.jar":

    "EJBModule.jar":

    "EJBModule.jar": [J2EE:160127]ERROR: Could not delete previous archive: C:\Documents and Settings\Administrator\jbproject\ejbsess\EJBModule .jar


    PLEASE HELP ME WAT TO DO....
    WAITING...
    :-(

  2. Re: some very basic problem PLEASE HELP ME :(

    Try first moving your project to a directory, which does not have spaces in the file name:

    C:\Documents and Settings\Administrator\jbproject\ejbsess\EJBModule.jar;"

  3. Re: some very basic problem PLEASE HELP ME :(

    hi,
    i again made the whole thing with C:\project\weblogicsessproject

    i just simply made session bean and one method getMessage() which simply return String message.

    i compile that code and get following warning..

    "EjbsessModule.jar": Spaces in the temporary directory path may cause WebLogic APPC utility to produce fatal compile errors.

    then i run the server from JBuilder which runs correctly and gives the message to client that...



    AND ON RUNNING TEST CLIENT OF JBUILDER I GET NAMING EXCEPTIONS...

    C:\bea\jdk142_04\bin\javaw -classpath "C:\project\weblogicsessproject\classes;C:\bea\webl ogic81\server\lib\weblogic_sp.jar;C:\bea\weblogic8 1\server\lib\weblogic.jar;C:\bea\weblogic81\server \lib\webservices.jar;C:\bea\jdk142_04\jre\lib\char sets.jar;C:\bea\jdk142_04\jre\lib\ext\dnsns.jar;C: \bea\jdk142_04\jre\lib\ext\ldapsec.jar;C:\bea\jdk1 42_04\jre\lib\ext\localedata.jar;C:\bea\jdk142_04\ jre\lib\ext\sunjce_provider.jar;C:\bea\jdk142_04\j re\lib\im\indicim.jar;C:\bea\jdk142_04\jre\lib\im\ thaiim.jar;C:\bea\jdk142_04\jre\lib\jce.jar;C:\bea \jdk142_04\jre\lib\jsse.jar;C:\bea\jdk142_04\jre\l ib\plugin.jar;C:\bea\jdk142_04\jre\lib\rt.jar;C:\b ea\jdk142_04\jre\lib\sunrsasign.jar;C:\bea\jdk142_ 04\lib\dt.jar;C:\bea\jdk142_04\lib\htmlconverter.j ar;C:\bea\jdk142_04\lib\tools.jar" weblogicsessproject.WebLogicSesTestClient1
    -- Initializing bean access.

    javax.naming.NameNotFoundException: Unable to resolve 'WebLogicSes' Resolved [Root exception is javax.naming.NameNotFoundException: Unable to resolve 'WebLogicSes' Resolved ]; remaining name 'WebLogicSes'

    at weblogic.rjvm.BasicOutboundRequest.sendReceive(Bas icOutboundRequest.java:108)

    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke( ReplicaAwareRemoteRef.java:284)

    -- Failed initializing bean access.

    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke( ReplicaAwareRemoteRef.java:244)

    at weblogic.jndi.internal.ServerNamingNode_813_WLStub .lookup(Unknown Source)

    at weblogic.jndi.internal.WLContextImpl.lookup(WLCont extImpl.java:369)

    at weblogic.jndi.internal.WLContextImpl.lookup(WLCont extImpl.java:357)

    at javax.naming.InitialContext.lookup(InitialContext. java:347)

    at weblogicsessproject.WebLogicSesTestClient1.initial ize(WebLogicSesTestClient1.java:34)

    at weblogicsessproject.WebLogicSesTestClient1.(WebLogicSesTestClient1.java:19)

    at weblogicsessproject.WebLogicSesTestClient1.main(We bLogicSesTestClient1.java:270)

    Caused by: javax.naming.NameNotFoundException: Unable to resolve 'WebLogicSes' Resolved

    at weblogic.jndi.internal.BasicNamingNode.newNameNotF oundException(BasicNamingNode.java:897)

    at weblogic.jndi.internal.BasicNamingNode.lookupHere( BasicNamingNode.java:230)

    at weblogic.jndi.internal.ServerNamingNode.lookupHere (ServerNamingNode.java:154)

    at weblogic.jndi.internal.BasicNamingNode.lookup(Basi cNamingNode.java:188)

    at weblogic.jndi.internal.RootNamingNode_WLSkel.invok e(Unknown Source)

    at weblogic.rmi.internal.BasicServerRef.invoke(BasicS erverRef.java:477)

    at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke( ReplicaAwareServerRef.java:108)

    at weblogic.rmi.internal.BasicServerRef$1.run(BasicSe rverRef.java:420)

    at weblogic.security.acl.internal.AuthenticatedSubjec t.doAs(AuthenticatedSubject.java:363)

    at weblogic.security.service.SecurityManager.runAs(Se curityManager.java:144)

    at weblogic.rmi.internal.BasicServerRef.handleRequest (BasicServerRef.java:415)

    at weblogic.rmi.internal.BasicExecuteRequest.execute( BasicExecuteRequest.java:30)

    at weblogic.kernel.ExecuteThread.execute(ExecuteThrea d.java:219)

    at weblogic.kernel.ExecuteThread.run(ExecuteThread.ja va:178)

    IM DOING ALL THAT WITH HELP OF BORLAND WHITE PAPERS...
    please help me
    waiting

+ Reply to Thread