J2EE Engine Web Administration: 404 on /admin/j_security_check

Environment: sneak-preview from June (the latest version), running on a Linux machine.
I'm trying to run the SAP J2EE Engine Web Administration application - i.e. http://b3.lab:50000/admin/LoginForm.jsp .
If I use J2EE_ADMIN/ADMIN for the user/password, I get a 404 screen, for the URL http://b3.lab:50000/admin/j_security_check (The requested resource does not exist.
Details:     
Go to main page of this application!)
Note that this is different from a wrong user or password - in this case I get a http://b3.lab:50000/admin/LoginError.html page with an "incorrect username or password" - which is the expected outcome.
Any idea if the application is supposed to work?
BTW - I'm getting quite a few exceptions on other apps as well. For example - the "PC-shop" -> browse -> printer -> click-any-printer gets the exception below:
java.lang.NullPointerException
     at jsp_details1121113843848._jspService(jsp_details1121113843848.java:8)
     at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:467)
     at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:181)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
TIA!
Message was edited by: Efri Nattel-Shay
I'm popping up this questions, and raise
Is there any non-trivial J2EE example application that is deployed / can be "tutorially" deployed on the sneak preview Linux version? By non-trivial I mean that it has web, ejb and db portions? (which is pretty modest requirements, I think).
Thank you,
Efri Nattel-Shay

Solution provided is here:
http://wiki.sdn.sap.com/wiki/display/TechTSG/(JSTTSG)(Web)Problems-P148

Similar Messages

  • Can't Log into J2EE Engine Visual Administrator

    I cannot get logged into our J2EE Engine Visual Administrator on our SAP Portal.  After I enter my userid and password (which I know are valid) I get a progress bar which progresses to approx 50%, then errors out with the message:  'Error while connecting. Cannot open connection on host: <IP-address> and port: <port>'
    I found this document to troubleshoot the problem:
    https://cw.sdn.sap.com/cw/docs/DOC-29070?treeid=DOC-7447
    It says the problem is likely that the P4 port is incorrect or the wrong transport layer is selected in my connection string.  It suggests using the config tool to find the P4 port and has a diagram showing the port in the local properties.  When I go to my config tool, I am missing the Local Properties box.  My screen only shows the Global Properties.  Is there somewhere else to check the port.  I am pretty sure I have the right port because if I try to connect using an incorrect port I get the error message instantly. 
    The transport layer in my connection string is 'default'. 
    Can anyone help?  Thanks.
    Our Visual Administrator version is 6.40 Support Pack 22.  The java version is 1.4.2_13.

    Hi Kathryn,
    P4 port is used for connecting to VA. P4 port will be 5<Inst no>04.
    Please check if you have this port while connecting to VA. You can check this port in the index page of your portal.
    Can you try restarting the portal instance ??
    Also you need not enter userID for logging into VA. By default it uses "administrator" user.
    You may also check if the administrator user is locked.
    Revert if the issue persists.
    Cheers.,
    Raghu

  • Deployment getting aborted on J2EE Engine from NWDS

    Hi,
    While i am trying to deploy the Java WebDynPro code on J2EE Engine its giving me the following error.
    Apr 9, 2008 10:24:53 AM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
    [001]Deployment aborted
    Settings
    SDM host : sghrdpr7
    SDM port : 50118
    URL to deploy : file:/C:/DOCUME1/NUZHAT1/LOCALS1/Temp/temp21573sap.comfixedtoolbar.ear
    Deployment exception : Server sghrdpr7 did not accept login request as admin on port 50118. Details: ERROR: Could not establish connection to server sghrdpr7 at port 50118: sghrdpr7
    Inner exception was :
    Server sghrdpr7 did not accept login request as admin on port 50118. Details: ERROR: Could not establish connection to server sghrdpr7 at port 50118: sghrdpr7
    The deployment is getting aborted.
    I have tried telnet for the port number from my end and that is successfull.
    Now i dont where the problem is????????
    Please help urgently

    Hi,
    Have you checked whether the deployment with the SDM directly works or not ? (not through NWDI).
    Also, for the SDM deployment to function correctly, make sure of the following :
    Please make sure to set :                                                                               
    - the P4 host to localhost in the Secure Store (setting localhost is a workaround if you have multiple hostnames (virtual/physical)
    - the secure store should have the correct password for the j2ee_admin(in case of dual stack) or administrator(in case of java only) as SDM server takes the password from secure store for the login to j2ee engine as administrator which is required for the deployment.
    - SAPLOCALHOST, SAPGLOBALHOST, and SAPGLOBALHOSTFULL value in the SCS &
    JC profiles must point to the desired hostname/IP. If they don't exist 
    please create and set accordingly.        
    - in the sdmrepository.sdc file, the following                         
    values are set expected with expected host :                           
          <mshost>                                                         
            *hostname**                                                  
         </mshost>                                                         
         <msport>                                                          
            **port -can be found in dev_ms file*                         
         </msport>                                                                               
    Please restart the cluster.                                                                               
    Try to deploy using SDM without the workaround.                                                                               
    If the deployment fails, please paste the exception/error from the lastest sdm log from SDM\program\log directory and corresponding exception from the latest defaultrace file from server0\log directory.
    Hope the above helps.
    Regards,
    Snehal

  • R/3 4.6C  to SAP WAS J2EE engine

    Hi,
    I am new ABAP Programming and more into J2EE. I would like to know different approachs available to communicate or send data from ABAP to J2EE engine/Web Applicaiton asynchronously.
    I am looking for SAP WAS 6.40
    Thanks in Advance

    Hi,
    J2EE Applications communicate with the R/3 System by means of making a Remote Function Call (RFC) to access the required BAPI. By passing input parameters, output is obtained from the BAPI. While making RFC calls, the R/3 system credentials like username, pwd, client needs to be given. JCO (Java Connector) establishes the link between the application and R/3 system and is configured in the Enterprise Portal.
    Hope this helps.
    Best regards,
    Srinivasan T
    <b>Helpful answer=>points</b>

  • How do I stop and start J2EE engine manually on WEB AS

    I have installed WEB AS ABAP + JAVA. For some reason J2EE engine is not up after the Java stack installation. How to I start and stop J2EE engine. The visual Admin is not connecting either saying connection lost.
    I am running on Linux
    thanks

    Hi Dhandu,
    Please have a look in the <a href="http://help.sap.com/saphelp_nw04/helpdata/en/6e/dd0041aafdf123e10000000a155106/frameset.htm">documentation</a>.
    Hope that helps!
    Vladimir

  • Editing application-j2ee-engine.xml file in Web Dynpro DC

    I'd like to set one of my web dynpro apps to automatically start whenever the J2EE engine is started.
    <a href="http://help.sap.com/saphelp_erp2005/helpdata/en/94/0a5b422f786255e10000000a155106/frameset.htm">This SAP Library document</a> states that you can do that in the application-j2ee-engine.xml file. However, I cannot find the application-j2ee-engine.xml file anywhere in my Web Dynpro DC. I've opened the DC in Web Dynpro Explorer view, Package Explorer view, Navigator view, J2EE DC Explorer view and J2EE Explorer view.
    Even after expanding all the folders in each view I still can't find the application-j2ee-engine.xml file.However if I search my '.dtc' folder on my hard drive I find the application-j2ee-engine.xml file in the following path:
    C:\...\.dtc\1\t\13AA2EFA530FEB42915442D10D7C71A6\gen_wdp
    How can I EDIT that file for a web dynpro component/app?
    Thanks!
    David
    Message was edited by: David Z. Pantich to include the link to the SAP Library document

    Hi Maksim. I understood that. It's just that I would prefer some method that doesn't require the developers to do something like extracting a file from the EAR file, changing the file and then putting it back in. As you probably know, some developers could handle it and some will most certainly make mistakes.
    When they do they come to my group and say "my app doesn't work" and then we have to spend time figuring out why.
    Plus, once the developers get used to doing things the automated way they're going to have a hard time remembering to do a manual step each time they do a build.
    I have heard that there may be some way to do something similar to this on Visual Administrator. I'm going to investigate that too.
    Thanks!
    David.

  • How do u restart and monitor J2EE engine from Visual Admin?

    Hi mates,
    How do you restart J2EE engine from VA?
    From VA, is there any way we can monitor if the J2EE engine is rebooting properly or got stuck somewhere?
    thx in adv
    praveen

    Hi Praveen,
    1) I don't think you can monitor from SAP GUI. SMICM will only allow you also to trigger a reboot via Administration / J2EE server but for the rest it's happing all in the background with no visibility.
    2) The dispatcher node is the 'SAP WEB dispatcher' component which is an independent component / product and ( can ) act as the load balancer
    You can also install it standalone to act e.g. as a reverse proxy.
    3) The J2EE node represents the J2EE server
    rgds
    Dirk

  • Reset J2EE engine admin

    Hi Experts,
    I have to reset the j2ee engine admin password  where portal is installed Do I have to change the passwords anywhere else other than resetting it through UME?
    James

    Hi ,
    Please go thru the sap note :: 669848.
    also.
    Use the Config Tool to change the entry in secure storage as follows:
    1. Start the Config Tool.
    (Execute <SAPj2eeEngine_install_dir> \configtool\configtool.bat.)
    1. Select the secure store node.
    The configuration for the secure storage in the file system appears.
    1. Select the admin/password/<SID> entry.
    2. Enter the administrator user's new password in the "Value" field and choose "Add".
    3. Choose "File" --> "Apply" to save the data.
    Note: Contrary to the message that appears, you do not need to restart the server or cluster for this change to take effect.
    1. Finally restart SDM server.
    close the thread if it is helpful
    Koti Reddy

  • J2EE engine was always down when I accessed it in the web browser!

    Hi,gurus:
    Having installed netweaver 7.0 SR3 and made the post-installation of xi with nwa, I accessed the j2ee engine with the URL "http://<hostname>:50100/sld or http://<hostname>:50100/irj".Sometimes the webpage could be accessed,but other times the webpage was blank,and after I refreshed the webpage again,it displayed the error like "503 service unavailable".Then I found the color of disp+work.exe and server0 in MMC was yellow.After several minutes,it turned green again.Then I could access the j2ee engine successfully.However,it stopped again after I accessed some webpages.
    This problem has embarassed me several weeks,could you help me?Any help would be appreciated,tks in advance.
    I picked up some related message which may be helpful to resolve the problem:
    *defaultTrace0.trc: *
    1.Cannot lock configuration;it is already locked.
    Caused by :com.sap...LockException:.........J2EE_CONFIGURATION_MANAGER.....it is in use by another owner.The lock collision occurred with user <internal>
    2.java.security.keyStoreException: cannot get root keystore view configuration; A configuration with the path "keystore" does not exist.
    dev_server0.xml:*
    1.com.sap.secruity.api.NoSuchRoleException:Role with uniqueName system_admin_role not found!
    com.sap.secruity.api.NoSuchRoleException:Role with uniqueName content_admin_role not found! 2.com.sap.security.api.NoSuchGroupException:Group "Administrators" does not exist.
    3.password logon no longer possible - too many failed attempts.

    Hi,
    Please have a look at this below snote which is actually a
    correction note for sp14 sap web as java 7.0
    1020365
    Could find below information within the same.
    Locking
    - Configuration Editor does not close files after upload, i.e. those files cannot be deleted unless the Configuration Editor was closed.
    which may correspond to you below problem
    1.Cannot lock configuration;it is already locked.
    Caused by :com.sap...LockException:.........J2EE_CONFIGURATION_MANAGER.....it is in use by another owner.The lock collision occurred with user <internal>
    I hope this will help you out.
    Rgds
    Radhakrishna D S

  • Define multiple cookie paths in web-j2ee-engine.xml

    Hello,
    Is it possible to define more than one path JSESSIONID cookie is sent to? Something like
    <web-j2ee-engine>
    <cookie-config>
    <cookie>
    <type>SESSION</type>
    <path>/irj;/login</path>
    <domain>siemens.de</domain>
    </cookie>
    </cookie-config>
    </web-j2ee-engine>
    I want the cookie to be sent to /irj and /login, but not to /b2b.
    Another solution could possibly be to change the name of the JSESSIONID cookie. Is that possible?
    Thanks for you help,
    Elmar

    Hi Rüdiger,
    I'm not really sure but this could work:
    Regards,
    Pascal

  • Adding servlet entry in web.xml of j2ee engine

    Hi ,
    I want a servlet to be loaded on startup of the j2ee engine SAP WAS which is basically flex based (MessageBrokerServlet). 
    The init param for the servlet is not accessible or cannot be initialized in init method of the servlet using the servletconfig object.
    This is when the servlet is used as a portal component of type servlet.
    So as to load the servlet and the servlet being able to access the init param i would be changing the web.xml of the sap j2ee engine (NW CE 7.1). are there any other effects of the same or is it fine if i just add this param in the web.xml
        <servlet>
            <servlet-name>MessageBrokerServlet</servlet-name>
            <display-name>MessageBrokerServlet</display-name>
            <servlet-class>flex.messaging.MessageBrokerServlet</servlet-class>
            <init-param>
                <param-name>services.configuration.file</param-name>
                <param-value>/WEB-INF/flex/services-config.xml</param-value>
           </init-param>
            <load-on-startup>1</load-on-startup>
        </servlet>

    Hi ,
    Vivek in case my servlet is part of the Portal Application as PortalComponent how do i define init parameters  that can be accessed in the servlet.
    The config file would be accessed in the init method of the servlet how do i do that when the servlet is added as PortalComponent in PortalApplication. The servlet config file needs to accessed in t he init method.
    The load on startup thing would be taken care of by setting parameter startup = true of application properties.
    Regards
    Srikumar V

  • SAP J2EE Engine Start Page / Error 404

    Hi there,
    i have a problem.
    I restartet my JAVA ONLY System (a Portal)
    The System comes up. All Log files are clean. No Error no warnings etc.
    When i now want to connect to the ""SAP J2EE Engine Start Page"
    via: http://host.name.com:50000/index.html
    The following error occurs:
    404   Not Found
      SAP J2EE Engine/7.00 
      The requested resource does not exist.
      Details:   Go to main page of this application!
    as i say.. The engine comes up normal.
    ALL really all other applications are running.
    When o go to:http://host.name.com:50000/nwa or /useradmin or any other link.
    All works great. Only the Startpage cannot be displayed.
    So did anyone have a clue why this don`t work?
    Regards
    Bjoern

    The index.html was deleted.. i copied it over from our other Testportal.
    it was in:
    /usr/sap/SID/JC00/j2ee/cluster/server0/apps/sap.com
    anywhere here ... i forgot the exactly Path.
    eventuelly you can find the path with httptrace or so?
    Regards
    Bjoern

  • J2EE Engine - Restart necessary after changing web.xml?

    Hi people,
    do I have to restart the whole J2EE Engine after changing the <max-sessions> parameter of my J2EE-App? Or is a restart of the app via the deploy service also sufficient?
    This parameter change is done in web.xml on 620 and web-j2ee-engine.xml in 640.
    Thanks!
    Bjoern
    Message was edited by: Bjoern Altmannsberger

    restart only the application via deploy service
    regards,
    Violeta

  • SAP WEBAS 640 J2EE Engine Instalation

    Hi All,
    This is Clark, We are trying to configure ADS. We already installed ECC 5.0,(oracle database) on windows server. We are trying to install J2EE engine. kindly let me know from where to download and how to install.
    Thanks,
    Clark

    Hi Abhishek,
    I was trying to install java components in ECC 5.0 IDES Server. it showing an error " This Installation requires an SAP J2EE Engine version 6.30 or higher"
    and then i gave NEXT then it gave another error message " No instance found for the central instance. Check your file system. Install Web AS 6.30 and restart this deployment afterwards".
    Kindly let me know how to find which version of Web AS now i am using and how to upgrade to higher version.
    Thanks,
    Clark

  • SAP J2EE Engine 6.40 Web Services Documentation & Samples

    Where can we find the J2EE Engine 6.40 as well as ABAP Web services documentation as well as the sample applications?
    Thanks in advance

    Hi Vladimir
    Please check the following links
    J2ee engine webservices
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f76f9f90-0201-0010-bf84-d0409ea425f1
    ABAP webservices
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/244e7923-0a01-0010-5887-fe0b0c6dbb8d
    /people/thomas.jung3/blog/2004/11/15/bsp-150-a-developer146s-journal-part-xiii-developing-abap-webservices
    /people/durairaj.athavanraja/blog/2004/09/20/consuming-web-service-from-abap
    /people/thomas.jung3/blog/2005/05/09/abap-webservices-logon-language-processing
    Hope it helps
    Regards

Maybe you are looking for

  • Customize approval process on AP payment cancellation

    Dear all, Is there any one ever add an approval process to the AP payment cancellation function? Could anyone pls share how you can achieve the customization? Our user requirement is there should be an approver to review the selected payment records

  • I cannot edit project in project server after editing it in project professional

    Hi i cannot edit project in project server 2013 after editing it in project professional. i.e I created an enterprise project in project server and then edit it with project professional. after i published it to the server and open it with project se

  • TS3694 i cant restore my iphone 3g

    please help i cant restore my iphone 3g and i also forgot my password..

  • Mavericks Confusion

    Ok, so I downloaded Mavericks and installed it over my Snow Leopard installation. Of course I lost Photoshop CS2 and Office for Mac 2004 and some other small 32 bit applications. But, Other 32 bit applications seem to work fine. Examples, Audacity an

  • Adding a new link to workcenter group

    Hi I have to add a link of 'competitors' to the UI in the accounts workcenter group. I have created a component for the competitors but am not able to make out how do i link it to the 'Accounts' workcenter group. Can anyone help me out please. Thanks