Start deployed applications when J2EE Server starts

Hi experts,
This is my problem.
I've updated my Netweaver 04s Developer Workplace from SPS1 to SPS10.
The problem I have is that when I start my J2EE Server via MMC, the applications (j2ee,ear,webdynpro,...) I deployed don't start.
If in my Visual Administrator I go to server->services->deploy most of them are not started. I can start them manually, but that's not a solution...
I suppose there are any possibities to set this applications to start when the server is started.
Any ideas?
Thanks a lot.
Alberto.

Hi Alberto
If you can start the services manually w/o problems, then maybe you can try to change the startup mode to 'always' so that the service is started automatically. You should be able to check this via Configtool. Switch to the 'configuration editor' mode and go to cluster_data -> server -> cfg -> services. Look for the service and make click on the propertysheet. Usually you can modify the startup mode there.
I hope this helps.
Regards,
Désiré

Similar Messages

  • Initialising class when J2EE server starts

    Hi,
    I am facing a problem. I wish to instantiate a class when the J2EE/ tomcat server starts. This is similar to the property set in weblogic as
    weblogic.system.startupClass.startup = <name of ur startup class>
    Here we can specifiy the class to be instantiated during startup of server.
    Can i do something similar in tomcat/ j2ee server?
    I do not wish to use a servlet since my webapplication contains jsps and other supporting classes and my own apis.
    Thank you in adv.
    ...supriya.

    if you use ServletContext Listeners you should be ready as far as web app is concerned. Most servers I believe offer JMX integration so that you can listen for server startups. : )

  • Its Urgent! J2EE Server Started but the Application is not running?

    J2EE server starts ok, I deployed the application successfully but when I open the URL http://localhost:8000 to start the application in browser it shows errors e.g
    Error: 500
    Internal Servlet Error:
    java.lang.NoSuchMethodError
    at com.sun.web.security.SecurityInterceptor.setSSLAttributes(SecurityInterceptor.java:56)
    at com.sun.web.security.SecurityInterceptor.preInvoke(SecurityInterceptor.java:83)
    at org.apache.tomcat.core.ServiceInvocationHandler.preInvoke(ServletWrapper.java:615)
    at org.apache.tomcat.core.ServletWrapper.handleInvocation(ServletWrapper.java:531)
    at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:378)
    at org.apache.tomcat.core.Context.handleRequest(Context.java:644)
    at org.apache.tomcat.core.ContextManager.service(ContextManager.java:440)
    at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:144)
    at org.apache.tomcat.service.TcpConnectionThread.run(TcpEndpoint.java:310)
    at java.lang.Thread.run(Thread.java:484)
    Please Help me its very Urgent

    I deployed the application successfully, J2ee server started successfully but when I open the browser and try to run the application or view the welcome page it shows the above mentioned error.

  • Help-Cubes are not getting started when Analytical server started in 11.1.1

    Installed Oracle Essbase Analytical server along with Shared Services, Provider Services and Integration Services thru EPM v11.1.1.3. Shared services and provider services on Windows 2003 and Essbase Analytical Services and Integration Services on UNIX/AIX. All the components got configured successfully. Copied the essbase.sec from the server which has previous version (v11.1.1.1.0) of Essbase. We have been encountering couple of problems. The first one is the applications(cubes) didn't start when the analytical server started. The second one is when trying to start using MAXL script, the applications took long time (more than 30 minutes) to start.
    Any suggestions that you may have in resolving this are appreciated. Thanks,

    In the application properties, is the box 'Start application when Essbase server starts' checked? If not, that's why they didn't automatically start. Also, once you started them manually, does it still take 30 minutes to start? Or is shutdown and startup faster now?
    Sabrina

  • How to add an object in JNDI when a server starts?

    I have an integration app. The app contains EJB project. The project contains EJB which reads data from LDAP.
    My first version of EJB contains the following code:
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY,"com.sun.jndi.ldap.LdapCtxFactory");
    env.put(Context.PROVIDER_URL, strProvider);
    env.put(Context.SECURITY_AUTHENTICATION, strAuth); env.put(Context.SECURITY_PRINCIPAL,strPrincipal); env.put(Context.SECURITY_CREDENTIALS,strCredentials);
    DirContext dirCtx = new InitialDirContext(env); // exception
    All connection properties are hardcoded and it is not a good practice.
    Also I can put those properties into deployment descriptor. But I am going to have some EJBs and each EJB has to have those properties into descriptors. It is not useful.
    My idea: I would like to have whatever object which is called automatically when a server starts; this object creates InitialDirContext and put the context into JNDI. All EJBs lookup the context by a name. But I don't know how to do that.
    And another question: how to change connection properties dynamically? My idea is putting the properties in XML Cache. And my object (which creates InitialDirContext) reads the properties from XML Cache. Can I handle a message that my properties in XML Cache have been changed and in this cases my object reads new properties and calls rebind() to update InitialDirContext?
    Thanks,
    Ivan

    To bind an object into the JNDI tree check the documentation here:
    http://e-docs.bea.com/wls/docs81/jndi/jndi.html#475702
    If this is to be used by all your applications that you deploy on the server check out the startup/shutdown class documentation here:
    http://edocs.bea.com/wls/docs81/ConsoleHelp/startup_shutdown.html
    Cheers
    IV

  • Deploying application on Virtual Server

    I am having a virtual server set up by my department on which i can't install anything. I want to use flash builder for my database project of which I am designing front end in flash builder.
    I tried to create same mysql environment on my machine as it is on virtual server. I developed front end which retrieves content from one of the table and display it.
    But when I copied the output folder to my virtual server, my application failed with the following error.
    Send failed
    Channel.Connect.Failed error NetConnection.Call.Failed: HTTP:
    I would appreciate any suggestions.

    Vijay,
    are you using the node manager and starting the server from the admin console?
    The node manager starts this as a process and sometimes the process is not getting
    killed. try to kill the previously started process and it should work fine
    ANIL
    "vijay" <[email protected]> wrote:
    >
    Hi All,
    I am using Weblogic 6.1sp1 on windows 2000.
    I have 2 servers
    server name type port
    myserver - admin server 7001
    vijay - managed server 19001
    when i start myserver & then vijay(managed server) It starts ok works
    fine.But
    if try to deploy application on managed server & then try to restart
    both my managed
    server just hangs by giving message.
    Starting WebLogic Server ....
    Connecting to http://localhost:7001...
    <Jan 24, 2002 12:18:04 PM EST> <Notice> <WebLogicServer> <Starting WebLogic
    Managed
    Server "vijay" for domain "mydomain">
    It doesn't throw any exceptions but it just hangs.
    so will u able to guide me on this.
    Thanx
    Vijay

  • Deploying application on managed server

    Hi All,
    I am using Weblogic 6.1sp1 on windows 2000.
    I have 2 servers
    server name type port
    myserver - admin server 7001
    vijay - managed server 19001
    when i start myserver & then vijay(managed server) It starts ok works fine.But
    if try to deploy application on managed server & then try to restart both my managed
    server just hangs by giving message.
    Starting WebLogic Server ....
    Connecting to http://localhost:7001...
    <Jan 24, 2002 12:18:04 PM EST> <Notice> <WebLogicServer> <Starting WebLogic Managed
    Server "vijay" for domain "mydomain">
    It doesn't throw any exceptions but it just hangs.
    so will u able to guide me on this.
    Thanx
    Vijay

    Vijay,
    are you using the node manager and starting the server from the admin console?
    The node manager starts this as a process and sometimes the process is not getting
    killed. try to kill the previously started process and it should work fine
    ANIL
    "vijay" <[email protected]> wrote:
    >
    Hi All,
    I am using Weblogic 6.1sp1 on windows 2000.
    I have 2 servers
    server name type port
    myserver - admin server 7001
    vijay - managed server 19001
    when i start myserver & then vijay(managed server) It starts ok works
    fine.But
    if try to deploy application on managed server & then try to restart
    both my managed
    server just hangs by giving message.
    Starting WebLogic Server ....
    Connecting to http://localhost:7001...
    <Jan 24, 2002 12:18:04 PM EST> <Notice> <WebLogicServer> <Starting WebLogic
    Managed
    Server "vijay" for domain "mydomain">
    It doesn't throw any exceptions but it just hangs.
    so will u able to guide me on this.
    Thanx
    Vijay

  • How to disable autostart (application) when managed server restart ?

    Hi Ppl,
    How to disable autostart (application) when managed server restart ?
    I want some of the applications to remain not started. In WebSPhere, we have an option disable auto start for applications.
    I don't find in weblogic.
    Thanks

    Hi,
    I agree with Faisal. When you shutdown your WL server while the application is running, the thing is when you start your server again, it would automatically start the application with it. Now if the application was down when you shutdown the server, it _the application_ won't start with the server.
    So it depends on the application last state, when you start your server.
    Regards,
    Mohab

  • Error while deploying application to j2ee engine

    HI,
    I am getting the following error while deploying application to j2ee engine.
    PluginName: WebDynpro Archive Builder
    Plugin Id: com.sap.ide.webdynpro.archivebuilder
    class: com.sap.ide.webdynpro.archivebuilder.PARBuilder
    method: run()
    message: problems encountered while deleting resources
    excepton: org.eclipse.core.internal.resources.ResourceException:
    problems encountered while deleting resources.
    How to resolve this?
    Please help me.
    regards,
    satish

    Hi,
    Check whether your workspace has any other .ear files. If yes, just delete those ear files and try creating the ear file for your application again. I had a similar problem and it got resolved by the above method.
    Regards,
    Mayuri

  • Exception while starting deployed EAR in weblogic server

    Hi,
    I am using Oracle jdeveloper 11.1.1.4.0 and have created EAR of my application.
    I deployed it in WebLogic Server, however when I tried to start(servicing all request) the same.
    It is throwing following exception,
    weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references.
    Unresolved application library references, defined in weblogic-application.xml:
    [Extension-Name: adf.oracle.domain, exact-match: false].Where is this weblogic-application.xml file located?
    Appreciate your help.
    Thanks in Advance,
    Madhav.

    Hi,
    Thanks, these links are really helpful.
    I added that library in server shared library successfully.
    but now there is new exception while starting the application using deployed EAR,
    weblogic.common.ResourceException: java.security.PrivilegedActionException:
    weblogic.common.ResourceException: java.security.PrivilegedActionException:
    weblogic.common.ResourceException: No credential mapper entry found for password indirection user=sa
    for data source CommonConnThanks,
    Madhav.
    Edited by: Madhav on Aug 19, 2011 12:56 AM

  • Null argument for startup classes when managered server starts

    Hi Everyone,
    We have a Weblogic 10.3.5 clustering environment. the environment seems to work fine. I am able to have the servers (both Admin and Managed) and deployed applications running without any problems. However, I just notice that, every time when I start the Managered servers, I got the following information in the system log. It appears that they are start-up classes, but with null argument. Are they normal or not?
    Thanks in advance,
    John
    ####<Feb 22, 2012 11:28:27 AM EST> <Info> <WebLogicServer> <entwl2u-vm.co.pinellas.fl.us> <Pinellas1uCluster1MS2> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1329928107258> <BEA-000256> <Invoking oracle.dms.wls.DMSShutdown.main(null)>
    ####<Feb 22, 2012 11:28:27 AM EST> <Info> <WebLogicServer> <entwl2u-vm.co.pinellas.fl.us> <Pinellas1uCluster1MS2> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1329928107769> <BEA-000256> <Invoking oracle.ias.cache.Shutdown.main(null)>
    ####<Feb 22, 2012 11:40:08 AM EST> <Info> <WebLogicServer> <entwl2u-vm.co.pinellas.fl.us> <Pinellas1uCluster1MS2> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1329928808600> <BEA-000256> <Invoking oracle.jrf.wls.JRFStartup.main(null)>
    ####<Feb 22, 2012 11:40:08 AM EST> <Info> <WebLogicServer> <entwl2u-vm.co.pinellas.fl.us> <Pinellas1uCluster1MS2> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1329928808682> <BEA-000256> <Invoking oracle.security.jps.wls.JpsWlsStartupClass.main(null)>
    ####<Feb 22, 2012 11:40:08 AM EST> <Info> <WebLogicServer> <entwl2u-vm.co.pinellas.fl.us> <Pinellas1uCluster1MS2> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1329928808790> <BEA-000256> <Invoking oracle.core.ojdl.weblogic.ODLConfiguration.main(null)>
    ####<Feb 22, 2012 11:40:17 AM EST> <Info> <WebLogicServer> <entwl2u-vm.co.pinellas.fl.us> <Pinellas1uCluster1MS2> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1329928817314> <BEA-000256> <Invoking oracle.jrf.AppContextStartup.main(null)>
    ####<Feb 22, 2012 11:40:17 AM EST> <Info> <WebLogicServer> <entwl2u-vm.co.pinellas.fl.us> <Pinellas1uCluster1MS2> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1329928817318> <BEA-000256> <Invoking oracle.as.jmx.framework.wls.spi.StartupListener.main(null)>
    ####<Feb 22, 2012 11:40:17 AM EST> <Info> <WebLogicServer> <entwl2u-vm.co.pinellas.fl.us> <Pinellas1uCluster1MS2> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1329928817432> <BEA-000256> <Invoking oracle.j2ee.ws.server.WebServiceServerStartup.main(null)>
    ####<Feb 22, 2012 11:40:17 AM EST> <Info> <WebLogicServer> <entwl2u-vm.co.pinellas.fl.us> <Pinellas1uCluster1MS2> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1329928817492> <BEA-000256> <Invoking oracle.ias.cache.Startup.main(null)>
    ####<Feb 22, 2012 11:40:17 AM EST> <Info> <WebLogicServer> <entwl2u-vm.co.pinellas.fl.us> <Pinellas1uCluster1MS2> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1329928817493> <BEA-000256> <Invoking oracle.dms.wls.DMSStartup.main(null)>
    ####<Feb 22, 2012 11:40:18 AM EST> <Info> <Management> <entwl2u-vm.co.pinellas.fl.us> <Pinellas1uCluster1MS2> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1329928818207> <BEA-141278> <Java entropy configuration is: System property "java.security.egd= null"; JRE's java.security file property "securerandom.source= file:/dev/urandom"; Blocking Config= false; JDK version= 1.6.0_26; Operating System= Linux.>
    ####<Feb 22, 2012 11:40:48 AM EST> <Info> <WebLogicServer> <entwl2u-vm.co.pinellas.fl.us> <Pinellas1uCluster1MS2> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1329928848987> <BEA-000256> <Invoking oracle.security.audit.ajl.loader.JEEAuditLoader.main(null)>

    Hi John,
    This is Ok. Those are just info messages. Thery are not warnings or errors, so nothing to worry about.
    If the classes are invoked with null arguments and no exception is thrown, then is means that the class is able to have a null argument, so nothing to worry about again.
    Regards,
    Cris

  • Failed to start web application in weblogic server 11g R1 RBACx

    Hi friends,
    I have an error when starting Oracle Identity Analitycs 11g R1, someone can help me solve the problem
    Log Weblogic Server server when starting the web application rbacx.war:
    ####<Apr 7, 2011 11:57:37 AM GMT-05:00> <Warning> <HTTP> <vkpeoplesoft000> <RbacxAdmin> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1302195457218> <BEA-101162> <User defined listener org.springframework.web.util.Log4jConfigListener failed: java.lang.IllegalStateException: Cannot set web app root system property when WAR file is not expanded.
    java.lang.IllegalStateException: Cannot set web app root system property when WAR file is not expanded
    at org.springframework.web.util.WebUtils.setWebAppRootSystemProperty(WebUtils.java:139)
    at org.springframework.web.util.Log4jWebConfigurer.initLogging(Log4jWebConfigurer.java:118)
    at org.springframework.web.util.Log4jConfigListener.contextInitialized(Log4jConfigListener.java:47)
    at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1863)
    at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3126)
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1512)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:486)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
    at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1267)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409)
    at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:43)
    at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
    at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
    at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
    at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
    at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
    at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
    at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
    at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)
    at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    ####<Apr 7, 2011 11:57:37 AM GMT-05:00> <Info> <Deployer> <vkpeoplesoft000> <RbacxAdmin> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1302195457234> <BEA-149059> <Module rbacx.war of application rbacx is transitioning from STATE_ADMIN to STATE_PREPARED on server RbacxAdmin.>
    ####<Apr 7, 2011 11:57:37 AM GMT-05:00> <Info> <ServletContext-/rbacx> <vkpeoplesoft000> <RbacxAdmin> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1302195457234> <BEA-000000> <Shutting down log4j>
    ####<Apr 7, 2011 11:57:37 AM GMT-05:00> <Info> <Deployer> <vkpeoplesoft000> <RbacxAdmin> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1302195457265> <BEA-149060> <Module rbacx.war of application rbacx successfully transitioned from STATE_ADMIN to STATE_PREPARED on server RbacxAdmin.>
    See the full log:
    http://yourpaste.net/7984
    Grateful

    No wonder you are having problems. The document you have linked to is full of errors and inconsistencies.
    Anyway, find log4j.properties under your expanded war file location and update it so that
    log4j.appender.file.file=logs/rbacx.log
    is updated to point to a location that exists and is writable by weblogic, eg:
    log4j.appender.file.file=/opt/oracle/weblogic/user_projects/OIA/logs/rbacx.log

  • Error starting deployed application "Discoverer"

    I have installed and configured Weblogic 10.3.4 and Discoverer 11.1.1.4 and then ran the latest patch for Weblogic and patch for Discoverer 11.1.1.4.
    Afterwards I was able to startup everything except the "(discoverer 11.1.1.2)" deployment under, "Disco_Domain, Deployments". Here is the error I see at the top of the console:
    java.security.AccessControlException: access denied (java.lang.RuntimePermission oracle.discoverer.connections)
    I tried adding the "grant codeBase" lines from ID: 1335764.1 but I get the same error when trying to start.
    Here is the stack trace from the wls log:
    <Mar 6, 2012 1:42:18 PM EST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating start task for application 'discoverer [Version=11.1.1.2.0]'.>
    <Mar 6, 2012 1:42:18 PM EST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException:
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1510)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    Truncated. see log file for complete stacktrace
    Caused By: java.security.AccessControlException: access denied (java.lang.RuntimePermission oracle.discoverer.connections)
    at java.security.AccessControlContext.checkPermission(AccessControlContext.java:374)
    at java.security.AccessController.checkPermission(AccessController.java:546)
    at oracle.disco.remote.corba.SessionPooler._checkPermission(Unknown Source)
    at oracle.disco.remote.corba.SessionPooler.setActivationConfig(Unknown Source)
    at oracle.discoverer.applications.framework.ApplicationListener.initViewerActivation(Unknown Source)
    Truncated. see log file for complete stacktrace

    Below are the steps:
    1. vi weblogic.policy in $WL_HOME/server/lib/weblogic.policy
    2. Add these lines
    grant codeBase "file:${weblogic.home}/../../patch_wls1034/patch_jars/-" {
         permission java.lang.RuntimePermission "oracle.discoverer.connections", "read";
         grant codeBase "file:${weblogic.home}/../../patch_wls1035/patch_jars/-" {
         permission java.lang.RuntimePermission "oracle.discoverer.connections", "read";
    3. restart opmn for discoverer
    4. restart WLS for Discoverer

  • J2ee server starting problem

    Hi, I am a new comer in this field. I am fininding problem in starting the j2ee server.I have downloaded and installed C:\j2sdkee1.3.1 , c:\jdk1.3.1_03 , c:\j2eetutorial and c:\antroot\jakarta-ant-1.3. I am using windows 2000 professional OS and set the environment variables like JAVA_HOME : c:\jdk1.3.1_03, J2EE_HOME:C:\j2sdkee1.3.1 and ANT_HOME:c:\antroot\jakarta-ant-1.3.
    set the path to %J2EE_HOME%\bin;%JAVA_HOME%\bin;%ANT_HOME%\bin; as per the instruction given in the J2EE tutorial preface.
    When I type j2ee on the command prompt it says "j2ee is not recognized as an internal or external command, operable program or batch file".
    Can any one plese guide how I can start and go ahead with this tutorial. Is there any other setting i need to set or change.
    Thanks,
    ansp

    Hi,
    If you're running j2ee on windows platform and you have outlook also loaded, close the outlook and try running j2ee again.
    also set your class path to the jar file under $J2EE_HOME/lib/j2ee.jar:. before rest of your classpath
    I have the same problem (with different message) on solaris.
    Regards,
    S+

  • System property 'primavera.bootstrap.home' not found error while starting P6 application via managed server

    Hi All,
    I had installed P6 8.3 with weblogic 10.3.6.
    My Adminserver is running.
    But when i am starting my managed server P6, P6 server is getting started but P6 application is failing to start and giving above error.
    but my p6help web application is showing Active state.
    I added below line in startWeblogic.cmd and setDomainEnv.cmd file but no use.
    set JAVA_OPTIONS=%JAVA_OPTIONS% -Dprimavera.bootstrap.home=C:\P6EPPM_1\p6\
    I tried by redeploying p6 application but still same error.
    Please help.

    Hi,
    I has set the classpath as well same as above.
    If i start managed server manually or using start_primavera.bat,  P6 application is becomeing acive and working.
    But if i start managed server using windows service, Managed server is get started, p6help is also becoming active but only p6 is failing to start.
    If i chek the log it is showing same log below,
    [Wed Oct 30 16:08:53 2013] [I] [RunJavaApp] Locating method "public static void main([]String)" in main class
    [Wed Oct 30 16:08:53 2013] [I] [RunJavaApp] Building arguments for main class
    [Wed Oct 30 16:08:53 2013] [I] [RunJavaApp] Invoking main class
    <Oct 30, 2013 4:08:54 PM IST> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
    <Oct 30, 2013 4:08:54 PM IST> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>
    <Oct 30, 2013 4:08:54 PM IST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) 64-Bit Server VM Version 20.45-b01 from Sun Microsystems Inc.>
    <Oct 30, 2013 4:08:55 PM IST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.6.0  Tue Nov 15 08:52:36 PST 2011 1441050 >
    <Oct 30, 2013 4:08:56 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <Oct 30, 2013 4:08:56 PM IST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
    <Oct 30, 2013 4:08:56 PM IST> <Notice> <Log Management> <BEA-170019> <The server log file C:\Oracle\Middleware\user_projects\domains\Primavera\servers\P6\logs\P6.log is opened. All server side log events will be written to this file.>
    <Oct 30, 2013 4:08:57 PM IST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
    <Oct 30, 2013 4:08:59 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
    <Oct 30, 2013 4:08:59 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <Oct 30, 2013 4:09:00 PM IST> <Warning> <HTTP> <BEA-101377> <Filtering class loader configuration ignored for web module p6.war of application p6>
    Oct 30, 2013 4:09:03 PM com.sun.faces.config.ConfigureListener contextInitialized
    INFO: Initializing JavaServer Faces implementation (1_2_07-b03-FCS) for context '/p6'
    - Refreshing com.primavera.bre.SystemApplicationContext@7fc4fe21: display name [com.primavera.bre.SystemApplicationContext@7fc4fe21]; startup date [Wed Oct 30 16:09:05 IST 2013]; root of context hierarchy
    - Loading XML bean definitions from class path resource [/com/primavera/pvweb/servlet/webconf.xml]
    - Bean factory for application context [com.primavera.bre.SystemApplicationContext@7fc4fe21]: org.springframework.beans.factory.support.DefaultListableBeanFactory@35f5e42b
    - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@35f5e42b: defining beans [metaConfigProvider,settingsManager,adminManager,LogMgr,performanceManager,threadPool,remoteQManager,subSystemInitializer,sqlConnectionPoolManager,registryService,tracer,mailService,configDumpHelper,autoConfigCollectionTask,proxiedUrlOpener,systemFacade,autoStarterService]; root of factory hierarchy
    System property 'primavera.bootstrap.home' not found
    <Oct 30, 2013 4:09:07 PM IST> <Warning> <HTTP> <BEA-101162> <User defined listener com.primavera.pvweb.listeners.PVContextListener failed: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'registryService' defined in class path resource [/com/primavera/pvweb/servlet/webconf.xml]: Invocation of init method failed; nested exception is com.primavera.common.exceptions.InvalidBootstrapException: System property 'primavera.bootstrap.home' not found.
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'registryService' defined in class path resource [/com/primavera/pvweb/servlet/webconf.xml]: Invocation of init method failed; nested exception is com.primavera.common.exceptions.InvalidBootstrapException: System property 'primavera.bootstrap.home' not found
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
    Truncated. see log file for complete stacktrace
    Caused By: com.primavera.common.exceptions.InvalidBootstrapException: System property 'primavera.bootstrap.home' not found
    at com.primavera.common.BootstrapHome.get(Unknown Source)
    at com.primavera.infr.admin.MetaCfg.a(Unknown Source)
    at com.primavera.infr.admin.MetaCfg.getMetaJDBCURL(Unknown Source)
    at com.primavera.infr.srvcs.RegistryServiceImpl.init(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    Truncated. see log file for complete stacktrace

Maybe you are looking for

  • Error while resetting release of segment

    Hi Experts, We have one custom IDoc.I am trying to add new field to one of the segment.So i am trying to cancel release status of segment using we31.But i am getting error Error while resetting release of segment  ZXXXXX Message no. EA259 .I checked

  • Why is the content in the program tab "grey" and not clickable?

    Does anyone know why I can't synchronize individual programs in iTunes? When I connect my iPad to iTunes I can synchronize and back up the device but I can't do anything under the tab "programs" in iTunes. I can see my apps but I can't do anything

  • Using CS2 and ACR simultaneously

    I am running Windows XP with Photoshop CS2 with ACR 3.7. I am saving multiple RAW files as a batch process with the ACR window. I've seen that others are able to run batches in the ACR window and still be able to do other things in Photoshop. Yes, I'

  • Static nonstatic class object constructor

    I was wonderring what is the use of non static constructors?? we all know about static constructors, they are used for initializing the class. we all know about constructos, they are used for initializing an object from a given class. what I dont kno

  • System Disable Key 59628700. Please Help Me

    I can't remember my password for the life of me. Please Help Me! System Disable Key 59628700 This question was solved. View Solution.