Runtime error in "Stream XML/HTML into J2EE and Web Services Applications"

javax.naming.NameNotFoundException: oraclestoreejb not found
     java.lang.Object com.evermind.server.rmi.RMIContext.lookup(java.lang.String)
          RMIContext.java:130
After following step by step a least 2 times the documentation :
http://otn.oracle.com/tech/webservices/htdocs/series/streams/content.html
At the point "23" when I run the application I receive the following error:
     java.lang.Object javax.naming.InitialContext.lookup(java.lang.String)
          InitialContext.java:350
     void oraclestoreClient.main(java.lang.String[])
          oraclestoreClient.java:54
Process exited with exit code 0.
What is wrong with the installation?

After installing the example 2 times reading the documentation, I decided to see the Real player film that should be the same. Astonished I found out that the runtime error came as expectec from 2 missing libraries that are only presented at the video and not at the HTML version (ITEM 21).
Quite all the example I tryed from Web Services does not work like described. Is it on purpose?

Similar Messages

  • J2EE and Web Services

    Hi forummates,
    In the traditional architecture, the communication between EJB is RMI/IIOP. Web Services can be looked as a communication between classes on SOAP/HTTP.
    How should we use Web Services in J2EE in the maximum effeciency? Is there any good example of using Web Services in J2EE (1.4 is a must?) ? Please advise.
    Lawrence.

    Hi Lawrence,
    I would look at the J2EE blueprints on web services to get started. You may also want to take a look at the J2EE tutorial and web services tutorial. Links below:
    http://java.sun.com/blueprints/guidelines/designing_webservices/
    http://java.sun.com/j2ee/1.4/docs/tutorial/doc/index.html
    http://java.sun.com/webservices/docs/ea1/tutorial/

  • Free - J2EE and Web Services Workshops by Oracle and TheServerSide

    Oracle and TheServerSide are pleased to invite you to a free SOA developer workshop. This one-day event includes technical sessions, an install fest, hands-on labs, and a hacker's contest. (Attendees must bring their own laptops to participate in the labs and contest.) Topics will include:
    * Overview of Service Oriented Architectures (SOA)
    Discover what it means to move to SOA and learn about key SOA technologies, including J2EE 1.4, Web Services, BPEL, EJB, JSP, and Struts.
    * Constructing the Services Layer
    Develop back-end business services using the latest J2EE technologies.
    * From Web Services to Business Processes
    Learn about key J2EE 1.4 technologies used to implement Web services, and find out how to build Web services-based business processes using the industry standard Business Process Execution Language (BPEL).
    * User Interfaces for SOA
    Use Struts and design patterns to bind business services to user interfaces.
    The hands-on labs take developers through the different stages of building an SOA based application. Developers must bring their own laptop to participate in the workshop, and they will get CDs with the software they need to develop and run the labs.
    Hacker’s Event - Social and Coding Competition
    Following the workshop, attendees will be treated to free pizza and beer and will have the opportunity to compete for additional prizes. Experts from TheServerSide will join the session to discuss SOA best practices.
    Oracle Developer Days are free, but space is limited, so register now.
    Locations, Dates, and registration at:
    http://www.oracle.com/go/?&Src=1587968&Act=43
    Here is what some developers had to say about the events that ran last year:
    http://otn.oracle.com/events/otnworkshop/testimonials.html

    Here are the cities and dates for this developer roadshow. The workshops in Redwood Shores and New York are almost full, the others have more seats available, so check out http://otn.oracle.com/odd and register soon.
    Redwood Shores, CA - 4 Aug
    New York, NY - 10 Aug
    Dallas, TX - 12 Aug
    Dearnborn, MI - 17 Aug
    Miami, FL - 19 Aug
    Denver, CO - 24 Aug
    Atlanta, GA - 26 Aug

  • J2EE and Web Services Workshops by Oracle and TheServerSide

    Oracle and TheServerSide are pleased to invite you to a free SOA developer workshop. This one-day event includes technical sessions, an install fest, hands-on labs, and a hacker's contest. (Attendees must bring their own laptops to participate in the labs and contest.) Topics will include:
    * Overview of Service Oriented Architectures (SOA)
    Discover what it means to move to SOA and learn about key SOA technologies, including J2EE 1.4, Web Services, BPEL, EJB, JSP, and Struts.
    * Constructing the Services Layer
    Develop back-end business services using the latest J2EE technologies.
    * From Web Services to Business Processes
    Learn about key J2EE 1.4 technologies used to implement Web services, and find out how to build Web services-based business processes using the industry standard Business Process Execution Language (BPEL).
    * User Interfaces for SOA
    Use Struts and design patterns to bind business services to user interfaces.
    The hands-on labs take developers through the different stages of building an SOA based application. Developers must bring their own laptop to participate in the workshop, and they will get CDs with the software they need to develop and run the labs.
    Hacker’s Event - Social and Coding Competition
    Following the workshop, attendees will be treated to free pizza and beer and will have the opportunity to compete for additional prizes. Experts from TheServerSide will join the session to discuss SOA best practices.
    Oracle Developer Days are free, but space is limited, so register now.
    Locations, Dates, and registration at:
    http://www.oracle.com/go/?&Src=1587968&Act=43
    Here is what some developers had to say about the events that ran last year:
    http://otn.oracle.com/events/otnworkshop/testimonials.html

    Here are the cities and dates for this developer roadshow. The workshops in Redwood Shores and New York are almost full, the others have more seats available, so check out http://otn.oracle.com/odd and register soon.
    Redwood Shores, CA - 4 Aug
    New York, NY - 10 Aug
    Dallas, TX - 12 Aug
    Dearnborn, MI - 17 Aug
    Miami, FL - 19 Aug
    Denver, CO - 24 Aug
    Atlanta, GA - 26 Aug

  • Helpme I have error when I try connect from struts  to web service

    helpme I have error when I try connect from struts to web service using basic authentication . the error message is
    [SOAP Exception: fault code= SOAP-ENV Protocol; msg=Unsupported response content type "text/html" must be "text/xml"; ] Response was <html><body> 401 Unauthorized </body></html>
    I'm not using ldap for authentication only xml (jazx-data.xml) ... I already create user with jazn.jar for that user , and I dont know why it still error like that ..
    Please helpme I don't have anytime more to find the mistake , ??
    I'm using Jdeveloper 9i , and oc4j 9.0.4 Server (Not embedded with Jdev)
    But when I use with sample java client it success .....
    then I try with Struts the response is unsupported response content type text/html must be text/xml response was 401 Unauthorized

    1.The reason why this error occurs is, we are getting non SOAP response when the program is expecting a SOAP response. Did you set the proxy server correctly? Try to handle the exception and see the content type of the response in your program.
    2. While creating the client stub u must check an option for authentication for webservice .should solve ur problem.
    thanks
    sirisha

  • I want to export acquired data via XML to a remote URL/web service. Is there some online reference for EXACTLY what XML features are available in 6.1?

    Is there any online reference to the XML methods available in 6.1?
    I would like to set up a LabView system that acquires data from local hardware, and then sends acquired data as XML "packets" to a remote web service. I can't seem to find any online reference to this when I search the site. I don't want the "gee golly 6.1 is cool" marketing stuff. Just a simple technical reference to abilities.

    If you're looking for more technical information about all the new features of 6.1, try the LabVIEW 6.1 Upgrade Notes. Here's what they say about the XML functions:
    "Use the Flatten to XML function located on the Functions»Advanced»Data Manipulation palette to convert any LabVIEW data type to the XML format according to the LabVIEW XML schema. Use the Unflatten from XML function located on the same palette to convert a data type in the XML format into LabVIEW data.
    For these conversions, LabVIEW uses a predefined XML schema that is described in labview\help\LVXMLSchema.xsd."
    Kelly Holmes
    LabVIEW Documentation
    Kelly H
    LabVIEW Documentation
    National Instruments

  • Where is ias903 j2ee and web cache distribution for NT?

    http://otn.oracle.com/software/products/ias/devuse.html
    gives option 4
    NT - 324 MB
    Oracle9iAS J2EE and Web Cache
    - Oracle HTTP Server
    - Oracle9iAS Containers for J2EE
    - Oracle9iAS Web Cache
    - Oracle Enterprise Manager
    - New! v9.0.3 Linux , Solaris , HP-UX , HP Tru64
    - NT/2000
    Clicking at NT/2000 points me to 9ias90201_core.zip.
    So where is the 903 distribution? Why is it Sun Solaris?!
    Oracle9iAS Release 2 downloads for Sun SPARC Solaris
    On this page you will find:
    Oracle9iAS J2EE and Web Cache:
    - v9.0.3
    - v9.0.2.0.1
    Oracle9iAS Enterprise Edition
    Oracle9iAS Supplemental CD's
    Other Utilities
    Oracle9iAS J2EE and Web Cache Release 2 v9.0.3
    9ias90201_core.zip - (340,044,344 bytes)
    This is a lightweight version of Oracle9iAS v2. It consists of the following components:
    -Oracle HTTP Server
    -Oracle9iAS Web Cache
    -Oracle9iAS Containers for J2EE (OC4J)

    Hi Ken --
    We are just about wrapped up with our Oracle9iAS Release 2 (9.0.3) version for Windows NT. As you've seen, we have released the 903 version for a number of Unix platforms (Solaris, HP-UX, HP-Tru64, Linux) already and the Windows platform will follow shortly.
    For the moment, if you're running on Windows and want to use the J2EE 1.3 functionality, you can download the pure Java OC4J 903 distribution available from OTN. This is the same set of Java code that is the 9iAS distribution.
    cheers
    -steve-
    http://otn.oracle.com/software/products/ias/devuse.html
    gives option 4
    NT - 324 MB
    Oracle9iAS J2EE and Web Cache
    - Oracle HTTP Server
    - Oracle9iAS Containers for J2EE
    - Oracle9iAS Web Cache
    - Oracle Enterprise Manager
    - New! v9.0.3 Linux , Solaris , HP-UX , HP Tru64
    - NT/2000
    Clicking at NT/2000 points me to 9ias90201_core.zip.
    So where is the 903 distribution? Why is it Sun Solaris?!
    Oracle9iAS Release 2 downloads for Sun SPARC Solaris
    On this page you will find:
    Oracle9iAS J2EE and Web Cache:
    - v9.0.3
    - v9.0.2.0.1
    Oracle9iAS Enterprise Edition
    Oracle9iAS Supplemental CD's
    Other Utilities
    Oracle9iAS J2EE and Web Cache Release 2 v9.0.3
    9ias90201_core.zip - (340,044,344 bytes)
    This is a lightweight version of Oracle9iAS v2. It consists of the following components:
    -Oracle HTTP Server
    -Oracle9iAS Web Cache
    -Oracle9iAS Containers for J2EE (OC4J)

  • Adding an Array of Objects into an external Web-Service

    Hi all,
    I want to populate an Array of Objects into an external Web-Service which I have introspected into BPM. But I am finding it difficult to do so which should be very easy I guess.
    When i use the EXTEND keyword for adding the array of objects, it gives me the following parameters which are not required:-
    testArray.records.extend(name : "", attributes : null, value : "", children : {  }, tagName : "", namespace : "", isNil : false);
    I only need to populate the name and value pairs and do not need to populate others. But there is no way for me to do this.. How do I populate other parameters or skip them especially
    children which is a Fuego.Xml.XMLObject[].. How do I populate that? How do I populate attributes which is an associative array and not required..
    Is there a proper documentation of consuming external Web-Services into BPM?

    Very interesting, I am going to have to really break this down and see if I can make sense out of it with my 300 lines of code LOL.
    I think this may jsut work at first glance and will let you know!
    It works. We all use it all of the time. The old Add-Member was a big pain in the neck.  InPowerShell V2 New-Object -Property ws added to take a hash of name/value pairs and convert them into an object in one step.  It is faster and more reliable.
    $myprops=@{
        Name='joe'
        Birthdate=[datetime]'02-12-1965'
        Weight=[int]130
        Married=$false
        Flags=[byte]0x3F
    # we can change a value on the fly
    $myprops.Weight+=5  # adjust weight for liars
    New-Object PsObject -Property $myprops
    OR get name=value pairs from a file and make into an object
    $fileprops=Get-Content mydata.txt | ConvertFrom-StringData
    New-Object PsObject -Property $fileProps
    There are more than a dozen other variations of how to levcerage this to create objects out of other things like results from old DOS commands.
    ¯\_(ツ)_/¯

  • Oracle9iAS J2EE and Web Cache

    Hi!
    I'm using Oracle9iAS J2EE and Web Cache on my Sun Solaris 5.8 and when I try to Log on to Oracle Enterprise Manager on port 1810 from my Windows 2000 browser I have this error:
    Servlet error: Renderer failed:
    java.lang.NoClassDefFoundError
    To correct I must do this:
    $emctl stop
    $emctl start
    After that I'm able to log on to OEM but if I do some modifications or wait too long I will received the same error again:
    Servlet error: Renderer failed:
    java.lang.NoClassDefFoundError
    Can you tell me what is the problem ?
    Thank's

    Do you have the DISPLAY environment variable set correctly? This error is typically seen if the EM Website is unable to connect to an X-Server.

  • An error occurred while trying to connect to a Web service, when InfoPath web enabled form loads.

    Hi Everyone,
    I am getting an error message: An error occurred while trying to connect to a web service, when my InfoPath form tries to load.  The last few days, it only spits this error message in the morning and around 12pm-1pm it resolves itself and the form loads
    fine the rest of the day, oddly enough. 
    A few things about my form:
    1). It is web enabled
    2). The form submits to a form library on the SP server
    3). I use the UserProfileService data connection in the form to auto-populate a few fields
    4). I use a udcx file with correct language stored in the root of the site collection in the data connection library
    5). The form has been working fine until a few days ago
    I noticed while in Central Administration, that the User Profile Service Synchronization is Stopped.  Not sure if this is causing some or all of the problem. If I need to start it I will need to contact my farm administrator to do this, since I do not
    have the service account information.
    Also, I looked thru the log files on the SharePoint server and found the following by searching for the Correlation ID shown when the error comes up, I won't put in everything just the important messages.
    Schema file was already loaded: BuiltInActiveXControls.xsd
    FormServer Partial Trust - Proxy operation invoked in the SHIM process.
    FormServer Partial Trust - Invoking proxy operation for Web service adapter failed with exception Operation is not valid due to the current state of the object. for Url=https://<SP URL>/_vti_bin/UserProfileService.asmx
    Data adapter failed during OnLoad: The custom code in the form cannot be run. This functionality may be deactivated on the server. For more information, contact the server farm administrator.
    The following query failed: GetUserProfileByName (User: , Form Name: Expense Report, IP: , Connection Target: <SP URL>/Data Connections/GetUserProfileByName.udcx, Request: , Form ID: urn:schemas-microsoft-com:office:infopath:Expense-Report:-myXSD-2014-04-11T21-06-32
    Type: DataAdapterException, Exception Message: The custom code in the form cannot be run. This functionality may be deactivated on the server.

    Hi B.,
    You are on the right track. I recommend that you first get the User Profile Synchronization Service started because that itself could be the root cause of the issue.
    If that doesn't fix it then focus your attention on the GetUserprofileByName data connection. I always use my secure store ID for this connection. I add the ID by editing the udcx file and then publishing it again.
    Hope this helps.
    Daniel Christian (MCTS)

  • Error Message "No logical port exists to call web services" installing SM7

    I am trying to use SLM to download a service stack.  However, the option is not available in step 2.5.  There is an error message "No logical port exists to call web services".  I have performed the Wizard install, but the Wizard seems to have left out this step.  I have looked around for documentation on how to configure the port, but cannot find anything more useful than comments to the effect that I should configure the port.

    I found the problem, I think, although I am now on to the next problem.  "Web Services for software lifecycle manager not available'.
    The documentation is lacking.  When the RFC connection is set up, the user id is j2ee_admin, using the install password.  This is not specified anywhere in the install instructions that I could find, there is only a reference to a 'user id and password'.
    The LPCONFIG is used to create a logical port, that ties the RFC to the LP.  However, no name is specified that is to be used for the LP.

  • XML and Web Service Data Source Missing in Crystal Reports for VS

    I would like to use a Web Service as the data source for a Crystal Report that will be running outside of my Visual Studio application.  So setting the data source to the web service in code is not possible.  My understanding is Crystal Reports has a connection (in the Database Expert under New Connection) named XML and Web Service.  Here you can select web service and enter the WSDL URL for the web service.  However it does not appear in the list for Crystal Reports for Visual Studio.  Does this connection type come with the Visual Studio version of Crystal Reports and if not is their a way to obtain it? 
    Thank you for your assistance.

    None of the bundled versions of CR have the driver. Reason is that the driver responsible for these connections requires the Java framework and I suspect MS would not be too pleased if we installed the Java framework. The stand alone versions, since they are not part of any bundle can and do install the Java framework and the driver. Note that even the latest release of CR - CRVS2010 does not have the driver as it essentially becomes a bundle or a VS2010 plug-in.
    So, the short of it is; you have to obtain a stand-alone version of CR. I'd recommend CR 2008 (12.x) as CRXI R2 will run out of support in June of this year.
    - Ludek

  • Cannot submit sharepoint form due to error. An error occurred while trying to connect to a Web service. Please Help!

    An error occurred while trying to connect to a Web service.
    An entry has been added to the Windows event log of the server.
    Log ID:5567
    Correlation ID:4db21044-cbc4-4f2f-8653-d73e5496b891

    check the log file first to get detailed information, go to ULS log file, find the related Correlation ID, you will get the error message, the information you provided is less helpful to know this issue.
    Qiao Wei
    My blog:http://blog.goobol.com

  • An error occurred while trying to connect to a Web service

    In infopath 2013 getting current user through web service getting this error in the browser
    "An error occurred while trying to connect to a Web service"

    Hi Jithendar,
    If you can send the ULS log entries which has that Correlation ID, it would be more helpful.
    The text you send is only the ID of the entries and dont give any clue to us about your problem.
    Best regards,
    Mustafa Yılmaz
    Best Regards, Mustafa Yılmaz MCITP, MCPD | www.mustafa-yilmaz.org | www.sharepointciyiz.biz

  • Expecting response in XML format after invoking bea web service

    What should I do in order to receive the response from the web service in XML document
    (i.e. a well-formed XML document) after invoking the web service via my client
    application
    (a servlet in my case)? I would like to validate the XML document against a schema
    in my
    servlet. I deployed my web service sucessfully and followed the WSDL web page
    recommendation about creating a client. That is I used the generated stub (client
    jar file
    generated using clientgen) in my servlet. The result I received was a java object
    and not in
    XML document form.

    If you do clientgen on a WSDL, it will generate
    java types by default. You can trun this off by
    setting autotype="false" in the clientgen ant task.
    I have not tried it out, but i think this will use
    javax.xml.soap.SOAPElement instead of
    generated java types. Then you can create a
    DOM object from soap element.
    Another option is to use DII with generic
    typemapping. An example here:
    http://www.manojc.com/?sample27
    Regards,
    -manoj
    http://manojc.com
    "Michael Wong" <[email protected]> wrote in message
    news:3f1edd7c$[email protected]..
    >
    What should I do in order to receive the response from the web service inXML document
    (i.e. a well-formed XML document) after invoking the web service via myclient
    application
    (a servlet in my case)? I would like to validate the XML document againsta schema
    in my
    servlet. I deployed my web service sucessfully and followed the WSDL webpage
    recommendation about creating a client. That is I used the generated stub(client
    jar file
    generated using clientgen) in my servlet. The result I received was ajava object
    and not in
    XML document form.

Maybe you are looking for

  • Music Taking Up too Much Space on my hard drive...

    Need some assistance... Have download approx. 30g. of Music Files on my 60 g. 5th. Generation iPod. At the same time I now have 30 g. of back-up files on my laptop hard drive....The music files are now taking up too much memory. I bought an 80 g. ext

  • Looking for a program to delete CVCs from a flat file, infocube, ztable.

    I am looking for a program that will delete CVCs from a flat file, infocube, or ztable. Based on the research I have done, I would imagine the core of such a program would be the use of function module /sapapo/ts_plob_delete. If anyone has such a pro

  • Select Query Resutls - operand for WebI Rich Client XI3.0 not available?

    Hi , Using Deski we put a filter condition on a query using the deski query panel.  Also we can select resutls from another query in the same report (query from a differen dataprovider) using the operand Select Query Resutls(any). However in Web Inte

  • Filled out form to email when i submit

    We using form central,  this is my project requirement :- after filled out form i need response as pdf attachment in email.

  • Stuck Crop Area...

    Been using Illustrator forever, never had this problem... I create a custom crop area [either using the tool, or changing a shape to a crop area via the menu bar] - this used to work fine, i could then save for web and export the image...latley thoug