Running Java/J2EE application On SAP Netweaver

Hi All,
I am a java/J2ee professional who is relatively new to SAP Netweaver studio. I have developed an application which consists of Core java,JSP and Servlets. Can anybody suggest me as to how to deploy this application on SAP Netweaver and how to test the same.I have already created a war file for the application.Quick suggestions will be highly appreciated as its very urgent for my project.
Regards
Ani

Hi
See this help
http://help.sap.com/saphelp_nw2004s/helpdata/en/a8/fcbc3d16f39e33e10000000a11405a/frameset.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/b7/9877fe13221244838a16e3683ad344/frameset.htm
Kind Regards
Mukesh

Similar Messages

  • Porting J2EE Applications to SAP WAS

    Helloo,
    Can anyone help me.
    If u have informations about porting of J2EE Applications into SAP WAS , then plz help me.
    I need certain J2EE Applications which are developed under J2EE 1.2 or lower than 1.3 (EAR files for conversion using convert tool).
    Please help me with suficient help including links for downloading EAR files(J2EE 1.2 ) with help for porting.
    I want to port one J2EE Application which is not developed under SAP WAS Netweaver (means not  even under 6.2), completely out of SAP WAS environment.
    How can i port that Application into SAP WAS?
    What are the prerequisites for this?(I Have Netweaver Studio).
    If any documents with helps available then help me with that links also..
                   With Regards
                    Kishor

    Hi Kishor,
    see guide to deploy pure-j2ee app to WAS 640?
    Hope it helps
    Detlev
    PS: Please be more responsive! If you ask something and people answer, it is not more than kind to reply if it was helpful or not, and then, where the problem stayed. This is friendly against the ones who help as well as against other users running into the same issue. And: One can very efficiently say "thanks" on SDN by rewarding points for helpful answers.
    This holds at least for the following threads opened by yours:
    Netweaver Studio and Portal Development  Application Creation (elp)
    Netweaver Studio(J2EE)  and Portal Applications (Help Me)
    Webdynpro Flights Project using JCO Connection
    Exceptions in Flights Webdynpro using JCO Connection

  • Error while running a J2EE application on Oracle10gAS

    Hi,
    I am receiving an error when trying to run a J2EE application on Oracle10gAS. The application runs successfully on Oracle9iAS, but throws the following exception on 10g application server:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    - <SOAP-ENV:Body>
    - <SOAP-ENV:Fault>
    <faultcode>SOAP-ENV:Server.Exception:</faultcode>
    <faultstring>com.evermind.server.rmi.OrionRemoteException: Error in createInstance(): null; nested exception is: java.lang.NoClassDefFoundError</faultstring>
    <faultactor>/STAR-TicketBroker-context-root/TicketBrokerWS</faultactor>
    </SOAP-ENV:Fault>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    Does anyone have any idea why I would be receiving this
    error? We are using Session EJBs in our J2EE application. Are there any changes needed in the code in order to migrate a J2EE application from 9i to 10g ???
    Please help.
    Thanks,
    -Prashant

    Hi Somil,
    I've just had this same error message, and it was because I had a bogus character in my JSP sources.  I'd cut-and-pasted the text from a Word document, and it included the "registered trademark" sign (an R in a circle) as a single character.  This worked in my test environment, but not in my production environment (where presumably the default encoding is different).  I replaced the character with the equivalent HTML entity &amp;reg; (ie. the five characters & r e g ; ) and it all worked.
    Have a look through the offending JSPs and see whether you have any characters that might be incompatible with your default encoding (anything that isn't plain old 7-bit ASCII is potentially a problem).  Change them to HTML entities and you should be fine.
    Hope this helps,
    Richie

  • What J2EE engine for SAP NetWeaver 7.0 (2004s) Trial Version - Full Java Ed

    Hi experts,
    I am installing SAP NetWeaver 7.0 (2004s) Trial Version - Full Java Edition. For that
    1.what J2EE engine sholud be installed?
    2.where is it available?
    3.give Installation procedure for this.
    They have given it as trial version will it expire soon.
    Regards,
    karthik.

    hi karthi,
    This Section provides information on how to prepare the standard installation of the SAP System.
    The below mentioned steps are to be done before going for a installation.
    1.     Check the Resolution of the Screen - Screen resolution to be set to 1024 X 768.
    2.     Check for Screen Saver Settings - Screensaver to be set to OFF
    3.     Check for Installed OS and Service Pack.
    4.     Check for all the Hardware related details – Installation of drivers
    5.      Check for Data Throughput for Network Adaptors.
    Right Click the “Local Area Connection” -> Select Properties -> Select “File & Printer Sharing for Microsoft Networks” and click on Properties -> Click radio button for “Maximize throughput for Network Connection”
    go to SAP market place web site u got more information about this
    Regards,
    P.Manivannan.

  • Error in Java deployment step of SAP Netweaver installation

    Hi Team,
    We are installing SAP Netweaver 7.4 SR2.
    We are using How to install SAP NetWeaver Application Server Java guide.
    We have completed all steps upto step 27 without much hiccups, but during Java deploy stage, we are getting errors related to port 50004.
    We have restarted the machine and continued the installation .but are still getting the error.
    We have checked the heap size -- Its value is 1024mb.
    Do not know what is wrong with this.
    We have assigned 4 GB Ram and Paging  is also set as per requirement. Previously we had used 3.5 GB RAM
    Attaching the log files:
    In deploy_api.0 log file we are getting lots of messages as:
    Mar 20, 2015 4:09:29 PM  Error:
    Mar 20, 2015 4:09:29 PM  Error: com.sap.ASJ.dpl_api.001260 Cannot connect[ ConnectionException ].Reason: [ERROR CODE DPL.DCAPI.1144] Could not establish connection to AS Java on [SMDDev:50004]. No alive connection. Check state of the server. Check if the host and port specified are correct and AS Java is up and running.
    Mar 20, 2015 4:09:29 PM  Info: com.sap.ASJ.dpl_api.001263 Destroy command:[deploy]
    Mar 20, 2015 4:31:55 PM  Info: com.sap.ASJ.dpl_api.001257 Log file is [C:\Program Files\sapinst_instdir\NW740SR2\MSS\INSTALL\STD\log\dc_log\deploy_api.0.log]
    Mar 20, 2015 4:31:55 PM  Info: com.sap.ASJ.dpl_api.001258 Trace file is [C:\Program Files\sapinst_instdir\NW740SR2\MSS\INSTALL\STD\log\dc_log\deploy_api.0.trc]
    Mar 20, 2015 4:31:55 PM  Info: com.sap.ASJ.dpl_api.001259 Init command:[deploy]
    Mar 20, 2015 4:32:07 PM  Error: com.sap.ASJ.dpl_api.001224 Could not establish connection to AS Java on [SMDDev:50004]. Cannot establish connection with any of the available profiles:
    url=SMDDev:50004 protocol=p4 (None); Reason: com.sap.engine.services.rmi_p4.P4IOException: Cannot open connection to host: 172.16.35.110 and port: 50004
    Check if server is started, access point for the protocol is available, and IP/Host name is accessible on network.. Check if the host and port specified are correct and AS Java is up and running.
    Mar 20, 2015 4:32:08 PM  Error:
    Mar 20, 2015 4:32:08 PM  Error: com.sap.ASJ.dpl_api.001260 Cannot connect[ ConnectionException ].Reason: [ERROR CODE DPL.DCAPI.1144] Could not establish connection to AS Java on [SMDDev:50004]. Cannot establish connection with any of the available profiles:
    url=SMDDev:50004 protocol=p4 (None); Reason: com.sap.engine.services.rmi_p4.P4IOException: Cannot open connection to host: 172.16.35.110 and port: 50004
    Check if server is started, access point for the protocol is available, and IP/Host name is accessible on network.. Check if the host and port specified are correct and AS Java is up and running.
    Mar 20, 2015 4:32:08 PM  Info: com.sap.ASJ.dpl_api.001263 Destroy command:[deploy]

    Hi Suraj,
    Hope you are doing good.
    Nice to hear from you again. It looks like P4 connection is affected:
    1)
    Review note 1158626 and adjust the P4 port configuration accordingly. You will need to check whether the P4 port is available. Note 1925352 will help you to check this (you can use the sapcontrol command or others mentioned to check whether host: 172.16.35.110 and port: 50004 is available or not).
    2)
    Make sure that there are no invalid profile files. Kindly move the profile files that are old to some other location.
    3)
    Also, please verify that you don't have any non-deterministic names in the etc/hosts file, per SAP note:
    1134222 - Cannot access AS Java via P4 connection
    Hope this helps.
    Kind Regards,
    Hemanth
    SAP AGS

  • Error with JSF application on SAP NetWeaver  App Server  7.3

    Hello Gurus,
                             I have a JSF web application which I have deployed on the SAP NetWeaver Server 7.3 , but when trying to access the same I get the error
    Cannot process an HTTP request to servlet [Faces Servlet] in [SecurePro] web application. [EXCEPTION] javax.servlet.ServletException: com.sap.engine.services.servlets_jsp.server.jsp.exceptions.CompilingException: Error in executing the compilation process: [ Compilation Failed! Exit Code=1
    Has anybody else also got the same error earlier?, I am using Mojarra  implementation for JSF.
    I had earlier deployed the same application in an earlier JSF version and it worked on NWAS7.0 but Now I need to upgrade that, Please help
    Thanks
    Somil Agarwal

    Hi Ingo,
    Yes - Ive tried every possible combination and here is my findings...
    I don't think the 32-bit version of the SAP Java Connector (2.1.8) works on a Windows 2003 x64 SAP J2EE 7.0, i.e. the sapjco.jar file. I created a directory and added it to the CLASSPATH of the J2EE server (server and instance) and I also added it to the Java classpath using: java -jar <path+sapjco.jar> -classpath. Executing this command brings up a SAP Java connector window where it displays information of the version, location of the sapjcorfc.dll file etc. This windows opens, but is not able to display the information. If I do exactly the same with the x64 bit version of the SAP Java connector (2.1.8) it displays the information correctly in the SAP Java connector popup. I've tried copying the sapjcorfc.dll and the librfc32.dll to both the /system32 and the SYSWOW64 directory on the server.
    HOWEVER, in CMC the Role Import tab still does not work - I just get the text null (in red). Before adding the sapjco.jar to the java classpath I got another error on the Role import tab - something like /com/sap/mw/jco/$JCOFunction. So it seems like it is now able to find the sapjco.jar file, but can not use it properly.
    The big question is now: Should the sapjco.jar file actually be on the Application server or on the BOE Server? I know it says on the application server in all documentation, but that generally assumes Tomcat and all installed on one server.
    BOE uses the sapjco.jar file to connect to the BW system to import the roles and that must be the BOE server doing that job and not the Application server???
    Just my thoughts - maybe we can discuss this at Teched in Phoenix? :o)
    Best regards,
    Jacob

  • SSO to J2EE application from SAP Portal

    Hi
    I am trying to do SSO from SAP Portal to a J2EE engine which runs on SAP Web AS.
    Here are my queries
    1. When I deploy a J2EE application on Web AS , I dont get any login screen. How can I make sure that if a user wants to access this J2EE application he should get a login screen and provide his login credentials first, only then would he be able to access the J2EE application.
    2.When I am done with Part 1. If a user tries to access this J2EE application from the Portal (asuming the user Id's in Portal and J2EE application are same and both are in the same domain) , I should not get any login screen and should be able to view the J2EE application.
    3.I want to use SAP Logon tickets generated by the Portal to enable SSO.
    I have done all the necessary configurations in the J2EE server.
    1. Imported the Portal's verify.der certificate.
    2. Adjusted the login modules stack for the application accordingly.
    Can anyone please help me out with this or throw some light.
    Please help.
    Thanks in advance,
    Vivek
    PS - Points will be definitely rewarded

    Hi Vivek,
    Let me give you the solution for both questions differently.
    <b>Ques 1. When I deploy a J2EE application on Web AS , I dont get any login screen. How can I make sure that if a user wants to access this J2EE application he should get a login screen and provide his login credentials first, only then would he be able to access the J2EE application.</b>
    <b>Ans:</b> For doing this in the code of your J2EE application you have to write a if statement which will check if the user ID is coming from the backend or not. If yes then you display that logon page else you just pass that username which is coming from backend and displ;ay the page accordingly.
    <b>Ques 2.When I am done with Part 1. If a user tries to access this J2EE application from the Portal (asuming the user Id's in Portal and J2EE application are same and both are in the same domain) , I should not get any login screen and should be able to view the J2EE application.</b>
    <b>Ans:</b> Yes, this is what I am explaining you. Even I had also made same kind of J2EE application in which if the user is coming from the backend then he/she will look the J2EE screen else if the username is not coming then he will se the Login screen. Exactly same as what are looking for.
    <b>3.I want to use SAP Logon tickets generated by the Portal to enable SSO.</b>
    <b>Ans:</b> I have used User Mapping instead of SAP Logon ticket. Well that is also the option for SSO but personally I think User Mapping is easy and better way for implementing SSO.
    I dont know whether this will help you or not. Please let me know. I can definately help if you want to implement SSO using User Maping.
    Regards
    Pravesh
    PS: Please dont forget to reward points.

  • How to integrate non-sap application with sap netweaver trial abap

    Hi, I currently have with me SAP Netweaver ABAP trial and Mini SAP BASIS 4.6 D. What i want to do is to see how can i integrate my non-SAP application with SAP.
    I am confused as to if using SAP Netweaver ABAP trial, will i be able to establish that. Can anyone guide me in this regard.I want to connect using JCO basically, want to write a java client that will be talking with the SAP application. Provide me a starting point.
    Will i require a Deployed SAP application as well to do this, or will Netweaver ABAP Trial do the job, will i also have to expose the business objects using BAPI.
    Please help.
    Please point out the right forum to post the question if this is not the right one.
    Thanks

    Hey
    Please post this question in ABAP forum
    ABAP Development
    Thanx
    Aamir

  • Java WebServices Tutorials on SAP NetWeaver Developer Studio V7.0

    Hi i need some good web services tutorials where i just want to have hands on with Sap Netweaver Ide want to create ,configure and deploy webservices in java can any one help me in this.

    Hi,
    here's a list of tutorials I know (most of them with focus on web services security):
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/a1/bbba3eb645dc61e10000000a114084/frameset.htm">Making the Car Rental Application Available as a Web Service</a>
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ae399f0d-0301-0010-cebf-bb13f430af55">Authentication of a WS Client Using a SAP Logon Ticket</a>
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a9419c0d-0301-0010-bd84-93978e7ef13a">Authentication of a Web Service Client via Certificate</a>
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/aed49d0d-0301-0010-6d84-e3e104dc1644">Authentication of a Web Service Client with User-Password Request</a>
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/770caa0d-0301-0010-c691-8f28dfc11809">Creating a User Authentication Using Logon Tickets</a>
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/4cc3a80d-0301-0010-d1ae-bb1cea093cdb">Creating a User Authentication for a Java Web Service Using a Certificate</a>
    Hope that helps.

  • Help on java/j2ee application development framework

    hello java-gurus,
    I'm new to java and is working in java for just 15 months.i want to know more about the platform/framework which is used in the development of java/j2ee projects.To be more specefic i want to build a java/j2ee project .
    -->The project will be located in the eclipse workspace.
    -->The eclipse will be connected to the cvs and will save the latest code in the repository.
    -->The project will have a build.xml file which on being executed
    will check the latest code from cvs.
    will run j unit test.
    on success from the junit it will compile the project.
    It will make a .war,.ear etc file..
    It will then be deployed in the application server.
    So i want to make a framework of this kind.So i want help from u guys how to proceed.
    I'm just a starter with ant scripts .know how to clean,build and make war files ..I also know about eclipse like connecting to cvs,generating ant script from it etc..
    i'm also comfortable with struts,java,servlet etc..
    So do give me some guidelines how to proceed .
    thanks

    Hello,
    i'm working in project same style of what you want. here are details :
    - eclipse for development - lomboz plugins for j2ee support.
    - using subclipse plugin for svn support checkout and commit, in case of cvs i think it is default in eclipse.
    - the framework is Struts, which is a very very powerful J2EE framework.
    - eclipse plugin lomboz supports creating and deal with struts project
    it also offers GUI for configuring struts xml files.
    - lomboz contains plugin for creating and define application servers and containers like tomcat and jboss, so you can compile, run and debug your code from your eclipse.
    - i use many other tools for creating UML diagrams and ERD diagram and reflect contents to existing projects.
    i think with struts,eclipse and lomboz you need nothing else.

  • Running a j2ee application

    I deployed a j2ee application. and when i tried to run it with localhost:8080/contextroot., it asks me for user name and password. I am running it on windows XP. can anybody please help me?

    try j2ee (username) and j2ee (password)
    its usually the default user/password

  • How to consume SOAP webservice in to my java/j2ee application

    Hi,
          I am a java developer. how to i consume SAP soap webservice in to my java application.
    scenario : 1
    We are migrating 2 specific java modules in to SAP System.But master details are stored in to my java application database.Those details are require
    to SAP application. So that they provide me WSDL file,  How to i consume soap webservice in to my java application and also, How to i provide master data details to SAP system through SOAP webservice.
    Any body provide me a detail instruction how to integrate SAP Application in to my java application using SOAP webservice. or
    In this scenario i will go for any one open source ESB to consume the soap webservice in to my java application, and provide master data to
    SAP application, can any one guide to me.

    Hi,
    What IDE are you using?, for example with Eclipse i used WSDL2JAVA plugin in this way i converted the WSDL in java classes easily. Depending your development environment you can use different tools that makes easier the integration using the WSDL.
    Regards.

  • Problem in starting my j2ee application on SAP

    Hi,
    I have done a fresh installation of SAP NetWeaver, i deployed my application's .ear file through DeployTool.
    Once deployed successfully, it asks to start application, and it shows started successfully.
    Now when i access my application with its URL, it says, application is currently stopped, and status of application in 'Administration' is 'STARTING', it does not change.
    Any guesses, what the problem could be, also I have just installed NetWeaver, do i need to install SQLDB as well.
    Earlier it was working fine, but after reinstallation nothing seems working
    Please suggest....
    Thanks in advance

    Hi,
    Thanks for reply.
    I'm not able to open this link, it asks for user name and password ..??
    I'm using sql server for my application, i have not intalled SQLSB yet, I think installing SAP NeTWeaver installs MaxDB...
    thanks

  • Calling JAVA webdynpro applications from SAP Business workflow

    Experts,
    Is it possible to call JAVA webdynpro application as a task from SAP Business workflow? If yes, please pass on any links to relevant documents.
    Thanks,
    Deepak

    Hello,
    You would probably want to use UWL in the portal. From UWL you can launch tasks from portal, and with proper configuration (for example with the help of transaction SWFVISU) you can easily start web dynpro applications from UWL.
    I suggest you go trough the SAP documentation about UWL. Start for example here:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/39/a1bb5c4c0d4ab4a417e87ef35f1efa/frameset.htm
    Regards,
    Karri

  • UI problem when run java swing application on MAC OSX

    Hello,
    I have problem when i run my java swing application on MAC OSX.
    Dialog box is not properly visible in MAC means ita size increses.
    its size incresed and and some content or buttons on that dialog are not fully visible.
    I can only see partial message or button.
    If any one have idea about this problem then give the solution.
    Thanks :)
    Shweta

    I am using following way to create dialog
    JOptionPane optionpane = new JOptionPane(new Object[]{lblMsgUp}, JOptionPane.OK_CANCEL_OPTION, JOptionPane.INFORMATION_MESSAGE, null, choices, "Save");
    JDialog dialog = optionpane.createDialog(parent, "Save");
    dialog.setSize(450, 125);
    dialog.setVisible(true);

Maybe you are looking for