List contents of a directory of the J2EE engine

Hello,
I have a requirement to list the contents of a directory of the J2EE engine of the portal. For example let's assume that there are five files in directory /user/sap/<SID>/JC02/j2ee/cluster/server0/some_directory_name. I want to be able to list the names of the five files that are stored in this directory. I have written some java code that will list the entries in a given directory and that is not the problem. The problem is that when I run this on the portal j2ee I get the message back: "You are not authorized to view the content of the requested directory. Details: Directory listing is not allowed on this server".
I know I could store these files in KM and it would be very simple to do this but due to security concerns I am told by the project management here that KM is not an option for this application.
Any suggestions or help would be greatly appreciated.
Thanks,
Bert

Hi,
Are you testing this application which has super admin rigths?
You can integrate this file system in KM and write a simple java webdynpro code with KM apis which would display the file name. I dont think there could be security problem with this option.
Regards,
Jigar Oza

Similar Messages

  • Cannot start the j2ee engine

    hello.
    we are facing a problem with the J2EE engine of WAS.
    we stopped the server for some reasons and when trying to restart it, the server shows an error after loading the service manager ,in the server and the server is not getting connected.i am pasting the errors below:
    "Loading: ServiceManager ...
    ID000539: Classload error; Can't load service telnet because referenced service shell not found"
    and
    "ID000544: Error starting service security. JCO.classInitialize(): Could not load
    middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC'
    default_cpc_mode"
    Also in the management console of the j2ee engine we are unable to find the database instance in the tree. we checked the view and nothing is hidden.
    We will be thankful if anyone can throw some light. Thankyou

    Hi,
    AFAIK this error occurs when server/services/shell directory is missing. I think you have moved it somewhere or renamed it.
    Also check the following link.
    https://www.sdn.sap.com/sdn/collaboration.sdn?contenttype=url&content=https%3A//forums.sdn.sap.com/search%21default.jspa%3FforumID%3D45%26threadID%3D55413
    Regards
    Vijith

  • (Basis)Unable to start some XI services in the J2EE Engine

    Hello,
    Our XI system was up & running Fine, however suddenly the
    J2EE engine  is unable to start some XI services like XI.Repository,XI directory,
    XI RWB etc .. However the Adapter Framework services are up & running fine .
    The Application startup fails to start even when we manually start through Visual
    Admin tool . (cluster ->server->services->Deploy) .
    We had many times stopped & started the J2EE Engine also . ABAP Stack works fine .
    We get the Class not found exception error .
    Start application
    Warning occurred on server 9573750 during startApp sap.com/com.sap.xi.repository : ORB is not bound in JNDI. It is impossible to lookup org.omg.CORBA.ORB from EJBean sap.com/com.sap.xi.repository/UploadService.
    Warning occurred on server 9573750 during startApp sap.com/com.sap.xi.repository : ORB is not bound in JNDI. It is impossible to lookup org.omg.CORBA.ORB from EJBean sap.com/com.sap.xi.repository/MapServiceBean.
    Warning occurred on server 9573750 during startApp sap.com/com.sap.xi.repository : ORB is not bound in JNDI. It is impossible to lookup org.omg.CORBA.ORB from EJBean sap.com/com.sap.xi.repository/CrossTransport.
    Warning occurred on server 9573750 during startApp sap.com/com.sap.xi.repository : ORB is not bound in JNDI. It is impossible to lookup org.omg.CORBA.ORB from EJBean sap.com/com.sap.xi.repository/RepSpecMiscServicesBean.
    Warning occurred on server 9573750 during startApp sap.com/com.sap.xi.repository : ORB is not bound in JNDI. It is impossible to lookup org.omg.CORBA.ORB from EJBean sap.com/com.sap.xi.repository/ConnTestServiceBean.
    Warning occurred on server 9573750 during startApp sap.com/com.sap.xi.repository : ORB is not bound in JNDI. It is impossible to lookup org.omg.CORBA.ORB from EJBean sap.com/com.sap.xi.repository/RepLoginServiceBean.
    Warning occurred on server 9573750 during startApp sap.com/com.sap.xi.repository : ORB is not bound in JNDI. It is impossible to lookup org.omg.CORBA.ORB from EJBean sap.com/com.sap.xi.repository/RepObjectAccessBean.
    Warning occurred on server 9573750 during startApp sap.com/com.sap.xi.repository : ORB is not bound in JNDI. It is impossible to lookup org.omg.CORBA.ORB from EJBean sap.com/com.sap.xi.repository/RepObjectAccessBeanSwcv.
    Warning occurred on server 9573750 during startApp sap.com/com.sap.xi.repository : ORB is not bound in JNDI. It is impossible to lookup org.omg.CORBA.ORB from EJBean sap.com/com.sap.xi.repository/RepHmiBean.
    Warning occurred on server 9573750 during startApp sap.com/com.sap.xi.repository : ORB is not bound in JNDI. It is impossible to lookup org.omg.CORBA.ORB from EJBean sap.com/com.sap.xi.repository/RepPvcMigrationBean.
    Warning occurred on server 9573750 during startApp sap.com/com.sap.xi.repository : ORB is not bound in JNDI. It is impossible to lookup org.omg.CORBA.ORB from EJBean sap.com/com.sap.xi.repository/RepDiagBean.
    Warning occurred on server 9573750 during startApp sap.com/com.sap.xi.repository : ORB is not bound in JNDI. It is impossible to lookup org.omg.CORBA.ORB from EJBean sap.com/com.sap.xi.repository/RepQueryServiceBean.
    Warning occurred on server 9573750 during startApp sap.com/com.sap.xi.repository : ORB is not bound in JNDI. It is impossible to lookup org.omg.CORBA.ORB from EJBean sap.com/com.sap.xi.repository/RepRoaBean.
    Warning occurred on server 9573750 during startApp sap.com/com.sap.xi.repository : ORB is not bound in JNDI. It is impossible to lookup org.omg.CORBA.ORB from EJBean sap.com/com.sap.xi.repository/RepTransformationServiceBean.
    Warning occurred on server 9573750 during startApp sap.com/com.sap.xi.repository : ORB is not bound in JNDI. It is impossible to lookup org.omg.CORBA.ORB from EJBean sap.com/com.sap.xi.repository/RepEOAServiceBean.
    Warning occurred on server 9573750 during startApp sap.com/com.sap.xi.repository : ORB is not bound in JNDI. It is impossible to lookup org.omg.CORBA.ORB from EJBean sap.com/com.sap.xi.repository/RepTransportServiceBean.
    Warning occurred on server 9573750 during startApp sap.com/com.sap.xi.repository : ORB is not bound in JNDI. It is impossible to lookup org.omg.CORBA.ORB from EJBean sap.com/com.sap.xi.repository/RepChangeListMgmtBean.
    Warning occurred on server 9573750 during startApp sap.com/com.sap.xi.repository : ORB is not bound in JNDI. It is impossible to lookup org.omg.CORBA.ORB from EJBean sap.com/com.sap.xi.repository/RepConflictResolutionBean.
    Warning occurred on server 9573750 during startApp sap.com/com.sap.xi.repository : ORB is not bound in JNDI. It is impossible to lookup org.omg.CORBA.ORB from EJBean sap.com/com.sap.xi.repository/RepPrintViewServiceBean.
    Warning occurred on server 9573750 during startApp sap.com/com.sap.xi.repository : ORB is not bound in JNDI. It is impossible to lookup org.omg.CORBA.ORB from EJBean sap.com/com.sap.xi.repository/RepMiscServicesBean.
    Warning occurred on server 9573750 during startApp sap.com/com.sap.xi.repository : ORB is not bound in JNDI. It is impossible to lookup org.omg.CORBA.ORB from EJBean sap.com/com.sap.xi.repository/RepVersionHistoryBean.
    Warning occurred on server 9573750 during startApp sap.com/com.sap.xi.repository : ORB is not bound in JNDI. It is impossible to lookup org.omg.CORBA.ORB from EJBean sap.com/com.sap.xi.repository/RepAuthorizationBean.
    Error occurred on server 9573750 during startApp sap.com/com.sap.xi.repository : com.sap.engine.services.servlets_jsp.server.exceptions.WebDeploymentException: Error in starting application [sap.com/com.sap.xi.repository].
         at com.sap.engine.services.servlets_jsp.server.container.StartAction.prepareStart(StartAction.java:118)
         at com.sap.engine.services.servlets_jsp.server.container.WebContainer.prepareStart(WebContainer.java:398)
         at com.sap.engine.services.deploy.server.application.StartTransaction.prepareCommon(StartTransaction.java:223)
         at com.sap.engine.services.deploy.server.application.StartTransaction.prepare(StartTransaction.java:171)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:301)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesImpl(ParallelAdapter.java:342)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.runMe(ParallelAdapter.java:89)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter$1.run(ParallelAdapter.java:233)
         at com.sap.engine.frame.core.thread.Task.run(Task.java:64)
         at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:79)
         at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:150)
    Caused by: com.sap.engine.services.servlets_jsp.server.exceptions.WebDeploymentException: Error while deploying web application [rep].
         at com.sap.engine.services.servlets_jsp.server.runtime.context.ApplicationContext.init(ApplicationContext.java:630)
         at com.sap.engine.services.servlets_jsp.server.container.WebContainerHelper.createContext(WebContainerHelper.java:540)
         at com.sap.engine.services.servlets_jsp.server.container.StartAction.prepareStart(StartAction.java:51)
         ... 10 more
    Caused by: org.omg.CORBA.INITIALIZE: can't instantiate default ORB implementation com.sun.enterprise.iiop.POAEJBORB  vmcid: 0x0  minor code: 0  completed: No
         at org.omg.CORBA.ORB.create_impl(ORB.java:297)
         at org.omg.CORBA.ORB.init(ORB.java:336)
         at com.sap.engine.services.servlets_jsp.server.runtime.context.WebApplicationConfig.parse(WebApplicationConfig.java:116)
         at com.sap.engine.services.servlets_jsp.server.runtime.context.ApplicationContext.init(ApplicationContext.java:617)
         ... 12 more
    Caused by: java.lang.ClassNotFoundException: com.sun.enterprise.iiop.POAEJBORB
    Loader Info -
    ClassLoader name: [sap.com/com.sap.xi.repository]
    Parent loader name: [Frame ClassLoader]
    References:
       common:service:http;service:servlet_jsp
       service:ejb
       common:service:iiop;service:naming;service:p4;service:ts
       service:jmsconnector
       library:jsse
       library:servlet
       common:library:IAIKSecurity;library:activation;library:mail;library:tcsecssl
       library:ejb20
       library:j2eeca
       library:jms
       library:opensql
       interface:resourcecontext_api
       common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:adminadapter;service:basicadmin;service:com.sap.security.core.ume.service;service:configuration;service:connector;service:dbpool;service:deploy;service:jmx;service:jmx_notification;service:keystore;service:security;service:userstore
       interface:webservices
       interface:cross
       interface:ejbserialization
       library:tc~jmx
       library:opensqlextensions
       service:applocking
       interface:keystore_api
       library:com.sap.exception
       library:com.sap.guid
       library:sapxmltoolkit
       library:com.sap.tc.Logging
       library:com.sap.mw.jco
       library:com.sap.mdi
       library:com.sap.lcr.api.cimclient
       library:com.sap.rprof.dbprofiles
       library:compilation_lib
       service:tcsecsecurestorage~service
       library:tci18ns2x
       library:com.sap.xi.jnlp.servlet
       library:com.sap.util.monitor.jarm
       sap.com/com.sap.aii.security.ws.proxy
       service:tcsecwssec~service
       library:tc.httpclient
       library:tcSLCMS~IDEClient
       library:tcSLCMS~Util
       library:com.sapportals.htmlb
       service:com.sap.aii.af.svc
       library:tcsldsldclient_sda
    Resources:
       C:\usr\sap\XI3\DVEBMGS00\j2ee\cluster\server0\apps\sap.com\com.sap.xi.repository\aii_ib_core.jar
       C:\usr\sap\XI3\DVEBMGS00\j2ee\cluster\server0\apps\sap.com\com.sap.xi.repository\aii_map_api.jar
       C:\usr\sap\XI3\DVEBMGS00\j2ee\cluster\server0\apps\sap.com\com.sap.xi.repository\sap.comtcdtrcsimpl.jar
       C:\usr\sap\XI3\DVEBMGS00\j2ee\cluster\server0\apps\sap.com\com.sap.xi.repository\aii_ibrep_core.jar
       C:\usr\sap\XI3\DVEBMGS00\j2ee\cluster\server0\apps\sap.com\com.sap.xi.repository\sap.comtcdtrutilbasic~impl.jar
       C:\usr\sap\XI3\DVEBMGS00\j2ee\cluster\server0\apps\sap.com\com.sap.xi.repository\aii_ib_rb.jar
       C:\usr\sap\XI3\DVEBMGS00\j2ee\cluster\server0\apps\sap.com\com.sap.xi.repository\aii_util_xml.jar
       C:\usr\sap\XI3\DVEBMGS00\j2ee\cluster\server0\apps\sap.com\com.sap.xi.repository\EJBContainer\clientjars\clientaii_ibrep_sbeans.jar
       C:\usr\sap\XI3\DVEBMGS00\j2ee\cluster\server0\apps\sap.com\com.sap.xi.repository\aii_ib_server.jar
       C:\usr\sap\XI3\DVEBMGS00\j2ee\cluster\server0\apps\sap.com\com.sap.xi.repository\EJBContainer\applicationjars\aii_ib_sbeans.jar
       C:\usr\sap\XI3\DVEBMGS00\j2ee\cluster\server0\apps\sap.com\com.sap.xi.repository\aii_util_rb.jar
       C:\usr\sap\XI3\DVEBMGS00\j2ee\cluster\server0\apps\sap.com\com.sap.xi.repository\aii_mt_rb.jar
       C:\usr\sap\XI3\DVEBMGS00\j2ee\cluster\server0\apps\sap.com\com.sap.xi.repository\aii_ibrep_rb.jar
       C:\usr\sap\XI3\DVEBMGS00\j2ee\cluster\server0\apps\sap.com\com.sap.xi.repository\aii_utilxi_misc.jar
       C:\usr\sap\XI3\DVEBMGS00\j2ee\cluster\server0\apps\sap.com\com.sap.xi.repository\EJBContainer\applicationjars\aii_ibrep_sbeans.jar
       C:\usr\sap\XI3\DVEBMGS00\j2ee\cluster\server0\apps\sap.com\com.sap.xi.repository\aii_util_cimaccess.jar
       C:\usr\sap\XI3\DVEBMGS00\j2ee\cluster\server0\apps\sap.com\com.sap.xi.repository\sap.comtcdtrpvcimpl.jar
       C:\usr\sap\XI3\DVEBMGS00\j2ee\cluster\server0\apps\sap.com\com.sap.xi.repository\sap.comtcdtrutilimpl.jar
       C:\usr\sap\XI3\DVEBMGS00\j2ee\cluster\server0\apps\sap.com\com.sap.xi.repository\servlet_jsp\rep\work
       C:\usr\sap\XI3\DVEBMGS00\j2ee\cluster\server0\apps\sap.com\com.sap.xi.repository\aii_upload_sap.jar
       C:\usr\sap\XI3\DVEBMGS00\j2ee\cluster\server0\apps\sap.com\com.sap.xi.repository\aii_ibrep_server.jar
       C:\usr\sap\XI3\DVEBMGS00\j2ee\cluster\server0\apps\sap.com\com.sap.xi.repository\aii_util_sql.jar
       C:\usr\sap\XI3\DVEBMGS00\j2ee\cluster\server0\apps\sap.com\com.sap.xi.repository\aii_mt_rt.jar
       C:\usr\sap\XI3\DVEBMGS00\j2ee\cluster\server0\apps\sap.com\com.sap.xi.repository\EJBContainer\clientjars\clientaii_ib_sbeans.jar
       C:\usr\sap\XI3\DVEBMGS00\j2ee\cluster\server0\apps\sap.com\com.sap.xi.repository\aii_upload_core.jar
       C:\usr\sap\XI3\DVEBMGS00\j2ee\cluster\server0\apps\sap.com\com.sap.xi.repository\aii_util_xsd.jar
    Loading model: {parent,references,local}
         at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:382)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:219)
         at org.omg.CORBA.ORB.create_impl(ORB.java:295)
         ... 15 more
    We had referered to notes 803145 & 753567 , but could find much help .
    Please Help .
    Regards
    Kumar

    Hi
    Refer to the link
    See the troble shooting guide
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/bd5950ff-0701-0010-a5bc-86d45fd52283
    Regards,
    Kumar

  • How to restart the J2EE Engine

    I ran a couple tests the other day, and the next time I looked the J2EE Engine was down.  (Could not send or receive PTP messages to it).
    When I brought up the J2EE Engine Administrator, it put upt the following help box:
    <b>Unable to lookup connection default
    http:host1:8101/msgserver/text/login returned empty list of connection parameters</b>
    I had to reinstall to get it to work.
    Does anyone know how to restart the J2EE engine ?
    Thanks, John

    Hi,
    judging by the URL given in the error message (which is a URL that queries the message server), your engine must be of 6.40 version. Well, on 6.40 you should have the SAP Management Console (SAP MMC) that you can open and start the engine from. TO open it, go to Start -> Programs -> SAP Management Console. Inside, locate your SAP System, right-click on it and select Start.
    That's it.
    Just for a reference, <a href="http://help.sap.com/saphelp_nw04/helpdata/en/9b/dd7277f3e64ecba59f7fbac7edd2fe/frameset.htm">this</a> page contains also some screenshots of the MMC.

  • How do I invoke the J2EE Engine (what path)

    Hello:
    I isntalled the SAP WebAS Sneak Preview (NOT the ENTERPRISE PORTAL, whcih I could never get to work).
    In the Enterprise portal install, it puts the J2EE Admin tool in the /usr/.... path.
    That path is not created in the WebAS Sneak Preview Install.  In this Install I get an eclipse GUI (Netweaver Dev Studio, and a MMC), but I dont know how to access the J2EE admin, since I dont have a /usr path
    Could someone please tell me both the path and the command file to execute to get the J2EE Engine Admin GUI to invoke for the smaller install (WebAS) ?
    Thanks, John

    I found my error.
    I had just added a RAID to my machine, and when I re-installed, it put the /usr/... directory on the RAID, not the C: drive where I was used to it.
    Thanks, John

  • Java.lang.NullPointerException when connect to the J2EE engine

    I want to connect to the J2EE engine ,but the error message "java.lang.NullPointerException" is displayed in the console.  Please help me ! Thank you !!  The full error exception like this:
    java.lang.NullPointerException
            at com.sap.engine.services.adminadapter.gui.tasks.LoginTask.connectActio
    n(LoginTask.java:191)
            at com.sap.engine.services.adminadapter.gui.tasks.LoginTask.run(LoginTas
    k.java:79)
            at java.lang.Thread.run(Thread.java:534)

    Hi:
    The whole errror message like this:(deploy aborted error message)
    2009/4/27 上午 08:53:52 /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
    [001]Deployment aborted
    Settings
    SDM host : 10.138.6.10
    SDM port : 50118
    URL to deploy : file:/C:/DOCUME1/F3221789/LOCALS1/Temp/temp53268foxconn.com~bbs_demo.ear
    Result
    => deployment aborted : file:/C:/DOCUME1/F3221789/LOCALS1/Temp/temp53268foxconn.com~bbs_demo.ear
    Aborted: development component 'bbs_demo'/'foxconn.com'/'LOKAL'/'0.2009.04.27.08.53.22':
    Cannot login to the SAP J2EE Engine using user and password as provided in the Filesystem Secure Store. Enter valid login information in the Filesystem Secure Store using the SAP J2EE Engine Config Tool. For more information, see SAP note 701654.
    com.sap.sdm.serverext.servertype.inqmy.extern.DeployManagerAuthExceptionWrapper: Wrong security credentials detected while trying to obtain connection to the J2EE Engine.
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.checkLoginCredentials.DMAUTHEXC)
    Deployment exception : The deployment of at least one item aborted
    The Log infomation is like this:
    2009/4/27 上午 08:53:52 /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] INFO:
    [001]Additional log information about the deployment
    <!LOGHEADER[START]/>
    <!HELP[Manual modification of the header may cause parsing problem!]/>
    <!LOGGINGVERSION[1.5.3.7185 - 630]/>
    <!NAME[D:\usr\sap\SCM\DVEBMGS01\SDM\program\log\sdmcl20090427005331.log]/>
    <!PATTERN[sdmcl20090427005331.log]/>
    <!FORMATTER[com.sap.tc.logging.TraceFormatter(%24d %s: %m)]/>
    <!ENCODING[MS950]/>
    <!LOGHEADER[END]/>
    Apr 27, 2009 8:53:32 AM  Info: -
    Starting deployment -
    Apr 27, 2009 8:53:32 AM  Info: Error handling strategy: OnErrorStop
    Apr 27, 2009 8:53:32 AM  Info: Prerequisite error handling strategy: OnPrerequisiteErrorStop
    Apr 27, 2009 8:53:32 AM  Info: Update strategy: UpdateAllVersions
    Apr 27, 2009 8:53:32 AM  Info: Starting deployment prerequisites:
    Apr 27, 2009 8:53:36 AM  Info: Loading selected archives...
    Apr 27, 2009 8:53:36 AM  Info: Loading archive 'D:\usr\sap\SCM\DVEBMGS01\SDM\program\temp\temp53268foxconn.com~bbs_demo.ear'
    Apr 27, 2009 8:53:37 AM  Info: Selected archives successfully loaded.
    Apr 27, 2009 8:53:37 AM  Info: Actions per selected component:
    Apr 27, 2009 8:53:37 AM  Info: Update: Selected development component 'bbs_demo'/'foxconn.com'/'LOKAL'/'0.2009.04.27.08.53.22' updates currently deployed development component 'bbs_demo'/'foxconn.com'/'LOKAL'/'0.2009.04.23.14.34.21'.
    Apr 27, 2009 8:53:37 AM  Info: Ending deployment prerequisites. All items are correct.
    Apr 27, 2009 8:53:39 AM  Error: Unable to compare host[sidcsms.foxconn.com] and host[GDS-SF-F21789] Throwable: java.net.UnknownHostException Throwable message: GDS-SF-F21789: GDS-SF-F21789
    Apr 27, 2009 8:53:39 AM  Info: Saved current Engine state.
    Apr 27, 2009 8:53:39 AM  Info: Starting: Update: Selected development component 'bbs_demo'/'foxconn.com'/'LOKAL'/'0.2009.04.27.08.53.22' updates currently deployed development component 'bbs_demo'/'foxconn.com'/'LOKAL'/'0.2009.04.23.14.34.21'.
    Apr 27, 2009 8:53:39 AM  Info: SDA to be deployed: D:\usr\sap\SCM\DVEBMGS01\SDM\root\origin\foxconn.com\bbs_demo\LOKAL\0.2009.04.27.08.53.22\temp53268foxconn.com~bbs_demo.ear
    Apr 27, 2009 8:53:39 AM  Info: Software type of SDA: J2EE
    Apr 27, 2009 8:53:40 AM  Info: ***** Begin of SAP J2EE Engine Deployment (J2EE Application) *****
    Apr 27, 2009 8:53:43 AM  Error: Unable to compare host[sidcsms.foxconn.com] and host[GDS-SF-F21789] Throwable: java.net.UnknownHostException Throwable message: GDS-SF-F21789: GDS-SF-F21789
    Apr 27, 2009 8:53:44 AM  Info: ***** End of SAP J2EE Engine Deployment (J2EE Application) *****
    Apr 27, 2009 8:53:44 AM  Error: Aborted: development component 'bbs_demo'/'foxconn.com'/'LOKAL'/'0.2009.04.27.08.53.22':
    Cannot login to the SAP J2EE Engine using user and password as provided in the Filesystem Secure Store. Enter valid login information in the Filesystem Secure Store using the SAP J2EE Engine Config Tool. For more information, see SAP note 701654.
    com.sap.sdm.serverext.servertype.inqmy.extern.DeployManagerAuthExceptionWrapper: Wrong security credentials detected while trying to obtain connection to the J2EE Engine.
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.checkLoginCredentials.DMAUTHEXC)
    Apr 27, 2009 8:53:44 AM  Info: Starting to save the repository
    Apr 27, 2009 8:53:44 AM  Info: Finished saving the repository
    Apr 27, 2009 8:53:44 AM  Info: J2EE Engine is in same state (online/offline) as it has been before this deployment process.
    Apr 27, 2009 8:53:44 AM  Error: -
    At least one of the Deployments failed -
    Edited by: sap-abap-tw on Apr 27, 2009 3:01 AM

  • Deploying a custom login module to the J2EE engine

    I have developed a custom login module, and want to deploy it to the SAP j2ee engine. How should I go about this ? I tried packaging it as a jar and then using the deploytool, went into user management to register the module, but when the module was invoked I got an error in the log saying "Cannot load a login module".
    The way I currently deploy it is packaged with the Example Calculator, and this works. I just add my 2 java files into the web module (in com.sap.examples.calculator.beans) and it gets packaged in the war file.
    Can anyone help with the "proper" way of deploying my module ?
    Thanks in advance

    Hi Brad,
    >
    > What I'm actually trying to do is NOT deploy my
    > custom login module with an application. But rather
    > deploy the jar file as a library to the J2EE engine,
    > so that any application can use it by configuring it
    > in their login stacks. I'm still not totally clear
    > whether this is possible or not.
    Once again - It is possible to deploy the login module as a library to the J2EE Engine; furthermore, this is the PREFERRED way to use login modules!
    >
    > What I have currently done:
    >
    > 1. developed custom login module packaged as a jar in
    > NW studio (2 class files)
    >
    > 2. Using deploytool I deploy the jar as a library to
    > the j2ee engine. This works and the library shows up
    > under the libraries section.
    >
    > 3. Register the login module in the user
    > management->manage security stores section. I'm
    > unsure if this works properly. Do I just provide the
    > full path to the required class ? For example
    > "com.example.myloginmodule.LoginModule"
    > I have a suspicion that my error of "cannot load a
    > login module" stems from here.
    >
    > 4. I have then followed your step and added a
    > reference to the libray (Hard reference) and this
    > seems ok.
    >
    Sorry, Brad, I've made a mistake here. You need to set a reference from the Security Provider Service to the library that contains the login module (not from the application). To do that at runtime, you'll have to use the Configuration Adapter service on the J2EE Engine. For a description of the procedure, see this page in the documentation: http://help.sap.com/saphelp_nw04/helpdata/en/dd/1e3a3e5069eb6ce10000000a114084/frameset.htm
    You need to provide additional entry of the following type in the security-provider.xml file:
    <reference type="library" strength="weak">
            Your-library-name-here
          </reference>
    Regards,
    Ivo.
    Message was edited by: Ivaylo Ivanov

  • Enque Server was restarted without restarting the J2EE engine (MSCS)

    Hello All,
    I've installed the Portal on Microsoft Cluster (MSCS) and everything is working well. Now when i try to move the Group from Node 1 to Node 2 to test whether it fails over or not?? It does fail over however, server node on CI and DI(Dialog Instance) gets crashed. I checked the log files and got the following:-
    <b>Enque Server was restarted without restarting the J2EE engine. This could lead to data inconsistencies and requires a restart of the entire system.</b>
    Has someone experienced this before, any ideas.
    Regards
    Vaib

    Hi vaibhav,
               We are planning to install a HA & Load balanced NW portal. I was looking to get some information regarding same. While going through SDN, I came across this message. Thought of writing to you, since you have already implemented this solution.
          Do you have any IDEA, whether SAP(Ok with other Institute also..) offer's any courses / Training for setting up HA (High-Availability) & LOAD BALANCING solutions for NetWeaver Enterprise Portal ?
    Or any books available for the same at SAP Press?
    PS: you also may refer to my message at SDN with the subject line: Courses / Books For HA & Load balancing for NW Portal
    Courses / Books For HA & Load balancing for NW Portal
    Regards
    Sunil Kulkarni

  • Get_file_list to list content of UNIX directory

    Hi all
    I am trying to list the files in a UNIX directory using the get_file_list action. Not getting anything back, but action is not reporting error.
    In the folder configuration box i have used all combinations of \ and / but none do anything. I can list files on our Mii server using
    server\share but this is a windows machine.
    I think i have a couple of options
    1. get FTP set up on UNIX server and use the FTP_get_file_list action and move files to Mii server for processing.
    2. get something like SAMBA set up on UNIX to allow windows style file sharing.
    Any other ideas out there?

    Hi Les,
    Set the "Get_File_List_0" with the following parameters:
    Folder: "web://PROJECT"
    Mask: "*" for list all files
    http://wbhelp.sap.com/manufacturing/xmii_120/en/44/7108DF9EA03ABEE10000000A155369/content.htm (for more details)
    Or use a XMLQuery
    server://XMII/Catalog?Mode=ListFolders&Folder=[Param.1]&Content-type=text/xml
    [Param.1] = PROJECT
    Hope this help.
    Danilo Santos

  • How to maintain the path of the j2ee-engine in NWDeveloperStudio...

    ...,if the engine is running on VMware on the same machine?
    I maintained the message server path (extracted out of the development trace of the SAPMMC => e.g.
    <computername>\saploc\BPS\SCS01\work\dev_ms), but when I try to deploy an application the Studio can't find the appertaining sdm host.
    Can anybody help me?

    Hi Andreas ,
       u just check , whether   is there any entry in the service host file in /windows/system32/drivers/etc/
    for the message server.(3601).
    Andreas , jut try to stop SDM from console and restar it.
    details about this in ..
    https://help.sap.com/saphelp_nw04s/helpdata/en/6b/21f76f97194759961502b50dfd5f21/content.htm
       or just restart the server . . just try.
    if u have already opened the SDM or if another deployement is happening , then also this type of errors can come.
           Have u opened Visual Administrator  ?. then also this happen.
    but normally after restarting the service itself can  solve this problem.
         u just check , can u login ugin SDM GUI or not..
    To start SDM GUI, execute the following script file in the usr/sap/<SID>/<INSTANCE_NAME>/SDM/program directory:
    RemoteGui.bat for Windows hosts
                                         Regards
                                           Kishor Gopinathan

  • How to find the J2EE Engine in SAP BI server

    Hi all,
    Can anyone explain how to search J2EE Engine installed in SAP BI Server, Where to check to conform that J2EE is installed..
    Thnaks in advance

    Hi Harish,
    Please have a look at the [help file|http://help.sap.com/saphelp_nw70/helpdata/en/43/e35b3315bb2d57e10000000a422035/content.htm] for info on BI Java.
    Regards,
    Raghu

  • Which cases we need to restart the J2EE Engine

    Hi,
    In our project , we have only two servers
    One for Development & Testing
    Second for Production.
    Because of the Development and testing happening in the same mechine, we are requesting the client to get another server, Because we are getting problem to use the same server for develpment and testing .
    when ever we make any changes at the bapi side, to reflect those changes in the front end or webdynpro, we need to restart, if we make any changes in the, Config Tool or Visual Admin, we need to restart.
    At the same time couple users are working in the same server for tesing. It is troubling them when ever we make the restart.
    So we are getting lot of complaits when ever we restart the server.
    so we decided to request new server for development seperately. so , one of our administrators asking for proofs from the SAP coumentation, why do we need restart many times.
    To get the new server for development, we need to show documentation from the sap for resons of restart. i have got some documentation for restart when it requires.
    If any of you have some links related to this restart requires done on which cases?
    can u please forward it me.
    Regards
    Vijay

    Hi Vijay,
    Find the official documentation for J2EE engine in the below link
    <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/1a/819d42449b0731e10000000a1550b0/content.htm">http://help.sap.com/saphelp_nw2004s/helpdata/en/1a/819d42449b0731e10000000a1550b0/content.htm</a>
    Regards,
    Sudeep

  • How to prohibit the restart of the j2ee engine by a developer?

    Hello SDN,
    how could I prohibit a restart of the j2ee from the SAP NetWeaver Developer Studio by a developer?
    Thanks.
    Best Regards,
    Olaf Reiss

    Hi Olaf,
    If you have your Netweaver Server installed on a remote machine, then I think its not much of a problem; or if the case is that whoever developer you are talking about, accesses the portal and other Netweaver tools from a machine which is different than the server machine.
    If such is the case, then all you need to do is that your developer does not have rights to login into the server machine. He can restart the server only if he is allowed to login into that system.
    In an ideal scenario, the server should be installed on a dedicated machine.
    Bye
    Ankur
    Reward points if it helps!!

  • How to logon the j2ee engine with logon group

    hi everyone,
    I have installed an HA j2ee engine system with MSCS.
    But i donot know how to logon the DI&CI with logon group like ABAP system
    Thanks very much
    Regards
    Peter

    http://help.sap.com/saphelp_nw70/helpdata/EN/b5/e8239ef7bd494f896a84625d4b688f/frameset.htm

  • Help!! I Can not deploy external library to the J2EE Engine!

    I'm trying to create a J2EE Library DC that contains a few jar files that I want to deploy to the J2EE server for usage by a set of test classes.
    I created an external library DC, imported a jar file into the libraries folder, and added the jar file to a public part that has selected option "provides an API for Developing/compiling". I then built the DC Successfully.
    Then I created a J2EE Library DC, and added the external library DC as a used DC, with a build and run time dependancy, and I created an entity reference to the external library DC's public part.
    When I build the J2EE Library DC, the jar file are not included in the SDA file. Nothing I've tried can get the jar file to be placed in the SDA file for deployment.
    Why is the jar file not in the SDA? What am I doing wrong? I've spent the last while reading everything I can find on SDN about j2EE Library DCs, and it seems that I'm doing everything correctly - or am I?
    I'm running 7.00 SP9 . Can someone verify that a) my procedure above is correct, and b) that this does work under 7.00 SP9 ?

    a) the runtime dependency from the J2EE library to the external library is not necessary and will be ignored during build. There may be a warning in the build log about incompatible runtime-types, but I'm not sure if that warning exists in SP9.
    b) see Pascals latest answer regarding a patch for this issue.
    Regards,
    Marc

Maybe you are looking for

  • CS5.5 Design Standard

    I have a serial number for CS5.5 Design Standard, but I don't have the software anymore. In your website I can only find the other Creative Suits, unfortunatly my serial number will not work in the other programs. Can you provide me a link to where I

  • Indexing array of references element by element

    Hello, I have a simple question. How do I go about indexing an array of references element by element? For example, when using a cluster reference, there is a property node called "controls [ ]" that we can pass into a for loop. For a normal array, "

  • Auto stats collection in 11g

    In 11g, automatic optimizer statistics collection is one of the automated maintenance tasks which is enabled by default. On the other hand, gather_stats_job shows 'disabled' in dba_scheduler_jobs. Does it mean that we do not need to enable the gather

  • Print Flash Art in VECTORIAL MODE without BLANKS arround objects

         Dear Sirs, I need to solve this problem since 6 months ago, I nee d help from an expert to get a success, I have an flash aplication it receives by xml information for 4 movie clips to load movies into screen when it is ok, the screen is printin

  • DOMParser problem

    I have a servlet that does a stock quote lookup from a service and it worked perfectly. Unfortunately this site was for personal use only. The code looked like this: DOMParser parser = new DOMParser(); URL url = new URL("http://www.xignite.com/xQuote