Running ATG CRS from Eclipse

Hi,
I am new to ATG technology. I am learning it currently by self. I have installed ATG10.0.3 and CommerceReferenceStore 10.0.3.1 on my Windows machine. Also I have copied the ATG plugins to my Ecilpse Europa from another machine. I want to import the CommerceReferenceStore as an Eclipse project and be able to make some changes and view the results. I am stuck at this point. I do not know how to import the CRS code into Eclipse. Also how do I run CRS from Eclipse ? Kindly provide your inputs.
Thanks,
R. Babu

Hi,
To refer the CRS code you can import the CRS project into Eclipse by adding the .project file to that project.
basically the .project file contains:
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
     <name>MyProj</name>
     <comment></comment>
     <projects>
     </projects>
     <buildSpec>
          <buildCommand>
               <name>org.eclipse.jdt.core.javabuilder</name>
               <arguments>
               </arguments>
          </buildCommand>
     </buildSpec>
</projectDescription>
copy this .project file inside CommerceReferenceStore module folder.
if you want to do any changes in CRS application then it is better to create a new module which extends the CRS module then add your extensions inside that new module and you can build and run this new module.
Thanks,
Suresh

Similar Messages

  • Running / debugging extensions from eclipse

    Hi
    I can create prelude cc extensions in eclipse and i can package and install them using extensions manager CC.
    However i cannot run or debug the same extensions from eclipse.
    the files get copied to the ~/Library/Application\ Support/Adobe/CEPServiceManager4 folder.
    and the extension appears under the extension menu, but will not load.
    I have the PlayerDebugMode set to 1 int the com.adobe.CSXS.4 preference file as well.
    Any ideas? the console log does not give any messages either.
    Thanks
    Jon

    Hi,
    What product are you developing for and what is the product version?
    Best regards,
    Hallgrimur
    Hallgrimur Th. Bjornsson | Product Manager | Adobe | Tel: +44 (0) 1314582787

  • Passing arguments to JVM from eclipse

    When running a program from eclipse, I get an error like java.lang.UnsatisfiedLinkError: no driJNI in java.library.path
    I tried the -Djava.library.path={whatever} in the VM arguments. However, I still get the error of unsatisfied link. When try setting the property in the code with:
    System.setProperty("java.library.path","{whatever}");
    System.out.println(System.getProperty("java.library.path"));
    the output remains : null.
    anyother suggestions? if i just use command line the problem goes away. however, i'd like to be able to make eclipse work.
    Thanks.

    It is called a here-document, as in "The Document is Right Here".
    anycommand_that_reads_stdandardin <<UNIQUE_STRING
    stuff to be
    read by the
    command via
    its standard input
    UNIQUE_STRING
    The typical convention is to use EOD for the unique string as in End-of-Data, but any string that will NOT occur in the body of the text starting in column 1 is fine. And keep the string simple, no spaces, tabs, funny characters, etc...
    This is similar to putting all of the text between the <<EOD and EOD into a file and then invoking the command with:
    anycommand_that_reads_stdandardin <file.with.data
    The advantage of the here-document is that you do not need to have a separate file, or do a bunch of echo statements into file so you can pass it as input to the command, and then remember to clean up the temp file later.
    In addition, the here-document allows shell substitutions to occur, which is just what you needed for your osascript work.
    If you are intrested in shell scripting, you might spend some time in a book store, drinking coffee while browsing some of the books on learning bash, or if you can find it, "Learning Unix for Mac OS X Tiger". If you enjoy it and find any of the books useful to you, grab your credit card and head to check-out

  • Crystal report run from ASP code significantly slower than when run in CRS

    We have CRS XI R2.  I developed a report that contains several on-demand sub-reports.  The report and sub-reports are very fast when run directly from CRS.  However, when I run from ASP (users run a link from the intranet), it takes 4 times longer (1 second on CRS, vs. 5-10 seconds on intranet).  The report takes longer, bringing up a sub-report takes longer and paging through sub-reports take longer.  What can be done to improve the speed of the report that is using the ASP code?  I used a sample program provided at this support site to develop the report and it is pretty basic code.  The only time I have a problem is when I have many sub-reports.  Since they are on-demand, I do not know why this would matter.

    This has been created as an incident with SAP support.  Things that you will want to check is making sure that you handle the postback to the code as you do not need to run your entire code on every postback.  This will help performance after the original load. 
    One other thing is to compare performance with the viewer within Infoview that uses the same backend server as your application, ie PSReportFactory uses the page server, so you'll want to test with the DHTML viewer.  RAS code (reportclientdocument) uses the Report Application Server so you will want to test with the Advanced DHTML viewer.

  • Unable to uninstall ATG 9.4 CRS from windows 7 - 64 bit

    Hi,
    I am trying to uninstall ATG9.4 CRS from Windows Add/Remove programs. But I am getting the below error in pop-up and unable to uninstall the software.
    Win64 not supported
    The author of the package you are installing did not include support for this platform.
    Also I tried to uninstall from ATG9.4 CRS directory, still getting the same error.
    There was a recommended settings option was shown to uninstall on click of the Uninstall from Add/Remove programs. But still getting the same error.
    My OS details:
    Windows 7 64 bit.
    Java version - jdk1.6.0_45
    Please help me in uninstalling this software.
    Thanks

    Hi,
    you can try below work around, i recommend not to perform this directly on production, try this in dev machine first.
    force uninstaller to use 32-bit jre:
    1. copy jre to the system 
    2. run >"Uninstall.exe" LAX_VM <path_to_jre>
    Thanks & Regards
    Suman Vasireddy
    Please mark any update as "Correct Answer" or "Helpful Answer" if that update helps/answers your question, so that others can identify the Correct/helpful update between many updates.

  • How to run TCK using Java Card Sun reference model from eclipse

    Hi all,
    can any one help me by giving an idea about running java card TCK using sun reference model from eclipse IDE.
    Thanks
    Murali

    tck should be able to run as stand-alone (with jcre).

  • How to run the open script code from eclipse?

    Hi,
    How to run the open script code from eclipse.
    Please let me any soulutions on this.

    Hi Konda
    I am not quite sure you can do that and it would even be not supported... Again, what is the purpose? Why do you want to run your openscript code in Eclipse?
    What is the code you try to run?
    As an example, even if you include al the jar files and so on. don't think the function "Launch Browser" could work because it isn't only java code orjar files.....
    If you give us more background. maybe we can guide you to a better solution...
    JB

  • Running Console App (Class) from eclipse?

    Evening All,
    I'm just starting my venture into the java world and hit my first problem. [just incase you need to know: developing in Eclipse 3.4 (EE setup) - on windows]
    I have a single class that uses: Console c = System.console();
    now this returns back null when I run it in eclipse (because it's a java console in a java console maybe?)
    from the command line I can do:
    java -cp J:\JavaBegin\MyProject\bin com.mydomain.userio.Passwordand it runs perfectly
    thus I need to know how to either:
    a:] change the "run"/"run external" button in eclipse to basically open cmd.exe and run the class automatically (ie do the above at the click of a button)
    b:] (ideally) simply run the class in eclipse as per usual but with io support
    Many thanks in advance and hope you don't mind such a newb question - only 24 hours in to learning!

    thanks :)
    eclipse does have it's own console however the class needs user input from the keyboard and this doesn't work in the eclipse console.. here's the complete code (c+p and try it, you'll see what I mean)
    package com.mydomain.userio;
    import java.io.Console;
    import java.util.Arrays;
    import java.io.IOException;
    public class Password {
        public static void main (String args[]) throws IOException {
            Console c = System.console();
            if (c == null) {  //DIES HERE
                System.err.println("No console.");
                System.exit(1);
            String login = c.readLine("Enter your login: ");
            char [] oldPassword = c.readPassword("Enter your old password: ");
            if (verify(login, oldPassword)) {
                boolean noMatch;
                do {
                    char [] newPassword1 =
                        c.readPassword("Enter your new password: ");
                    char [] newPassword2 =
                        c.readPassword("Enter new password again: ");
                    noMatch = ! Arrays.equals(newPassword1, newPassword2);
                    if (noMatch) {
                        c.format("Passwords don't match. Try again.%n");
                    } else {
                        change(login, newPassword1);
                        c.format("Password for %s changed.%n", login);
                    Arrays.fill(newPassword1, ' ');
                    Arrays.fill(newPassword2, ' ');
                } while (noMatch);
            Arrays.fill(oldPassword, ' ');
        //Dummy verify method.
        static boolean verify(String login, char[] password) {
            return true;
        //Dummy change method.
        static void change(String login, char[] password) {}
    }ps: I've googled extensively but can't find an answer OR I'm using the wrong terminology!
    many thanks in advance and cheers for the reply flounder.

  • How to Debug ATG Apllication in eclipse juno

    Hi ,
    Am new to ATG,
    I have existing project which i imported using import option. can any one please let me know
    1.Settings for debug in eclipse.
    2.how to debug ATG application in eclipse with weblogic.
    Am using weblogic 10.3.6 server and IDE is eclipse juno Service Release 1.
    Thanks
    Srinivas A

    Thanks for the replies.
    I have done the following as per the link given:
    1.set a debugFlag =true in setDomainEnv.bat in bin folder of weblogic. JaVa options are
    already set with port no 8453 and based on flag value, the debug java options are set at server startup.
    2.I started weblogic. It started successfully in debug mode.
    3.in eclipse I have created remote configuration under remote java application for my project. Gave port as8453 and host as localhost and clicked debug.the server started.
    4..added some break points in code and generated ear file.
    Please correct the above steps whether I missed anything....
    5.I have created separated managed server called production(which run with port no 17010) through admin console and deployed the ear file to the managed server through admin console.
    5.started the managed server and tried to access the url localhost:17010/mystore.
    No debugging is performed.
    Please let me know
    1.how to deploy the ear file in managed serverfrom eclipse and debug the same from eclipse.
    2.should I use the debug port 8453 or the managed server port for debugging?
    3.in my atg app,they are using out of box debug option.do I require to set any flag to enable application level debug or not required.if required let me know the settings
    Thanks
    Srinivas
    Happy new year to all!!!!!!!!!!!
    Edited by: 972474 on 31 Dec, 2012 9:31 PM

  • PatchBay error while running ATG application

    Hi All,
    I am getting the following error while running ATG application.
    Error  /atg/dynamo/messaging/MessagingManager PatchBay failed to startup properly : a Scheduler job will be registered to continue trying to bring PatchBay up : note this will may result in further errors atg.nucleus.ServiceException: An error occurred trying to obtain an XATopicConnection from factory "dynamo:/atg/dynamo/messaging/SqlJmsProvider" in provider "sqldms" in definition file "/atg/dynamo/messaging/dynamoMessagingSystem.xml": javax.jms.JMSException: service was either unable startup due to possible DB errors or has been stopped+
    ***** Error Fri Jan 25 14:21:19 GMT 2013 1359123679337 /atg/dynamo/messaging/MessagingManager  at atg.dms.patchbay.Provider.initializeTopicConnection(Provider.java:325)*
    ***** Error Fri Jan 25 14:21:19 GMT 2013 1359123679337 /atg/dynamo/messaging/MessagingManager  at atg.dms.patchbay.PatchBayManager.createAdministeredDestinations(PatchBayManager.java:2471)*
    ***** Error Fri Jan 25 14:21:19 GMT 2013 1359123679337 /atg/dynamo/messaging/MessagingManager  at atg.dms.patchbay.PatchBayManager.doStartService(PatchBayManager.java:536)*
    ***** Error Fri Jan 25 14:21:19 GMT 2013 1359123679337 /atg/dynamo/messaging/MessagingManager  at atg.dms.patchbay.PatchBayRestarter.performScheduledTask(PatchBayRestarter.java:146)*
    ***** Error Fri Jan 25 14:21:19 GMT 2013 1359123679337 /atg/dynamo/messaging/MessagingManager  at atg.service.scheduler.ScheduledJob.runJobs(ScheduledJob.java:441)*
    ***** Error Fri Jan 25 14:21:19 GMT 2013 1359123679337 /atg/dynamo/messaging/MessagingManager  at atg.service.scheduler.Scheduler$2handler.run(Scheduler.java:760)*
    ***** Error Fri Jan 25 14:21:19 GMT 2013 1359123679337 /atg/dynamo/messaging/MessagingManager*
    Could you please help on this.
    Thanks and regards,

    Hi Gareth,
    No, the error is not coming during managed server startup time.
    It is coming during the application run and page navigation.
    Thanks and regards,

  • Cannot debug from Eclipse (Mac OS 10.7, Drive 3.01)

    I piggy-backed this on another discussion three days ago, but perhaps creating a new thread will get more attention.
    I recently downloaded the Adobe Drive 3 SDK and am having problems debugging the sample connectors from Eclipse.  I've followed all of the instructions in the documentation, but no matter what I try I cannot get my built connectors (both basicftp and helloworld) to show up when I try to initiate a connection in Drive 3.01.
    I am definitely checking (selecting) the bundles for these two samples in the run configuration, as well as all the dependant bundles ("Validate Bundles" passes successfully).  In the console, if I type 'ss' I see both of the samples listed as ACTIVE.  I launch Drive after I see them as active.
    I tried typing 'csstat' in the console but that does not seem to be a recognized command (per the documentation).
    When I launch Adobe Drive 3.01 I only see the two out-of-the-box connectors (DAM and CMIS).
    If I do a proper build and export to the CS5ServiceManager directory, they do show up in Adobe Drive.  However, I really need to be able to run from within Eclipse to debug.
    I've followed the troubleshooting steps and killed the CS5ServiceManager and Adobe drive processes using Activity Manager (I'm on a Mac OS 10.7 Lion) and also deleted the 'data' folder, rebooted, no luck.
    I even tried doing a clean installation of everything on another machine, and had the same problem.
    Please help or suggest something else to try.  Thanks!

    Thanks so much for the suggestions.
    I haven't tried the 32 bit JVM yet, but your comments got me thinking about which bundles I have selected in my run configuration.  When I first tried selecting ALL bundles, I got an error when launching:
    The bundle could not be resolved. Reason: Missing Constraint: Import-Package: com.adobe.versioncue.serialization; version="0.0.0"
    To correct that, I had gone back to the run configuration, cleared all bundles, and pressed the "Add Required Bundles" button.  This only added a small subset of all bundles, but got rid of the validation error.
    I now went back and selected all bundles, despite the validation error, and now I am successfully able to launch the sample.basicftp bundle from Eclipse on one of my two machines.  The other one doesn't work, and when I go type 'ss' I see one of the bundles seems to get stuck in the STARTING state:
    com.adobe.csi.bootstrap_2.0.0.201003221714
    I can probably continue working with my one working machine, but something still doesn't seem right.
    1)  Should I be seeing that "Missing Constraint" error above?  If not, then where do I find the bundle that it is looking for?
    2)  Any idea why the com.adobe.csi.bootstrap is getting stuck in the STARTING state.
    Once again, thanks so much for your help!

  • Runnable JAR from Eclipse with DLL

    Hi,
    Is it possible to export a runnable jar from Eclipse that includes and uses a dll?
    My simple application uses an 'external' API - JIntelliType - a jar file and a dll belongs to it.
    I can run the project fine from Eclipse, but I can't export it to runnable jar. I am a bit lost among classpath, path, build path, native library location, referenced library,..
    But maybe it doesn't matter because after trying to look this question up on the net, I am not sure if it is possible to do it with Eclipse (not without additional plugin at least).
    Could somebody please help me with this?
    Thank you in advance!
    lemonboston

    Your question is that of deployment. In Eclipse you setup your development environment to include native binaries in the projects working directory. As soon as you leave Eclipse you do not have its facilities anymore and you need to make do with what the JDK has to offer you.So your real question is: I have a jar and a DLL, the jar depends on the DLL. How do I run the application such that the DLL can be loaded by it?
    The answer is: you can provide through a system property (java.library.path) which directory Java (and ultimately the operating system) should scan for native binaries, or you can simply put the DLL in the same directory as the jar. The current working directory (the directory where Java is invoked) is always on the binary search pat of the operating system.
    The documentation for the java tool is here:
    http://download.oracle.com/javase/6/docs/technotes/tools/windows/java.html
    To pass a system property as a parameter you would do something like:
    java -Djava.library.path=path/to/libs -jar yourjar.jar

  • Debug the swing application from eclipse

    Hi
    I had a swing application, to create a exe file i build the application using using build.xml. To run the application we need to open the exe file.
    I want to debug this swing application from eclipse. Can anybody please tell me how to debug this application.
    Note: I can able to debug simple swing application. But i can't able to debug this application.
    Thanks
    mindus

    If it's an actual .exe--that is, if you've compiled it to a native Windows executable--then you can't debug it using a Java debugger (such as the one in Eclipse).
    If, on the other hand, you just have a .jar file or a bunch of .class files, then you can debug this app the same way you debugged the other one.
    If you don't provide more details about what you actually did and what exact problems you're having ("I can't do it" contains no useful information whatsoever), then it's impossible to provide any more detailed advice than this.

  • Export Project from Eclipse..?

    Hi All,
    How to export a Java Project from Eclipse including CLASSPATH libraries and that are in CONFIGPATH.. without missing..?
    Thanks,
    Vishnu

    As already suggested, you can export the entire Eclipse project as an archive like zip/tar, copy the archive to other system, extract and import it as an existing project into Eclipse on that system.
    Now to export an entire Eclipse project into an archive file, you can use File -> Export and select "Archive File" (under category "General") from the list of options and select the project you would like to export. It will create the archive of your project's filesystem including classpath and buildpath entries. You would have to ensure that all the classpath and buildpath entries, ATG Root etc. are valid on the system where you import it or you can update them manually if required.

  • Run Crystal Report from URL includes username and password

    Hello,
    I've downloaded CR 2008, and CR Server 2008 demo's.
    I'm trying to use a feature I've used with CR10 enterprise, and XI report server, where I can run a report direct from the URL.
    Something like:
    HTTP://scada-ho/crystal/enterprise/admin/en/viewrpt.cwr?id=381&init=actx&apsuser=administrator&apspassword=&apsauthtype=secenterprise
    or
    http://192.168.72.98/businessobjects/enterprise115/infoview/main.aspx?id=1024&init=actx&apssystem=hobprim&apsuser=visy&apspassword=Fillers3&apsauthtype=secenterprise
    I've noticed that there were subtle syntax differences between CR10 Enterprise and XI report server in the past, and expect that similar differences exist with CR server 2008.
    Could someone show me the syntax for CR Server 2008 to run a report from a URL, and pass the required username and password, without having to go through the infoview logon screen

    Tim,
    Thanks for the reply.  I admit I did see that thread when I was looking for a solution.
    My hesitance is that for a non programmer it looks very difficult, and a lot of settings.
    I liked the URL reporting because of its simplicity - one line.
    I know that it advertises the username and password, but for our requirement (intranet reporting, LAN separated from IT), its not a big risk.
    My further investigations indicate that for CRS 2008 something like the following should work:
    http://192.168.207.156/CrystalReports/view.aspx?id=1102&apsuser=administrator&apspassword=admin1&apsauthtype=secEnterprise&init=java
    However I get
    404 - File or Directory not found.
    I'm running on Windows7 with IIS7, so I think it must be an IIS configuration issue
    Any Ideas?

Maybe you are looking for