Helpme, I can run the example of statefulSession ejb Client that bring by weblogic5.1

hello
i have setup a weblogic5.1 on linux redhat 6.2
jdk1.3
the jsp
and servlt
can run well
but the ejb example statefulSession and statelessSession
client can't run
i have deploy the ejb in file weblogic.properitys
that i remove the "#" from some rows that deployed the examples ejb
and i can see the ejb is loaded well on the weblogic console
the error messages:
Exception in thread "main"
java.lang.NoClassDefFoundError:javax/ejb/EJBObject
I rn the client like follow:
java -Djava.naming.factory.initial=weblogic.jndi.TengahInitialContextFactory
-Djava.naming.provider.url=t3://localhost:7001 (or port 80,null)
examples.ejb.basic.statelessSession.Client
or
java examples.ejb.basic.statefulSession.Client "t3://localhost:7001(or
80,null)" scott tiger
can you contact me
[email protected]
i 'll than you very much

At least for WebLogic Server, there's no internal classification of an EJB as being of a specific "version".
You'll need to work from the descriptors and your view of the application to work through it.
-steve-

Similar Messages

  • How can i run the example programme without hardware

    Hi,
         We are using NI-9233 for our Project. We would like to run the example programme, the NI-9233 getting started(host).vi ... I would like to ask that how can i run the Programme without Hardware.& How shall i get the input signal (simulating signal)?because we would like to test it while we are waiting for the hardware to be delivered . 
    thanks
    Best regards

    As Mike indicated , " you can use MAX to simulate some (not all) DAQmx devices. There's a NI-USB-9233 device that you can probably use. Open MAX, then expand "My System", the expand "Devices and Interfaces", then right-click on "NI-DAQmx Devices" and select "Create New NI-DAQmx Device -> NI-DAQmx Simulated Device". Select the device from the list. See the online help for MAX for further help.
    If you don't see "NI-DAQmx Devices" in MAX you need to install NI-DAQmx. You can download it from NI here. "
    hi,
         the link you gave me to download is "NI-DAQmx Devices" ... There is no software to download for Labview 8.2.1. So should i use 8.1 or 8.3 instead of 8.2.1 ? If not, can you tell me the CD no. that includes the "NI-DAQmx Devices" folder of Labview 8.2.1 version? Because we can get the cd from our school's component store. Thank you so much.
    Best Regards,
    Su

  • Is anyone know how to run the examples in 3d user interfaces with java 3d

    hi dear ,
    I am trying to run the examples in 3d user interfaces with java 3d.
    I hope i can load the library in jcreator. but the libarary for this book are classes files , it do not have jar file for it . the jcreator do not read these classes . i do not know why ? i am wonder if there any one run these code before can give me some idear .
    thanks so much .
    the code u can get from this link.
    http://www.manning.com/books/barrilleaux/source
    thank you for u to have a look for me .
    regards
    xiaocui

    <h2>{color:red}CROSS POSTED{color}</h2>
    [t-5289810]
    Cross posting is rude.
    db

  • Run the example of ejb tutorial ...

    When I run the example of "Enterprise JavaBeansTM Tutorial:
    Building Your First Stateless Session Bean"--DemoClient,(Weblogic server 6.0,
    win 2000) ,I met a probelm.
    Following is the error information:
    C:\bea\wlserver6.0\CLASSES>java -Djava.naming.factory.initial=weblogic.jndi.Teng
    ahInitialContextFactory -Djava.naming.provider.url=t3://localhost:7001 ejb.demo.
    DemoClient
    begin DemoClient...
    => Error <=
    javax.naming.NoInitialContextException: Cannot instantiate class: weglogic.jndi.
    T3InitialContextFactory. Root exception is java.lang.ClassNotFoundException: we
    glogic.jndi.T3InitialContextFactory
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:195)
    at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.jav
    a:45)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
    55)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:246
    at javax.naming.InitialContext.init(InitialContext.java:222)
    at javax.naming.InitialContext.<init>(InitialContext.java:198)
    at ejb.demo.DemoClient.getInitialContext(DemoClient.java:58)
    at ejb.demo.DemoClient.main(DemoClient.java:15)
    End DemoClient...
    Any guidance will be appreciated!
    Thanks, Yu

    I managed to fix my problem, hopefully thissolution
    will help you as well.
    I discovered that the following entries arerequired
    in the jndi.properties file in order to lookupEJB's
    using JNDI from a client application:
    java.naming.factory.initial=com.sun.jndi.cosnaming.CNCt
    Factory
    java.naming.provider.url=iiop://localhost:1050
    Note that my environment uses the j2ee server fromSUN
    running on the localhost on port 1050.
    If you can locate the proper settings for theweblogic
    server, then you can try this solution on for size.
    One quick question: When I try to run my client
    against the Ref. Implementation like this:
    java -Dorg.omg.CORBA.ORBInitialHost=localhost
    -Dorg.omg.CORBA.ORBInitialPort=1050
    -Djava.naming.factory.initial=com.sun.jndi.cosnaming.CN
    txFactory
    -Djava.naming.provider.url=iiop://localhost:1050
    com.sld.role.ValidationClient
    I get the following error:
    javax.naming.NamingException: java:comp/env namespace
    is only available from within a J2EE component.
    This stinks. All I can find out is that Sun wants you
    to use runclient, which is silly. My client is trying
    to resolve the JNDI name:
    "java:comp/env/ejb/ValidationSessionBean"
    Any idea why this isn't working?
    Thanks....
    -ScottGot it working. Here's how:
    In the client's CLASSPATH I have three things: j2ee.jar, the client jar file generated by the server during deployment, and my client class files. I took out all of the -D stuff above and it still works. (With or without it.) I haven't tried it from another machine yet - I may need them for that.
    The client uses the JNDI name "ValidationSessionBean", not "java:comp/env/ejb/ValidationSessionBean" and it now can bind to it.
    I wish Sun would have given out this kind of info with their J2EE tutorial, instead of just pushing their runclient script, which uses their own client class.
    -Scott

  • I get errors When running the example programs SampleMetadataDiscoverer10g

    I installed database is 10g release 2 on Windows XP,and AWM version is 102010A.
    When running the example programs SampleMetadataDiscoverer10g.java to get the OLAP metadata,I get the following errors:
    oracle.express.idl.util.OlapiException: java.sql.SQLException: ORA-37158: CLOB &#25110;&#21487;&#21464;&#25968;&#32452;&#36755;&#20837;&#21442;&#25968;&#38169;&#35823;: (&#24773;&#24418; 6)
    ORA-06512: &#22312; "SYS.GENSERVERINTERFACE", line 46
    ORA-06512: &#22312; line 1
    at oracle.express.idl.ExpressConnectionModule.ServerInterfaceStub.connect(ServerInterfaceStub.java:694)
    at oracle.express.olapi.data.full.ExpressDataProvider.connect(ExpressDataProvider.java:436)
    at oracle.express.olapi.data.full.ExpressDataProvider.initialize(ExpressDataProvider.java:282)
    at oracle.olapi.examples.chapter4.MyConnection10g.connectToDB(MyConnection10g.java:126)
    at oracle.olapi.examples.chapter4.SampleMetadataDiscoverer10g.initialize(SampleMetadataDiscoverer10g.java:57)
    at oracle.olapi.examples.BaseExample.execute(BaseExample.java:32)
    at oracle.olapi.examples.BaseExample.execute(BaseExample.java:46)
    at oracle.olapi.examples.chapter4.SampleMetadataDiscoverer10g.main(SampleMetadataDiscoverer10g.java:44)
    Closing JDBC connection.
    Closed the connection.
    please..can someone give me some advice? thanks!

    I got the same error while doing "dp.initialize()"
    I fixed this error by chang the the "olap_api.jar class12.jar" to "o4j.jar".
    But i can't explain that.
    Can anyone tell me why?
    By the way , the "olap_api.jar class12.jar" are copy from the %ORACLE_HOME%\10.2.0\db_1\olap\api\lib .

  • I have a power Mac G4 mirror front running 10.4.9. How current of an OS can I run on this machine? I want to put it back into use but need to upgrade the software so that I can run the newest version of Quickbooks amoung other things.

    I have a power Mac G4 with a mirror front running 10.4.9. How current of an OS can I run on this machine? I want to put it back into use but need to upgrade the OS so that I can run the newest version of Quickbooks amoung other things.

    I think you're out of luck...
    System Requirements:
    Minimum System Requirements
    Mac with an Intel processor
    Mac OS X v10.6
    1 GB RAM
    CD-ROM drive for installation
    120 MB of available disk space
    Printer: 100% Macintosh-compatible printer, if you plan to print invoices, checks, deposit slips, lists, purchase orders, mailing labels, reports, or graphs
    Checks: Use Intuit Checks if you plan to print checks. Canadian Image Ready Cheques are not supported.
    Integration/Compatibility Requirements
    Export report data requires Numbers '09 (included with iWork from Apple) or Microsoft Excel 2004 or 2008 for Mac.
    E-mail requires Apple Mail; Microsoft Entourage 2004 or 2008 for Mac
    Back up to MobileMe requires paid MobileMe account available separately from Apple, Inc.
    iCal, iChat, and AddressBook are included in Mac OS X. Internet access required for iChat.
    Accepting credit and debit cards directly into QuickBooks 2011 for Mac requires Intuit Merchant Service for QuickBooks for Mac (sold separately); subject to application approval and debit card transactions are processed as Signature Debit which does not require entering a PIN code. See http://payments.intuit.com/legal.jsp for details.
    Processing payroll, integrated with QuickBooks for Mac, requires paid subscription (sold separately), EIN and Internet access. QuickBooks 2011 for Mac works with Intuit QuickBooks Payroll for Mac.
    http://www.amazon.com/Intuit-413615-QuickBooks-2011-for/dp/system-requirements/B 003YJ8WFE/ref=noref?ie=UTF8&n=229534&s=software

  • My latest pano photo have missing landscape. Some of the photos are merged into one. I can provide the examples. What could cause this problem on a new 5C?

    My latest pano photo have missing landscape. Some of the photos are merged into one. I can provide the examples. What could cause this problem on a new 5C?

    Thanks for the input. I was finally able to find some test conditions that duplicated the problem, and it is either that or some other out-of-spec diffraction distortion.  So I sent it off for repair.

  • Can I wipe out newer OS on ibook G4 and restore with OS 9 or 8 or even 7 so that I can run the hundreds of Educational CDs we still have at our school? We do not need to go online or be wireless or install any newer programs.

    Can I wipe out newer OS on ibook G4 and restore with OS 9 or 8 or even 7 so that I can run the hundreds of Educational CDs we still have at our school? We do not need to go online or be wireless or install any newer programs.

    Look on the outside of the case to see if it has a port with a symbol similar to a Y, or compare its specifications against those of the first two computers on this list.
    (64597)

  • How can run the report SAP_INFOCUBE_DESIGN?

    hI gURUS
    To know about the DIM Table size
    How can run the report SAP_INFOCUBE_DESIGN?
    Thanks
    Cheers
    Durai

    Function (se37):
    RSDEW_INFOCUBE_DESIGNS
    Try to see/run this function in order
    to get statistic about one InfoCube
    How to determine the size of DIM?
    From this Function u can determine
    how many rows in DIM u have.
    After this u can determine size of DIM table:
    ROWS * (How many Bytes are in one row) = Size of table.
    In order to determine how many Bytes are in one row,
    u can see transaction se11 -> Database table -> Tabkle name of DIM -> Display -> Fields -> just add the length*Bytes for all fields in this table.
    BR

  • Scenario-ECC system is down but still can run the warehouse operations in EWM

    Hi,
    We all know that  EWM is an independent system , even if ECC system is down still we can run the warehouse operations in EWM.
    However what happens once ECC system has got up, how would all the pending  EWM goods movements updated in ECC?
    Will it be ending with queue errors? Or is there any manual process required to process those movements to update ECC.
    Thanks,
    Ganesan

    Hello Ganesan,
    If the system is down, Queues will be stopped processing for that period of time. Once the ECC is up, the queues will start processing. If not, you can reset the status of queues, then they will be processing immediately.
    Regards,
    Sathish

  • Cann't run the examples in dir "webapps\standard-examples\xml" of jstl1.1.2

    i'm learning jstl.
    fisrtly i downloaded the jstl1.1.2 zip file and upziped it, then i put the standard-examples.war file to the webapps dir of tomcat5.5 to run the examples.
    now i could run some of those examples, but strangely i could not run the example of the directory of "standard-examples\xml". if i try to run, an error as follows will emerg:
    javax.servlet.ServletException: org/apache/xpath/VariableStack
    org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:848)
    org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:781)
    org.apache.jsp.xml.Parse_jsp._jspService(org.apache.jsp.xml.Parse_jsp:90)
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    root cause
    java.lang.NoClassDefFoundError: org/apache/xpath/VariableStack
    org.apache.taglibs.standard.tag.common.xml.ExprSupport.doStartTag(ExprSupport.java:63)
    org.apache.jsp.xml.Parse_jsp._jspx_meth_x_out_0(org.apache.jsp.xml.Parse_jsp:168)
    org.apache.jsp.xml.Parse_jsp._jspService(org.apache.jsp.xml.Parse_jsp:76)
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    Could anyone give me some advices to deal with this problem? Thanks

    LOL.... i ran into the same problem with Tomcat 5.5... it's quite an idiotic problem cuz like you gotta hunt everywhere to figure out why it don't work... reason is cuz those brainchildren at Apache.org who make Tomcat also make the missing Jar file but forgot to include it with Tomcat... duh... :-p
    any way... visit this site... http://xml.apache.org/xalan-j/
    download the zip file and extract it (follow the instructions)
    you only need to copy the xalan.jar file to your Tomcat 5.5's <installpath>\common\lib folder...
    then that problem will be fixed...
    have fun... :-p
    - MaxxDmg...
    - ' He who never sleeps... '

  • What is the latest OS X that can run the G4 PowerBook?

    What is the latest OS X that can run the G4 PowerBook?

    Leopard 10.5.8 depending upon the specific model.

  • My computer is a MacBook Pro Intel core duo, and I need to know if I can run the new Lion OS?

    My computer is a MacBook Pro Intel core duo, and I need to know if I can run the new Lion OS?  The Apple web says must have Intel Core 2 Duo. Please advise. Not knowledgeable enough to know if not having the 2 between Core and Duo is a stopper.  Appreciate any guidance. 

    The difference between a Core Duo and a Core 2 Duo is a show stopper when it comes to running Lion.  The Core Duo is still only a 32 bit chip, but the Core 2 Duo is a 64 bit chip.  You need the 64 bit chip to run Lion.

  • What can be the max difference in cable lengths that we can have between the ISLs in a port-channel between MDS switches?

    Hello All
    What can be the max difference in cable lengths that we can have between the ISLs in a port-channel between MDS switches? Do we have any documentation?
    Thanks
    Chetan

     competitive solution instead recommends a distance variance of 30 meters or less among ISLs within a trunk. If the distance variance is greater than 30 meters, undesired and degraded performance will occur. For example, if a trunk has a distance of 100 kilometers, the competitive trunking solution allows a cable length variance of only 0.03 percent!
    ref;
    http://www.cisco.com/c/en/us/products/collateral/storage-networking/mds-9500-series-multilayer-directors/white_paper_c11-534878.html
    hth
    regards
    inayath
    **********PLZ dont forget to rate if this info is helpfull.

  • It's currently taking me ages to send multiple emails as I'm having to copy and paste the email each time. Does anyone know if there is a way that I can send the same email several times but that can be addressed (Dear....) to different people?

    It's currently taking me ages to send multiple emails as I'm having to copy and paste the email each time. Does anyone know if there is a way that I can send the same email several times but that can be addressed (Dear....) to different people?

    Oh at least just duplicate the same email several times so all I will be maunally inserting each time will be the address/name??? Please help!!!

Maybe you are looking for

  • TS1702 How can i delete my iTunes Account?

    Because of the new Security questions that iTunes has put on my Account, I can not download new apps to put on my phone. I have been in contact with Apple, iTunes and iCloud. Now I am to the point I just want to delete my current account and make a n

  • S12 freeze-ups with Firefox

    I am experiencing random but recurrent freeze-ups using Firefox - to the point where the only thing that works is holding down the power button. The machine is a VIA-based S12, factory-installed XP, to which I have added 1 GB of 667 MHz RAM salvaged

  • EFI Boot access denied symbol

    Hello everyone, my problem is the following: i was installing windows with bootcamp, after some time trying to boot, the mini showed me a flashing apple logo and an access denied symbol, i shutted the mini down after two hours on the boot screen, i w

  • Need help on my requirement...

    Hello Experts, I am experimenting with BADI 'COM_PARTNER_BADI' and 'CRM_PRICING_BADI' for transaction CRMD_ORDER. My requirement is this, I need to check the customer classification of the given customer and if it falls as '09', then I need to bypass

  • Acrobat Pro 7

    Hi I'm hoping osmeone can help me. Everytime I open Acrobat PRO 7 it comes up wit an error saying the prog needs to close. This also happens if I go into a PDF file and try to open the prog that way. I have uninstalled and re-installed several times