JNDI Exception while trying to create home object

Hi everyone,
I'm trying out a test application to create a home object in a remote computer. I'm using the SUN Ref-Impl v1.3 . I ran the small code below,
try {
Hashtable env= new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.cosnaming.CNCtxFactory");
env.put(Context.PROVIDER_URL, "iiop://localhost:1050");
env.put(Context.SECURITY_PRINCIPAL, "guest");
env.put(Context.SECURITY_CREDENTIALS, "guest123");
InitialContext ic= new InitialContext(env);
Object objRef= ic.lookup("jdbc/eVDB");
System.out.println("DB conn success!");
} catch (Exception ex) {
ex.printStackTrace();
System.out.println("Unable to conn DB... "+ ex.getMessage());
I successfully accessed this Database object wrapped in an entity bean through .jsp .
But when I ran the above code the follwing exception was emitted,
javax.naming.NameNotFoundException. Root exception is org.omg.CosNaming.NamingContextPackage.NotFound: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0
     at org.omg.CosNaming.NamingContextPackage.NotFoundHelper.read(NotFoundHelper.java:72)
     at org.omg.CosNaming._NamingContextExtStub.resolve(_NamingContextExtStub.java:402)
     at com.sun.jndi.cosnaming.CNCtx.callResolve(CNCtx.java:440)
     at com.sun.jndi.cosnaming.CNCtx.lookup(CNCtx.java:492)
     at com.sun.jndi.cosnaming.CNCtx.lookup(CNCtx.java:470)
     at javax.naming.InitialContext.lookup(InitialContext.java:347)
     at TestJNDI.main(TestJNDI.java:26)
Unable to conn DB... null
========================
If anybody can help me I would be most grateful. Thank you.

i added the j2ee.jar and the out put changed.
when i write,
ic.lookup("eV/CheckLogin");
it successfuly created the home object.
But when I added a database JNDI reference it failed,
when i wrote,
ic.lookup("java:comp/env/jdbc/eVDB");
the following exception occures,
javax.naming.NameNotFoundException: No object bound for java:comp/env/jdbc/eVDB
     at com.sun.enterprise.naming.java.javaURLContext.lookup(javaURLContext.java:116)
     at javax.naming.InitialContext.lookup(InitialContext.java:347)
     at TestJNDI.main(TestJNDI.java:30)
and when i put,
ic.lookup("jdbc/eVDB")
the previous exception occures,
javax.naming.NameNotFoundException. Root exception is org.omg.CosNaming.NamingContextPackage.NotFound: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0
     at org.omg.CosNaming.NamingContextPackage.NotFoundHelper.read(NotFoundHelper.java:72)
     at org.omg.CosNaming._NamingContextExtStub.resolve(_NamingContextExtStub.java:402)
     at com.sun.jndi.cosnaming.CNCtx.callResolve(CNCtx.java:440)
     at com.sun.jndi.cosnaming.CNCtx.lookup(CNCtx.java:492)
     at com.sun.jndi.cosnaming.CNCtx.lookup(CNCtx.java:470)
     at javax.naming.InitialContext.lookup(InitialContext.java:347)
     at TestJNDI.main(TestJNDI.java:30)
===============
<sigh> I'm stumped...

Similar Messages

  • Caught Exception when trying to create pool Object

    Hi All,
    When a stateless session bean is looking up the entity bean following 'could not create pool object' exception is throwing.
    [14/Jan/2003:09:12:50] SEVERE ( 1048): EJB5070: Exception creating stateless session bean : [java.lang.reflect.InvocationTargetException]
    [14/Jan/2003:09:12:50] SEVERE ( 1048): EJB5017: Exception while running preinvoke : ejbName = [ConfigSessionBean]
    [14/Jan/2003:09:12:50] SEVERE ( 1048):
    javax.ejb.EJBException: nested exception is: java.lang.RuntimeException: c
    java.lang.RuntimeException: Caught Exception when trying to create pool Object
    at com.sun.ejb.containers.util.pool.NonBlockingPool.getObject(Unknown Source)
    at com.sun.ejb.containers.StatelessSessionContainer.getContext(Unknown Source)
    at com.sun.ejb.containers.BaseContainer.preInvoke(Unknown Source)
    at com.siptech.pdf.ejb.config.session.ConfigSessionBean_EJBObjectImpl.getAllModules(ConfigSessionBean_EJBObjectImpl.java:255)
    at com.siptech.pdf.ejb.config.session._ConfigSessionBean_EJBObjectImpl_Tie._invoke(Unknown Source)
    at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatchToServant(Unknown Source)
    at com.sun.corba.ee.internal.POA.GenericPOAServerSC.internalDispatch(Unknown Source)
    at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatch(Unknown Source)
    at com.sun.corba.ee.internal.iiop.ORB.process(Unknown Source)
    at com.sun.corba.ee.internal.iiop.RequestProcessor.process(Unknown Source)
    at com.iplanet.ias.corba.ee.internal.iiop.ServicableWrapper.service(Unknown Source)
    at com.iplanet.ias.util.threadpool.FastThreadPool$ThreadPoolThread.run(Unknown Source)
    at java.lang.Thread.run(Thread.java:536)
    Caused by: javax.ejb.EJBException: nested exception is: javax.ejb.CreateException: Could not create stateless EJB:
    java.lang.reflect.InvocationTargetException
    at com.sun.ejb.containers.StatelessSessionContainer$SessionContextFactory.create(Unknown Source)
    ... 13 more
    javax.ejb.EJBException: nested exception is: java.lang.RuntimeException: Caught Exception when trying to create pool Object
    at com.sun.ejb.containers.StatelessSessionContainer.getContext(Unknown Source)
    at com.sun.ejb.containers.BaseContainer.preInvoke(Unknown Source)
    at com.siptech.pdf.ejb.config.session.ConfigSessionBean_EJBObjectImpl.getAllModules(ConfigSessionBean_EJBObjectImpl.java:255)
    at com.siptech.pdf.ejb.config.session._ConfigSessionBean_EJBObjectImpl_Tie._invoke(Unknown Source)
    at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatchToServant(Unknown Source)
    at com.sun.corba.ee.internal.POA.GenericPOAServerSC.internalDispatch(Unknown Source)
    at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatch(Unknown Source)
    at com.sun.corba.ee.internal.iiop.ORB.process(Unknown Source)
    at com.sun.corba.ee.internal.iiop.RequestProcessor.process(Unknown Source)
    at com.iplanet.ias.corba.ee.internal.iiop.ServicableWrapper.service(Unknown Source)
    at com.iplanet.ias.util.threadpool.FastThreadPool$ThreadPoolThread.run(Unknown Source)
    at java.lang.Thread.run(Thread.java:536)
    I have also specified the following properties in the sunejbjar.xml for the session bean.
    <ejb>
    <bean-pool>
    <steady-pool-size>2</steady-pool-size>
    <resize-quantity>5</resize-quantity>
    <max-pool-size>200</max-pool-size>
    <pool-idle-timeout-in-seconds>3600</pool-idle-timeout-in-seconds>
    </bean-pool>
    </ejb>
    --Muthu.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    

    Muthu,
    To find out whether the problem is with container setting or with your application, can you create a simple stateless session bean and check if it works fine. If it works fine send me ejb-jar.xml and sun-ejb-jar.xml for your application.
    Deepak

  • Exception when trying to create pool Object

    I've been trying to get the forte 4.0ee ProductRichClient example for container managed beans to work.
    After the deployment to Sun One I got following exception when I'm using the client:
    18.10.2002 10:56:20 com.iplanet.ias.appclient.Main <init>
    INFO:
    ---------AppClient Container--------
    18.10.2002 10:56:20 com.iplanet.ias.appclient.Main setTagetServerProperties
    INFO: ACC001:Using ClientContainer file: [C:\Sun\AppServer7\appserv\domains\domain1\server1\config\sun-acc.xml].
    18.10.2002 10:56:20 com.iplanet.ias.appclient.Main <init>
    INFO: ACC014: ORB host name: [NOD]
    18.10.2002 10:56:20 com.iplanet.ias.appclient.Main <init>
    INFO: ACC013: ORB port number: [3700]
    18.10.2002 10:56:21 com.sun.enterprise.appclient.AppContainer preInvoke
    INFO: ACC007: Initiating Login ...
    18.10.2002 10:56:21 com.iplanet.ias.appclient.Main <init>
    INFO: ACC009: Load Application Class: [CMPClient.SwingClient]
    18.10.2002 10:56:23 com.iplanet.ias.appclient.Main <init>
    INFO: Application main() finished normally
    java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
    java.rmi.RemoteException: nested exception is: java.lang.RuntimeException: Caught Exception when trying to create pool Object ; nested exception is:
    java.lang.RuntimeException: Caught Exception when trying to create pool Object
    at com.sun.corba.ee.internal.iiop.ShutdownUtilDelegate.mapSystemException(Unknown Source)
    at javax.rmi.CORBA.Util.mapSystemException(Util.java:65)
    at CMPServer._ProductHome_Stub.create(Unknown Source)
    at CMPClient.SwingClient.AddRow_ButtonActionPerformed(SwingClient.java:127)
    at CMPClient.SwingClient.access$100(SwingClient.java:24)
    at CMPClient.SwingClient$2.actionPerformed(SwingClient.java:89)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1767)
    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1820)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:258)
    at java.awt.Component.processMouseEvent(Component.java:5021)
    at java.awt.Component.processEvent(Component.java:4818)
    at java.awt.Container.processEvent(Container.java:1525)
    at java.awt.Component.dispatchEventImpl(Component.java:3526)
    at java.awt.Container.dispatchEventImpl(Container.java:1582)
    at java.awt.Component.dispatchEvent(Component.java:3367)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3359)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3074)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3004)
    at java.awt.Container.dispatchEventImpl(Container.java:1568)
    at java.awt.Window.dispatchEventImpl(Window.java:1581)
    at java.awt.Component.dispatchEvent(Component.java:3367)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:191)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
    Caused by: java.rmi.RemoteException: nested exception is: java.lang.RuntimeException: Caught Exception when trying to create pool Object ; nested exception is:
    java.lang.RuntimeException: Caught Exception when trying to create pool Object
    at com.sun.enterprise.iiop.POAProtocolMgr.mapException(Unknown Source)
    at com.sun.ejb.containers.BaseContainer.postInvoke(Unknown Source)
    at CMPServer.ProductEJB2024414397_ConcreteImpl_RemoteHomeImpl.create(ProductEJB2024414397_ConcreteImpl_RemoteHomeImpl.java:33)
    at CMPServer._ProductEJB2024414397_ConcreteImpl_RemoteHomeImpl_Tie._invoke(Unknown Source)
    at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatchToServant(Unknown Source)
    at com.sun.corba.ee.internal.POA.GenericPOAServerSC.internalDispatch(Unknown Source)
    at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatch(Unknown Source)
    at com.sun.corba.ee.internal.iiop.ORB.process(Unknown Source)
    at com.sun.corba.ee.internal.iiop.RequestProcessor.process(Unknown Source)
    at com.iplanet.ias.corba.ee.internal.iiop.ServicableWrapper.service(Unknown Source)
    at com.iplanet.ias.util.threadpool.FastThreadPool$ThreadPoolThread.run(Unknown Source)
    at java.lang.Thread.run(Thread.java:536)
    Caused by: java.lang.RuntimeException: Caught Exception when trying to create pool Object
    at com.sun.ejb.containers.util.pool.NonBlockingPool.getObject(Unknown Source)
    at com.sun.ejb.containers.util.pool.NonBlockingPool.getObject(Unknown Source)
    at com.sun.ejb.containers.EntityContainer.getPooledEJB(Unknown Source)
    at com.sun.ejb.containers.EntityContainer.getContext(Unknown Source)
    at com.sun.ejb.containers.BaseContainer.preInvoke(Unknown Source)
    at CMPServer.ProductEJB2024414397_ConcreteImpl_RemoteHomeImpl.create(ProductEJB2024414397_ConcreteImpl_RemoteHomeImpl.java:25)
    ... 9 more
    Caused by: javax.ejb.EJBException: nested exception is: java.lang.NullPointerException
    at com.sun.ejb.containers.EntityContainer$EntityContextFactory.create(Unknown Source)
    ... 15 more
    Any thoughts on why this exception is being thrown?
    Thanks for any help!
    Richard

    this sample has been tested by the SunONE TOOLs QA
    and is working. Please check your deployment descriptors
    and use the cmp samples which come with S1AS to see if your
    descriptors are correct.

  • Getting an exception while trying to create a territory

    Hi All,
    I got a dump while trying to create a territory using tcode crmm_terrman. The dump was in program CRM_TERRMAN_READ_EMP_OF_POS saying NO_ACTIVE_PLVAR Found Exception. Request you all to please guide me in finding the reason behind this dump.
    Regards
    Mandeep

    Hi All,
    The dump was coming because there were empty postitions created in the org structure.
    Regards
    Mandeep

  • Exception while trying to create an article in Web Page Composer

    Hi Experts,
    I'm new to Web Page Composer.
    When I try to create an article in the folder 'Cross-Site-Content', a pop-up opens up and the following error is thrown:
    Portal Runtime Error
    An exception occurred while processing a request for :
    iView : N/A
    Component Name : N/A
    com/sap/nw/kmc/readonly/ReadOnlyModeException.
    Exception id: 03:46_30/01/10_0007_307377350
    See the details for the exception ID in the log file
    When I check the log file in C:\usr\sap\F48\JC30\j2ee\cluster\server0\log, the following trace is shown:
    Caused by: java.lang.NoClassDefFoundError: com/sap/nw/kmc/readonly/ReadOnlyModeException
         at com.sap.nw.wpc.editor.EditorTool.getPage(EditorTool.java:59)
         at com.sapportals.portal.htmlb.page.PageProcessorComponent.getPage(PageProcessorComponent.java:193)
         at com.sapportals.portal.htmlb.page.PageProcessorComponent.doOnNodeReady(PageProcessorComponent.java:62)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEvent(AbstractPortalComponent.java:388)
         at com.sapportals.portal.prt.pom.ComponentNode.handleEvent(ComponentNode.java:252)
         at com.sapportals.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.java:368)
         at com.sapportals.portal.prt.pom.AbstractNode.addChildNode(AbstractNode.java:340)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:642)
         ... 21 more
    Please advise
    Regards,
    Nitin

    Hi Nitin.
    At first, I suggest checking for a documentation regarding a configuration has made for WPC repository and components, because logically it seams that in your company scenario Cross-site content folder intended for storing only image files.
    At second, check configuration parameters of web resources for an Article and Banner forms. In standard configuration of both resources the parameter Allowed RIDs  contains /wpccontent/Cross-site Content/** (refer to the [help.sap.com|http://help.sap.com/saphelp_nw70ehp1/helpdata/EN/45/fef92d98f13830e10000000a11466f/frameset.htm]).
    Hope it helps.
    Best regards,
    Aliaksandr Zhukau

  • Error while trying to create IPTSession object in ALUI Portlet

    All,
    I'm creating a IPTSession object using the following code in a ALUI portlet. (I'm using server side API for some reasons)
    #1 PortalObjectsFactory.Init(OKConfigFactory.createInstance(ConfigPathResolver.GetOpenConfigPath(), "portal"));
    #2 IPTSession ptSession = PortalObjectsFactory.CreateSession();
    When the #2 is getting executed, i'm getting stange error,
    com.plumtree.openfoundation.util.XPException
    Attempt to initialize a SearchService that has already been initialized.
    any idea why is this happening? i was not getting this error before. suddenly it started happening. any help would be useful

    Here is the complete stack trace... I couldn't understand why this error is happening....
    Attempt to initialize a SearchService that has already been initialized.
    com.plumtree.openfoundation.util.XPException: Attempt to initialize a SearchService that has already been initialized.
         at com.plumtree.openkernel.impl.search.SearchService.Init(SearchService.java:72)
         at com.plumtree.server.impl.core.InternalSession.Init(InternalSession.java:158)
         at com.plumtree.server.PortalObjectsFactory.Init(PortalObjectsFactory.java:53)

  • Approval task SP09: Evaluation of approvalid failed with Exception: while trying to invoke the method java.lang.String.length() of an object loaded from local variable 'aValue'

    Hi everyone,
    I just installed SP09 and i was testing the solution. And I found a problem with the approvals tasks.
    I configured a simple ROLE approval task for validate add event. And when the runtime executes the task, the dispatcher log shows a error:
    ERROR: Evaluation of approvalid failed with Exception: while trying to invoke the method java.lang.String.length() of an object loaded from local variable 'aValue'
    And the notifications configured on approval task does not start either.
    The approval goes to the ToDO tab of the approver, but when approved, also the ROLE stays in "Pending" State.
    I downgraded the Runtime components to SP08 to test, and the approvals tasks works correctly.
    Has anyone passed trough this situation in SP09?
    I think there is an issue with the runtime components delivered with this initial package of SP09.
    Suggestions?

    Hi Kelvin,2016081
    The issue is caused by a program error in the Dispatcher component. A fix will be provided in Identity Management SP9 Patch 2 for the Runtime component. I expect the patch will be delivered within a week or two.
    For more info about the issue and the patch please refer to SAPNote 2016081.
    @Michael Penn - I might be able to assist if you provide the ticket number
    Cheers,
    Kristiyan
    IdM Development

  • Itunes plays purchased HD videos fine, but constantly stalls while trying to play home created videos converted to the same file format and bit rate?

    Itunes plays purchased HD videos fine, but constantly stalls while trying to play home created videos converted to the same file format and bit rate.
    System specs
    Win 7pro x64
    ATI 5830
    Phenom x6 1055t
    8gigs ram
    1tb 7200rpm sata hdd
    500 gig 5400 rpm sata hdd

    Itunes plays purchased HD videos fine, but constantly stalls while trying to play home created videos converted to the same file format and bit rate.
    System specs
    Win 7pro x64
    ATI 5830
    Phenom x6 1055t
    8gigs ram
    1tb 7200rpm sata hdd
    500 gig 5400 rpm sata hdd

  • Bar Code entry while trying to create one through FB03

    Hi Guru
    We recently had techical upgrade to ECC6.0. While trying to create a barcode entry for a document through FB03 I am getting the following error message
    oa280 - Bar code not active -system administration .
    All the configuration are in place in OAC5,OBD2 . I couldnt able to find any relevant notes regarding to this issue . Can some one help me out in fixing this issue
    Thanks
    Auroar

    Hi
    I raised the question to SAP and they provided me the notes 173521 as suggested by  you . But  following this note will open bar code entry access for all user and for all accounting document which will be an issue .  After few trial and error I was able to get an solution for this issue .  I created an entry in oac5  with barcode active  for object type and user specified and an another entry with barcode inactive for object type ,document type FIIInvoice and user .  This enabled only the authorized user for bar code entry to make changes . One drawback is that it does allow permitted user for all document type
    Thanks all for your suggestion
    Regards
    auroar

  • DataSource CORP_LDAP: Naming exception when trying to create principal

    Using NetWeaver 6.40 SP 15.
    I have configured the UME to use writable LDAP and database. Specifically, for LDAP I'm using the Sun One Directory Server. I'm able to authenticate using one of the LDAP users using a Web Dynpro app.
    When I try to create a user through the NWA web app, I simply get a "Could not create user" error in the application. In the server instance "security.log" I found the following:
    Date : 03/08/2006
    Time : 16:22:59:248
    Message : DataSource CORP_LDAP: Naming exception when trying to create principal ***************************************************************************
    com.sap.security.core.persistence.imp.PrincipalDatabagMaint Wed Mar 08 16:22:59 CST 2006
    UniqueID: USER.CORP_LDAP.testuser
    Type: USER
    Home data source: CORP_LDAP
    Private id part: testuser
    "com.sap.security.core.usermanagement"|->"uniquename" (no time limit)="testuser"
    "com.sap.security.core.usermanagement"|->"department" (no time limit)="CI&T"
    "com.sap.security.core.usermanagement"|->"PRINCIPAL_CREATION_DATE" (no time limit)="0001141856579248"
    "com.sap.security.core.usermanagement"|->"firstname" (no time limit)="user"
    "com.sap.security.core.usermanagement"|->"lastname" (no time limit)="test"
    "com.sap.security.core.usermanagement"|->"PRINCIPAL_TYPE_ATTRIBUTE" (no time limit)="USER"
    "com.sap.security.core.usermanagement"|->"email" (no time limit)="[email protected]"
    "com.sap.security.core.usermanagement"|->"company" (no time limit)=""
    "com.sap.security.core.usermanagement"|->"accessibilitylevel" (no time limit)="0"
    Severity : Error
    Category : /System/Security/Usermanagement
    Location : com.sap.security.core.persistence
    Application : sap.com/com.sap.security.core.admin
    Thread : SAPEngine_Application_Thread[impl:3]_22
    Datasource : 1141856104605:C:\usr\sap\J2E\JC00\j2ee\cluster\server0\log\system\security.log
    Message ID : 000D60DD8A4D00540000001C0000136000040E8333C9FD7C
    Source Name : /System/Security/Usermanagement
    Argument Objs : CORP_LDAP,***************************************************************************
    com.sap.security.core.persistence.imp.PrincipalDatabagMaint Wed Mar 08 16:22:59 CST 2006
    UniqueID: USER.CORP_LDAP.testuser
    Type: USER
    Home data source: CORP_LDAP
    Private id part: testuser
    "com.sap.security.core.usermanagement"|->"uniquename" (no time limit)="testuser"
    "com.sap.security.core.usermanagement"|->"department" (no time limit)="CI&T"
    "com.sap.security.core.usermanagement"|->"PRINCIPAL_CREATION_DATE" (no time limit)="0001141856579248"
    "com.sap.security.core.usermanagement"|->"firstname" (no time limit)="user"
    "com.sap.security.core.usermanagement"|->"lastname" (no time limit)="test"
    "com.sap.security.core.usermanagement"|->"PRINCIPAL_TYPE_ATTRIBUTE" (no time limit)="USER"
    "com.sap.security.core.usermanagement"|->"email" (no time limit)="[email protected]"
    "com.sap.security.core.usermanagement"|->"company" (no time limit)=""
    "com.sap.security.core.usermanagement"|->"accessibilitylevel" (no time limit)="0"
    Arguments : CORP_LDAP,***************************************************************************
    com.sap.security.core.persistence.imp.PrincipalDatabagMaint Wed Mar 08 16:22:59 CST 2006
    UniqueID: USER.CORP_LDAP.testuser
    Type: USER
    Home data source: CORP_LDAP
    Private id part: testuser
    "com.sap.security.core.usermanagement"|->"uniquename" (no time limit)="testuser"
    "com.sap.security.core.usermanagement"|->"department" (no time limit)="CI&T"
    "com.sap.security.core.usermanagement"|->"PRINCIPAL_CREATION_DATE" (no time limit)="0001141856579248"
    "com.sap.security.core.usermanagement"|->"firstname" (no time limit)="user"
    "com.sap.security.core.usermanagement"|->"lastname" (no time limit)="test"
    "com.sap.security.core.usermanagement"|->"PRINCIPAL_TYPE_ATTRIBUTE" (no time limit)="USER"
    "com.sap.security.core.usermanagement"|->"email" (no time limit)="[email protected]"
    "com.sap.security.core.usermanagement"|->"company" (no time limit)=""
    "com.sap.security.core.usermanagement"|->"accessibilitylevel" (no time limit)="0"
    Dsr Component : <masked id>_J2E_7234450
    Dsr Transaction : 79521ee0aef011da9168000d60dd8a4d
    Dsr User : Administrator
    Indent : 0
    Level : 0
    Message Code :
    Message Type : 1
    Relatives : com.sap.security.core.persistence
    Resource Bundlename :
    Session : 200
    Source : /System/Security/Usermanagement
    ThreadObject : SAPEngine_Application_Thread[impl:3]_22
    Transaction :
    User : Administrator
    Where can I find the initial NamingException?

    Hi All,
    Thanks for your replies and SORRY for my late response.
    Now, what I actually want is that though my UME is connected to LDAP i want to the portal admin to be able to create users in the portal DB. I checked my UME configuration and it says
    Microsoft ADS (Deep Hheirarchy) + Database
    and the name of the configuration file is
    dataSourceConfiguration_ads_deep_writeable_db.xml
    Now I could not understand why I am not able to create users in the DB?
    Does the portal has any restriction like at any given point of time only one of the user stores can be active? Doesnt the portal allow both the user stores to be active at a time?
    regards,
    PK

  • SEVERE: Caught an exception while invoking method 'setFlag' on object 'Lock

    While try to run load test data , I got the exception as follows..
    SEVERE: Caught an exception while invoking method 'setFlag' on object 'LockManager'. Releasing locks.
    java.lang.reflect.InvocationTargetException
    Finally I got a hint ,
    "If the running Deployment Template script breaks halfway through its execution due to an unhandled
    exception, or is manually interrupted by a user pressing Ctrl-C while it is running, the lock remains
    set within the EAC"
    The resolution is ,
    On Windows: .\runcommand.bat LockManager releaseLock
    update_lock
    On UNIX: ./runcommand.sh LockManager releaseLock up¬
    date_lock

    After spending some time on this, I looked at the source code for com.evermind.server.ThreadState
    This is the code that throws the exception:
    if(applicationThread != null && applicationThread.httpHandler != null && applicationThread.servletInfo != null)
    try
    server = applicationThread.httpHandler.request.getApplication().getApplication().getServer();
    catch(Throwable t)
    System.out.println("caught exception while getting the server instance " + t.getMessage());
    t.printStackTrace(System.out);
    It looks like this method expects a httpRequest, and would find null because I'm in the servlet.init()
    (at least, that's my interpretation)
    I tested my code (the remoteFacade.create()) inside of a jsp, and it worked...
    So, the next logical question is:
    Can I make EJB calls from within the init method of a servlet? (or more specifically from a struts plugin, which I believe should be more or less the same thing)
    If so, do I need to take extra steps?
    Again, any experience/help on this will be much appreciated.
    Thanks,
    Christophe.

  • Error while trying to create tree using same EMP how to tutorial

    Hi,
    I get the following error while trying to create a sample tree similar to the one
    posted in the how-tos web page.
    The final query that creates the tree is also as follows
    The Current Query shown in my apex window and the one on the howtos tutorial is as follows
    select "EMPNO" id,
    "MGR" pid,
    "ENAME" name,
    null link,
    null a1,
    null a2
    from "RJOSEEMPCLUB"."EMP"
    where DEPTNO = 1
    The error is as follows
    ORA-06502: PL/SQL: numeric or value error: character to number conversion error
    Debug:
    1: begin
    2: wwv_flow_wiz_confirm.create_tree (
    3: p_flow_id => :FB_FLOW_ID,
    4: p_region_template => replace(:F4000_P112_REGION_TEMPLATE,'%'||'null%',null),
    5: p_start_option => :F4000_P112_START_OPTION,
    6: p_owner => :F4000_P112_OWNER,
    7: p_table_name => :F4000_P112_TABLE,
    8: p_id => :F4000_P112_ID,
    9: p_pid => :F4000_P112_PID,
    10: p_name => :F4000_P112_NAME,
    11: p_link_option => :F4000_P112_LINK_OPTION,
    12: p_link_page_id => :F4000_P112_LINK_PAGE_ID,
    13: p_link_item => :F4000_P112_LINK_ITEM,
    14: p_where => :F4000_P112_WHERE,
    15: p_order_by => :F4000_P112_ORDER_BY,
    16: p_page_id => :F4000_P112_PAGE_ID,
    17: p_page_name => :F4000_P112_PAGE_NAME,
    18: p_tab_set => :F4000_P112_TAB_SET,
    19: p_tab_text => :F4000_P112_TAB_TEXT,
    20: p_region_name => :F4000_P112_REGION_NAME,
    21: p_tree_name => :F4000_P112_TREE_NAME,
    22: p_tree_type => :F4000_P112_TREE_TYPE,
    23: p_max_levels => :F4000_P112_MAX_LEVELS);
    24: end;

    Hi Kart,
    If you have the sample EMP table, the DEPTNO values are 10, 20 or 30.
    Did you specify a root value for the tree?
    Regards
    Andy

  • Error while trying to remove an object with dsrm command

    hello,
    i get an error while trying to delete an object computer with the command line tool, DSRM. i get this view:
    actually, it's a one of hundreds of commands, that help cleaning the active directory of the obsolete objects. it is saying : "Access Denied" (in french, accès refusé). i say that the account used to execute this command, is a member of domain
    admins group, and enterprise admins group too. so i cannot believe it's a mater of some missing rights... :/
    thanks in advance, for your help,
    regards
    Lotfi BOUCHERIT

    Hi,
    I was able to reproduce your issue when using a non-elevated command prompt in a 2008R2 box. So please try to elevate your command prompt and your command will most likely go through.
    In addition to above, I'd suggest you look in to PowerShell instead, which in most cases is more effective.(and doesn't need to run in an elevated prompt to make AD-Changes)
    The same as above could be done with the powershell cmdlet Remove-AdComputer.
    Remove-AdComputer -Identity "Distinguishedname"
    Hope this helps you!
    Microsoft Certified Trainer
    MCSE: Desktop, Server, Private Cloud, Messaging
    Blog: http://365lab.net

  • Application hangs while trying to create a socket

    Hello,
    We have a third party application that makes HTTP connections using a old version of HTTPClient. Recently we have run into problems where the application hangs as one thread seems to hang while trying to create a socket (thread dumps show the hang occurs in native code) and other threads end up waiting for this thread as they need to obtain a lock on HTTPClient.HTTPConnection. We found out that HTTPClient was not setting a timeout on the underlying socket (SO_TIMEOUT) and the relevant patch has been implemented in the hope that if the condition arises again the offending thread will be timed out and allow other threads to try and continue.
    We will not be able to see if the patch works until Monday and I would like to understand the problem a little better if it fails. My question at what point will the socket timeout starting ticking? As our offending thread is waiting in native code is there a chance that the timeout will not be "active".
    Also can anyone provide reasons for an application hanging while trying to create a socket and any suggestions for monitoring or mitigating this problem?
    Thanks a lot.
    Sun Solaris 5.8
    JDK 1.4.1 b02

    It looks like our version of the JDK offer a connect method with a timeout value, I think this will do the trick.

  • Error while trying to create a new company

    Hey All
    I found an error while trying to create a new company.
    the Error like - No matching Records Found - [ODBC -2028]
    This can generate only database but not any tables in that database.
    Please help me.
    Thanking you
    Hepil Doshi

    Hello,
    I would prefer local language instead of US english.....
    My tips.
    1. DID you tried to Not apply the UDO/UDF things?
    2. Do not log in to the database, start from
    3. Please post the error message itself....
    4. If you are running on MS SQL 2005 server (not express) , You can start SQL profiler, and monitor the New Database creation.... you will see in profielr where is the error message and which tables / data is missing.
    If i know well,
    When you create a new company, the SBO-COMMON database is used to deploy the new database....
    If you get stock, reinstall your sbo-common from the last applyied patch..... (Detach SBO-common, move the files another directory, and start upgarder.exe).
    Regards,
    J.

Maybe you are looking for

  • 10.4 server to 10.5 server - netinstall no longer works

    As it says, I upgraded my OS X server (dual core G5) from 10.4.11 to 10.5.1 and now it's up to 10.5.2. Ever since going to Leopard, I haven't able to get my NetInstall to work. The service is running but I can't get a mac to boot off of the server so

  • Return Code after Command Line (File Adapter)

    Hello all, i execute in the File Receiver Channel a Shell Script. Now i need a solution, when an error happens. The script returns an error code and i want that the Adapter Monitor is showing this information/error. How can i enable this? Or is there

  • Problem in getting dynamic LOV

    hi i am trying to acheive dynamic LOV. i followed the steps 1.created a static record group 2.created a LOV and assigned with the above created static record group. 3.in w-n-b-i trying to create the DRG DECLARE    rg_id    RECORDGROUP;    grp_col  GR

  • Add Horizontal Line in People Search Results Page

    Hi everyone I have a modified people search results page (SharePoint Online) where I have added a few fields to the results page.  I would like to better organize the fields by placing a horizontal line in there somewhere. For instance, I would like

  • Error message in Robohelp Air

    I've been fiddling around with the Robohelp Packager for Air to create a help file. However, in my output, every time I click the Preferences button at the bottom of the actual Air help file I generated, I get an "Error while executing database query