Skip to Content

Modifying J2EE Application

Hi all

I am planning to Modify some JSPs present in the CRM Internet Sales Application(b2b) using NWDS.

But i am really unawared of steps to be follwoed to import, modify and deploy the application.

Could anybody help me out in this ???

Please note that i am beginner in J2EE.

Thanks

Jack

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on May 12, 2006 at 02:10 PM

    Hi Jack,

    in order to import the project:

    - paste your project into file system workspace

    - from NWDS "IMPORT EXISTING PROJECT INTO WORKSPACE" the browse and get on the folder that contains your project, from workspace

    in order to modify the application:

    - from NWDS you can see all the project componets (jsp, servlet, class, etc) open your jsp, modify it and save

    in order to deploy:

    - right click on the projects -> build web archive WAR

    - create a new EAR project (File->new->Enterprise Application Project), choose a name for the EAR, then in the Module Project screen select the WAR project, in this way the EAR is able to point the WAR.

    - Click finish

    - Right click on the EAR project -> BUILD APPLICATION ARCHIVE, this create the EAR file

    - Right click on the EAR file just created and then DEPLOY TO J2EE ENGINE

    that's all, hope this can help you.

    Vito

    Please mark helpful answers

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      So nice Gareth,

      thanks a lot for this.

      For a beginnner is it need to go through all jsp,tags all content .

      How should I start a programming.

      What are the modifications need from b2b.ear

      My aim is just to insert a image in login page.

      Really appricates the answers from you.

  • author's profile photo Former Member
    Former Member
    Posted on May 17, 2006 at 08:12 AM

    Hi Jack,

    For starters you should read through this thread - (CRM-) ISA-developers: How do you work with NWDS? - where there is a good discussion on how to work with the CRM ISA .ear applications.

    You will also need the CRM ISA Dev guide and the SAP Build Tool and it's documentation.

    Editing the B2B or B2C applications in NDS isn't straight forward but can be done.

    All of the advice you have been given already may be a bit confusing as it is referring to more normal J2EE applications which the CRM ISA apps aren't!! You HAVE to use the SAP ISA Build Tool to create your custom project folders before you can start editing any of the jsp's, java, xml, etc...

    Hope this helps,

    Gareth Ryan.

    Add a comment
    10|10000 characters needed characters exceeded

    • Rajesh

      Defaulttrc.trc file contains the following when i access the apps.

      Processing HTTP request to servlet [jsp] finished with error.

      The error is: com.sap.engine.services.servlets_jsp.server.

      exceptions.WebIOException: Internal error while parsing JSP page [E:/usr/sap/JD2/JC76/j2ee/cluster/server0/apps/sap.com/

      myUserAdminApps01/servlet_jsp/zuseradmin01/root/start.jsp].

      Exception id: [0015605365DE00560000005F000017840004148330BBFFE5]

      sorry i cudnt catch you earlier !!! Bit busy on other priority work. !

      A quick Question: Do we need a separate XCM Configuration settings ?

      Thanks

      Message was edited by: Jack

  • author's profile photo Former Member
    Former Member
    Posted on Jun 29, 2006 at 03:35 PM

    Hi Everyone,

    I was just reading through this forum and noticed that there is a bit of concern with the fact that CRM 5.0 has changed things a bit.

    If it helps anyone I have been succesfully deploying, modifying, and creating web applications using all of my 4.0 tools just fine. Also, with the fact that some of the tools provided are not quite ready for full blown devleopment yet please feel free to contiue to use the process defined for the 4.0 environment.

    Use the NWDS as the hub of your environment by pointing your project to the deplyed root folder of the DEV project on the J2EE Server

    Use the NWDS as the Debug and Tracing environment of your development envrionment.

    use the Export functionailty in the NWDS to export changes only to your build tool

    Use the build tool to build your web applications

    Use the SDM to deliver the built Applcations to the J2EE for pre testing

    When tesitng is doen deliver the tested EAR to the DEV QAS and PRD enviroments.

    Hope this helps

    Stephen

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Sthepen I have some problems at the moment when I try to insert an item in the basket I'm new in SAP so I don't know where I can modify the name of the following table <b>CRM_ISA_BASKETS</b>

      thanks

      #1.5#000BCD42CC4F005A0000002000001CE0000426A116665275#1168373214241#com.sap.sql.jdbc.common.StatementAnalyzerImpl#sap.com/crm.b2c_regalos#com.sap.sql.jdbc.common.StatementAnalyzerImpl#Administrator#362####f3645950a01c11dbb4bc000bcd42cc4f#SAPEngine_Application_Thread[impl:3]_30##0#0#Error##Plain###com.sap.sql.log.OpenSQLException: The SQL statement "INSERT INTO "CRM_ISA_BASKETS" ("GUID","CLIENT","SYSTEMID","DESCRIPTION","SHIPCOND","PONUMBEREXT","SHIPTOLINEKEY","CURRENCY","SHOPGUID","DOCUMENTTYPE","GROSSVALUE","TAXVALUE","USERID","NETVALUE","CAMPAIGNKEY","OBJECTID","BPSOLDTOGUID","PREDDOCGUID","PREDDOCTYPE","PREDDOCID","DELIVERYDATE","NETVALUEWOFREIGHT","CREATEMSECS","UPDATEMSECS") VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)" contains the semantics error[s]: table "CRM_ISA_BASKETS" unknown

      at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:106)

      at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:145)

      at com.sap.sql.jdbc.common.StatementAnalyzerImpl.check(StatementAnalyzerImpl.java:46)

      at com.sap.sql.jdbc.common.StatementAnalyzerImpl.preprepareStatement(StatementAnalyzerImpl.java:126)

      at com.sap.sql.sqlj.common.runtime.StatementAnalyzer.preprepareStatement(StatementAnalyzer.java:62)

      at com.sapmarkets.isa.backend.db.dao.osql.SalesDocumentHeaderOSQL_SJStatements.getSqlStatement(SalesDocumentHeaderOSQL.java:1738)

      at com.sapmarkets.isa.backend.db.dao.osql.SalesDocumentHeaderOSQL.executeInsert(SalesDocumentHeaderOSQL.java:327)

      at com.sapmarkets.isa.backend.db.dao.osql.ObjectOSQL.insert(ObjectOSQL.java:421)

      at com.sapmarkets.isa.backend.db.dao.osql.ObjectOSQL.commit(ObjectOSQL.java:331)

      at com.sapmarkets.isa.backend.db.dao.osql.ObjectOSQL.synchToDB(ObjectOSQL.java:346)

      at com.sapmarkets.isa.backend.db.ObjectDB.synchToDB(ObjectDB.java:219)

      at com.sapmarkets.isa.backend.db.order.SalesDocumentHeaderDB.synchToDB(SalesDocumentHeaderDB.java:1312)

      at com.sapmarkets.isa.backend.db.SalesDocumentDB.createInBackend(SalesDocumentDB.java:653)

      at com.sapmarkets.isa.businessobject.SalesDocument.init(SalesDocument.java:1748)

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.