Problem with MedRec development tutorial

Hi,
I am facing a problem trying to run the "Tutorial 11: Exposing a Stateless Session
EJB as a Web Service" which is part of the MedRec Development Tutorial for WLS
8.1.
On running the my_webserv.xml (copy of webservices_tutorial.xml) ant script, I
get the following error:
file:D:/medrec_tutorial/src/medrecEar/my_webserv.xml:12: weblogic.webservice.tools.build.WSBuildException:
Failed to do type mapping - with nested exception:
[weblogic.xml.schema.binding.BindingException: Invalid class received: interface
javax.xml.rpc.handler.HandlerRegistry loaded from file:/D:/BEA/weblogic81/server/lib/webservices.jar!/javax/xml/rpc/handler/HandlerRegistry.class.
All classes that will be serialized or deserialized must be non-interface, non-abstract
classes that provide a public default constructor]
Having followed all the previous tutorials exactly as documented, I am not sure
why this is happening.
Looking to get some help for this problem.
thanks.

yes. looks like my CLASSPATH was a problem. some extraneous entries from a previous
medrec tutorial.
thanks.
"Chris Wall" <[email protected]> wrote:
Hey Atul.
What is your classpath?
"atul" <[email protected]> wrote in message
news:403ddd0b$[email protected]..
Hi,
I am facing a problem trying to run the "Tutorial 11: Exposing a StatelessSession
EJB as a Web Service" which is part of the MedRec Development Tutorialfor
WLS
8.1.
On running the my_webserv.xml (copy of webservices_tutorial.xml) antscript, I
get the following error:
file:D:/medrec_tutorial/src/medrecEar/my_webserv.xml:12:weblogic.webservice.tools.build.WSBuildException:
Failed to do type mapping - with nested exception:
[weblogic.xml.schema.binding.BindingException: Invalid class received:
interface>> javax.xml.rpc.handler.HandlerRegistry loaded from>file:/D:/BEA/weblogic81/server/lib/webservices.jar!/javax/xml/rpc/handler/HandlerRegistry.class.>>  All classes that will be serialized or deserialized must be>non-interface, non-abstract>>  classes that provide a public default constructor
Having followed all the previous tutorials exactly as documented, Iam not
sure
why this is happening.
Looking to get some help for this problem.
thanks.

Similar Messages

  • Problems with Deploying the Tutorial

    Hi,
    i've tried to develop a small web service on the Oracle Application Server. Therefor i've tested the Tutorial Developing, Deploying and Managing Web Services Using JDeveloper and Oracle Application Server (http://www.oracle.com/technology/obe/obe1013jdev/ws/wsandascontrol.htm).
    But i've several problems with this tutorial...
    In the tutorial is mentioned to use J2EE 1.4 JAX RPC, but with this one i cant deploy on my Application Server - only local embedded works. On the Application Server i get the message:
    #### DCM command did not complete successfully (-8)
    #### HTTP return code was -8
    Exit status of DCM servlet client: -8
    Elapsed time for deployment: 22 seconds
    #### Deployment incomplete. #### 28-Sep-2006 16:29:04
    After searching the forum i found the reason for this...
    Unable to deploy web-service from JDeveloper to Oracle AS
    Okay so i tried to develop the same example under J2EE 1.3... Now i can deploy the example on the Application Server but it doesn't work either! When i call the webservice i recieve the error:
    500 Internal Server Error
    java.lang.UnsupportedClassVersionError: getdates2/IGetDates2 (Unsupported major.minor version 49.0)
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.OC4JSecureClassLoader.defineClassEntry(OC4JSecureClassLoader.java:172)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].naming.ContextClassLoader.defineClass(ContextClassLoader.java:1179)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].naming.ContextClassLoader.defineClass(ContextClassLoader.java:1065)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].naming.ContextClassLoader.findClass(ContextClassLoader.java:404)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].naming.ContextClassLoader.loadClass(ContextClassLoader.java:143)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:282)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
         at oracle.j2ee.ws.JavaRpcWebService.init(JavaRpcWebService.java:76)
         at javax.servlet.GenericServlet.init(GenericServlet.java:258)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpApplication.loadServlet(HttpApplication.java:2354)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpApplication.findServlet(HttpApplication.java:4795)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2821)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:680)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    Okay so i tested it in embedded mode but it doesn't work here too... i get the error:
    500 Internal Server Error
    Servlet error: No Serializer found to serialize a 'java.util.Calendar' using encoding style 'http://schemas.xmlsoap.org/soap/encoding/'.
    Damn! I dont know what to do ;)
    Any suggestions?
    thx
    Matthias
    btw:
    Setup is:
    JDeveloper 10.1.3.1
    AppServer 10.1.2.0.2
    Content DB 10.2.0.0.0

    Another Problem occurred...
    As i mentioned deploying direct to the AppServer from JDeveloper works well (for the J2EE 1.3) but only that it doest work on the Application Server. So I tried to deploy a ear/war file and check them manuell into the Application Server. But doesn't work either...
    I get the following error:
    Deployment nicht erfolgreich: Verschachtelte Exception
    Lösung:
    Basis-Exception:
    java.rmi.RemoteException
    deploy failed!: ; nested exception is:
    oracle.oc4j.admin.internal.DeployerException: Unknown assembly root-tag attribute: xmlns:xsi. deploy failed!: ; nested exception is:
    oracle.oc4j.admin.internal.DeployerException: Unknown assembly root-tag attribute: xmlns:xsi
    Any ideas for solving this problem?

  • Problem with application developed with vtapi(Vt Systems) - events

    Hello!
    I'm developing aplication based on api prepared by VT Systems (http://www.cmsfx.com/en/trading-software/download-vt-trader/download-vt-trader-api/).
    This api is used to perform forex transactions. I've written a Web
    Service which connects with this api and
    alows other modules of my application to perform transactions. I'm
    using JAX-WS and Sun Java Application Server.
    This is sample of Web Service :
    @WebService()
    public class ForexService{
    protected static VT_API api;
    Checker checker;
    String userName = "***";
    String userPassword = "***";
    ConstRecord constants;
    public static IVT_APIEventsAdapterExtended events;
    public void initAPI(){
    try{
    System.loadLibrary("bridge2java");
    OleEnvironment.Initialize();
    api = new VT_API();
    api.setForceDisableSSL(false);
    events = new IVT_APIEventsAdapterExtended(api);
    api.addIVT_APIEventsListener(events);
    constants = new ConstRecord();
    }catch(Exception e) {
    e.printStackTrace();
    public ForexService(){
    initAPI();
    logonResult = api.Login(userName, userPassword, 0) ;
    System.out.println("Rezultat logowania: " + logonResult);
    checker = new Checker(this);
    new Thread(checker).start();
    @WebMethod
    public String getLogonResult() {
    return new Integer(logonResult).toString();
    @WebMethod
    public String getServerList(){
    return api.GetServerList();
    I'm using event listener which was attached to Java Sample in
    documentation.
    public class IVT_APIEventsAdapterExtended extends
    IVT_APIEventsAdapter{
    private VT_API api;
    public IVT_APIEventsAdapterExtended(VT_API apiInstance) {
    api = apiInstance;
    public void
    OnInstrumentChange(IVT_APIEvents_OnInstrumentChangeEvent e)
    super.OnInstrumentChange(e);
    System.out.println("instrument change - " +
    e.get_InstrumentID());
    public void
    OnNewServerMessage(IVT_APIEvents_OnNewServerMessageEvent e)
    super.OnNewServerMessage(e);
    System.out.println("Server message :" +
    api.get_ServerMessages().get_Items(e.get_MsgID()).get_Text());
    I've problem with listening events incoming from forex server. When I
    run Wireshark(Network Protocol Analyzer) I can see that events income
    to my computer (on different ports - for example: 2070, 2071, 2072),
    but don't income to Sun Java Application Server. I suspect that server
    don't listen on this ports, but how can I fix this? Maybe should I
    choose a other server? I've tried also Tomcat -with similar result :(
    Regards,
    Peter
    //Sorry for my english :)

    Thank you very much for the reply :-)
    We have been fiddling with the platform on many levels yesterday, and one thing we did do was bump that value up from 1024 to 8192... This made a HUGE improvement in ensuring the platform now holds the live streaming connections. (up to 8000 per edge)
    I think for other future reference and to aid other people that might run into this problem in the future, its a good idea to increase this value.  From what we have seen, read and heard, that default value is fairly conservative, its suppose to grow when the load demands it, however, if you have a large scale of connections coming in at once from multiple locations, it can happen that it grows too quickly which can result in the application to be reloaded (which disconnects all users, i.e. all edge servers connected to this origin).
    Another option we were recommended to modify was the following :
    In adaptor.xml you currently have this line:
    <HostPort name="edge1" ctl_channel="localhost:19350" rtmfp="${ADAPTOR.HOSTPORT}">${ADAPTOR.HOSTPORT}</HostPort>
    You can set this to
                    <HostPort name="edge1" ctl_channel="localhost:19350" rtmfp=":80">:80</HostPort>
    <HostPort name="edge2" ctl_channel="localhost:19351" rtmfp=":1935">:1935</HostPort>
    This will create two edge processes for both ports 80 and 1935. Currently both ports are served from the same fmsedge process.
    Of course this is not a huge performance improvement, but should further distribute load over more processes which is a good thing. Especially when there are that many connections.
    This setting can be made on all machines (origin + edge)
    Hopefully this could help other people also running into the same problems we have seen ...

  • Encountering Problems with Basic Sound Tutorial

    Hello everyone,
    I am encountering problems with a basic sound tutorial. I am absolutely confused as to what the problem may be because the code is so simple, and is essentially copied from the textbook. I am convinced that I have done something very silly but cannot see it.
    I have attempted to run this in an appletviewer, Firefox and Internet Explorer. I have attempted to launch it from both a .class file and a .jar file. I have uninstalled and offline installed the JDK and JRE and successfully tested the new installations.
    The audio file I am attempting to load and play is an .AU (Sun/Next 8-bit u-law) audio file I created in Audacity. It is located in the same folder as the AudioApplet.class file.
    My sound system is defintely on, since I have listened to music all day. I have attempted running the program with Media Player closed.
    package edu.myuniversityid.sandbox;
    import java.applet.Applet;
    import java.applet.AudioClip;
    * @author Ibuki
    public class AudioApplet extends Applet
         * Initialization method that will be called after the applet is loaded
         * into the browser.
        public void init()
            super.init();
            AudioClip ac = this.getAudioClip(this.getDocumentBase(), "sample.au");
            ac.play();
    }The code compiles fine, however absolutely I get a small white window when it is run. No sound.
    Thankyou for your time.
    Regards,
    Ibuki.
    PS. I am sure this worked before the university forced me to update my version of Windows to SP2. Hence, the reason for reinstalling Java. Twice.
    Edited by: Ibuki on Jan 31, 2008 11:09 AM becasuse: Added a PS.

    I have attempted this alternative, without success:
        public void init()
            try
                super.init();
                URL url = new URL(this.getDocumentBase(), "sample.au");
                AudioClip ac = this.getAudioClip(url);
                ac.play();
            catch (MalformedURLException ex)
                Logger.getLogger(AudioApplet.class.getName()).log(Level.SEVERE, null, ex);
        }The sample.au is definetly in the correct directory. Both File Explorer and NetBeans confirm this.
    Edited by: Ibuki on Jan 31, 2008 11:59 AM
    I have discovered a temporary solution that works in the applet viewer. The applet will load and plays the correct music perfectly. However, using this code it is not working when I try to deploy it using a web browser (MSIE and FF)!
    public void init()
            super.init();
            AudioClip ac = this.getAudioClip(this.getClass().getResource("sample.au"));
            ac.play();
    Edited by: Ibuki on Jan 31, 2008 12:12 PM
    Eureka!
    Having worked in the applet viewer I managed to get it working in the web browser by simply packaging my SoundApplet.class and sample.au into a .jar archive.
    <html>
         <body>
              <applet code="edu.myuniversityid.sandbox.AudioApplet.class" archive="dist/AudioApplet.jar">Unfortunately, this applet content cannot be displayed on this web page because your current browser does not support Java SE 6! Please <a href="http://www.java.com/">update your version of Java</a>.</applet>
         </body>
    </html>
    public void init()
            super.init();
            AudioClip ac = this.getAudioClip(this.getClass().getResource("sample.au"));
            ac.play();
        }Thankyou everyone.
    This thread can be closed if applicable. I'm not aware of the current moderation policy on this forum.
    Edited by: Ibuki on Jan 31, 2008 12:12 PM

  • Problems with sql developer and win 8 64 bit

    Hi there,
    It's my first time in this forum, I am a student programmer and I have many problems to install SQL Developer on Oracle Database 12c. I actually managed to install both, but I could not make them work. My question is SQL Developer works on the Windows 8 platform 64-bit?
    I'm going crazy, help me please .... Thanks for a while!!!

    SqlDeveloper should have no problem working in Win 8, but i do not think it's a supported platform yet.
    The Database could be a little more troublesome, if you only need a working database environment to make experiments you could find the "pre-built" Virtual Machines useful.
    For Win 8 and 12c try using the EA release of SQLDeveloper 4, because if I'm not mistaken the current 3.2.2 could have some problems with 12c.

  • Problems with Web Dynpro Tutorial "Creating an Email Client Using ..."

    Hello,
    I have a problem with the Web Dynpro Tutorial Number 6 ("Creating an Email Client using Web Dynpro and Web Services"):
    On page 20 of the PDF description of the Tutorial, Step 6 reads:
    "In the view layout, select the UI element EmailFormGroup and then choose the entry Apply Template in the context menu"
    Yet the context menu of the UI element EmailFormGroup does not show an entry "Apply Template".
    Do you have any hints?
    Kind regards,
    Franz-Josef Krämer

    Hello,
    the solution was: it should have said "in the outline view" and not "in the view layout".
    In the outline view, the context menu included "Apply Template".
    So no further responses are necessary.
    Kind regards,
    Franz-Josef Krämer

  • Problem with a GP tutorial

    Hello,
    I have a small problem with this tutorial:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/609c52aa-8f0a-2b10-d59e-b5248a7ac1e2
    I've actually, been able to do the whole tutorial, but i have some issues when i try to change something in it.
    What i want is for the info to persist when ever the SME desk rejects or the KO rejects and sends it to the Author Desk. Right now, everytime i go back to the Author Desk after a rejection, the fields are blank. I've tried playing with the block parameters, output and input, but it doesn't seem to work. So i'm now requesting some little help from you guys.
    Thanks very much in advance
    Regards.

    Hi Khadija,
    Nice to know that you were able to complete the tutorial and that now you are trying to do something more on it.
    Ok what you are trying to do is not difficult. I will explain how you can achieve this. Follow these steps:
    1) See page 29 in the doc.
    2) In the picture you can see we have made the grouped parameters like First_Name_Ath_SME, Last_Name_Ath_SME,...., First_Name_SME_KO, Last_Name_SME_KO,....
    3) Now select the grouped parameter First_Name_SME_KO as well as the input parameter First_Name of action Author Desk using the Ctrl key. Now click on the Add to Group button above.
    4) This will add the input parameter First_Name of the Author Desk to the already grouped parameter First_Name_SME_KO. In the same way add the other input parameters of Author Desk to the corresponding grouped parameters which are ending with SME_KO.
    5) Doing this will make sure that if you click the Submit button in SME Desk screen, the parameter values go to the KO Desk screen. And if you click the Reject button in SME Desk screen, the parameter values go back to the Author Desk screen.
    6) Now you have to make groups for input parameters of the Author Desk and the Output Parameters of the KO Desk too.
    7) Select the output parameter First_Name of action KO Desk as well as the input parameter First_Name of action Author Desk using the Ctrl key on your keyboard. Now click on Group button above. Give the name as First_Name_KO_Ath and click on Create.
    8) Similarly group all the other input parameters of Author Desk with the corresponding output parameters of the KO Desk.
    9) Doing this will make sure that if you click the Reject button in KO Desk, the parameter values go back to the Author screen. Do not worry about the options in the KO Reject Option callable object. As you can see on page 35, sending back to SME does not need any parameter mapping. And for sending back to Author, we have already done the parameter mapping in steps 6-8 above.
    Now I have something for you. If you do not implement steps 6-9, even then you will see the input boxes filled in Author Desk screen when you reject from KO Desk to Author Desk. Can you tell me why?
    Bye
    Ankur

  • Having problem with the development environment

    I have trouble with my development environment where I can't see the top portion of the screen. I'm using windows 8 and just download Edge Animate (2014) yesterday.. I uninstall and install the product again and still having the problem.

    Hi Todd,
    Thanks for writing to us with your concern. We are sorry to know that you are facing issues while using the software.
    We are unable to repro the issue on Windows Hi-res machines. Works properly on local test machines.
    Can you please share your system information file with us,
    What is System Information? - Windows Help
    Collect the system file and send me a private message.
    Regards,
    Devendra

  • SAP NW Developer Studio: Problem with Import Development Configuration(DC)

    Dear Experts!
    I have a problem with SAP NetWeaver Developer Studio when import a Developement Configuration.
    I create a Software Component(SC) in SLD( with Dependencies:  SAP J2EE Engine, SAP Java Tech Service, DI BUILD TOOL, Then I create a Development Configuration(DC) and add this SC.
    On SAP Netweaver  Developer  Studio I import this DC. I see on the Component Browser My DC include: my software conponent , and SCs: SAPJEE, SAP_BUILDT, SAP_JTECHS but in DC detail there are nothing. So I cannot create the Development Component
    Please help me resolve this issue.
    Thanks all

    Hi,
    you cannot see the DCs (for SCs like SAPBUILDT, JTECHS, JEE, etc) in NWDS, because there is nothing imported into the buildspace(s) DEV (and cons).
    You need to go to the http://<host>:<port>/devinf -- CMS webui, to the Transport Studio, go to the Check-in tab, and check-in all the software you can see in the queue (which you have also added previously in SLD for your software) . This is a quick process, you'll see your software moved to the Development tab and waiting for import.
    Import all the components. This can take longer. As soon as all of them finished, you can open up your NWDS again. In order to see the DCs this time when you expand the corresponding node, you need to reimport (but at least) update the development configuration  (you do it in NWDS in the context menu of the development config in question).
    Best Regards,
    Ervin
    Edited by: Ervin Szolke on Sep 2, 2010 1:26 PM

  • Problems with SQL Developer 2.1

    I have upgraded to SQL Developer 2.1 from 1.5.5.
    Iam presenting my overall experience with SQL Developer 2.1 compare to 1.5.5 version.
    If the session expires, reconnecting is really pain in all SQL Developer versions. It opens a new blank window every time we reconnect, we have to copy all the things into new window every time.
    when i tried to execute an insert as select statement it is showing nothing, but it's doing something in the background.
    My templates are not working for (ctrl+Shift+T) after i upgraded to 2.1 from 1.5.5.
    Things I tried and liked in 2.1 are*
    1. 2.1 gives the exact time taken to return the no.of rows (Ex: If it returns first 50 rows, it will display time taken for that particular 50 rows only).
    Things I did not like in 2.1*
    1. When we try to expand a node, it shows "Loading and folder icon" (I didn't like the folder icon showing up every time)
    2. I did not like the new icon for SQL Developer 2.1 itself. (It has become hard to identify the 2.1 on the task bar with this icon)
    3. I did not like the close(i.e., x) on the worksheet tab.
    4. Look and feel wise 1.5.5 is better than 2.1
    Thanks!
    RG

    Regrettably we can't please all the people all the time.
    The little cross was a request specifically from the user community. We had complaints that users inadvertently closed windows and wanted a permanent symbol to show the closing tab. This took much effort and time to finally introduce into the product as it had to be approved through usability teams and introduced into the underlying IDE.
    The release notes explain that there is no longer a key sequence for the Code Templates, start typing your code and it should appear in the code insight.
    The icon updates on the taskbar was also an update based on user feedback.
    While there won't be many changes between the release candidate and production, I do remind you that you are working with beta software and not production software.
    Thank you for taking the tiem to post your feedback. I hope you'll find lots to really like in the latest release. Take a look through the 2.1 New Features list.
    Sue

  • Problem with Cue Cards tutorial

    Hello,
    I have new JDeveloper, version 11.1.1.1.0. Now I’m trying to do some tutorials and I have a problem with «Build Web Application with EJB, JPA and JSF » .
    I think that I followed the instructions quite accurate, even if there is a light difference in description and the picture that I saw at my display. But when I execute the example, and try to save the order (even without any change) I’ve got an Exception:
    javax.ejb.EJBException: EJB Exception: : java.lang.IllegalArgumentException: Object: null is not a known entity type.
         at org.eclipse.persistence.internal.jpa.EntityManagerImpl.mergeInternal(EntityManagerImpl.java:291)
         at org.eclipse.persistence.internal.jpa.EntityManagerImpl.merge(EntityManagerImpl.java:274)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at weblogic.deployment.BasePersistenceContextProxyImpl.invoke(BasePersistenceContextProxyImpl.java:90)
         at weblogic.deployment.TransactionalEntityManagerProxyImpl.invoke(TransactionalEntityManagerProxyImpl.java:89)
         at weblogic.deployment.BasePersistenceContextProxyImpl.invoke(BasePersistenceContextProxyIm
    Can you give me an advice how I can manage it ? There is no code that written by me, only manipulations in wisards, so debug of method gives me nothing useful. Can you suggest how I can understand what is wrong and how I can correct it ?
    Thank for any help and ideas.
    Tamara

    From the error I think you might have missed step 10 after you dragged the mergeEmployees method:
    10.      In the Variables dialog, expand ADF Bindings | Bindings |queryEmployeesFindByNameIterator | currentRow and select dataProvider. As you select each node in the expression. the editor adds it to the expression in the top of the window.
    You can try to delete and re-create this button again - or you can look at the binding information for that action in the binding tab.

  • Problem with netweaver developer studio for sp9

    Hi,
    Presenty we are on ep6 sp10 and we have downloaded dev studio for sp9 which is available on sdn.we have j2sdk1.4.2_06
    the problem is that when i deploy a par file from netweaver and try to create an iview based on that par it gives me the following error
    Portal Runtime Error
    An exception occurred while processing a request for :
    iView : N/A
    Component Name : N/A
    com.sapportals.portal.navigation.ToolAreaiView.
    Exception id: 04:25_03/03/05_0005_4061050
    See the details for the exception ID in the log file
    The strange thing is that if i use ep6 sp2 dev studio it works fine. So is there any problem with sp9 dev studio?

    I think that with NWDS the SP of the portal and NWDS much match.
    Hope it helps,
    Patrick.

  • Problem with the firstcup tutorial

    Hi, I'm a developer that is new to Java. I walked through the "firstcup" tutorial using the netbeans 6.5.1 ide and glassfish 2.1 server.
    I thought I had successfuly completed all the code and xml config files.
    When I got to p14.html, "Building, Packaging, Deploying, and Running the firstcup Enterprise Application", I run into a problem trying to run the tutorial app.
    Posted below is the error I get in the webpage. The server log file error is too long to post because of the character limit of this forum.
    If anybody could point me in the right direction I would appreciate it. Also if this question should be posted on a different forum please advise,
    Thanks,
    Paul
    WEBPAGE ERROR
    type Exception report
    message
    descriptionThe server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: Cant instantiate class: com.sun.firstcup.web.DukesBDay.. com.sun.firstcup.web.DukesBDay
    root cause
    javax.faces.FacesException: Cant instantiate class: com.sun.firstcup.web.DukesBDay.. com.sun.firstcup.web.DukesBDay
    root cause
    java.lang.ClassNotFoundException: com.sun.firstcup.web.DukesBDay
    note The full stack traces of the exception and its root causes are available in the Sun GlassFish Enterprise Server v2.1 logs.

    Paul,
    What does the below diagnostic message mean to you?
    java.lang.ClassNotFoundException: com.sun.firstcup.web.DukesBDayTell me, I'll confirm or repudiate... and then we'll looking to why that might be the case, leading to what to do about it.
    <aside>
    If you're new to Java then jumping straight into J2EE probably isn't the way to go... especially if you're totally new to programming, especially web-programming... The serverside EE-technology-stack builds on the core Java langauge and API's (J2SE)... and without at-least a basic understanding of the Java language itself I predict that you're going to really really struggle with the EE tutorials... and that therefore you'll probably give up in disgust.
    They call this page [getting started|http://java.sun.com/docs/books/tutorial/getStarted/index.html]... I (for one) think it's aptly named... Nobody gets to skip HelloWorld, or the universe will implode, or something ;-)
    </aside>
    Cheers. Keith.

  • Problem with BAPI (Flight) Tutorial

    Hi,
    Im new in developeing with Web Dynpro for Java.
    I did every steps of this tutorial (Adaptive RFC tutorial - with the BAP_Flight_Getlist) exactly:
    http://help.sap.com/saphelp_webas630/helpdata/DE/b2/326b09e58bcf499f73b5cc278808f4/content.htm
    But i can not deploy the application - Error: deployment aborted.
    05.04.2008 11:00:23 /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
    [022]Deployment aborted
    Settings
    SDM host : dmhpnb34
    SDM port : 50018
    URL to deploy : file:/C:/DOKUME1/ADMINI1/LOKALE~1/Temp/temp29689Flights.ear
    Result
    => deployment aborted : file:/C:/DOKUME1/ADMINI1/LOKALE~1/Temp/temp29689Flights.earAborted: development component 'Flights'/'local'/'LOKAL'/'0.2008.04.05.11.00.19'/'0':
    Caught exception during application deployment from SAP J2EE Engine's deploy service:
    java.rmi.RemoteException: Cannot deploy application local/Flights.. Reason: Clusterwide exception: Failed to deploy application local/Flights. Check causing exception for details (trace file). Hint: Are all referenced components deployed and available on the engine?; nested exception is:      com.sap.engine.services.deploy.container.DeploymentException: Clusterwide exception: Failed to deploy application local/Flights. Check causing exception for details (trace file). Hint: Are all referenced components deployed and available on the engine?
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
    Deployment exception : The deployment of at least one item aborted
    My SLD is working, also my JCOS, so there should not be the problem.
    Are there more good small tutorials (like this flight tutorial) with Web Dynpro and BAPI ?!

    thx for the advise. I developed the tuturial application again and can now run it. But if i click on search button  with the entered values Departure City: Frankfurt and Arrival City: New York
    i get no values in the table (i checked in the ERP System if the flights with this directions exists - its there):
    Custom Controller Code:
    // This file has been generated partially by the Web Dynpro Code Generator.
    // MODIFY CODE ONLY IN SECTIONS ENCLOSED BY @@begin AND @@end.
    // ALL OTHER CHANGES WILL BE LOST IF THE FILE IS REGENERATED.
    package mypackages;
    // IMPORTANT NOTE:
    // ALL IMPORT STATEMENTS MUST BE PLACED IN THE FOLLOWING SECTION ENCLOSED
    // BY @@begin imports AND @@end. FURTHERMORE, THIS SECTION MUST ALWAYS CONTAIN
    // AT LEAST ONE IMPORT STATEMENT (E.G. THAT FOR IPrivateFlightsController).
    // OTHERWISE, USING THE ECLIPSE FUNCTION "Organize Imports" FOLLOWED BY
    // A WEB DYNPRO CODE GENERATION (E.G. PROJECT BUILD) WILL RESULT IN THE LOSS
    // OF IMPORT STATEMENTS.
    //@@begin imports
    import mypackages.model.Bapi_Flight_Getlist_Input;
    import mypackages.model.Bapisfldst;
    import mypackages.model.FlightModel;
    import mypackages.wdp.IPrivateFlightsController;
    import com.sap.mw.jco.JCO;
    import com.sap.tc.webdynpro.progmodel.model.api.WDModelFactory;
    import com.sap.tc.webdynpro.progmodel.model.api.WDModelScopeType;
    //@@end
    //@@begin documentation
    //@@end
    public class FlightsController
    Logging location.
      private static final com.sap.tc.logging.Location logger =
        com.sap.tc.logging.Location.getLocation(FlightsController.class);
      static
        //@@begin id
        String id = "$Id$";
        //@@end
        com.sap.tc.logging.Location.getLocation("ID.com.sap.tc.webdynpro").infoT(id);
    Private access to the generated Web Dynpro counterpart
    for this controller class.  </p>
    Use <code>wdThis</code> to gain typed access to the context,
    to trigger navigation via outbound plugs, to get and enable/disable
    actions, fire declared events, and access used controllers and/or
    component usages.
    @see mypackages.wdp.IPrivateFlightsController for more details
      private final IPrivateFlightsController wdThis;
    Root node of this controller's context. </p>
    Provides typed access not only to the elements of the root node
    but also to all nodes in the context (methods node<i>XYZ</i>())
    and their currently selected element (methods current<i>XYZ</i>Element()).
    It also facilitates the creation of new elements for all nodes
    (methods create<i>XYZ</i>Element()). </p>
    @see mypackages.wdp.IPrivateFlightsController.IContextNode for more details.
      private final IPrivateFlightsController.IContextNode wdContext;
    A shortcut for <code>wdThis.wdGetAPI()</code>. </p>
    Represents the generic API of the generic Web Dynpro counterpart
    for this controller. </p>
      private final com.sap.tc.webdynpro.progmodel.api.IWDController wdControllerAPI;
    A shortcut for <code>wdThis.wdGetAPI().getComponent()</code>. </p>
    Represents the generic API of the Web Dynpro component this controller
    belongs to. Can be used to access the message manager, the window manager,
    to add/remove event handlers and so on. </p>
      private final com.sap.tc.webdynpro.progmodel.api.IWDComponent wdComponentAPI;
      public FlightsController(IPrivateFlightsController wdThis)
        this.wdThis = wdThis;
        this.wdContext = wdThis.wdGetContext();
        this.wdControllerAPI = wdThis.wdGetAPI();
        this.wdComponentAPI = wdThis.wdGetAPI().getComponent();
      //@@begin javadoc:wdDoInit()
      /** Hook method called to initialize controller. */
      //@@end
      public void wdDoInit()
        //@@begin wdDoInit()
         Bapi_Flight_Getlist_Input input = new Bapi_Flight_Getlist_Input();
              wdContext.nodeBapi_Flight_Getlist_Input().bind(input);
              Bapisfldst bapisfldstFrom = new Bapisfldst();
              input.setDestination_From(bapisfldstFrom);
              Bapisfldst bapisfldstTo = new Bapisfldst();
              input.setDestination_To(bapisfldstTo);  
              // Creates an instance of a client to the remote SAP system   
              client = JCO.createClient("800",          //SAP logon client number
                                              "Andreas",            //SAP logon user
                                              "*****",        //SAP logon password
                                              "DE",        //SAP logon language
                                              "dmsaperp",        //Host name of application server
                                              "00");          //SAP system number
              // Creates the model instance
              model = (FlightModel)WDModelFactory.getModelInstance( FlightModel.class, WDModelScopeType.APPLICATION_SCOPE);
              // Assigns the client to the model
              model.setJcoClient(client);   
        //@@end
      //@@begin javadoc:wdDoExit()
      /** Hook method called to clean up controller. */
      //@@end
      public void wdDoExit()
        //@@begin wdDoExit()
        //@@end
      //@@begin javadoc:getFlights()
      /** Declared method. */
      //@@end
      public void getFlights( )
        //@@begin getFlights()
        //@@end
    The following code section can be used for any Java code that is
    not to be visible to other controllers/views or that contains constructs
    currently not supported directly by Web Dynpro (such as inner classes or
    member variables etc.). </p>
    Note: The content of this section is in no way managed/controlled
    by the Web Dynpro Designtime or the Web Dynpro Runtime.
      //@@begin others
      JCO.Client client;
         FlightModel model;
      //@@end
    content of obsolete user coding area(s) -
    //@@begin obsolete:getFlights()^
    //     client.connect();
    //        try {
    //        // Calls remote Function Module BAPI_FLIGHT_GETLIST 
    //        wdContext.currentBapi_Flight_Getlist_InputElement().modelObject().execute();
    //        catch (Exception ex) {
    //            ex.printStackTrace();
    //        finally {
    //           client.disconnect();
    //        // Invalidates the output context node
    //        wdContext.nodeOutput().invalidate();
    //@@end

  • Problem with dreamweaver8 help tutorial section

    i was going through the tutorial section of macromedia
    dreamweaver8. i installed coldfusion mx7 to my comp exactly the way
    it was shown. i was doing the same procedure as it was shown in
    tutorial developing a web application (in the section getting
    started with dreamweaver). i did exactly as it was shown in the
    tutorial , but while testing recordset i m getting a long list of
    errors as follows.
    -1:[macromedia][sequelink JDBC driver][ODBC
    socket][microsoft][ODBC microsoft access driver] syntax error in
    FROM clause.
    {and there is a long list of errors showing}
    please help

    Check that you are not trying to check a field called
    "Password". It is now
    a reserved word and will throw syntex errors.
    Paul Whitham
    Certified Dreamweaver MX2004 Professional
    Adobe Community Expert - Dreamweaver
    Valleybiz Internet Design
    www.valleybiz.net
    "anshuman_chakraborty" <[email protected]>
    wrote in message
    news:ec1see$3t6$[email protected]..
    >i was going through the tutorial section of macromedia
    dreamweaver8. i
    > installed coldfusion mx7 to my comp exactly the way it
    was shown. i was
    > doing
    > the same procedure as it was shown in tutorial
    developing a web
    > application (in
    > the section getting started with dreamweaver). i did
    exactly as it was
    > shown in
    > the tutorial , but while testing recordset i m getting a
    long list of
    > errors as
    > follows.
    > -1:[macromedia][sequelink JDBC driver][ODBC
    socket][microsoft][ODBC
    > microsoft
    > access driver] syntax error in FROM clause.
    > {and there is a long list of errors showing}
    >
    >
    > please help
    >

Maybe you are looking for

  • Windows 7 Crashes/Freezes when playing ANY Video files

    lets see can anyone get their head around this one as it is driving me round the bend.  So... I have a media centre PC connected to my HDTV by VGA cable. I ran the PC on XP for a long time but last December, I upgraded it to Windows 7 along with my l

  • Error in Transformation from Access to Oracle

    I am getting following error while fetching data from Access in Load data. java.lang.ClassCastException: java.lang.Integer cannot be cast to [B      at oracle.jdbc.driver.OraclePreparedStatement.setObjectCritical(OraclePreparedStatement.java:7839)   

  • Enhanced book for iPad, built on iBooks Author

    Hi all I am sorry if these are similar questions to ones asked before, but I wondered if things might be different since they were last asked. I have delivered an enhanced book built for iPad and it is currently in the review status, not in 51 stores

  • Spry Horizontal Menu Bar Shift Error in IE

    My horizontal submenus keep shifting to the right in Internet Explorer. See here: home test . I've downloaded and replaced the js with this "fix" ( http://labs.adobe.com/technologies/spry/widgets/menubar/SpryMenuBar.js) but it's still not working. Th

  • Best way to implement view filtering when using AssocoationConsistent(true)

    Hi, I need to retrieve all existing rows on a table as well as all the newly created rows in the entity cache for a partial key. ExecuteQuery, with AssociationConsistent set to true, will return the rows on the DB and ALL the newly created rows in th