AM Client program throwing "Cannot create application SSO token"

I am trying to run the policyevaluator client program (from both standalone and as a web app), when I run it , it throws the following exception..
com.sun.identity.policy.PolicyException: Cannot create application SSO token.
     at com.sun.identity.policy.client.PolicyEvaluator.getNewAppSSOToken(PolicyEvaluator.java:470)
     at com.sun.identity.policy.client.PolicyEvaluator.init(PolicyEvaluator.java:188)
     at com.sun.identity.policy.client.PolicyEvaluator.<init>(PolicyEvaluator.java:163)
     at com.sun.identity.policy.client.PolicyEvaluatorFactory.getPolicyEvaluator(PolicyEvaluatorFactory.java:145)
     at com.sun.identity.policy.client.PolicyEvaluatorFactory.getPolicyEvaluator(PolicyEvaluatorFactory.java:102)
     at test.PolicyEvaluatorClient.main(PolicyEvaluatorClient.java:68)
Can anybody throw some light on how to fix this problem... your help will be greatly appreciated..
Thanks,

I am trying to run the policyevaluator client program (from both standalone and as a web app), when I run it , it throws the following exception..
com.sun.identity.policy.PolicyException: Cannot create application SSO token.
     at com.sun.identity.policy.client.PolicyEvaluator.getNewAppSSOToken(PolicyEvaluator.java:470)
     at com.sun.identity.policy.client.PolicyEvaluator.init(PolicyEvaluator.java:188)
     at com.sun.identity.policy.client.PolicyEvaluator.<init>(PolicyEvaluator.java:163)
     at com.sun.identity.policy.client.PolicyEvaluatorFactory.getPolicyEvaluator(PolicyEvaluatorFactory.java:145)
     at com.sun.identity.policy.client.PolicyEvaluatorFactory.getPolicyEvaluator(PolicyEvaluatorFactory.java:102)
     at test.PolicyEvaluatorClient.main(PolicyEvaluatorClient.java:68)
Can anybody throw some light on how to fix this problem... your help will be greatly appreciated..
Thanks,

Similar Messages

  • "Cannot obtain Application SSO token" error

    Hello,
    I configured my agent as follows:
    Version: 3.0
    Build Date: 20071212
    Application Server Config Directory : C:\Sun\SDK\domains\domain1\config
    Application Server Instance name : server
    Access Manager URL : http://juno:6140/opensso
    Domain Administration Server Host is remote : false
    Agent URL : http://juno:8080
    Deployment URI for the Agent Application : /agentapp
    Encryption Key : J+KQLOM+s6gAQb1Y1H8uJoej3bzKBAEN
    Agent Profile name : asagent
    Agent Profile Password file name : c:\temp\password.TXT
    Agent installed on the DAS host for a remote instance : false
    The AM and the sample applications are both running on separate domains.
    Following steps I performed:
    1. I started my SSO domain (domain2) first and then the application domain where my agent is installed (domain1).
    2. I deployed the agentsample.ear file after compilation through build.xml file
    When I try to access the URL (http://localhost:8080/agentsample/index.html), it throw the following exception (recorded in amSSO log file located in the Agent_001
    Caused by: com.sun.identity.security.AMSecurityPropertiesException: AdminTokenAction: FATAL ERROR: Cannot obtain Application SSO token.
    Check AMConfig.properties for the following properties
         com.sun.identity.agents.app.username
         com.iplanet.am.service.password
         at com.sun.identity.security.AdminTokenAction.run(AdminTokenAction.java:233)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sun.identity.common.PropertiesFinder.getProperty(PropertiesFinder.java:49)
         at com.iplanet.am.util.SystemProperties.get(SystemProperties.java:255)
         at com.iplanet.am.util.SystemProperties.get(SystemProperties.java:298)
         at com.iplanet.dpro.session.SessionID.<clinit>(SessionID.java:90)
         ... 46 more
    |#]
    [#|2007-12-14T11:32:42.881-0500|SEVERE|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=15;_ThreadName=httpSSLWorkerThread-8080-1;_RequestID=30ba22ac-dd83-461b-a835-440480970033;|StandardWrapperValve[default]: PWC1406: Servlet.service() for servlet default threw exception
    java.lang.NoClassDefFoundError: Could not initialize class com.sun.identity.agents.filter.AmFilterManager
         at com.sun.identity.agents.filter.AmAgentBaseFilter.initializeFilter(AmAgentBaseFilter.java:217)
         at com.sun.identity.agents.filter.AmAgentBaseFilter.getAmFilterInstance(AmAgentBaseFilter.java:279)
         at com.sun.identity.agents.filter.AmAgentBaseFilter.doFilter(AmAgentBaseFilter.java:64)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:288)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
         at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:270)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:813)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:339)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:261)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:212)
         at com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:361)
         at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
         at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
    |#]
    I spent lot of time refering the supporting document but could not find any solution.
    Your assistance will be greatly appreciated.
    Thanks,
    Vinit

    I tried to deploy "agentapp.war" in the "domain1" which I configured to install J2EE Agent. The "domain2" deployed opensso.war file. When I tried to invoke "http://test.domain.org:8080/agentapp", it threw the following error:
    Caused by: com.sun.identity.security.AMSecurityPropertiesException: AdminTokenAction: FATAL ERROR: Cannot obtain Application SSO token.
    Check AMConfig.properties for the following properties
         com.sun.identity.agents.app.username
         com.iplanet.am.service.password
         at com.sun.identity.security.AdminTokenAction.run(AdminTokenAction.java:233)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sun.identity.common.configuration.ConfigurationBase.isLegacy(ConfigurationBase.java:180)
         at com.sun.identity.common.configuration.ConfigurationObserver.createAttributeMapping(ConfigurationObserver.java:62)
         at com.sun.identity.common.configuration.ConfigurationObserver.<init>(ConfigurationObserver.java:58)
         at com.sun.identity.common.configuration.ConfigurationObserver.<clinit>(ConfigurationObserver.java:50)
         ... 35 more
    |#]
    [#|2007-12-17T21:24:21.453-0500|SEVERE|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=15;_ThreadName=httpSSLWorkerThread-8080-0;_RequestID=fde18bdd-a04f-48ba-b4f1-7a88a756c315;|StandardWrapperValve[default]: PWC1406: Servlet.service() for servlet default threw exception
    java.lang.NoClassDefFoundError: Could not initialize class com.sun.identity.agents.filter.AmFilterManager
         at com.sun.identity.agents.filter.AmAgentBaseFilter.initializeFilter(AmAgentBaseFilter.java:217)
         at com.sun.identity.agents.filter.AmAgentBaseFilter.getAmFilterInstance(AmAgentBaseFilter.java:279)
         at com.sun.identity.agents.filter.AmAgentBaseFilter.doFilter(AmAgentBaseFilter.java:64)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:288)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
         at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:270)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:813)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:339)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:261)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:212)
         at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
         at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
    |#]
    I do not understand why it is looking for AMConfig.properties file in domain1? This file exist in domain2 and not in domain1. Secondly, it also throws NoClassDefFoundError Exception. However, config.xml file sets classpath as :
    <java-config classpath-suffix="${path.separator}C:/tools/opensso/j2ee_agents/appserver_v9_agent/lib/agent.jar${path.separator}C:/tools/opensso/j2ee_agents/appserver_v9_agent/lib/openssoclientsdk.jar${path.separator}C:/tools/opensso/j2ee_agents/appserver_v9_agent/locale${path.separator}C:/tools/opensso/j2ee_agents/appserver_v9_agent/Agent_001/config" debug-enabled="false" debug-options="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=9009" env-classpath-ignored="true" java-home="${com.sun.aas.javaRoot}" javac-options="-g" rmic-options="-iiop -poa -alwaysgenerate -keepgenerated -g" system-classpath="">
    I am not sure whether both these problems are related or independent.
    Thanks in advance,
    Vinit

  • Policy Agent 3.0 for Tomcat - Cannot obtain Application SSO token

    Hi
    I am trying to configure Sun OpenSSO Enterprise Policy Agent 3.0 for Apache Tomcat Application Server 6.
    After installing the Policy Agent, Tomcat is not starting.
    The Error in the stack is :
    =========
    Jun 14, 2009 2:21:00 AM
    org.apache.tomcat.util.digester.Digester startElement
    SEVERE: Begin event threw error
    java.lang.ExceptionInInitializerError
    at
    com.sun.identity.agents.arch.AgentConfiguration.bootStrapClientConfig
    uration(AgentConfiguration.java:682)
    Caused by:
    com.sun.identity.security.AMSecurityPropertiesException:
    AdminTokenAction: FATAL ERROR: Cannot obtain Application
    SSO token.
    Check AMConfig.properties for the following properties
    com.sun.identity.agents.app.username
    com.iplanet.am.service.password
    at
    com.sun.identity.security.AdminTokenAction.run(AdminTokenAction.java:
    258)
    =========
    There is no AMConfig.properties file. The Agent uses "OpenSSOAgentBootstrap.properties".
    Is there a workaround for this issue ?
    Cheers.

    Hi,
    I have the same Problem, did you come up with a solution for it?
    thanks
    Matrius

  • IM Installation - FATAL ERROR: Cannot obtain Application SSO token

    Hi Guys,
    I am having a problem trying to install IM, I got the following error,
    Registering services with Access Manager...exist exception - AdminTokenAction: FATAL ERROR: Cannot obtain Application SSO token.
    Check AMConfig.properties for the following properties
    com.sun.identity.agents.app.username
    com.iplanet.am.service.password
    I got the IM + DA+ AM 7.1 + AS 9.1 U2 installed in the same server with the DS 6.3 installed remotly. I installed the following components for the AM
    *[X] 1. Access Manager Core Services
    *[X] 2. Access Manager Administration Console
    *[X] 3. Common Domain Services for Federation Management
    *[X] 4. Access Manager SDK
    yes, the Application server is up and running before I start the installation of IM and the access manager is working fine, do you know why I am getting this error?
    p.s. i tried to set those variable in the following file (/etc/opt/SUNWam/config/AMConfig.properties) but i got the same error
    com.sun.identity.agents.app.username=amadmin
    com.iplanet.am.service.password=encrypted password
    thanks a lot guys

    I give up finding the problem....i will re-install AM, these are the questions that the installer will ask, are my values ok ?
    *[X] 1. Access Manager Core Services
    *[X] 2. Access Manager Administration Console
    *[X] 3. Common Domain Services for Federation Management
    *[X] 4. Access Manager SDK
    Specify Common Server Settings
    Enter Host Name [convergence] {"<" goes back, "!" exits}
    Enter DNS Domain Name [domain.com] {"<" goes back, "!" exits}
    Enter IP Address [192.168.2.82] {"<" goes back, "!" exits}
    Enter Server admin User ID [admin] {"<" goes back, "!" exits}
    Enter Admin User's Password (Password cannot be less than 8 characters) []
    {"<" goes back, "!" exits}
    Confirm Admin User's Password [] {"<" goes back, "!" exits}
    Enter System User [root] {"<" goes back, "!" exits}
    Enter System Group [root] {"<" goes back, "!" exits}
    Access Manager: Specify Configuration Information
    Install type (Realm/Legacy) Mode [Legacy] {"<" goes back, "!" exits}:
    Administrator User ID: amAdmin
    Administrator Password [] {"<" goes back, "!" exits}:
    Retype Password [] {"<" goes back, "!" exits}:
    LDAP User ID: amldapuser
    LDAP Password [] {"<" goes back, "!" exits}:
    Retype Password [] {"<" goes back, "!" exits}:
    Password Encryption Key [gdtrt576ythjgut7erehejr8] {"<" goes back,
    "!" exits}:
    Access Manager: Choose Deployment Container
    1. Sun Java(TM) System Application Server
    2. Sun Java(TM) System Web Server
    Select the container to deploy the component and hit enter key [1] {"<" goes
    back, "!" exits} 1
    Access Manager: Specify Sun Java System Application Server
    Installation Directory [opt/SUNWappserver/appserver] {"<" goes back, "!"
    exits}: /opt/SUNWappserver
    Instance Directory [var/opt/SUNWappserver/domains/domain1] {"<" goes back,
    "!" exits}: /opt/SUNWappserver/domains/domain1
    Access Manager Runtime Instance [server] {"<" goes back, "!" exits}:
    Access Manager Instance Port [8080] {"<" goes back, "!" exits}: 80
    Document Root [var/opt/SUNWappserver/domains/domain1/docroot] {"<" goes
    back, "!" exits}: /opt/SUNWappserver/domains/domain1/docroot
    Administrator User ID [admin] {"<" goes back, "!" exits}:
    Administrator Password [] {"<" goes back, "!" exits}:
    Master Password [] {"<" goes back, "!" exits}:
    Administrator Port [4849] {"<" goes back, "!" exits}: 4848
    Secure Server Instance Port [No] {"<" goes back, "!" exits}:
    Secure Administration Server Port [Yes] {"<" goes back, "!" exits}:
    Access Manager: Specify Web Container for Running Access Manager Services
    Host Name [convergence.domain.com] {"<" goes back, "!" exits}:
    Services Deployment URI [amserver] {"<" goes back, "!" exits}:
    Common Domain Deployment URI [amcommon] {"<" goes back, "!" exits}:
    Cookie Domain(Assure it is not a top level domain) [.domain.com] {"<" goes
    back, "!" exits}:
    Password Deployment URI [ampassword] {"<" goes back, "!" exits}:
    1. HTTP
    2. HTTPS
    Console Protocol [1] {"<" goes back, "!" exits}:
    Access Manager: Choose Access Manager Console
    Administration Console [Yes] {"<" goes back, "!" exits}:
    Console Deployment URI [amconsole] {"<" goes back, "!" exits}:
    Access Manager: Specify Directory Server Information
    Directory Server Host [] {"<" goes back, "!" exits}: mail.domain.com
    Directory Server Port [389] {"<" goes back, "!" exits}:
    Directory Root Suffix [dc=domain,dc=com] {"<" goes back, "!" exits}:
    Directory Manager DN [cn=Directory Manager] {"<" goes back, "!" exits}:
    Directory Manager Password [] {"<" goes back, "!" exits}:
    Access Manager: Specify Directory Server Data
    Is Directory Server provisioned with user data [No] {"<" goes back, "!"
    exits}?
    Ready to Install

  • Cannot create application 'hello1' in account 'p...trial'

    I try to deploy on the Cloud from Eclipse IDE as written in https://help.hana.ondemand.com/help/frameset.htm?60ab35d9edde43a1b38cf48174a3dca2.html.
    In step 9 (after choosing Finish) 2 popups come up:
    1) Secure Storage
    A new master password has been created. Password recovery can be enabled by providing additional information. Would you like to do so now?
    I klicked: No
    2) Server Error
    Cannot create application 'hello1' in account 'p1940087376trial'
    Reason:
    Authentication failed. Check:
    1. if the accound name and the host are correct
    2. the provided user has rights to perform the operation in the specified account
    3. the provided password is correct
    This is the screen "Run On Server":
    I think my account name and the password should be correct.
    What about the host and the user rights? Anything else that I should do?

    First:
    Start eclipse
    Window > Preferences > General > Security > Secure Storage > Content > Delete
    This action will delete default secure storage ... Are you shure? -> Ja
    Secure storage deleted. ... restart the application now? -> Ja
    Restart the application. Then try to Run your application again:
    Just another User name:
    By the way: problem like those appear very often:
    So I have to give up.
    Second:
    Microsoft Windows [Version 6.3.9600]
    (c) 2013 Microsoft Corporation. Alle Rechte vorbehalten.
    C:\Users\heiner.goehlmann>cd C:\Gm\GmCDsDownloads\SAP_PartnerEdge\neo-java-web-sdk-2.3.3\tools
    C:\Gm\GmCDsDownloads\SAP_PartnerEdge\neo-java-web-sdk-2.3.3\tools>neo list-runtime-versions -h hanatrial.ondemand.com -u p1940083736
    SAP HANA Cloud Platform Console Client
    Requesting list of runtime versions for:
       host       : https://hanatrial.ondemand.com
       SDK version: 2.3.0
       user       : p1940083736
    Password for your user:
    Supported application runtime versions
    SDK in use: neo-java-web 2.3
       Version         Valid until
       2.3  [default]  16-Oct-2015
       2.2             02-Oct-2015
       2.1             18-Sep-2015
    C:\Gm\GmCDsDownloads\SAP_PartnerEdge\neo-java-web-sdk-2.3.3\tools>

  • BUILD PROGRAM ERROR - CANNOT CREATE PAYMENTS

    Hi, I'm trying to run a payment batch using payments manager and encountered this error.
    In my test data I used two suppliers that belongs to the same operating unit.
    Payments: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    IBYBUILD module: Build Payments
    Current system time is 09-NOV-2009 11:26:11
    **Starts**09-NOV-2009 11:26:11
    **Ends**09-NOV-2009 11:26:13
    BUILD PROGRAM ERROR - CANNOT CREATE PAYMENTS
    Start of log messages from FND_FILE
    IBY_PAYGROUP_PUB.performPostHookProcess: Fatal error - Payment count mismatch after hook operation. # payments passed to hook: 1, # payments returning from hook: 2
    IBY_PAYGROUP_PUB.performPostHookProcess: Aborting program ..
    End of log messages from FND_FILE
    Executing request completion options...
    Finished executing request completion options.
    Exceptions posted by this request:
    Concurrent Request for "Build Payments" has completed with error.
    Concurrent request completed
    Current system time is 09-NOV-2009 11:26:13
    Please help
    thanks,
    Renz

    Hi
    Please review the below note from Metalink,
    Bug No. 6771847
    Filed 24-JAN-2008 Updated 13-MAR-2008
    Product Oracle Payments Product Version 12.0.4
    Platform Linux x86 Platform Version ENTERPRISE 4
    Database Version 10.2.0.2 Affects Platforms Generic
    Severity Severe Loss of Service Status Closed, Verified by Filer
    Base Bug N/A Fixed in Product Version 12.0.4
    Problem statement:
    R12: AFTER APPLYING 12.0.4 BUILD PAYMENT PROGRAM ERRORS
    please review the same if it resolvs your error.
    Thanks
    Manish Jain.

  • EJB 3.0 stand alone client programe throws Naming Exception

    Hi My application wont work , please take look my small stateless session using EJB 3.0
    Business Inteface
    ==================================
    package ejb30;
    import javax.ejb.Remote;
    @Remote
    public interface Sless {
    public String hello();
    =====================
    Bean Class
    ================
    package ejb30;
    import javax.ejb.Stateless;
    @Stateless
    public class SlessBean implements Sless {
    public String hello() {
    return "hello, world!\n";
    ================
    Comiled the above 2 files and put into "s1.jar" file then deployed into SJS Application Server.
    Deployed Sucuess fully
    Created Client programs like below file
    Client
    ========
    package ejb30;
    import javax.naming.InitialContext;
    public class client
    public static void main(String[] args)
         try
         InitialContext ctx = new InitialContext();
    Sless sless = (Sless) ctx.lookup(Sless.class.getName());
         System.out.println(sless.hello());
         catch(Exception ex)
              ex.printStackTrace();
    ===============
    when i am going the programe from console it throws the followin exception
    ===============
    C:\Sun\AppServer\jdk\bin>java ejb30.client
    javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:645)
    at javax.naming.InitialContext.getDefaultInitCtx InitialContext.java:247
    at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:284)
    at javax.naming.InitialContext.lookup(InitialContext.java:351)
    at ejb30.client.main(client.java:13)
    =============
    please help me on this if any knows.........
    Waiting for you great response
    urs balasubramanyam

    appserv-rt.jar already contains a jndi.properties file, and users don't need to worry about anything about jndi.properties file. For your sample app, it should work when you have appserv-rt.jar and javaee.jar in classpath.
    If you still have failures, pls post your complete command you used to run client.

  • Cannot create applications or portlets

    We recently upgraded to Oracle Portal Version: 3.0.9.8.0. We tried to configure the system like our 3.0.7.6.2 installation. However, my user login cannot create new applications. When I try, I get now schema to assign it to. As a temporary fix, I have added myself to the DBA group. Now I can see all schemas when trying to make a new application.
    However, I created forms and reports in this application, but I cannot publish them as portlets, even though I belong to the Portal Publish group.
    How can I publish portlets? And what do I need to do to my environment to allow non-DBAs to create applications?
    null

    Just forget about Oracle portal.
    THis is the worst development tool I used
    so far. A lot of bugs and no way to do
    customization ( a nightmare!!!).
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Steve Yeager ([email protected]):
    We recently upgraded to Oracle Portal Version: 3.0.9.8.0. We tried to configure the system like our 3.0.7.6.2 installation. However, my user login cannot create new applications. When I try, I get now schema to assign it to. As a temporary fix, I have added myself to the DBA group. Now I can see all schemas when trying to make a new application.
    However, I created forms and reports in this application, but I cannot publish them as portlets, even though I belong to the Portal Publish group.
    How can I publish portlets? And what do I need to do to my environment to allow non-DBAs to create applications?
    <HR></BLOCKQUOTE>
    null

  • Cannot create APPLICATION container, only FOLDER

    I installed Designer 6i (release 4.2) on an Oracle 8.1.7 database. All privileges seems to be correct, there are no invalid objects, version control is enabled.
    In the Repository REPOS_MANAGER can only create Workareas and Folders (create child). No pop-up window is presented which would allow me to select "Application Systems" or "Folders" . It just creates a Folder without asking me.
    This problem was also published on Metalink. The solution was to install the 'Repository Installation Scripts' again and reinstall the Repository. I tried this, without success...

    The installation is already succeeded. I only installed the Core Repository objects. A second install of the Repository in the RAU with "Support for Oracle Designer Objects" checked, did solve my problem. Anyway, thanx!

  • Cannot create application - 405 Method Not Allowed error

    Installed 11.1.2.1. Tried using EPMA to deploy app. Getting abort with the Method Not Allowed Error. Tried using Classic and getting the same error. Some of the details says "Server Error in Application "DEFAULT WEB SITE/HFM", "The page you are looking for cannot be displayed because an invalid method (HTTP verb) is being used." Any thoughts on possible causes?

    Hi Fsotto,
    The below document would resolve the issue.
    New Install on IIS 7, Cannot Access HFM from Workspace 404.3 Error in IIS Logs on HFM Web Server (Doc ID 1285684.1)
    Hope this helps,
    Please feel free to mark the answer as Helpful Answer/ Correct Answer should you find the relevant posting helpful so that it also helps us in keeping track of the answered queries.
    Thank you,
    Charles Babu J

  • Cannot setup Application

    When creating new applicaiton on Planning Desktop, I face the following error and cannot create applications.
    I installed planning without any error, setup DCOM, udl completely, and this is standalone single server/client environment.
    The error
    +++Hyperion.HsxClient.1+++
    IHspAppAssistantACM_SaveAppAssistant() Error
    Unable to create application Finbud.
    Error Number; -2147160060
    PLEASE, help me out someone. I've lost plenty of time on this error.
    Thank you.

    Hello Appare,
    I am unable to create a planning instance in Hyp Conf utility. I am getting the following error..
    System failure : unable to retrieve xml file from database.
    I am stuck at this point since 2 days... Do you have a hint on how to fix this issue..??
    Thanks for your time,
    Varma

  • Error while creating application on Oracle IPM

    While trying to create an application on Oracle Imaging and Process Management (IPM) the following error is encountered-
    Event generated by user 'IPM_SystemServiceUser' at host 'CIS'. Cannot create application. Unable to execute service method 'ipmConfigureApplicationProfiles'. Null pointer is dereferenced. [ Details ]
    An error has occurred. The stack trace below shows more information.
    *!csUserEventMessage,IPM_SystemServiceUser,CIS!$!csIpmCannotCreateApp!csUnableToExecMethod,ipmConfigureApplicationProfiles!syNullPointerException*
    intradoc.common.ServiceException: !csIpmCannotCreateApp!csUnableToExecMethod,ipmConfigureApplicationProfiles
    **ScriptStack IPM_CREATE_APPLICATION*
    *3:ipmConfigureApplicationProfiles,**no captured values***
    at intradoc.server.ServiceRequestImplementor.buildServiceException(ServiceRequestImplementor.java:2115)
    at intradoc.server.Service.buildServiceException(Service.java:2260)
    at intradoc.server.Service.createServiceExceptionEx(Service.java:2254)
    at intradoc.server.Service.createServiceException(Service.java:2249)
    at intradoc.server.Service.doCodeEx(Service.java:584)
    at intradoc.server.Service.doCode(Service.java:505)
    at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1643)
    at intradoc.server.Service.doAction(Service.java:477)
    at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1458)
    at intradoc.server.Service.doActions(Service.java:472)
    at intradoc.server.ServiceRequestImplementor.executeActions(ServiceRequestImplementor.java:1391)
    at intradoc.server.Service.executeActions(Service.java:458)
    at intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImplementor.java:737)
    at intradoc.server.Service.doRequest(Service.java:1890)
    at intradoc.server.ServiceManager.processCommand(ServiceManager.java:435)
    at intradoc.server.IdcServerThread.processRequest(IdcServerThread.java:265)
    at intradoc.server.IdcServerThread.run(IdcServerThread.java:160)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: java.lang.NullPointerException
    at oracle.imaging.intradoc.MetaDataUtils.addOptionValue(MetaDataUtils.java:123)
    at oracle.imaging.intradoc.IpmRepositoryProfileUtils.createOrUpdateApplicationProfile(IpmRepositoryProfileUtils.java:765)
    at oracle.imaging.intradoc.IpmApplicationService.ipmConfigureApplicationProfiles(IpmApplicationService.java:478)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at intradoc.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:86)
    at intradoc.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:310)
    at intradoc.common.ClassHelperUtils.executeMethod(ClassHelperUtils.java:295)
    at intradoc.server.Service.doCodeEx(Service.java:550)
    ... 15 more
    The component IpmRepository is enabled.
    The following is the configuration used while creating the application on IPM
    Application Security -weblogic
    Document Security - Administrators (group)
    Storage policy-
    Document storage - Database AAArule (custom file storage rule)
    Supporting content storage - Database AAArule (custom file storage rule)
    No workflow configuration defined
    Have tried creating application with other security groups and filesystem storage but the error persists

    Hi,
    There seems to issues in the profiles which being created in UCM.
    Can you check the Trigger Field which has been configured for the profiles ? If the trigger field has been configured as Type, can you change it to any of the other custom defined Information fields and then create the application.
    To access the Trigger Fields navigate to the WCC web console, Administration --> Admin Applets --> Config Manager --> Profiles --> Trigger Field.
    Thanks
    Aditya

  • After "create application from database"

    hi all,
    i succeeded to build server and client side code using "create application from database"
    now my question is: how to use these files to build my application?
    for example, i need an OlapDataGrid that works on joined tables, not on a single table...
    thank you all!

    Hi Dave,
    Would you please file a bug with all the necessary details
    regarding this issue? The bug base is found at:
    http://bugs.adobe.com/jira.
    We’ll look into this. Thank you for letting us know!
    Lacra

  • Cannot create list in SharePoint 2010 using Client Object Model

    I am trying to utilize SharePoint 2010 Client Object Model to create a List based on a custom template. Here's my code:
    public void MakeList(string title, string listTemplateGUID, int localeIdentifier)
    string message;
    string listUrl;
    List newList;
    Guid template;
    ListCreationInformation listInfo;
    Microsoft.SharePoint.Client.ListCollection lists;
    try
    listUrl = title.Replace(spaceChar, string.Empty);
    template = GetListTemplate((uint)localeIdentifier, listTemplateGUID);
    listInfo = new ListCreationInformation();
    listInfo.Url = listUrl;
    listInfo.Title = title;
    listInfo.Description = string.Empty;
    listInfo.TemplateFeatureId = template;
    listInfo.QuickLaunchOption = QuickLaunchOptions.On;
    clientContext.Load(site);
    clientContext.ExecuteQuery();
    lists = site.Lists;
    clientContext.Load(lists);
    clientContext.ExecuteQuery();
    newList = lists.Add(listInfo);
    clientContext.ExecuteQuery();
    catch (ServerException ex)
    Now, this particular part, newList = lists.Add(listInfo); clientContext.ExecuteQuery();, the one that is supposed to create the actual list, throws an exception:
    Message: Cannot complete this action. Please try again.
    ServerErrorCode: 2130239231
    ServerErrorTypeName: Microsoft.SharePoint.SPException
    Could anyone please help me realize what am I doing wrong? Thanks.

    I've made progress - well, at least to some extent. The previous message related to the "Invalid file name" is not appearing any more. I now realize that it is necessary to specify feature ID, list template kind, as well as custom schema in order
    to order SharePoint 2010 to create the document library. 
    However, there's a new problem which isn't documented on the net almost at all (at least I was unable to find anything): The document library gets created, but I cannot access it. Further inspection showed that the doc lib views are not created. Basically,
    the only accessible doc lib page is the document library settings page. Also, I get the server exception with the message: 
    Server Out Of Memory. There is no memory on the server to run your program. Please contact your administrator with this problem.
    Any idea what is causing this issue? Thanks. 
    Hi Boris
    Borenović,
    I think I found the reason for this notorious "Server Out Of Memory" error.
    (Man, it took 4 hrs of frustrating troubleshooting without any direct hints... very disappointing
    MSFT developers :( ).
    Anyway,
    All the "Form" elements at the bottom need to have SetupPath="pages\form.aspx"
    attribute (by default this attrib is missing when you copy the whole List element from inside the stp's manifest.xml  file).
    Also, just make sure that each "View" element has correct "WebPartZoneID", "SetupPath" and "Url" attribute values otherwise that list/library will
    be created successfully but will fail to load when you try to access it (with the VERY helpful "Cannot complete this action, contact administrator" error). Even if you enable stack trace (or check ULS logs) you will find "An unexpected
    error has been encountered in this Web Part.  Error: A Web Part or Web Form Control on this Page cannot be displayed or imported. The type could not be found or it is not registered as safe." and you will never realize it's because of the
    incorrect attributes ("WebPartZoneID", "SetupPath" or "Url" as mentioned above).
    Come on Microsoft, you can do better than that?
    If the API needs this attrib then why is it missing inside the manifest.xml file when
    an STP file generated in the first place?

  • Application cannot create needed files

    I have searched under this heading but Firefox brought up 1000 articles and I gave up after going through 10 pages, as none seemed relevant.
    I was trying to open my GIO "Virtual Safe" file, which allows me to list all my contents for insurance purposes, by where they are in the house and what category they fall into, and includes costs and photos, and also totals all entries to a final figure. I am sorry but I am not sure what type of file or program it is, but hopefully someone who sees this question will know "Virtual Safe". Anyway, I got a pop-up - "This application cannot start as it cannot create needed files. There may not be enough free disc space".
    I don't see how the last sentence can apply, as I am only using about 140 GB on a 1 TB disc. Also, subsequent checks (see after this) make me question whether the problem is related to the Virtual Safe program at all.
    A short time after this problem surfaced I received a pop-up to say that there was an update to Apache Open Office, which I downloaded. When I tried to open the application file to update Open Office I got a pop-up - "Error! Can't initialize plug-ins directory. Please try again later". I then searched and found the Mozilla help file "Re-initiallizing the plugins database", and other files as well, and followed their instructions. Firstly I changed all my plugins to "Never Activate" as suggested, but it made no difference. So I changed them all back to "Always activate".
    I then deleted the pluginreg.dat file as suggested, but it made no difference, so I reinstated that.
    By this time I began to wonder whether I would be able to open any application file, so out of interest I tried to open a few more application files from my downloads. None would open and I got various pop-up messages when I tried. For some reason they weren't all the same.
    i.e. "Can not create temp folder archive"; and "Failed to download file"; and ""Setup was unable to create the directory "C:\Users\owner\AppData\Local\Temp\is-TTSU7.tmp". Error 5: Access is denied"".
    Can anyone help me?
    Thanks,
    Barry

    hey barry, when you google that error message, it seems to appear for all kinds of different software & it appears that it is caused by something corrupting the system environment. you might want to try the tip here: http://www.windowsbbs.com/windows-7/106826-adobe-reader-wont-install-windows-7-64-bit.html#post618612 or starting the system in safemode and scanning for malware. but again, any more detailed help regarding this issue is probably outside the scope of this forum :-/

Maybe you are looking for