Starting of oracle application server from the console.

D:\>cd or*
D:\Oracle>cd j2*
D:\Oracle\j2ee>cd home
D:\Oracle\j2ee\home>java -jar oc4j.jar
java.lang.NoClassDefFoundError: com/sun/tools/javac/Main
Exception in thread "main" 2006-08-08 16:24:50.812 ERROR J2EE EJB3027 [system] A
n error occured deploying EJB module: java.lang.InstantiationException: Error lo
ading module file:/D:/Oracle/j2ee/home/applications/admin_ejb.jar: Syntax error
in source or compilation failed in: D:\Oracle\j2ee\home\application-deployments\
admin_ejb\generated\MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java
java.lang.NoClassDefFoundError: com/sun/tools/javac/Main
Exception in thread "main"
06/08/08 16:24:50 WARNING: Application.setConfig Application: system is in faile
d state as initialization failedjava.lang.InstantiationException: Error initiali
zing ejb-modules: Error loading module file:/D:/Oracle/j2ee/home/applications/ad
min_ejb.jar: Syntax error in source or compilation failed in: D:\Oracle\j2ee\hom
e\application-deployments\admin_ejb\generated\MBeanServerEjbRemote_StatefulSessi
onBeanWrapper0.java
java.lang.NoClassDefFoundError: com/sun/tools/javac/Main
Exception in thread "main"
Aug 8, 2006 4:24:50 PM com.evermind.server.Application setConfig
WARNING: Application: system is in failed state as initialization failedjava.lan
g.InstantiationException: Error initializing ejb-modules: Error loading module f
ile:/D:/Oracle/j2ee/home/applications/admin_ejb.jar: Syntax error in source or c
ompilation failed in: D:\Oracle\j2ee\home\application-deployments\admin_ejb\gene
rated\MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java
java.lang.NoClassDefFoundError: com/sun/tools/javac/Main
Exception in thread "main"
06/08/08 16:24:50 Error initializing server: Error initializing ejb-modules: Err
or loading module file:/D:/Oracle/j2ee/home/applications/admin_ejb.jar: Syntax e
rror in source or compilation failed in: D:\Oracle\j2ee\home\application-deploym
ents\admin_ejb\generated\MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java
java.lang.NoClassDefFoundError: com/sun/tools/javac/Main
Exception in thread "main"
06/08/08 16:24:50 Fatal error: server exiting
D:\Oracle\j2ee\home>

Have you also set the environment variable JAVA_HOME to your JDK 1.5 install dir ?
BTW: In your OC4J install dir you will find the script oc4j.cmd in the directory bin. With the help of this script you can start OC4J in a DOS box with the command:
oc4j -start
And you can shutdown OC4J with the following command:
oc4j -shutdown
Before you can use this script, you have to set two environment variables:
ORACLE_HOME to the OC4J installation dir
JAVA_HOME to the JDK installation dir

Similar Messages

  • Direct calls within the oracle application server to the IIS using reverse

    trying to direct calls within the oracle application server to the IIS using reverse proxy. I am having problems...
    What is trying to be achieved is a call to the 3rd party web server (IIS with Oracle SSO plug-in) that will be invoked from the OAS.
    Any suggestions

    First you might get more response if you move your question to following forum:
    Oracle Application Server - General
    Second, I didn't quite understand your question. Can you pl. clarify it bit more? What exactly do you mean by invoking IIS from OAS (I am assuming by OAS you mean OC4J here)?
    Thanks
    Shail

  • Migration from Oracle application server from Windowsto Solaris

    Hi Friends,
    I want to migrate Oracle application server from Windows to solaris. Please share the document for this.
    Thanks in advance
    Anil Pinto

    Hi,
    I hope we need to install Oracle Applcation server on Solaris and need to compile windows forms in soalris.
    Thanks & Regards
    Anil Pinto

  • How to start and stop Oracle Application Server from ANT

    How to start and stop Oracle Application Server and Web application from ANT
    Thanks in Advance.
    Mani

    Hi,
    You can use: startManagedWebLogic.sh, it is in your domain directory and you have to execute it in this way
    ./startManagedWebLogic.sh managedServerName http://adminServerHost:adminServerPort
    For instance, in my case I use:
    unixserv01:/webportal/domains/appServerWeb/bin>startManagedWebLogic.sh managedServ01 http://pelma3w3per01.mesaperu.next:7001
    You have to run it on the machine where the managed server was installed.
    Best regards,
    Raúl

  • Install Oracle Application Server on the same machine with Oracle Database

    Hello!
    I have already have installed on my laptop the oracle Database 10g, and i want to install on the same machine Oracle Application Server; can I do that? After i look on some threads on this forum I understand that all I have to do is to change the default port 1521 of the database to antoher ..let's say 1523...how can I change the port? what files do i have to modify? Oracle Application server can work in good conditions with Oracle XE or I will have the same problem?
    My SO is Windows XP Professional SP II, all updates, 512RAM, 2Ghz-CPU
    Thanks!

    Well, you'll have some problems to run simultaneously Database and AS with 512 Mb...
    Apart from that, you don't need to start two listeners, you can use just one (the highest version) for both DBs.
    If, for any reason, you want to use two, you can change the port within LISTENER.ORA file, normally in ORACLE_HOME\network\admin.

  • Deployment error while deploying to Oracle Application Server from JDEV

    What is the solution of this deployment problem???
    ---- Deployment started. ---- Jun 15, 2007 11:33:38 AM
    Target platform is Oracle Application Server 10g 10.1.3 (OracleAppServer).
    java.lang.ClassCastException: oracle.jbo.dt.jdevx.deploy.JbdProfileNode
         at oracle.jdevimpl.deploy.ProfileDeployer.profileDepExists(ProfileDeployer.java:95)
         at oracle.jdevimpl.deploy.DependencyGraph.calcDeploymentOrder(DependencyGraph.java:144)
         at oracle.jdevimpl.deploy.DependencyGraph.calcDeploymentOrder(DependencyGraph.java:167)
         at oracle.jdevimpl.deploy.DependencyGraph.deploy(DependencyGraph.java:72)
         at oracle.jdevimpl.deploy.ModulePackager.deploy(ModulePackager.java:44)
         at oracle.jdevimpl.deploy.DynamicDeployer.deploy(DynamicDeployer.java:84)
         at oracle.jdevimpl.deploy.DynamicDeployer.deploy(DynamicDeployer.java:84)
         at oracle.jdevimpl.deploy.BatchDeployer.deploy(BatchDeployer.java:46)
         at oracle.jdevimpl.deploy.DynamicDeployer.deploy(DynamicDeployer.java:84)
         at oracle.jdevimpl.deploy.BatchDeployer.deploy(BatchDeployer.java:46)
         at oracle.jdevimpl.deploy.DynamicDeployer.deploy(DynamicDeployer.java:84)
         at oracle.jdevimpl.deploy.J2eeProfileDt$CleanupTransientProfilesDeployer.deploy(J2eeProfileDt.java:71)
         at oracle.jdevimpl.deploy.FinalDeployer.deploy(FinalDeployer.java:48)
         at oracle.jdevimpl.deploy.AsyncDeployer$1.runImpl(AsyncDeployer.java:67)
         at oracle.jdevimpl.deploy.AsyncDeployer$1.run(AsyncDeployer.java:53)
    java.lang.ClassCastException: oracle.jbo.dt.jdevx.deploy.JbdProfileNode
         at oracle.jdevimpl.deploy.ProfileDeployer.profileDepExists(ProfileDeployer.java:95)
         at oracle.jdevimpl.deploy.DependencyGraph.calcDeploymentOrder(DependencyGraph.java:144)
         at oracle.jdevimpl.deploy.DependencyGraph.calcDeploymentOrder(DependencyGraph.java:167)
         at oracle.jdevimpl.deploy.DependencyGraph.deploy(DependencyGraph.java:72)
         at oracle.jdevimpl.deploy.ModulePackager.deploy(ModulePackager.java:44)
         at oracle.jdevimpl.deploy.DynamicDeployer.deploy(DynamicDeployer.java:84)
         at oracle.jdevimpl.deploy.DynamicDeployer.deploy(DynamicDeployer.java:84)
         at oracle.jdevimpl.deploy.BatchDeployer.deploy(BatchDeployer.java:46)
         at oracle.jdevimpl.deploy.DynamicDeployer.deploy(DynamicDeployer.java:84)
         at oracle.jdevimpl.deploy.BatchDeployer.deploy(BatchDeployer.java:46)
         at oracle.jdevimpl.deploy.DynamicDeployer.deploy(DynamicDeployer.java:84)
         at oracle.jdevimpl.deploy.J2eeProfileDt$CleanupTransientProfilesDeployer.deploy(J2eeProfileDt.java:71)
         at oracle.jdevimpl.deploy.FinalDeployer.deploy(FinalDeployer.java:48)
         at oracle.jdevimpl.deploy.AsyncDeployer$1.runImpl(AsyncDeployer.java:67)
         at oracle.jdevimpl.deploy.AsyncDeployer$1.run(AsyncDeployer.java:53)
    java.lang.ClassCastException: oracle.jbo.dt.jdevx.deploy.JbdProfileNode
         at oracle.jdevimpl.deploy.ProfileDeployer.profileDepExists(ProfileDeployer.java:95)
         at oracle.jdevimpl.deploy.DependencyGraph.calcDeploymentOrder(DependencyGraph.java:144)
         at oracle.jdevimpl.deploy.DependencyGraph.calcDeploymentOrder(DependencyGraph.java:167)
         at oracle.jdevimpl.deploy.DependencyGraph.deploy(DependencyGraph.java:72)
         at oracle.jdevimpl.deploy.ModulePackager.deploy(ModulePackager.java:44)
         at oracle.jdevimpl.deploy.DynamicDeployer.deploy(DynamicDeployer.java:84)
         at oracle.jdevimpl.deploy.DynamicDeployer.deploy(DynamicDeployer.java:84)
         at oracle.jdevimpl.deploy.BatchDeployer.deploy(BatchDeployer.java:46)
         at oracle.jdevimpl.deploy.DynamicDeployer.deploy(DynamicDeployer.java:84)
         at oracle.jdevimpl.deploy.BatchDeployer.deploy(BatchDeployer.java:46)
         at oracle.jdevimpl.deploy.DynamicDeployer.deploy(DynamicDeployer.java:84)
         at oracle.jdevimpl.deploy.J2eeProfileDt$CleanupTransientProfilesDeployer.deploy(J2eeProfileDt.java:71)
         at oracle.jdevimpl.deploy.FinalDeployer.deploy(FinalDeployer.java:48)
         at oracle.jdevimpl.deploy.AsyncDeployer$1.runImpl(AsyncDeployer.java:67)
         at oracle.jdevimpl.deploy.AsyncDeployer$1.run(AsyncDeployer.java:53)
    java.lang.ClassCastException: oracle.jbo.dt.jdevx.deploy.JbdProfileNode
         at oracle.jdevimpl.deploy.ProfileDeployer.profileDepExists(ProfileDeployer.java:95)
         at oracle.jdevimpl.deploy.DependencyGraph.calcDeploymentOrder(DependencyGraph.java:144)
         at oracle.jdevimpl.deploy.DependencyGraph.calcDeploymentOrder(DependencyGraph.java:167)
         at oracle.jdevimpl.deploy.DependencyGraph.deploy(DependencyGraph.java:72)
         at oracle.jdevimpl.deploy.ModulePackager.deploy(ModulePackager.java:44)
         at oracle.jdevimpl.deploy.DynamicDeployer.deploy(DynamicDeployer.java:84)
         at oracle.jdevimpl.deploy.DynamicDeployer.deploy(DynamicDeployer.java:84)
         at oracle.jdevimpl.deploy.BatchDeployer.deploy(BatchDeployer.java:46)
         at oracle.jdevimpl.deploy.DynamicDeployer.deploy(DynamicDeployer.java:84)
         at oracle.jdevimpl.deploy.BatchDeployer.deploy(BatchDeployer.java:46)
         at oracle.jdevimpl.deploy.DynamicDeployer.deploy(DynamicDeployer.java:84)
         at oracle.jdevimpl.deploy.J2eeProfileDt$CleanupTransientProfilesDeployer.deploy(J2eeProfileDt.java:71)
         at oracle.jdevimpl.deploy.FinalDeployer.deploy(FinalDeployer.java:48)
         at oracle.jdevimpl.deploy.AsyncDeployer$1.runImpl(AsyncDeployer.java:67)
         at oracle.jdevimpl.deploy.AsyncDeployer$1.run(AsyncDeployer.java:53)
    Warning: Exceptions occurred while traversing inter-profile dependencies.
    Warning: Attempting to continue with deployment anyway...Wrote EJB JAR file to D:\EBKProje\EBKv1.0.0.0\Model\deploy\ejb1.jar
    Running dependency analysis...
    Wrote JAR file to D:\EBKProje\EBKv1.0.0.0\Toplink\deploy\toplink1.jar
    Wrote WAR file to D:\EBKProje\EBKv1.0.0.0\UI\deploy\webapp1.war
    Running dependency analysis...
    Wrote JAR file to D:\EBKProje\EBKv1.0.0.0\ModelAdf\deploy\ModelAdfCSMT.jar
    Running dependency analysis...
    Wrote JAR file to D:\EBKProje\EBKv1.0.0.0\ModelAdf\deploy\ModelAdfCSCommon.jar
    Wrote EAR file to D:\EBKProje\EBKv1.0.0.0\BuildAndDeploy\EBK2.ear
    Configuration canceled
    Elapsed time for deployment: 1 minute, 26 seconds
    #### Deployment incomplete. #### Jun 15, 2007 11:35:04 AM
    Message was edited by:
    Cihangir Devrim

    A little more details on what you are trying to do will help.
    Which versions of JDev/OC4J? which technologies? did you install the ADF Runtime on the server?

  • Unable to start WebLogic 5.1 sp4 from the Console

    I installed WebLogic Server 5.1 Service Pack 4, as described by the
    release_notes_sp4.html document. I can successfully do the following using
    NT Workstation 4.0:
    1. Start weblogic from the command line using startWebLogic.cmd
    2. Start weblogic from the Start | Programs | WebLogic 5.1.0 | WebLogic
    Server menu.
    I can also start the console from the command line using startConsole.cmd.
    But, from the console, when I start weblogic, but it is only 5.1.0, not
    5.1.0 sp4
    When I start the console from the Start | Programs | WebLogic 5.1.0 |
    WebLogic Console menu and then try to start weblogic , I get the following
    error:
    Exception raised: java.lang.reflect.InvocationTargetException
    java.lang.reflect.InvocationTargetException: java.lang.NoSuchMethodError:
    weblogic.boot.ServerClassLoader: method
    getClassLoadNotify()Lweblogic/boot/ClassLoadNotify; not found
    at
    weblogic.utils.classloaders.GenericClassLoader.<init>(GenericClassLoader.jav
    a:140)
    at
    weblogic.utils.classloaders.GenericClassLoader.<init>(GenericClassLoader.jav
    a:112)
    at
    weblogic.utils.classloaders.GenericClassLoader.<init>(GenericClassLoader.jav
    a:104)
    at
    weblogic.utils.classloaders.RecursiveReloadOnModifyClassLoader.<init>(Recurs
    iveReloadOnModifyClassLoader.java:53)
    at
    weblogic.utils.classloaders.RecursiveReloadOnModifyClassLoader$SingleSlave.<
    init>(RecursiveReloadOnModifyClassLoader.java:149)
    at
    weblogic.servlet.internal.ServletContextImpl.setClassLoader(ServletContextIm
    pl.java:1392)
    at
    weblogic.servlet.internal.ServletContextImpl.<init>(ServletContextImpl.java:
    516)
    at weblogic.t3.srvr.HttpServer.initServletContexts(HttpServer.java,
    Compiled Code)
    at weblogic.t3.srvr.HttpServer.start(HttpServer.java:388)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
    at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.Server.startServerDynamically(Server.java:99)
    at weblogic.Server.main(Server.java:65)
    at weblogic.Server.main(Server.java:55)
    java.lang.NoSuchMethodError: weblogic.boot.ServerClassLoader: method
    getClassLoadNotify()Lweblogic/boot/ClassLoadNotify; not found
    at
    weblogic.utils.classloaders.GenericClassLoader.<init>(GenericClassLoader.jav
    a:140)
    at
    weblogic.utils.classloaders.GenericClassLoader.<init>(GenericClassLoader.jav
    a:112)
    at
    weblogic.utils.classloaders.GenericClassLoader.<init>(GenericClassLoader.jav
    a:104)
    at
    weblogic.utils.classloaders.RecursiveReloadOnModifyClassLoader.<init>(Recurs
    iveReloadOnModifyClassLoader.java:53)
    at
    weblogic.utils.classloaders.RecursiveReloadOnModifyClassLoader$SingleSlave.<
    init>(RecursiveReloadOnModifyClassLoader.java:149)
    at
    weblogic.servlet.internal.ServletContextImpl.setClassLoader(ServletContextIm
    pl.java:1392)
    at
    weblogic.servlet.internal.ServletContextImpl.<init>(ServletContextImpl.java:
    516)
    at weblogic.t3.srvr.HttpServer.initServletContexts(HttpServer.java,
    Compiled Code)
    at weblogic.t3.srvr.HttpServer.start(HttpServer.java:388)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
    at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.Server.startServerDynamically(Server.java:99)
    at weblogic.Server.main(Server.java:65)
    at weblogic.Server.main(Server.java:55)
    Any help would be appreciated.

    I am facing the same problem here Steven. Did you get any solution for that?
    Thanks
    Vishwajeet Lohakarey
    Yash Technologies Inc.
    [email protected]
    Steven R. Baturin <[email protected]> wrote in message
    news:[email protected]...
    I installed WebLogic Server 5.1 Service Pack 4, as described by the
    release_notes_sp4.html document. I can successfully do the followingusing
    NT Workstation 4.0:
    1. Start weblogic from the command line using startWebLogic.cmd
    2. Start weblogic from the Start | Programs | WebLogic 5.1.0 | WebLogic
    Server menu.
    I can also start the console from the command line using startConsole.cmd.
    But, from the console, when I start weblogic, but it is only 5.1.0, not
    5.1.0 sp4
    When I start the console from the Start | Programs | WebLogic 5.1.0 |
    WebLogic Console menu and then try to start weblogic , I get the following
    error:
    Exception raised: java.lang.reflect.InvocationTargetException
    java.lang.reflect.InvocationTargetException: java.lang.NoSuchMethodError:
    weblogic.boot.ServerClassLoader: method
    getClassLoadNotify()Lweblogic/boot/ClassLoadNotify; not found
    at
    weblogic.utils.classloaders.GenericClassLoader.<init>(GenericClassLoader.jav
    a:140)
    at
    weblogic.utils.classloaders.GenericClassLoader.<init>(GenericClassLoader.jav
    a:112)
    at
    weblogic.utils.classloaders.GenericClassLoader.<init>(GenericClassLoader.jav
    a:104)
    at
    weblogic.utils.classloaders.RecursiveReloadOnModifyClassLoader.<init>(Recurs
    iveReloadOnModifyClassLoader.java:53)
    at
    weblogic.utils.classloaders.RecursiveReloadOnModifyClassLoader$SingleSlave.<
    init>(RecursiveReloadOnModifyClassLoader.java:149)
    at
    weblogic.servlet.internal.ServletContextImpl.setClassLoader(ServletContextIm
    pl.java:1392)
    at
    weblogic.servlet.internal.ServletContextImpl.<init>(ServletContextImpl.java:
    516)
    at weblogic.t3.srvr.HttpServer.initServletContexts(HttpServer.java,
    Compiled Code)
    at weblogic.t3.srvr.HttpServer.start(HttpServer.java:388)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
    at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.Server.startServerDynamically(Server.java:99)
    at weblogic.Server.main(Server.java:65)
    at weblogic.Server.main(Server.java:55)
    java.lang.NoSuchMethodError: weblogic.boot.ServerClassLoader: method
    getClassLoadNotify()Lweblogic/boot/ClassLoadNotify; not found
    at
    weblogic.utils.classloaders.GenericClassLoader.<init>(GenericClassLoader.jav
    a:140)
    at
    weblogic.utils.classloaders.GenericClassLoader.<init>(GenericClassLoader.jav
    a:112)
    at
    weblogic.utils.classloaders.GenericClassLoader.<init>(GenericClassLoader.jav
    a:104)
    at
    weblogic.utils.classloaders.RecursiveReloadOnModifyClassLoader.<init>(Recurs
    iveReloadOnModifyClassLoader.java:53)
    at
    weblogic.utils.classloaders.RecursiveReloadOnModifyClassLoader$SingleSlave.<
    init>(RecursiveReloadOnModifyClassLoader.java:149)
    at
    weblogic.servlet.internal.ServletContextImpl.setClassLoader(ServletContextIm
    pl.java:1392)
    at
    weblogic.servlet.internal.ServletContextImpl.<init>(ServletContextImpl.java:
    516)
    at weblogic.t3.srvr.HttpServer.initServletContexts(HttpServer.java,
    Compiled Code)
    at weblogic.t3.srvr.HttpServer.start(HttpServer.java:388)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
    at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.Server.startServerDynamically(Server.java:99)
    at weblogic.Server.main(Server.java:65)
    at weblogic.Server.main(Server.java:55)
    Any help would be appreciated.

  • Unable to connect to WSUS server from the console

    I am not able to connect to WSUS server from WSUS console any more suddenly! "please verify that IIS on the server is correctly configured and is running'. I find out that Windows Process Activation Service is stuck in starting.
    I killed it with taskkill command but I am not able to restart it. It gives 'Error 1053: the service did not respond to the start or control request in a timely fashion'.
    There are some suggestion online but I am not comfortable with those solutions, I prefer to be guided by Microsoft TechNet, thanks.
    Thang Mo

    Hi,
    are there any relevant entries in the system log viewer?
    If you find the answer of assistance please "Vote as Helpful"and/or "Mark as Answer" where applicable. This helps others to find solutions for there issues, and recognises contributions made to the community :)

  • How do I remove an unwanted server from the console window?

    Hi all, hope someone can help, as I'm rapidly running out of hair to pull out :-(
    I have one upstream server, set up perfectly on Windows Server 2012, and six downstream servers all running Windows Server 2008 R2 Enterprise. Five of my downstreams are set up and working as expected, but one is behaving a little strangely.
    Here is an example of one of my downstream servers which is configured correctly:
    Just showing the upstream server, as you would expect.
    Now here's my problem downstream server:
    As you can see, not only does it list the upstream server, as expected, it also shows itself as a server. I have tried right-clicking it and choosing 'Remove from Console', but it just comes back after closing and reopening the console.
    Any advice would be greatly appreciated,
    Carl...

    On all downstream servers, except ServerDOWN4 only the ServerUP01 is seen in the WSUS console. On ServerDOWN4, you can see ServerUP01 and ServerDOWN04 in the WSUS console.
    Is this normal?
    No, and the short answer here is that apparently the consoles were configured to connect to the wrong server, and on 'DOWN4', TWO servers were configured in the console.
    But here's a more significant question....
    Why, on WS2012 and WS2008R2 servers are you using the standalone console anyway? If you use
    SERVER MANAGER, which is the expected behavior, the *LOCAL* server will be automatically displayed.
    Lawrence Garvin, M.S., MCSA, MCITP:EA, MCDBA
    SolarWinds Head Geek
    Microsoft MVP - Software Packaging, Deployment & Servicing (2005-2014)
    My MVP Profile: http://mvp.microsoft.com/en-us/mvp/Lawrence%20R%20Garvin-32101
    http://www.solarwinds.com/gotmicrosoft
    The views expressed on this post are mine and do not necessarily reflect the views of SolarWinds.

  • Installing oracle application express from the database with oracle 11g

    Hi,
    I installed oracle 11g release 1 and trying to install oracle APEX from the database with Embedded PL/SQL gateway. The installation guide require grant connect privilege to any host for the APEX_030200 database user, but this schema does not exist in the database...
    How to continue the installation of APEX ?

    Thanks Hari,
    But I need to enable network services in my database (oracle 11g).
    Do I have to replace in the PL/SQL script below apex_030200 by flows_030000 ?
    DECLARE
    ACL_PATH VARCHAR2(4000);
    ACL_ID RAW(16);
    BEGIN
    -- Look for the ACL currently assigned to '*' and give APEX_030200
    -- the "connect" privilege if APEX_030200 does not have the privilege yet.
    SELECT ACL INTO ACL_PATH FROM DBA_NETWORK_ACLS
    WHERE HOST = '*' AND LOWER_PORT IS NULL AND UPPER_PORT IS NULL;
    -- Before checking the privilege, ensure that the ACL is valid
    -- (for example, does not contain stale references to dropped users).
    -- If it does, the following exception will be raised:
    -- ORA-44416: Invalid ACL: Unresolved principal 'APEX_030200'
    -- ORA-06512: at "XDB.DBMS_XDBZ", line ...
    SELECT SYS_OP_R2O(extractValue(P.RES, '/Resource/XMLRef')) INTO ACL_ID
    FROM XDB.XDB$ACL A, PATH_VIEW P
    WHERE extractValue(P.RES, '/Resource/XMLRef') = REF(A) AND
    EQUALS_PATH(P.RES, ACL_PATH) = 1;
    DBMS_XDBZ.ValidateACL(ACL_ID);
    IF DBMS_NETWORK_ACL_ADMIN.CHECK_PRIVILEGE(ACL_PATH, 'APEX_030200', 'connect') IS NULL THEN
    DBMS_NETWORK_ACL_ADMIN.ADD_PRIVILEGE(ACL_PATH,'APEX_030200', TRUE, 'connect');
    END IF;
    EXCEPTION
    -- When no ACL has been assigned to '*'.
    WHEN NO_DATA_FOUND THEN
    DBMS_NETWORK_ACL_ADMIN.CREATE_ACL('power_users.xml','ACL that lets power users to connect to everywhere',
    'APEX_030200', TRUE, 'connect');
    DBMS_NETWORK_ACL_ADMIN.ASSIGN_ACL('power_users.xml','*');
    END;
    COMMIT;
    Regards

  • Run procedure in Application Server from the command line

    Hi
    I created a procedure (VARKPI and placed in C:\Program Files\SAP BusinessObjects\Strategy Management\ApplicationServer\home) to call another procedure (VAR_CRE, this is created in the model). Nothing is happening and no error message also.
    This is the code of my VARKPI procedure which i placed in home directory.
    TRACE both 'batchload1.txt'
    SUP KILL CONN TO CPM
    USE CPM EXC
    job VAR_CRE
    trace both off
    exit clear
    My VAR_CRE in CPM model contain very simple queries to create measures.
    Then i went to Run->CMD and to the directory ApllicationServer.Used the below command to run the job
    PASAdmin.exe -j varkpi -u admin -p <pwd>
    I only see that wkadmin file is shown in the Home directory whenever i run the procedure but the measures are not created in the CPM model. What could have been wrong?
    Please suggest.
    Thanks
    Praveen

    Hi Praveen,
    The other thing that you will likely need to do is specify the model that you want the procedure to be executed from unless you want to run it from the default model specified for the user in question.  For example, if you run the job as ADMIN, then that will try and execute the procedure from JUICE by default.  If you want to change this, you need to do something like:
    PASAdmin.exe -u admin -j test;PROCLIB
    or
    PASAdmin.exe -u admin -j test;&USEDATABASE
    which will execute the procedure from your use database.
    However, unless you're making sure you use RETAIN keywords when switching between models, what usually makes much more sense as it avoids issues with model locking which can occur if you're executing the procudure from a model, is to make sure your job is run from an external file.  For example:
    PASAdmin.exe -u admin -j test;ext
    or
    PASAdmin.exe -u admin -j 'test.pro';ext
    Hope this helps,
    Robert

  • Oracle application server 10.1.3 not starting after crash

    Hi, I've been struggling with starting up application server 10.1.3 on Windows XP Professional SP2 following a system crash (power outage). When we restarted the machine we noted that the database wasn't coming up because our redo logs were full. We backed up the database with RMAN (freeing the logs) and the database started without a problem.
    We then tried to log into application server control from the website but were faced with a connection error. It is definitely the correct page as it was bookmarked on the server. I cannot start application server from the command line using opmnctl. Here is the output:
    C:\product\10.1.3\OracleAS_1\opmn\bin>opmnctl status
    Processes in Instance: appserv.MSRSFR
    ------------------------------------------------+---------
    ias-component | process-type | pid | status
    ------------------------------------------------+---------
    OC4J | home | N/A | Down
    ASG | ASG | N/A | Down
    C:\product\10.1.3\OracleAS_1\opmn\bin>echo %time%
    11:32:13.78
    C:\product\10.1.3\OracleAS_1\opmn\bin>opmnctl startall
    opmnctl: starting opmn and all managed processes...
    ==================================================
    opmn id=msrsfr:6200
    0 of 1 processes started.
    ias-instance id=appserv.MSRSFR
    ++++++++++++++++++++++++++++++++++++++++++++++++++
    ias-component/process-type/process-set:
    OC4J/home/default_group/
    Error
    --> Process (index=1,uid=1339952132,pid=2136)
    failed to start a managed process after the maximum retry limit
    Log:
    C:\product\10.1.3\OracleAS_1\opmn\logs\OC4J~home~default_group~1
    C:\product\10.1.3\OracleAS_1\opmn\bin>echo %time%
    11:32:39.12
    C:\product\10.1.3\OracleAS_1\opmn\logs\OC4J~home~default_group~1
    07/12/30 11:32:22 Start process
    07/12/30 11:32:24 Error initializing server: Error instantiating default application at Unable to get ApplicationConfig for default : Could not read connectors file at file:/C:/product/10.1.3/OracleAS_1/j2ee/home/config/oc4j-connectors.xml: ./oc4j-connectors.xml
    07/12/30 11:32:24 Fatal error: server exiting
    07/12/30 11:32:26 Start process
    07/12/30 11:32:28 Error initializing server: Error instantiating default application at Unable to get ApplicationConfig for default : Could not read connectors file at file:/C:/product/10.1.3/OracleAS_1/j2ee/home/config/oc4j-connectors.xml: ./oc4j-connectors.xml
    07/12/30 11:32:28 Fatal error: server exiting
    07/12/30 11:32:30 Start process
    07/12/30 11:32:32 Error initializing server: Error instantiating default application at Unable to get ApplicationConfig for default : Could not read connectors file at file:/C:/product/10.1.3/OracleAS_1/j2ee/home/config/oc4j-connectors.xml: ./oc4j-connectors.xml
    07/12/30 11:32:32 Fatal error: server exiting
    C:/product/10.1.3/OracleAS_1/j2ee/home/config/oc4j-connectors.xml: Notice the /'s versus standard windows \'s. The actual file is empty (contains only blank spaces).
    I'm not sure where to go from here, I've tried stopping the oracle services manually and starting them up in various orders. We have the following services running:
    Oracle-appservProcessManager Started
    OracleDBConsoleTSTONE Started
    OracleJobSchedulerTSTONE Disabled
    OracleOraDb10g_home1iSQL*Plus Started
    OracleOraDb10g_home1TNSListener Started
    OracleServiceTSTONE Started
    I'm sort of at a loss for where to go from here, help would be much appreciated!
    Thanks,
    Reza

    Here you have it.
    <?xml version="1.0" standalone='yes'?>
    <oc4j-connectors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNam
    espaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/oc4j-connectors-10
    _0.xsd" schema-major-version="10" schema-minor-version="0" >
    <connector name="datasources" path="datasources.rar">
    </connector>
    <connector name="OracleASjms" path="OracleASjms.rar">
    <config-property name="lookupMethod" value="resourceProvider"/>
    <config-property name="resourceProviderName" value="oc4jjms"/>
    <adminobject-config location="OracleASjms/Queues">
    <adminobject-class>oracle.j2ee.ra.jms.generic.AdminObjec
    tQueueImpl</adminobject-class>
    <config-property name="resourceProviderName" value="oc4j
    jms"/>
    </adminobject-config>
    <adminobject-config location="OracleASjms/MyQueue1">
    <adminobject-class>oracle.j2ee.ra.jms.generic.AdminObjec
    tQueueImpl</adminobject-class>
    <config-property name="jndiName" value="jms/demoQueue"/>
    <config-property name="resourceProviderName" value="oc4j
    jms"/>
    </adminobject-config>
    <adminobject-config location="OracleASjms/Topics">
    <adminobject-class>oracle.j2ee.ra.jms.generic.AdminObjec
    tTopicImpl</adminobject-class>
    <config-property name="resourceProviderName" value="oc4j
    jms"/>
    </adminobject-config>
    <adminobject-config location="OracleASjms/MyTopic1">
    <adminobject-class>oracle.j2ee.ra.jms.generic.AdminObjec
    tTopicImpl</adminobject-class>
    <config-property name="jndiName" value="jms/demoTopic"/>
    <config-property name="resourceProviderName" value="oc4j
    jms"/>
    </adminobject-config>
    </connector>
    </oc4j-connectors>

  • Starting Managed Server from Administration Console

    Hi
    I am new for SOA and fusion. Can anyone share the brief steps that are needed to start/stop a Managed Server from Admin Console.
    I did a fresh install on RHEL5 and configure a domain. i was able to start the services from script which are created when creating a domain.
    But when i assigned a Managed Server to a Node Manager and try starting the Managed server. It does not start and in the log i can see exceptions like below
    Failed to invoke startup class "JPS Startup Class", java.lang.ClassNotFoundException: oracle.security.jps.wls.JpsWlsStartupClass
    java.lang.ClassNotFoundException
    Failed to invoke startup class "ODL-Startup", java.lang.ClassNotFoundException: oracle.core.ojdl.weblogic.ODLConfiguration
    java.lang.ClassNotFoundException
    I start the services in below order
    Weblogic Server
    node Manager
    and
    soa_server
    Thanks
    Hari

    you must set to true the StartScriptEnabled property in nodemanager.properties

  • Starting application server from IDE

    I'm trying to start the application server from an evaluation copy of
    Visual Cafe 4.5 Enterprise Edition. When I choose Project -> Start
    Application Server from the menu, a window briefly opens with "Start
    Application Server" as its title and a logo of a spinning W. After
    the W spins about one time the window close, with no error message
    reported.
    I would like to know what I should do in order to start the
    application server (A developer's license of WebLogic is included)
    from the IDE.

    Look at the weblogic.log file
    (%BEA_HOME%\wlserver6.0\config\mydomain\logs\weblogic.log) to see if
    there are any error messages printed there. If not, it is probably a
    license issue in that the license.bea file must be in the CLASSPATH used
    to start the app server.
    Tom Ewall wrote:
    I'm trying to start the application server from an evaluation copy of
    Visual Cafe 4.5 Enterprise Edition. When I choose Project -> Start
    Application Server from the menu, a window briefly opens with "Start
    Application Server" as its title and a logo of a spinning W. After
    the W spins about one time the window close, with no error message
    reported.
    I would like to know what I should do in order to start the
    application server (A developer's license of WebLogic is included)
    from the IDE.

  • Oracle Application Server problem

    Dear Zedi Masters(Oracles),
    I am facing a problem in my Oracle Application Server. The Installation works smoothly, but afterwards if I try to Reload the Webnode manager it gives an error saying the ORB cannot be started" and "start ORB manually" Can someone explain the problem and how to overcome it.
    I have also tried "owsctl reload" from the command prompt and have got the same reply.
    Thanx in anticipation.
    May the Force be with you.
    Anand

    I get the same error message - except that it happens without
    protection on the virtual directory and it continues to display
    the message when I reload.
    Regards,
    JJ
    Girish (guest) wrote:
    : Hi All
    : we are using Oracle Application Server 4.0 Enterprise Edition.
    : We are using PL/SQL Cartridges. We have set Client Session
    : property of pl/sql application is set to enabled. Also max
    : session idle time is set to 1800. We have also protected the
    : PL/SQL virtual path.(that is before accessing any stored
    : procedure from the virtual path ; user has to provide username
    : and password). Now when the user tries to access protected
    : virtual path the user name and password box gets displayed.
    But
    : after entering correct user name and password when user hits
    on
    : OK button message "Can not service this request, please try
    : again later" is displyed for the first time. After this
    message
    : if page is reloaded then proper page is displayed..
    : any ideas about why this is happening..
    : thanks in advance
    : Girish
    : have a nice day...........
    null

Maybe you are looking for

  • How to get rid of draft e:mail

    I can't seem to get rid of a blank draft mail message screen. I touch cancel and nothing happens and if I add a mail address and press send nothing happens either. Help

  • How to Get the created Request Activity Status using SCSM 2012 SDK

    Hi, i have created a ServiceRequest, so there are Activities related to Servicerequest. I am trying to know the Status of the each Activity (Completed,Failed etc) and the Change of Activity (like from ReviewActivity to RunBookActivity). how can we ge

  • Can't install newest Skype: 1603 error

    1603 error while installing the newest Skype version. Yeah, I tried this https://support.skype.com/faq/FA12399/ but it didn't work.  'Fix It' also. Please help. And I use windows 8, not 8.1. I put 8.1 in label 'cause i can't put 8. Solved! Go to Solu

  • Process Orders, send idoc (LOIPRO) while creation/modification cor1

    Hello, I need to send standard LOIPRO idoc when a process order is saved on COR1 / COR2 transactions. I want to do it using  user-exit but I've seen that the order number (AUFNR) does not have a value. Is there any way to know the number? is it store

  • Modify SOAP Namespace for ABAP WS

    Hi Experts, I need to modify namespace on the web service, I have to provide this WS from an ABAP AS 7.0 SP10 (we don't have XI or PI infrastructure) but the request generated from SAP WSDL is like this: <soap:Envelope xmlns:soap="http://schemas.xmls