Command to execute the jheadstart application generator ?

Hi,
I would like to use Ant scripts to call a command to execute the jheadstart application generator. Just Wonder what is the command and parameters to do so.
Our project has multiple app defs, It may be useful to re-generate them all at some times.
Thanks,
Yongwen
Edited by: user2898674 on Jul 13, 2009 8:00 PM

Is it possible to run a java command to generate outside of Jdeveloper? There must be a java class to do the gen, I guess the question is if the gen relies on any of the jdeveloper design time objects.
It will be very helpful to integrate the generation in the build process. Our project is 100% jheadstart generatable (with a lot of customization templates) and includes about 10 application definition files.
Thanks,
Yongwen

Similar Messages

  • JHeadstart Application Generator in batch mode?

    Hello,
    We working in an environment based upon Continous Integration. Each night we re-create our application in a separate environment in order to validate the application.
    Is there a way to start the JHeadstart Application Generator in batch mode?
    Regards Leon Smiers

    Hi Smiers,
    I am trying to setup something similar with Continuous Integration. Did you find a solution to this? How can the java classes only be within the scope of JDev?
    I have multiple app def files in JHS and would like to be able to do two things:
    1: Create a batch file that will generate all apps, one after another, so developers do not have to monitor all the generations to start the next one.
    2: Setup continuous Integration so that it will try generate all app defs to make sure they are valid and also to run tests.
    We are trying to do this in ANT so a java API or custom ANT task to do this would be ideal.
    Regards
    Bar
    JDev: 10.1.3.2
    JHS: 10.1.2.26

  • Runtime Error While executing the WebDynpro Application

    I am getting the Runtime Error While executing the WebDynpro Application. The error message is "TSV_TNEW_OCCURS_NO_ROLL_MEMORY".
    It says like "
    Short text
        No roll storage space of length 9728 available for OCCURS area.
    What happened?
        Each transaction requires some main memory space to process
        application data. If the operating system cannot provide any more
        space, the transaction is terminated.
    But while executing some other Web Dynpro Applications, i am not facing this problem.

    Generally this error is a result of an infinite loop on internal table or select endselect statement where by severs  temporary memory gets full. With no memory to insert new records in temporary memory system generates the dump.
    Check your application or ask basis consultant to look at the memory parameters in instance profile.
    Regards
    Rohit Chowdhary

  • Executing the host application

    Hi, i developed a host application with OCF to communicate with my applet, everything is OK. now i wonder if i can execute the host application from an HTML page

    SYNCHRONIZE will update the display with the internal stae of the application (so don't think you should be expecting any performance improvements).
    HOST command will generally run synchronously - so it will wait for the host command to finish executing. If you want to asynchronously you could HOST out to a BAT file a put your commands in the BAT file.
    Regards
    Grant Ronald
    Forms Product Management

  • Error while executing the DEMO application of ADS

    Hi,
    I have installed a sneak preview version of Java stack 7.0. With that I have downloaded the latest credentials for Adobe Document Service from the SDN and followed these steps to configure it.
    Copied the .pfx file to <INST_DRIVE>:\usr\sap\J2E\SYS\global\AdobeDocumentServices\TrustManagerService\trust\credentials.
    Logged into visual admin .
    On the Cluster tab, choose Server 0 -> Services -> Document Services Configuration
    On the Runtime tab, select Credentials
    Choose Browse to search for the name of the credential and then Select
    In the Alias field, enter the alias of the credential you installed, for example ReaderRights. (Entries for the name of the credential are case-sensitive)
    In Password field, enter the password you received together with the credential you installed (filename.txt in the archive). Confirm the password again and then click Add
    Restart the following services for the changes to take effect: PDF Manipulation Module, Document Services Trust Manager. To perform this, right-click on the repective service choose Stop and after the service has stopped, Start it again
    Restart also the application com.adobe/AdobeDocumentServices located at Server 0 -> Services -> Deploy (radio button Application)
    I can execute the web service of ADS sucessfully using the URL: http://localhost:50100/AdobeDocumentServices/Config. I am getting response with version number.
    After doing so I tried executing the DEMO Application from the link :
    http://localhost:50100/webdynpro/dispatcher/local/TutWD_OnlineInteractiveForm/OnlineInteractiveFormApp
    But the applicaiton was not getting executed.
    I got the following error.
    java.net.ConnectException: Connection refused: connect
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
        at java.net.Socket.connect(Socket.java:464)
        ... 47 more
    com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRuntimeException: Failed to  UPDATEDATAINPDF
         at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:396)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.afterApplicationModification(ClientApplication.java:1132)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.afterApplicationModification(ClientComponent.java:887)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doRespond(WindowPhaseModel.java:573)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:152)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:711)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:665)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:232)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         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:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRuntimeException: PDFDocument Processor failed to process Render Request.
         at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentProcessor.process(PDFDocumentProcessor.java:55)
         at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentInteractiveFormHandlingContext.execute(PDFDocumentInteractiveFormHandlingContext.java:98)
         at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentInteractiveFormHandlingContext.execute(PDFDocumentInteractiveFormHandlingContext.java:121)
         at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:341)
         ... 29 more
    Caused by: com.sap.tc.webdynpro.pdfobject.core.PDFObjectRuntimeException: Service call exception; nested exception is:
         java.net.ConnectException: Connection refused: connect
         at com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall(PDFObject.java:382)
         at com.sap.tc.webdynpro.pdfobject.core.PDFObject.render(PDFObject.java:3710)
         at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRenderHandler.handle(PDFDocumentRenderHandler.java:139)
         at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentProcessor.process(PDFDocumentProcessor.java:52)
         ... 32 more
    Caused by: java.rmi.RemoteException: Service call exception; nested exception is:
         java.net.ConnectException: Connection refused: connect
         at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:89)
         at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:99)
         at com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall(PDFObject.java:359)
         ... 35 more
    Caused by: java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
         at java.net.Socket.connect(Socket.java:464)
         at java.net.Socket.connect(Socket.java:414)
         at java.net.Socket.<init>(Socket.java:310)
         at java.net.Socket.<init>(Socket.java:125)
         at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.initStreamsFromSocket(HTTPSocket.java:648)
         at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.initializeStreams(HTTPSocket.java:470)
         at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.getOutputStream(HTTPSocket.java:427)
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.HTTPTransport.getRequestStream(HTTPTransport.java:355)
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.outputMessage(MimeHttpBinding.java:548)
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.call(MimeHttpBinding.java:1425)
         at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:82)
         ... 37 more
    Does it mean that my ADS is not configured properly? Did I missed any step.
    Kindly guide me on the same.
    Thanks in advance.
    Regards,
    Nirmal G

    Hi Nirmal,
    Refer to this https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/06717aea-0c01-0010-b28f-e6494458788f guide to see if you have done all the settings.
    Regards,
    Arafat

  • Does the Jheadstart application can deploy to Application 10g

    Hi Jhs team:
    Does the Jheadstart application can deploy to Application 10g ?

    Ting Rung,
    We did not test this yet, but assuming OC4J did not break backwards compatibility, it should work.
    I would say, give it a try, and let us know if you run into problems.
    Steven Davelaar,
    JHeadstart Team.

  • Transaction to execute the Web Application Designer

    Hello,
    Is there a transaction to execute the Web Application Designer? (In the same was that RRMX executes the BEX Analyzer.
    thanks,
    Allan

    definetly not.
    There is no mechanism possible like in Analyzer. This is a limitation of design of the WAD.
    Best regards.
    Kai Wachter

  • A note in the Notes application generates multiple copies of itself

    A note in the Notes application spontaneously generates multiple copies of itself. This is the second time. This also happened with Mountain Lion. It makes Notes unusable. Any ideas on why this is happening and how to solve it?

    Hi,
    I had this problem where the app is showing you drafts of your notes you are making which means multiple copies are showing up in the list.  I did the following and it fixed my notes on the machine having the issue which is my MacBook Air.  I have an iPhone, iPad, and a MacPro which all were acting normal.
    1.  Open Notes on the machine having the issue and compare to other devices.
    2.  Make sure to copy and paste any notes on the problematic machine to a text edit document because you are going to delete all notes on the problematic machine.
    3.  Open the sidebar on the Notes app so you can see all accounts to sync with notes (iCloud Account).
    4.  If you select the iCloud account does the redundant notes dissapear?  For me they did but I went farther with troubleshooting because some of the notes I made on my MacBook Air were not syncing properly.
    5.  Open System Preferences/iCloud and selct the account you are using to sync notes (iCloud for me).
    6.  Uncheck Notes from the list
    7.  Go to the notes app and confirm all notes are gone and you can also erase any stored on your Mac (if you have backed the up or if there are on the iCloud server)
    8.  Recheck the Notes box in System Preferences/iCloud  and confirm that notes sync back to your machine.
    9.  Operation should be back to normal
    Good luck,
    R

  • How Do we execute The Jheadstart from ias 10.1.2

    New to J2EE so need some help!!!
    I deployed the Sample application (MYdemo) in a ias 10.1.2 Instanse on linux
    (used Jheadtstart Blogs)
    the jspx files are located on the following directory
    /a01/app/oracle/product/oas10.1.2/j2ee/JHeadStart/applications/HRDemo/HRDemo/pages
    If My access to the Ias is http:/appsdev1.abc.org:7777 what will be mu URL?
    let me know
    Thanks
    Raghu

    Hi;
    I have a smiler problem when tried to deploy my application on OracleAS
    it gives the error;
    500 Internal Server Error
    java.lang.NoClassDefFoundError: javax/servlet/jsp/el/VariableResolver     at java.lang.Class.getDeclaredMethods0(Native Method)     at java.lang.Class.privateGetDeclaredMethods(Class.java:1655)     at java.lang.Class.getDeclaredMethod(Class.java:1262)     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterHelperImpl._setupJboDomainStuff(AdfFacesFilterHelperImpl.java:146)     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterHelperImpl.init(AdfFacesFilterHelperImpl.java:56)     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.init(AdfFacesFilterImpl.java:96)     at oracle.adf.view.faces.webapp.AdfFacesFilter.init(AdfFacesFilter.java:56)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpApplication.getFilterConfig(HttpApplication.java:7706)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:487)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)     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)
    I'm new on OracleAS and dont know how to handle?
    i checked out that servlet.jar isnt included in my lib directory.
    Anything else can i try?
    thnx in advanced

  • AMIS releases set of JHeadstart Application Generator Extensions

    Now you can have JHeadstart generate:
    - radiobuttons (horizontal, vertical, grid-style)
    - stacked regions and side-by-side regions
    - JavaScript event code
    - different prompts and displayTypes for Find, Table and Formpages
    - Bubble help (balloon help)
    - NLS enabled hint-text
    - CSS styles per item, region or group
    - LOVs that diplay and return more than one value
    - a lot more than this
    through the JAG Extensions just published by AMIS. See for all details, examples, instructions and the necessary software: http://technology.amis.nl/blog/index.php?p=225.
    Note:
    - it is for JHeadstart 10g (9.0.5.x) (not for ADF JHeadstart and not for JHeadstart 9i (9.0.4.x)
    - it only affects JSP generation (not UIX)
    - it is a consolidation of our JHeadstart Cookbook's recipes
    - it is free (and not supported)
    - just as manual post-generation changes are not covered by a migration to ADF JHeadstart, these generated extensions are (probably) not migrated. We may provide a migration facility of some sort to help you migrate the AMIS JAG Extensions.
    We hope you will like this package. We would appreciate it, if you would let us know what you think!
    best regards,
    Lucas Jellema
    AMIS JHeadstart Team
    www.amis.nl

    Lucas, just amazing.... ;-)
    I hope you will provide a migration facility to JHS-ADF as it will be released in the (very) near future.
    Regards,
    Marcel

  • How user will execute the BSP application I created...

    Hi,
    I have created a BSP application which has various pages with flow logic.
    Now to execute it I use execute icon and then I get moved to web browser.
    The application is working cool.
    But what I am wondering is user is not going to go to code and use excute button to execute the code.
    So how can he do the execution of page ?

    You have lots of options (and no generally users don't go to SE80 and launch your application from there).
    1.  Give out the URL to your application. Users can launch the application directly from the URL in the browser. The URL could be stored in the Browser Favorites or as a desktop icon.
    2.  If you use the Netweaver Portal - create a BSP iView for the application and attach it to the users' role.
    3.  A BSP URL can be added as a link in the SAP Easy Access Menu.  Under favorites, just choose Insert Other Object
    4.  You can create an ABAP Transaction code. In the program under this transaction code, you could host the BSP application in an HTML Control or open it externally in a browser via CL_GUI_FRONTEND_SERVICES=>EXECUTE.  It is fairly easy to create a generic ABAP program to launch BSP application and receive the application name via a Transaction Code Parameter. You can build a specfic URL to a BSP application in code using CL_BSP_RUNTIME=>CONSTRUCT_BSP_URL.

  • How to pass Key Event from command prompt to the java application

    If iam running a application that displays JFrame when i pressed CTR+C at the command prompt i.e console window please let me know how can it be passed to the JFrame ie application window

    I doubt that you can pass Ctrl+C to the application since the application is terminated by this key combination.
    You would try adding a WindowListener or may use a shutdown hook to capture the termination of the JVM.

  • Could anyone tell me the command to deploy the J2EE application EAR in OAS

    Thanks for your help.
    You can point me to a document also.
    I just would like to manually deploy an EAR in Oracle Application Server. I am in Suse Linux. If you will be able to tell in windows environment also, that is fine, we can figure out from there.
    Thanks

    There are multiple ways to deploy and ear to Oracle Application Server:
    1> Use Application Server Control (AS) to deploy an application
    2> You can use JDeveloper. This may be the simplest for you. Load your application into JDev and configure the Application Server connection. Then you can deploy quickly after making edits
    3> Use an ANT task to deploy your application. There are a number of examples in the howto section of OC4J:
    http://www.oracle.com/technology/tech/java/oc4j/1013/how_to/index.html

  • Regarding executing the java application

    Exception in thread "main" java.lang.UnsupportedClassVersionError: Hello (Unsupp
    orted major.minor version 49.0)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$100(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)

    49.0 is the java.class.version of Java 5.0 -- meaning you code was compiled by a version 5.0 compiler (or later). The fact that you can't run it shows you are trying to use an earlier version of the JRE. Try this:
    java -versionThe solution is to make sure your javac.exe and java.exe match.

  • Unable to Generate JHeadStart Application in Jdeveloper  10.1.3

    Hi,
    I migrated forms 6i to web JHeadStart 10.1.2 with JDeveloper 10.1.2,without any problems but when i Opened the same project in JDeveloper 10.1.3 to Generate JHeadStart Application the version
    of JDeveloper 10.1.3 was unable to open this project.
    I tried do update
    JDeveloper 10.1.3 with the Service
    Update 2 but still there was no option under TOOLS->PREFERENCES for generating the JHeadStart Application which is present in JDeveloper 10.1.2.
    Any suggestion would be a great help..
    Thanks,
    Kevin

    there is a specific JHeadstart forum: JHeadstart
    Regards
    Grant Ronald

Maybe you are looking for

  • Line number not displaying on Flex Alert Message

    Hi All, I am facing one problem as absence of line numbers on Alert message(stack trace in Actionscrip 3.0) I am using Flex 3.0 & applied all setting required to deploy SWF file in debugger mode as below: WEB-INF\flex\flex-config.xml <debug>true</deb

  • HELP! Library on my External HDD shows up and doesn't show up on another

    So I've been working on this project last night (from my external hdd), and completed it halfway before calling it a night.  I just close the laptop and let it sleep.  Now, I'm trying to open my project I don't see my external's library, which is nor

  • Html report scrollbar in LV User Interface

    Hi Everyone I'm designing a LV User Interface with a HTML report view. Everything is working nicely except that while the report is being generated the report text becomes wider than the report view causing a horizontal scrollbar to appear which then

  • Regarding cc bpm

    hi, i have question regarding cc-bpm,,, as far as i know,, at EP side, make to trigger to XI, XI can call workflow,, my question,  XI can hold workflow which perform several activity step until complete of it's job? for example, at EP side, create sa

  • Flash to air package question

    Hi folks, I hope someone can help point me in the right direction. I have a flash application that one menu pulls in through links, mutiple swfs. So if I wanted to package this, from what I see I can use air and create the swf files as dependencies (