Eclipse-AXIS2 : Generating the stub

hi,
i implemented a POJO business service, and use the eclipse web service wizard to generate the server and client side code.
everything is OK, but i want to do a customisation, i would like to force the generated stub to extends a custom class ant not
org.apache.axis2.client.Stub.
my custom stub let's say GenericStub will extends org.apache.axis2.client.Stub, to endup with a stub like this :
class OrederServiceStub extends GenericStub {
class GenericStub extends org.apache.axis2.client.Stub {
}any idea how to achieve that
thanks

Able to do it myself

Similar Messages

  • A way to reuse existing classes instead of generating the stub ones?

    Hello to all,
    I am using eclipse and weblogic 10.3 as an application server.
    I have a 1st project deployed with some exposed web services. I need to access these services from a 2nd project, so i run the clientgen ant task, which generates the client interface, along with some stub classes. These stub classes are basically a copy of the ones from the 1st project.
    My question is this:
    Is there a way to reuse the original objects that the 1st project is using, by putting the first project as a dependency on the second? Or do i have to use the generated stub classes?
    Thanks in advance! Any help is appreciated.

    hi raja,
    no, DB6CONV cannot reuse the existing compression dictionary - this is in general not possible.
    BUT:  the good news is, that the next version V5 of DB6CONV will (amongst other new features) handle compression in a much better way! like R3load and online_table_move the compression dictionary will then be created based on  (if possible) 20MB of sampled data ensuring optimal compression.
    this new version will become generally available within the next few weeks.
    regards, frank

  • About the stub generated by Jdev10.1.2

    hi,
    I generated the stub class by the Jdeveloper9i from the wsdl which is basic authentication, and it can invoke the web service. But when I updated the soap.jar from the Oc4j9.0.3X to the oc4j 10.1.2, the stub can not invoke the web service any more.
    So I did some testes.
    1. I create the web service which has not authentication.
    1.1 I generated the stub class by the Jdeveloper9.0.5.2. The stub class can invoke web servie.
    1.2 I generated the stub class by the Jdeveloper10.1.2. The stub class can also invoke web service.
    2. I create the web service which has basic authentication.
    2.1 I generated the stub class by the Jdeveloper9.0.5.2 and set the userName and password. The stub class can invoke web servie.
    2.2 I generated the stub class by the Jdeveloper10.1.2 and set the userName and password. But the stub class can not invoke web service. It throws the exeception likes below:
    [SOAPException: faultCode=SOAP-ENV:Protocol; msg=Unsupported response content type
    "text/html", must be: "text/xml". Response was:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
    "http://www.w3.org/TR/html4/strict.dtd"><HTML><HEAD><TITLE>Yo
    u are not authorized to view this page</TITLE><META HTTP-EQUIV="Content-
    Type" Content="text/html; charset=Windows-1252"><STYLE
    type="text/css">  BODY { font: 8pt/12pt verdana } H1 { font: 13pt/15pt verdana
    } H2 { font: 8pt/12pt verdana } A:link { color: red } A:visited { color: maroon }
    </STYLE></HEAD><BODY><TABLE width=500 border=0
    cellspacing=10><TR><TD><h1>You are not authorized to view this
    page</h1>You do not have permission to view this directory or page using the
    credentials that you supplied because your Web browser is sending a WWW-Authenticate header
    field that the Web server is not configured to accept.<hr><p>Please try the
    following:</p><ul><li>Contact the Web site administrator if you believe
    you should be able to view this directory or page.</li><li>Click the <a
    href="javascript:location.reload()">Refresh</a> button to try again with
    different credentials.</li></ul><h2>HTTP Error 401.2 - Unauthorized:
    Access is denied due to server configuration.<br>Internet Information Services (IIS)
    </h2><hr><p>Technical Information (for support personnel)
    </p><ul><li>Go to <a href="http://go.microsoft.com/fwlink/?
    linkid=8180">Microsoft Product Support Services</a> and perform a title search
    for the words <b>HTTP</b> and <b>401</b>.</li><li>Open
    <b>IIS Help</b>, which is accessible in IIS Manager (inetmgr), and search for
    topics titled <b>About Security</b>, <b>Authentication</b>, and
    <b>About Custom Error
    Messages</b>.</li></ul></TD></TR></TABLE></BODY>&l
    t;/HTML>]     at org.apache.soap.rpc.Call.getEnvelopeString(Call.java:209)     at
    org.apache.soap.rpc.Call.invoke(Call.java:268)
    3.
    Then I compared the stub classes and found that the stub class generated from the
    Jdev9.0.5.2 has one codes in the stub constuctor while the stub class generated from
    Jdev10.1.2 has not.
    System.setProperty("oracle.soap.transport.noHTTPClient", "true");
    3.1
    Then I noted this code in the 9052 stub class and run it, it also threw the same the exception.
    3.2
    But I add this code in the 1012 stub class and run it, it threw another
    exception:java.lang.NullPointerException     at
    oracle.net.www.protocol.http.HttpURLConnection.<init>(HttpURLConnection.java:101)     at
    oracle.soap.transport.http.OracleSOAPHTTPConnection.getConnection
    (OracleSOAPHTTPConnection.java:1022)     at
    oracle.soap.transport.http.OracleSOAPHTTPConnection.post(OracleSOAPHTTPConnection.java:833)     
    at oracle.soap.transport.http.OracleSOAPHTTPConnection.send
    (OracleSOAPHTTPConnection.java:713)     at org.apache.soap.rpc.Call.invoke(Call.java:261)
    But I only change the soap.jar from 10.1.2 version to the 9.0.5.2 version and run this 1012 stub class after add that code, it can invoke the web service.
    4. Note: The stub class 9052 run in the Jdeveloper9.0.5.2 and the stub class 1012 run in the Jdeveloper10.1.2. They both don't use proxy server.
    Now we use oc4j 10.1.2 platform, and I cannot create the stub class to invoke the web service which is basic authentication. Colud you please help me solve this problem?
    Thanks & Best Regards!

    I have set REALM information which is get from the response in the TCP monitor, and it can invoke the web service.
    For the exception 2.2, maybe it is due to that web service is in Windows platform, then I can't get the REALM information from the TCP Monitor!
    Thanks

  • Why is the stub generated from the implementation and not the interface?

    Why is the stub generated from the implementation and not the interface?

    Because if a remote server object implements multiple remote interfaces, its stub must implement all the same remote interfaces. The only way to know which interfaces to implement is to examine the server object class.

  • Errors generating client stubs for web services

    Hello,
    We are having issues trying to generate client stubs from the Unifier wsdl document (mainservice.wsdl). I see this was generated using Axis 1.4 (2006). I normally use Apache CXF but it complains due to the use of RPC/encoding. I tried Axis2 but it complains about "SchemaCompilationException: can not find type {http://schemas.xmlsoap.org/soap/encoding/}Array from the parent schema". I am wondering if we need to use Axis 1.4?
    If you have successfully generated client stubs from the wsdl documents please let me know which method was successful for you.
    We have Unifier R9.12 installed.
    Thank you
    Rudy

    I found more notes on what I had to do:
    - the process above created package names like java.oracle_e1_bssv_jp010000
    - we need to rename these to be proper package names.
    - refresh the eclipse project so you see these folders
    - select the package, right click, refactor, rename
    - rename these to be like oracle.e1.bssv.jp010000 (remove the java. and replace _ with .)
    - there will probably be a bunch of errors in individual java files you will need to fix.
    - they are very easy, it should be a matter of just deleting the imports, these are not needed because they are in the same package.

  • Failure when generating a stub from sap web service wsdl

    Hi All,
    I have a need here, i have to generate a stub of an wsdl of sap
    service , i am using jde of course i can use jde for eclipse if need
    be, but do u think am i obliged to use wsa (wtk2.5.2) to genrate my
    the stub to be integrated with jde blackberry, or can i do it with any
    oother library apache axis ? could u help me plz ? cz i tried to
    generate it via wtk2.5.2 but it's giving me errors !!!!
    http code return 401 which means my parmeter connection are not correct!! or that 'realm' param or www-authenticate , could any body help me here
    in my file config.xml, I m giving this url : http://hca-ecc.hca.group:8000/sap/bc/srt/wsdl/bndg_DD952C5B02C231F19D4D001C23D2E187/wsdl11/allinone/standard/document?sap-client=800;sap-user=forma&sap-password=lolpla
    C:\WTK2.5.2\bin>wscompile -gen -d  "C:\Documents and Settings\NAFNAF\Bureau\meri
    em\generated"  "C:\Documents and Settings\NAFNAF\Bureau\config.xml"
    error parsing configuration file: XML parsing error: com.sun.xml.rpc.sp.ParseExc
    eption:5: com.sun.xml.rpc.sp/P-008 ; com.sun.xml.rpc.sp/F-020 "sap-password"
    any idea any help would be appreciated ,
    thankx,
    Meriem
    Edited by: MERRY NAFNAF on Oct 29, 2008 4:04 PM

    Hi Lin,
    have you tried SAP Note 830340?
    Regards
    Gregor

  • [Eclipse - Axis] Generate Client from wsld, wrong type for unbounded elemen

    Hi all!
    I'm not expert on wsdl format, but in my work activities I have to take wsdl they send to me and generate Java code in Eclipse.
    One of last wsdl they sent to me contains the following element:
    <xs:element ref="ns0:CodicePraticaDistributore" minOccurs="0" maxOccurs="unbounded"/>where ns0:CodicePraticaDistributore is:
    <xs:element name="CodicePraticaDistributore" type="ns0:CodPratica"/>and ns0:CodPratica is:
    <xs:simpleType name="CodPratica">
         <xs:restriction base="xs:string">
              <xs:maxLength value="15"/>
         </xs:restriction>
    </xs:simpleType>(Sorry I don't report whole wsdl... but it's VERY long!)
    When I do right click on the wsdl and follow Web Services - Generate Client and so on... the generated class contain following lines:
    elemField.setXmlName(new javax.xml.namespace.QName("http://xmlns.a2a.eu/Unbundling/documentum/schema/DocumentalePrestazione", "CodicePraticaDistributore"));
    elemField.setXmlType(new javax.xml.namespace.QName("http://xmlns.a2a.eu/Unbundling/documentum/schema/DocumentalePrestazione", "CodicePraticaDistributore"));Which are wrong, 'cause the second argument for setXmlType should be CodPratica and not CodicePraticaDistributore.
    The right one should be:
    elemField.setXmlName(new javax.xml.namespace.QName("http://xmlns.a2a.eu/Unbundling/documentum/schema/DocumentalePrestazione", "CodicePraticaDistributore"));
    elemField.setXmlType(new javax.xml.namespace.QName("http://xmlns.a2a.eu/Unbundling/documentum/schema/DocumentalePrestazione", "CodPratica"));This makes Axis generate wrong xml, with addition of xsi:type="xsd:string" which makes the other system (where I send xml) to return me an error for bad xml format.
    The generated xml code for this data is:
    <CodicePraticaDistributore xsi:type="xsd:string">PN100000000110E</CodicePraticaDistributore>While it should be simply:
    <CodicePraticaDistributore>PN100000000110E</CodicePraticaDistributore>I can't understand how to resolve this behaviour on Java generation (other than modifying the final generated Java Class).
    Can you help me?

    I didn't meant to "up" again the topic... I was just marking it as "resolved" to remove from "unresolved" topics in my control panel... but it asked to me if I wanna add a comment... I didn't guess it would be post in the topic and up it again, sorry.
    I also tried in the API forum, but no answer neither there.
    I tried Axis2, but at the end I found some incompatibilites, because in the project I'm working on there are lot of wsdl, but only this one generate the said problem.
    But them all write in the same paths, and this generates case-sensitive problems on paths (under windows).
    At the end I simply think they left Axis1 as it is (whith this bug included), and they're only on Axis2... which is not so compatible with Axis1.
    So up to now no solution, if not edit manually the error... or rewrite the whole project for classes generated by another wsdlToJava generator (which is a HUGE work).
    Thank you anyway. :)

  • Generating client stubs...

    Hi all,
    I want to ask a question about my j2me web service project.
    Wireless Toolkit 2.5,
    Tomcat 5.0 for Java WSDP,
    Java Web Services Developer Pack 1.5,
    jdk1.5.0_06 are installed and environment variables are adjusted...
    When i want to generate client stubs after i deploy the project via ant, i get this error:
    error : com.sun.tools.javac.Main is not available in the classpath..
    error: compilation failed, errors should have been reported
    How to solve this problem, please help...

    I found more notes on what I had to do:
    - the process above created package names like java.oracle_e1_bssv_jp010000
    - we need to rename these to be proper package names.
    - refresh the eclipse project so you see these folders
    - select the package, right click, refactor, rename
    - rename these to be like oracle.e1.bssv.jp010000 (remove the java. and replace _ with .)
    - there will probably be a bunch of errors in individual java files you will need to fix.
    - they are very easy, it should be a matter of just deleting the imports, these are not needed because they are in the same package.

  • Generate client stubs for EJBs? Is this correct?

    Hi,
         Third time I write this... maybe it gets actually posted now...
    I'm using Sun's appserver (edition 8) to learn EJBs. I have a small app with 2 EJBs runing on the server and I intend to test them using junit test cases running from Eclipse (as a normal java program, no client container or whatsoever). I realized that in order connect my client app to the remote homes on the server I need to have the client stubs. OK. I saw that they are actually created when I generate the deployment for a client app. So what I did is open the .jar and copy the stubs to my client app in Eclipse. It works... but I fear is NOT the way to go...
    My questions:
    A) How can I generate ONLY the stubs?
    B) Is it necessary to deploy the EJBs on the server to generate the client stubs to access the remote interfaces?
    Any answers or indications or directions to take are WELCOME :-)
    C) Is what I do correct? I mean, are you guys too writing client apps that do NOT run in the client container? If so, how do you get the stubs? Maybe my approach to developing EJBs is not correct?
    Thank you for any answers, comments or indications and directions to take!

    Hi Pablo,
    please give me a hint, i have the same problem in my mind.
    I would like write a simple application with eclipse as a application client. I'm reuse the rmi-iiop-simple sample of application server 8. My steps until now:
    - I have execute the sample full - it works.
    - I have set up a project within eclipse workspace with content of sun's sample code
    - I have chamged the build.xml for reuse -> it works i can create ear and other jars
    - I deploy the ear with web front end of application server -> web app works
    - I start my application in eclipse debug (java-application) -> this goes wrong -> class cast exception by narrow
    Because i would like use the application as application client so i have added the j2ee.jar and the appserv-ext.jar to my classpath.
    At this point i think the application must be run. The appserv-ext.jar and the j2ee.jar should realize the container. But she doesn't !
    Which thing is wrong in my mind?
    Thanks Thomas

  • Geting "Incorrect client ID.The stub is not connected yet" during deploying

    Hai all,
          I am unable to deploy a J2EE application from Deploy Tool. The following trace is comg in defaultTrace.trc.2
    #1.5#000D9D9FAF62003C0000000900000F080003FC0472DB309D#1121520967258#com.sap.engine.services.rmi_p4##com.sap.engine.services.rmi_p4#Guest#2##sap_J2E_1009250#Guest#097b3220f5fd11d9b557000d9d9faf62#Finalizer##0#0#Error#1#/System/Server#Plain#ID:Can't send inform message.: Incorrect client ID. The stub is not connected yet.#com.sap.engine.services.monitor.mbeans.MonitorResourceBundle##
    #1.5#000D9D9FAF62003C0000000A00000F080003FC0472DB33DE#1121520967258#com.sap.engine.services.rmi_p4##com.sap.engine.services.rmi_p4#Guest#2##sap_J2E_1009250#Guest#097b3220f5fd11d9b557000d9d9faf62#Finalizer##0#0#Error#1#/System/Server#Plain###Incorrect client ID. The stub is not connected yet.#
    #1.5#000D9D9FAF62003C0000000B00000F080003FC0472DB3A15#1121520967258#com.sap.engine.services.rmi_p4##com.sap.engine.services.rmi_p4.com.sap.engine.services.rmi_p4.StubImpl p4_finalize#Guest#2##sap_J2E_1009250#Guest#097b3220f5fd11d9b557000d9d9faf62#Finalizer##0#0#Error##Plain###
    com.sap.engine.services.rmi_p4.exception.P4BaseIOException: Incorrect client ID. The stub is not connected yet.
         at com.sap.engine.services.rmi_p4.server.P4ObjectBrokerServerImpl.getException(P4ObjectBrokerServerImpl.java:860)
         at com.sap.engine.services.rmi_p4.server.P4ObjectBrokerServerImpl.getException(P4ObjectBrokerServerImpl.java:853)
         at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.reply(P4SessionProcessor.java:169)
         at com.sap.engine.services.rmi_p4.StubImpl.p4_finalize(StubImpl.java:221)
         at com.sap.engine.services.rmi_p4.StubBase.finalize(StubBase.java:121)
         at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
         at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:83)
         at java.lang.ref.Finalizer.access$100(Finalizer.java:14)
         at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:160)
    #1.5#000D9D9FAF62003C0000000C00000F080003FC0472DB3F36#1121520967258#com.sap.engine.services.rmi_p4##com.sap.engine.services.rmi_p4#Guest#2##sap_J2E_1009250#Guest#097b3220f5fd11d9b557000d9d9faf62#Finalizer##0#0#Error#1#/System/Server#Plain#ID:Can't send inform message.: Incorrect client ID. The stub is not connected yet.#com.sap.engine.services.monitor.mbeans.MonitorResourceBundle##
    #1.5#000D9D9FAF62003C0000000D00000F080003FC0472DB423D#1121520967258#com.sap.engine.services.rmi_p4##com.sap.engine.services.rmi_p4#Guest#2##sap_J2E_1009250#Guest#097b3220f5fd11d9b557000d9d9faf62#Finalizer##0#0#Error#1#/System/Server#Plain###Incorrect client ID. The stub is not connected yet.#
    #1.5#000D9D9FAF62003C0000000E00000F080003FC0472DB47AA#1121520967258#com.sap.engine.services.rmi_p4##com.sap.engine.services.rmi_p4.com.sap.engine.services.rmi_p4.StubImpl p4_finalize#Guest#2##sap_J2E_1009250#Guest#097b3220f5fd11d9b557000d9d9faf62#Finalizer##0#0#Error##Plain###
    com.sap.engine.services.rmi_p4.exception.P4BaseIOException: Incorrect client ID. The stub is not connected yet.
         at com.sap.engine.services.rmi_p4.server.P4ObjectBrokerServerImpl.getException(P4ObjectBrokerServerImpl.java:860)
         at com.sap.engine.services.rmi_p4.server.P4ObjectBrokerServerImpl.getException(P4ObjectBrokerServerImpl.java:853)
         at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.reply(P4SessionProcessor.java:169)
         at com.sap.engine.services.rmi_p4.StubImpl.p4_finalize(StubImpl.java:221)
         at com.sap.engine.services.rmi_p4.StubBase.finalize(StubBase.java:121)
         at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
         at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:83)
         at java.lang.ref.Finalizer.access$100(Finalizer.java:14)
         at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:160)
    #1.5#000D9D9FAF62003B0000000100000F080003FC047395DF47#1121520979492#com.sap.engine.compilation##com.sap.engine.compilation.ExternalCompiler.compile()#Administrator#32###Administrator#8c8d9e90f5fe11d99d3d000d9d9faf62#SAPEngine_Application_Thread[impl:3]_32##0#0#Error##Plain###Error while compiling :
    java.io.IOException: CreateProcess: javac -encoding Cp1252 -d C:/usr/sap/J2E/JC00/j2ee/cluster/server0/apps/sap.com/onlyear/EJBContainer/temp/temp1121520967445 -classpath .;./bin/system/frame.jar;C:/usr/sap/J2E/JC00/j2ee/cluster/server0/bin/ext/jms/jms.jar;C:/usr/sap/J2E/JC00/j2ee/cluster/server0/bin/ext/tcsecssl/iaik_jsse.jar;C:/usr/sap/J2E/JC00/j2ee/cluster/server0/bin/ext/webservices_lib/saaj-api.jar;C:/usr/sap/J2E/JC00/j2ee/cluster/server0/bin/ext/tcsecssl/iaik_smime.jar;C:/usr/sap/J2E/JC00/j2ee/cluster/server0/bin/ext/add_ejb/add_ejb.jar;C:/usr/sap/J2E/JC00/j2ee/cluster/server0/bin/ext/servlet/servlet.jar;C:/usr/sap/J2E/JC00/j2ee/cluster/server0/bin/services/naming/naming.jar;C:/usr/sap/J2E/JC00/j2ee/cluster/server0/bin/ext/webservices_lib/webservices_lib.jar;C:/usr/sap/J2E/JC00/j2ee/cluster/server0/bin/interfaces/resourcecontext_api/resourcecontext_api.jar;C:/usr/sap/J2E/JC00/j2ee/cluster/server0/bin/ext/tcsecssl/w3c_http.jar;C:/usr/sap/J2E/JC00/j2ee/cluster/server0/bin/interfaces/webservices/webservices_api.jar;C:/us?
         at java.lang.Win32Process.create(Native Method)
         at java.lang.Win32Process.<init>(Win32Process.java:66)
         at java.lang.Runtime.execInternal(Native Method)
         at java.lang.Runtime.exec(Runtime.java:566)
         at java.lang.Runtime.exec(Runtime.java:491)
         at java.lang.Runtime.exec(Runtime.java:457)
         at com.sap.engine.compilation.ExternalCompiler.compile(ExternalCompiler.java:65)
         at com.sap.engine.services.ejb.util.AdminUtils.compile(AdminUtils.java:449)
         at com.sap.engine.services.ejb.deploy.DeployAdmin.deploySingleJar(DeployAdmin.java:625)
         at com.sap.engine.services.ejb.deploy.DeployAdmin.generate(DeployAdmin.java:266)
         at com.sap.engine.services.ejb.EJBAdmin.deploy(EJBAdmin.java:2093)
         at com.sap.engine.services.deploy.server.application.DeploymentTransaction.makeComponents(DeploymentTransaction.java:1015)
         at com.sap.engine.services.deploy.server.application.DeploymentTransaction.begin(DeploymentTransaction.java:594)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:300)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:331)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:2910)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:451)
         at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1511)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:286)
         at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:172)
         at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:104)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:140)
    #1.5#000D9D9FAF62003B0000000900000F080003FC04739BCB45#1121520979883#com.sap.engine.services.rmi_p4##com.sap.engine.services.rmi_p4#Administrator#32###Administrator#8c8d9e90f5fe11d99d3d000d9d9faf62#SAPEngine_Application_Thread[impl:3]_32##0#0#Error##Plain###com.sap.engine.services.rmi_p4.DispatchImpl _runInternal Cannot deploy application sap.com/onlyear..
    Reason: Exception during generation of components of application sap.com/onlyear in container EJBContainer.; nested exception is:
         com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Exception during generation of components of application sap.com/onlyear in container EJBContainer.#
    #1.5#000D9D9FAF62003B0000000A00000F080003FC04739BD41D#1121520979883#com.sap.engine.services.rmi_p4##com.sap.engine.services.rmi_p4.com.sap.engine.services.rmi_p4.DispatchImpl runInternal#Administrator#32###Administrator#8c8d9e90f5fe11d99d3d000d9d9faf62#SAPEngineApplication_Thread[impl:3]_32##0#0#Error##Plain###
    java.rmi.RemoteException: Cannot deploy application sap.com/onlyear..
    Reason: Exception during generation of components of application sap.com/onlyear in container EJBContainer.; nested exception is:
         com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Exception during generation of components of application sap.com/onlyear in container EJBContainer.
         at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:466)
         at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1511)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:286)
         at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:172)
         at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:104)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:140)
    Caused by: com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Exception during generation of components of application sap.com/onlyear in container EJBContainer.
         at com.sap.engine.services.deploy.server.application.DeploymentTransaction.makeComponents(DeploymentTransaction.java:1021)
         at com.sap.engine.services.deploy.server.application.DeploymentTransaction.begin(DeploymentTransaction.java:594)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:300)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:331)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:2910)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:451)
         ... 10 more
    Caused by: java.lang.NullPointerException
         at com.sap.engine.compilation.ExternalCompiler.getErrorMessage(ExternalCompiler.java:123)
         at com.sap.engine.services.ejb.util.AdminUtils.compile(AdminUtils.java:451)
         at com.sap.engine.services.ejb.deploy.DeployAdmin.deploySingleJar(DeployAdmin.java:625)
         at com.sap.engine.services.ejb.deploy.DeployAdmin.generate(DeployAdmin.java:266)
         at com.sap.engine.services.ejb.EJBAdmin.deploy(EJBAdmin.java:2093)
         at com.sap.engine.services.deploy.server.application.DeploymentTransaction.makeComponents(DeploymentTransaction.java:1015)
         ... 15 more
    #1.5#000D9D9FAF62003B0000000D00000F080003FC04739BDA8D#1121520979883#com.sap.engine.services.rmi_p4##com.sap.engine.services.rmi_p4#Administrator#32###Administrator#8c8d9e90f5fe11d99d3d000d9d9faf62#SAPEngine_Application_Thread[impl:3]_32##0#0#Error#1#/System/Server#Plain#ID:011403: Cannot deploy application sap.com/onlyear..
    Reason: Exception during generation of components of application sap.com/onlyear in container EJBContainer.; nested exception is:
         com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Exception during generation of components of application sap.com/onlyear in container EJBContainer.#com.sap.engine.services.monitor.mbeans.MonitorResourceBundle##
    #1.5#000D9D9FAF62003B0000000E00000F080003FC04739BDCAE#1121520979883#com.sap.engine.services.rmi_p4##com.sap.engine.services.rmi_p4#Administrator#32###Administrator#8c8d9e90f5fe11d99d3d000d9d9faf62#SAPEngine_Application_Thread[impl:3]_32##0#0#Error#1#/System/Server#Plain###Cannot deploy application sap.com/onlyear..
    Reason: Exception during generation of components of application sap.com/onlyear in container EJBContainer.; nested exception is:
         com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Exception during generation of components of application sap.com/onlyear in container EJBContainer.#
    #1.5#000D9D9FAF62003B0000000F00000F080003FC04739BDEA3#1121520979883#com.sap.engine.services.rmi_p4##com.sap.engine.services.rmi_p4#Administrator#32###Administrator#8c8d9e90f5fe11d99d3d000d9d9faf62#SAPEngine_Application_Thread[impl:3]_32##0#0#Error##Plain###TraceException in DispatchImpl...#
    #1.5#000D9D9FAF62003B0000001000000F080003FC04739BDFA7#1121520979883#com.sap.engine.services.rmi_p4##com.sap.engine.services.rmi_p4#Administrator#32###Administrator#8c8d9e90f5fe11d99d3d000d9d9faf62#SAPEngine_Application_Thread[impl:3]_32##0#0#Error##Plain###P4:SAPEngine_Application_Thread[impl:3]_32: TraceException in DispatchImpl...#
    The above trace repeating all the time when I try to deploy.
    Can any body tell whether is it a configuration problem or any application problem. Also on the same server another j2ee application is deploying successfully.
    Thanks a lot,
    Gangadhar.

    Hai,
        Thanks Brandelik, actually the problem was coming because of java.lang.outOfMemory exception during compilation time.
         As of now I am not able to fix that problem. I am changing all the available options for memory settings.
        Anybody please help me how to set the memory parameters for deploying an application. My application needs minimum of -Xmx512m for deployment on oracle10g server.
    Thanx,
    Gangadhar.

  • RMIC compiling the server to get the stub and skelton problem

    i have this problem
    i'm new to RMI
    and i tried to simulate the same interfaces and class in the RMI java tutorial and when i tried to use rmic to create the stub and skeleton i didnt get any thing
    my RMI server application is called
    c:\samplestep\ServerAPP\ServerEngine.java
    and i complied this java file with
    c:\samplestep\ServerAPP>javac ServerEngine.java and it works well
    i have d:\jdk1.3
    and i have D:\ORANT\jdev(which is Oracle JDeveloper IDE)
    my classpath system variable (windows 2000 professional)
    Looks like this
    D:\jdk1.3\bin;D:\jdk1.3\jre\lib\rt.jar; some other paths;
    c:\samplestep\ServerAPP;
    D:\ORANT\jdk\bin;D:\ORANT\jdk\jre\lib\rt.jar
    and at the command line prompt i wrote
    c:\samplestep\ServerAPP>rmic -d c:\samplestep\ServerAPP -classpath c:\samplestep\ServerAPP\ServerEngine
    and the result was the help associated to the rmic command
    and no stub or skelton class are generated
    could any one help me please(required urgently)
    my email is [email protected]

    Hi Batal,
    Did you follow all the steps required to create a RMIServer and RMI Client.
    Step1: Define an interface(IRMIInterface) that extends Remote
    Step2 : Define a class(RMIServer) that implements extends UnicastRemovetObject and extends IRMIInterface
    Step3 : Compile the IRMIInterface.
    Step4: Compile the RMIServer.
    Step5: Try RMI compile.
    If you have tried all these, just verify whether the class files are there, before you do rmi compile.
    You could have got some errors while compiling, why cant you post them
    LathaDhamo

  • Problem with generating a stub for a Web Service

    I have written a WebService in Delphi that I wan't to call from Java using JDeveloper 9i Release 2. The Web-service works since I can call the webservice from Delphi but the generated java stub just looks like this:
    public class ITempConverterserviceStub
    public String endpoint = "";
    private OracleSOAPHTTPConnection m_httpConnection = null;
    public ITempConverterserviceStub()
    m_httpConnection = new OracleSOAPHTTPConnection();
    m_httpConnection.
    I would expect some method declarations for the methods I want to call in my Webservice ?
    Regards
    Roger Gilliar

    Hi
    As told by Khaja, when generating DS for ODS the technical name will appear as  prefix 8 with ODS technical name.
    Check in DS's.
    If you using BI7, then you have to change into BD1 client, then only you can able to view your DS.
    Reg
    Pra

  • Dynamically generating the jnlp file

    Hi Experts,
    Im working on a project in which we launch the Eclipse RCP from the web UI (thin client).
    I want to dynamically generate the jnlp file cause I want to pass the session of the user from the web client to RCP.
    So for this i have thought of having a variable let say sessionID ,which will take value of the session
    sum thing like this...
    <application-desc main-class="com.rcp.core.HelloWorld">
    <property name="sessionID" value="$$userSessionId"/>
    </application-desc>
    But im not able to figure out how i will populate the sessionID variable.
    which class should be responsible for doing this?
    whether that class will be in the RCP code or in the Web code...i guess it is in the web code?
    Please if u can clarify these doubts then it will be great.
    Thanks
    ved

    usually you would use jsp or a servlet to generate the jnlp file.
    If you extend the JnlpDownloadServlet (found in the sample directory in the JDK) you can generate the session id.
    /Andy

  • WSDL validation failed, can't generate WS stub

    I've searched this forum for this and could not find anything relevant.
    I'm new to JDeveloper, and just installed 10.1.2. I have the Oracle Press book, "Oracle JDeveloper 10g handbook". In the book, chapter 14 contains a "Hands-on Practice" of creating an application that uses a web service. The example uses the Google Web APIs.
    When I get to the step to generate a web service stub from the GoogleSearch.wsdl, JDeveloper produces the following error:
    "WSDL validation failed with the following exception: The WSDL document is ill defined or incomplete and cannot be used to generate a stub."
    I've also tried the google wsdl that is available at the URL, http://api.google.com/GoogleSearch.wsdl
    It too yields the same error.
    I'm going to proceed with other WSDL files and see what happens. If anyone has any info to share on this, I would appreciate it.
    Thanks
    Morgan

    Ok, I found the problem.
    I was also getting a "can not find main class" error on startup. This thread
    Could not find the main class. Program will fail
    pointed out that you should not install JDeveloper into a folder with an embedded space. I had it subordinate to Program Files. So, I moved it from there and now it gets past the WSDL error when generating a stub from the WSDL.
    Onward!

  • Generate the CA certificate using openssl

    hi all,
    can anyone help me on this topic. i wanted to generate the CA certificate using Openssl.. While executing the command i am getting the following error. Kindly suggest what has to be done. Both "clientapp.crs" and "ca.key" are in the bin folder of Openssl
    OpenSSL> ca -in clientapp.crs -out clientapp.pem -keyfile ca.key
    Using configuration from C:\OpenSSL\bin\openssl.cnf
    Loading 'screen' into random state - done
    Error opening CA certificate ./demoCA/cacert.pem
    544:error:02001003:system library:fopen:No such process:.\crypto\bio\bss_file.c:
    278:fopen('./demoCA/cacert.pem','rb')
    544:error:20074002:BIO routines:FILE_CTRL:system lib:.\crypto\bio\bss_file.c:280
    unable to load certificate
    error in ca

    That didn't work for me - as well as a host of other things that did not work for me. I can honestly say that Netbeans is the worst piece of junk software I've ever used in the entirety of my life and my previous one thousand lives.
    The best way to rid yourself of this problem is to uninstall Netcrap and run over to Eclipse. But beyond that, edit your [$TOMCAT_HOME]/conf/web.xml file and rip out the following section from the top - where Netcrap snuck it in, and didn't remove - even causing config errors after I turned it off.
    =========================================
    <filter>
    <filter-name>HTTPMonitorFilter</filter-name>
    <filter-class>org.netbeans.modules.web.monitor.server.MonitorFilter</filter-class>
    <init-param>
    <param-name>netbeans.monitor.ide</param-name>
    <param-value>127.0.0.1:8082</param-value>
    </init-param>
    </filter>
    <filter-mapping>
    <filter-name>HTTPMonitorFilter</filter-name>
    <url-pattern>/*</url-pattern>
    <dispatcher>REQUEST</dispatcher>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>INCLUDE</dispatcher>
    <dispatcher>ERROR</dispatcher>
    </filter-mapping>
    =========================================
    I'm using 4.0 on Linux. Thing has got a couple of cool features, but nothing beats dependability, and a darn config interface that actually makes sense. I mean, turn off some features and you can't even open your past projects?! WTF?! But no indication! But first the icon looks good! And then you click on it and it disappears! Un-effing-believable! And it took me hours to figure out how to set up a dang server! I just assumed it didn't have the ability to do it at all! The source-code control config is whack. Man. Total lack of useful documentation, no decent news/web boards. Totally outrageous.
    Worst. Software. Ever.

Maybe you are looking for

  • Fields in read-only mode for BP transaction in upgrade from 4.72 to ECC6.0

    Hello, This is regarding the query for BP transaction in upgrade from 4.72 to ECC 6.0. While creating BP / Changing BP system is disabling the fields in compnay code & sales area option. There is a SAP not provided 907860; and specified that the prop

  • Three day old Macbook pro, 15" 2.8 model...I am loving the switch from PC!

    Hello everyone. I just wanted to post some of my likes and dislikes of the Macbook Pro 15" 2.8 GHZ model for those searching this forum for reviews. The computer I have is completely up-to-date, with the latest 10.6.1 OS, with Logic Express to boot.

  • Not able to import transport request in A66

    Hi Expert, I have done an amendment via t.code OBR3 in N66 so created a transport request. I went to SE01 to release the transport request and I saw the status is released and the is a warning message "Import steps not specific to transport request".

  • How do I un-pillarbox 4:3 material broadcast in 16:9?

    In widescreen (16:9) digital TV broadcasts, source material which was originally 4:3 is simply pillarboxed. Is there any way of removing the pillarboxes to revert it to a 4:3 DV without losing resolution? Using Quicktime to convert 16:9 material to 4

  • Why is iMovie not free for my MacBook?

    Okay so apparently, this is my first question here in this site and I'm wondering how some people get iMovie free on their macbooks while I don't get it for free. I have to pay $15 for it. I just updated my macbook air to the newest update version an