Re-deploying OC4J overwrites mod_osso.conf

I followed the instructions for securing OC4J apps with mod_osso. I edited the $ORACLE_HOME/Apache/Apache/conf/mod_osso.conf file, adding the location directive to protect access to my application's virtual path. It works great. But when I re-deploy the OC4J application, somehow it overwrites the mod_osso.conf file with the old version, and I have to re-add my location directive! Can anyone tell me why this is happening, and how to stop it?

Follow the following notes:
Note:250532.1 Configuring HTTP Server to Use SSL in Oracle Application Server 10g (9.0.4)
===> Note:250532.1 Configuring HTTP Server to Use SSL in Oracle Application Server 10g (9.0.4) <===

Similar Messages

  • Mod_osso.conf - sso protected - case sensitive URL not working

    Greetings,
    I have modified my mod_osso.conf (see below) file to protect the following URL "http://host.domain.com:7777/test".
    If you enter the above URL - you are properly challenged for a user-name and password. HOWEVER, if you enter "http://host.domain.com:7777/TEST" or any other variation /Test, /tEst, /teSt etc. SSO does not get enabled.
    I'm missing something, what is it???
    Thanks,
    Bill G...
    mod_osso.conf file
    LoadModule osso_module modules/ApacheModuleOSSO.DLL
    <IfModule mod_osso.c>
    OssoIpCheck on
    OssoIdleTimeout off
    OssoConfigFile D:\oracle\903_j2ee\Apache\Apache\conf\osso\osso.conf
    # BG ADD
    <Location /test>
    AuthType Basic
    Require valid-user
    </Location>
    </IfModule>

    If you are on a UNIX-based server, URLs are always case-sensitive.
    Enter an directive for every possible combination, or create the alias/redirect for each combination in the httpd.conf (recommended)
    HTH
    LLB

  • Failed to deploy OC4J by opmn.

    Hi all,
    I only can deploy sample ejb to stand alone oc4j except those oc4j managed by opmn.
    Could any experts please show me how to handle the IIOP sample code deployment ?

    Johna Pakas wrote:
    RegaintLok wrote:
    Migration and Deployment , that's huge overhead in Projects.That always happen to continuos system enhancement. Indispensable tasks .... migrate applications from time to time , platform to platform , never ending ..!Totally Agree .....

  • OEM in Linux and Unix Memory difference on Deployed OC4J Container

    I have 2 Oracle 9iAS environments 1 each for production and test.
    My Prod servers are on AIX (Unix)
    My Test server is on Linux
    Under Enterprise Manager If I create an OC4J container exactly the same in both and deploy an application exactly the same in both could someone tell me why the memory usage display is widely different - on linux its much more used than on unix?
    Perplexing.

    The code gets pretty messy as I have both a SendMail and MailMessage class that I use. Basically for not authenticated messages (I need authenticated), the example on metalink Doc ID: Note:234490.1 with subject "Mail Service Setup" is what I used to get this going.
    I updated the local application.xml file located in C:\jdev1012\jdev\system10.1.2.2.0.1929\oc4j-config\application.xml
    <mail-session location="mail/mailsession" smtp-host="my.mail.server">
    <property name="mail.transport.protocol" value="smtp"/>
    </mail-session>
    On a datapage, I have a button with event_Email. In the action class I have an onEmail() method that calls the code to create a message and send it with the email transport.
    In my libraries in JDeveloper, I created one called JavaMail which has activation.jar and mail.jar. This is added to the project.
    Everything works fine when running locally. The problem is in deployment. The OC4J container that I deploy to has a java2.policy file. At first the classpath, and the location in the policy file for mail.jar and activate.jar were not the same. I updated the policy file to use the files in the classpath. Since mail.jar and activate.jar on the OAS server are in the classpath, I didn't include these files in the deployment.
    When trying to run, I don't get any messages, just a 500 Error.
    If I try to implement a policy file on the local OC4J in JDeveloper, I get lots of problems, and I gave up on that route.
    Hope that adds more info. Thanks, Ken

  • BC4J Logging on deployed OC4J instance

    Whilst developing, we've been using detailed logging by specifying the following Java options in JDeveloper:
    -Djbo.logging.trace.threshold=9 -Djbo.logging.show.timing=true -Djbo.debugoutput=console
    -Djbo.jdbc.trace=true -Djbo.logging.show.function=true
    Could anyone tell me, whats the correct way to specify these equivalent options through the iAS console? (We don't have shell prompt access so can't modify any config files directly.)
    Rgds
    Ben

    Depending on the iAS version select the OC4J container where your applications are deployed; on top top half you see an "Administration" link. After selection this go to "Server attributes". There you find "OC4J Options" and "Java Options" under command line options. This is the point to put your switches.
    You should be careful to set jbo.debugoutput to console, because it's generation lots of messages. I would try 'file' instead.
    Timo

  • Deploy Oc4j: NoClassDefFoundError: oracle/jbo/JboException

    Hi!
    I'm pretty new developer with JDeveloper.
    I got an error when I try to deploy my application.
    I was looking over my blog,but I couldn't find solution.
    Please help me.
    This is my deploy log message.
    Deployment failed
    Elapsed time for deployment: 22 minutes, 22 seconds
    #### Deployment incomplete. #### Dec 6, 2006 1:43:29 PM
    ---- Deployment started. ---- Dec 6, 2006 1:57:54 PM
    Target platform is Standalone OC4J 10g 10.1.3 (dev).
    Wrote WAR file to C:\Documents and Settings\train2.SDC\Desktop\jdevstudio10131\jdev\mywork\customerMain1204\ViewController\deploy\CustomerMain.war
    Wrote EAR file to C:\Documents and Settings\train2.SDC\Desktop\jdevstudio10131\jdev\mywork\customerMain1204\ViewController\deploy\CustomerMain.ear
    Uploading file CustomerMain.ear ...
    Uploading file CustomerMain.ear ...
    Uploading file CustomerMain.ear ...
    Uploading file CustomerMain.ear ...
    Uploading file CustomerMain.ear ...
    Uploading file CustomerMain.ear ...
    Uploading file CustomerMain.ear ...
    Application Deployer for CustomerMain STARTS.
    Copy the archive to D:\oc4j\j2ee\home\applications\CustomerMain.ear
    Initialize D:\oc4j\j2ee\home\applications\CustomerMain.ear begins...
    Unpacking CustomerMain.ear
    Done unpacking CustomerMain.ear
    Unpacking CustomerMain.war
    Done unpacking CustomerMain.war
    Initialize D:\oc4j\j2ee\home\applications\CustomerMain.ear ends...
    Starting application : CustomerMain
    Initializing ClassLoader(s)
    Initializing EJB container
    Loading connector(s)
    Starting up resource adapters
    Initializing EJB sessions
    Committing ClassLoader(s)
    Initialize CustomerMain begins...
    Initialize CustomerMain ends...
    Started application : CustomerMain
    Binding web application(s) to site default-web-site begins...
    Binding CustomerMain web-module for application CustomerMain to site default-web-site under context root customer
    Exception: NoClassDefFoundError: oracle/jbo/JboException
    Operation failed with error:
    oracle/jbo/JboException
    I found a blog about variables.
    So I set my variable like this:
    CLASSPATH : C:\Documents and Settings\train2.SDC\Desktop\jdevstudio10131\j2ee\home\oc4j.jar;C:\Documents and Settings\train2.SDC\Desktop\jdevstudio10131\jdev\lib\jdev-oc4j-embedded.jar;C:\Documents and Settings\train2.SDC\Desktop\jdevstudio10131\j2ee\home\applib
    JAVAHOME: C:\Documents and Settings\train2.SDC\Desktop\jdevstudio10131\jdev\jdk
    JDKHOME:C:\Documents and Settings\train2.SDC\Desktop\jdevstudio10131\jdev\jdk;
    PATH:C:\Documents and Settings\train2.SDC\Desktop\jdevstudio10131\jdk\bink:\oracle\ora817\bin;
    Please help !!!

    Thanks.
    Now I can deploy my application at localhost.
    So now I try to deploy at my company server.
    So I created new application server, and tried to deploy them.
    But now I got same error.
    ---- Deployment started. ---- Dec 8, 2006 1:49:11 PM
    Target platform is Standalone OC4J 10g 10.1.3 (SDCDev).
    Running dependency analysis...
    Wrote JAR file to C:\Documents and Settings\train2.SDC\Desktop\dev_mywork\CntryCustomer1109-OnlyManagedBean\Model\deploy\ModelArchive.jar
    Wrote WAR file to C:\Documents and Settings\train2.SDC\Desktop\dev_mywork\CntryCustomer1109-OnlyManagedBean\ViewController\deploy\ViewArchive.war
    Wrote EAR file to C:\Documents and Settings\train2.SDC\Desktop\dev_mywork\CntryCustomer1109-OnlyManagedBean\Deployment\deploy\Customer1109application.ear
    Uploading file Customer1109application.ear ...
    Uploading file Customer1109application.ear ...
    Uploading file Customer1109application.ear ...
    Uploading file Customer1109application.ear ...
    Uploading file Customer1109application.ear ...
    Uploading file Customer1109application.ear ...
    Uploading file Customer1109application.ear ...
    Uploading file Customer1109application.ear ...
    Uploading file Customer1109application.ear ...
    Uploading file Customer1109application.ear ...
    Uploading file Customer1109application.ear ...
    Uploading file Customer1109application.ear ...
    Application Deployer for Customer1109application STARTS.
    Copy the archive to D:\oc4j\j2ee\home\applications\Customer1109application.ear
    Initialize D:\oc4j\j2ee\home\applications\Customer1109application.ear begins...
    Unpacking Customer1109application.ear
    Done unpacking Customer1109application.ear
    Unpacking ViewArchive.war
    Done unpacking ViewArchive.war
    Initialize D:\oc4j\j2ee\home\applications\Customer1109application.ear ends...
    Starting application : Customer1109application
    Initializing ClassLoader(s)
    Initializing EJB container
    Loading connector(s)
    Starting up resource adapters
    Initializing EJB sessions
    Committing ClassLoader(s)
    Initialize ViewArchive begins...
    Initialize ViewArchive ends...
    Started application : Customer1109application
    Binding web application(s) to site default-web-site begins...
    Binding ViewArchive web-module for application Customer1109application to site default-web-site under context root customer1109
    Exception: NoClassDefFoundError: oracle/jbo/JboException
    Operation failed with error:
    oracle/jbo/JboException
    Deployment failed
    Elapsed time for deployment: 33 seconds
    #### Deployment incomplete. #### Dec 8, 2006 1:49:43 PM
    When I looked over this log.
    I found this is working D drive.
    so I opened D dirve but that was nothing.
    So I tried to downed OC4J again at D drive. and I changed ORACLE_HOME Path too.
    This case was ok at localhost.
    But when I deploied to other application server, I got error like above.
    What should I do?

  • Deploy oc4j instance

    Hi,
    we just upgraded our ias to version 10.1.2.0.2. I deployed my application that is developed in jdeveloper to ias 10.1.2.0.2 successfully but i get this error when trying to connect to this application:
    Servlet error: Error loading filter 'ADFBindingFilter', filter-class 'oracle.adf.model.servlet.ADFBindingFilter' not found
    and I get a different error for another application:
    java.lang.NoClassDefFoundError: oracle/jbo/JboException
         at java.lang.Class.getDeclaredConstructors0(Native Method)
         at java.lang.Class.privateGetDeclaredConstructors(Class.java:1618)
         at java.lang.Class.getConstructor0(Class.java:1930)
         at java.lang.Class.newInstance0(Class.java:278)
         at java.lang.Class.newInstance(Class.java:261)
         at oracle.cabo.servlet.AbstractPageBroker.init(Unknown Source)
         at oracle.cabo.servlet.ui.BaseUIPageBroker.init(Unknown Source)
         at oracle.cabo.servlet.xml.UIXPageBroker.init(Unknown Source)
         at oracle.cabo.servlet.UIXServlet.init(Unknown Source)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpApplication.loadServlet(HttpApplication.java:2354)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpApplication.findServlet(HttpApplication.java:4795)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2821)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:3008)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2568)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:680)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    Can anyone please point me to a document that talks about deploying application to ias java.lang.NoClassDefFoundError: oracle/jbo/JboException
         at java.lang.Class.getDeclaredConstructors0(Native Method)
         at java.lang.Class.privateGetDeclaredConstructors(Class.java:1618)
         at java.lang.Class.getConstructor0(Class.java:1930)
         at java.lang.Class.newInstance0(Class.java:278)
         at java.lang.Class.newInstance(Class.java:261)
         at oracle.cabo.servlet.AbstractPageBroker.init(Unknown Source)
         at oracle.cabo.servlet.ui.BaseUIPageBroker.init(Unknown Source)
         at oracle.cabo.servlet.xml.UIXPageBroker.init(Unknown Source)
         at oracle.cabo.servlet.UIXServlet.init(Unknown Source)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpApplication.loadServlet(HttpApplication.java:2354)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpApplication.findServlet(HttpApplication.java:4795)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2821)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:3008)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2568)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:680)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    can anyone plase help me resolve this error.
    thanks

    Hi!
    I'm pretty new developer with JDeveloper.
    I got an error when I try to deploy my application.
    I was looking over my blog,but I couldn't find solution.
    Please help me.
    This is my deploy log message.
    Deployment failed
    Elapsed time for deployment: 22 minutes, 22 seconds
    #### Deployment incomplete. #### Dec 6, 2006 1:43:29 PM
    ---- Deployment started. ---- Dec 6, 2006 1:57:54 PM
    Target platform is Standalone OC4J 10g 10.1.3 (dev).
    Wrote WAR file to C:\Documents and Settings\train2.SDC\Desktop\jdevstudio10131\jdev\mywork\customerMain1204\ViewController\deploy\CustomerMain.war
    Wrote EAR file to C:\Documents and Settings\train2.SDC\Desktop\jdevstudio10131\jdev\mywork\customerMain1204\ViewController\deploy\CustomerMain.ear
    Uploading file CustomerMain.ear ...
    Uploading file CustomerMain.ear ...
    Uploading file CustomerMain.ear ...
    Uploading file CustomerMain.ear ...
    Uploading file CustomerMain.ear ...
    Uploading file CustomerMain.ear ...
    Uploading file CustomerMain.ear ...
    Application Deployer for CustomerMain STARTS.
    Copy the archive to D:\oc4j\j2ee\home\applications\CustomerMain.ear
    Initialize D:\oc4j\j2ee\home\applications\CustomerMain.ear begins...
    Unpacking CustomerMain.ear
    Done unpacking CustomerMain.ear
    Unpacking CustomerMain.war
    Done unpacking CustomerMain.war
    Initialize D:\oc4j\j2ee\home\applications\CustomerMain.ear ends...
    Starting application : CustomerMain
    Initializing ClassLoader(s)
    Initializing EJB container
    Loading connector(s)
    Starting up resource adapters
    Initializing EJB sessions
    Committing ClassLoader(s)
    Initialize CustomerMain begins...
    Initialize CustomerMain ends...
    Started application : CustomerMain
    Binding web application(s) to site default-web-site begins...
    Binding CustomerMain web-module for application CustomerMain to site default-web-site under context root customer
    Exception: NoClassDefFoundError: oracle/jbo/JboException
    Operation failed with error:
    oracle/jbo/JboException
    I found a blog about variables.
    So I set my variable like this:
    CLASSPATH : C:\Documents and Settings\train2.SDC\Desktop\jdevstudio10131\j2ee\home\oc4j.jar;C:\Documents and Settings\train2.SDC\Desktop\jdevstudio10131\jdev\lib\jdev-oc4j-embedded.jar;C:\Documents and Settings\train2.SDC\Desktop\jdevstudio10131\j2ee\home\applib
    JAVAHOME: C:\Documents and Settings\train2.SDC\Desktop\jdevstudio10131\jdev\jdk
    JDKHOME:C:\Documents and Settings\train2.SDC\Desktop\jdevstudio10131\jdev\jdk;
    PATH:C:\Documents and Settings\train2.SDC\Desktop\jdevstudio10131\jdk\bink:\oracle\ora817\bin;
    Please help !!!

  • Class visibility problems in deployed OC4J application

    I have an entity, autogenerated from a database table by JDeveloper, which has the form:
    Entity.java:
    package a.b.c;
    import ...
    @Entity
    @NamedQuery( ... )
    @Table( ... )
    public class Entity implements Serializable {
        @Column( ... )
        : etc.
    }Then I have a stateless session bean, also autogenerated by JDeveloper, which has the form:
    SessionEJBBean.java:
    package a.b.c;
    import ...
    @Stateless(name="SessionEJB")
    public class SessionEJBBean implements SessionEJB {
        @PersistenceContext(unitName="Simple")
        private EntityManager em;
        public List<Entity> queryFindAll() {
            return em.createNamedQuery( ... ).getResultList();
        : etc.
    }Then I have my client (again, largely autogenerated):
    SessionEJBClient.java:
    package a.b.c;
    import ...
    public class SessionEJBClient {
        public static void main(String [] args) {
            try {
                final Context context = getInitialContext();
                SessionEJB sessionEJB = (SessionEJB)context.lookup("SessionEJB");
                List<Entity> entities = sessionEJB.queryFindAll();
            } catch (Exception ex) {
                ex.printStackTrace();
        private static Context getInitialContext() throws NamingException {
         : etc.
    }The above code works fine, however I now want to experiment with the oracle.toplink.essentials.tools.sessionconfiguration.SessionCustomizer interface. To this end, I create a bare-bones customizer class:
    Customizer.java:
    package a.b.c;
    import ...
    public class Customizer implements SessionCustomizer {
        public Customizer() {
        public void customize(Session session) {
    }and make corresponding updates to the persistence.xml file:
    persistence.xml:
    <?xml version="1.0" encoding="windows-1252" ?>
    <persistence
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
      http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
      version="1.0" xmlns="http://java.sun.com/xml/ns/persistence">
      <persistence-unit name="Simple">
        <properties>
          <property name="toplink.session.customizer" value="a.b.c.Customizer"/>
        </properties>
      </persistence-unit>
    </persistence>Now, when I redeploy and attempt to run my client application, I'm told that the customizer class cannot be found:
    11-Jun-2007 16:32:17 oracle.j2ee.rmi.RMIMessages
    EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER
    WARNING: Exception returned by remote server: {0}
    javax.ejb.EJBException: Exception [TOPLINK-28006]
    (Oracle TopLink Essentials - 2006.8 (Build 060829)):
    oracle.toplink.essentials.exceptions.EntityManagerSetupException
    Exception Description: ClassNotFound: [a.b.c.Customizer]
    specified in [toplink.session.customizer] property.
    Internal Exception: oracle.classloader.util.AnnotatedClassNotFoundException:
           Missing class: com.logicacmg.security.Customizer
         Dependent class: oracle.toplink.essentials.internal.security.PrivilegedAccessHelper
                  Loader: oracle.persistence:1.0
             Code-Source: /usr/oc4j/toplink/jlib/toplink-essentials.jar
           Configuration: <code-source> in /usr/oc4j/j2ee/home/config/server.xml
    This load was initiated at oracle.persistence:1.0 using the Class.forName() method.
    The missing class is available from the following locations:
         1. Code-Source: /usr/oc4j/j2ee/home/applications/SimpleApp/SimpleApp.jar
    (from <ejb> in /usr/oc4j/j2ee/home/applications/SimpleApp)
            This code-source is available in loader SimpleApp.root:0.0.0.
    This is the current thread's context loader, and it appears that Class.forName()
    was used to load the dependent class. If a loader was not explicitly passed to
    Class.forName(), try passing the result of calling
    Thread.currentThread().getContextClassLoader()So, my question is: what is the correct way for me to configure the system so that my Customizer class is picked up?
    Apologies if this is obvious - I'm still rather new to working in this area (so if anything else I've written doesn't make sense - please don't be afraid to point it out!).
    Regards,
    Alistair.

    Hi, you all seem highly intelligent so I'll give this a shot.
    We're having a similar problem, but TopLink is not involved. Axis2 is, but in our case, the Axis2 application runs fine, it's the other applications that fail.
    We have three applications, Login, Candle, and Webservices (the one with Axis2). When we first start up the applications, they all instantiate fine. We can run Login pages and Candle pages fine. We can also run non-Axis2 Webservices servlets without breaking Login and Candle. But when we run a webservices servlet that uses Axis2, something happens that causes all future Login and Candle class loading to fail! From the error message, OC4J indicates that it is trying to load classes for Login and Candle using the classloader for Webservices.
    So, to summarize, once the webservices app runs an Axis2 servlet, OC4J tries to use the webservices' classloader to load classes for the other applications instead of using their classloaders. The example error message I give below is for the Candle application, but the same problem occurs for Login.
    Please help, even if it's just a suggestion for something to try!! We've been trying to understand this for 2 days and we're still as stumped as ever.
    [java] 2007-06-15 14:59:59,159 ERROR [org.apache.struts.action.RequestProcessor] - No action instance for path /adpThrowableHandler could be created
    [java] oracle.classloader.util.AnnotatedClassNotFoundException:
    [java] Missing class: com.adp.candle.core.ui.struts.exceptionhandler.AdpThrowableHandlerAction
    [java] Dependent class: org.apache.struts.util.RequestUtils
    [java] Loader: default.web.candle:0.0.0
    [java] Code-Source: /C:/build/javaroot/candle/WEB-INF/lib/struts.jar
    [java] Configuration: WEB-INF/lib/ directory in C:\build\javaroot\candle\WEB-INF\lib
    [java] This load was initiated at default.web.webservices:0.0.0 using the loadClass() method.
    [java] The missing class is available from the following locations:
    [java] 1. Code-Source: /C:/build/javaroot/candle/WEB-INF/classes/ (from WEB-INF/classes/ in C:\build\javaroot\candle\WEB-INF\classes)
    [java] This code-source is available in loader default.web.candle:0.0.0.
    -- Brad

  • Error deploying OC4J 9.0.3 to Linux RH AS 2.1

    Getting "java.util.zip.ZipException: Is a directory" error in trying to "-install" the oc4j.jar file. It does prompt me for the admin pswd and completes but when I try and launch oc4j, I get the same error and it hangs and/or dumps. I'm using IBM's "J2RE 1.3.1. IBM build csia32131-20020302".
    Any thoughts?
    Brian

    I install a oracle 9i V9.0.2.0.1 on the Redhat
    AS2.1,
    the oas9i is oc4j 9.0.2.0 that isn't support EJB2.0,
    I want only updating the oc4j component to oc4j
    9.0.3.x.
    How to do this ?? Pls help me...Unfortunately, it is not a supported operation to upgrade only the OC4J component of a 9iAS 90201 installation with the standalone 903 version of OC4J.
    If you are using a 9iAS installation, you will need to download and install the 903 version of 9iAS (which is J2EE 1.3 compatible). I believe there is an upgrade assistant which can help with the migration of any configuration settings or applications from your prior installation to the new one.
    -steve-

  • 500 Internal Server error in deployed OC4J application

    In our deployed application , if one of the jsf pages has an exception, the above error is thrown and the log gets written correctly. But from this point on the user cannot access any other pages other than closing the browser windows and relogging into the application. How can we prevent this from happening?

    Can you post the trace?

  • Deployment OC4J Standalone Question

    Hi EveryBody,
    i am running the standalone OC4J which come with jdeveloper 10.1.3
    the home for jdev is c:\jdeveloper1013
    how can i know the OC4J root folder ???
    and is OC4J stand alone have adfbc runtime automatically installed ?
    thanks in advance

    The root would be [jdev-root]\j2ee\home
    And yes it has ADF BC installed.

  • Please help!  Strange problem with HTTPD.Conf and OC4J (I think)

    Hi,
    We have been trying to configure the 10g "infrastructure" Apache server/instance to work with our own authentication module, and as part of this, we need to configure a directory alias containing some of our JSPs. To do this, the only thing that we did was that we took the standard HTTPD.CONF file that got installed with the 10g AS installation, and added a small section at the end.
    However, we are finding that if our addition to the HTTPD.CONF is included, instead of the JSPs in our aliased directory being processed, Apache seems to be just serving the JSPs as text pages :(..
    If we remove the section at the end of the HTTPD.CONF, and point a browser to the unaliased path, the JSPs get processed correctly.
    I was wondering if anyone here might take a look at our HTTPD.CONF below, and tell me if you can see something there that might be causing this behavior? The section that we added is at the very end. We think that the problem might be something like the "order" of the directives, etc. in the HTTPD.CONF file may be such that the alias is taking priority ahead of the OC4J, or something like that.
    Thanks in advance, and apologies for the long message.
    Jim
    =====================================================
    ServerType standalone
    ServerRoot "/orad59/10gAS/infrastructure/Apache/Apache"
    PidFile /orad59/10gAS/infrastructure/Apache/Apache/logs/httpd.pid
    ScoreBoardFile /orad59/10gAS/infrastructure/Apache/Apache/logs/httpd.scoreboard
    Timeout 300
    KeepAlive On
    MaxKeepAliveRequests 100
    KeepAliveTimeout 15
    MinSpareServers 5
    MaxSpareServers 20
    StartServers 5
    MaxClients 150
    MaxRequestsPerChild 0
    LoadModule onsint_module libexec/mod_onsint.so
    LoadModule mmap_static_module libexec/mod_mmap_static.so
    LoadModule vhost_alias_module libexec/mod_vhost_alias.so
    LoadModule env_module libexec/mod_env.so
    LoadModule define_module libexec/mod_define.so
    LoadModule config_log_module libexec/mod_log_config.so
    LoadModule agent_log_module libexec/mod_log_agent.so
    LoadModule referer_log_module libexec/mod_log_referer.so
    LoadModule mime_magic_module libexec/mod_mime_magic.so
    LoadModule mime_module libexec/mod_mime.so
    LoadModule negotiation_module libexec/mod_negotiation.so
    LoadModule status_module libexec/mod_status.so
    LoadModule info_module libexec/mod_info.so
    LoadModule includes_module libexec/mod_include.so
    LoadModule autoindex_module libexec/mod_autoindex.so
    LoadModule dir_module libexec/mod_dir.so
    LoadModule cgi_module libexec/mod_cgi.so
    LoadModule asis_module libexec/mod_asis.so
    LoadModule imap_module libexec/mod_imap.so
    LoadModule action_module libexec/mod_actions.so
    LoadModule speling_module libexec/mod_speling.so
    LoadModule userdir_module libexec/mod_userdir.so
    LoadModule alias_module libexec/mod_alias.so
    LoadModule access_module libexec/mod_access.so
    LoadModule auth_module libexec/mod_auth.so
    LoadModule anon_auth_module libexec/mod_auth_anon.so
    LoadModule dbm_auth_module libexec/mod_auth_dbm.so
    LoadModule digest_module libexec/mod_digest.so
    LoadModule proxy_module libexec/libproxy.so
    LoadModule cern_meta_module libexec/mod_cern_meta.so
    LoadModule expires_module libexec/mod_expires.so
    LoadModule headers_module libexec/mod_headers.so
    LoadModule usertrack_module libexec/mod_usertrack.so
    LoadModule unique_id_module libexec/mod_unique_id.so
    LoadModule setenvif_module libexec/mod_setenvif.so
    LoadModule perl_module libexec/libperl.so
    LoadModule fastcgi_module libexec/mod_fastcgi.so
    <IfDefine SSL>
    LoadModule ossl_module libexec/mod_ossl.so
    </IfDefine>
    LoadModule wchandshake_module libexec/mod_wchandshake.so
    ExtendedStatus On
    Port 7777
    Listen 7777
    User oracle
    Group dba
    ServerAdmin [email protected]
    ServerName ge1ssd04.test.com
    DocumentRoot "/orad59/10gAS/infrastructure/Apache/Apache/htdocs"
    <Directory />
    Options FollowSymLinks MultiViews
    AllowOverride None
    </Directory>
    <Directory "/orad59/10gAS/infrastructure/Apache/Apache/htdocs">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
    </Directory>
    <IfModule mod_userdir.c>
    UserDir public_html
    </IfModule>
    <IfModule mod_dir.c>
    DirectoryIndex index.html
    </IfModule>
    AccessFileName .htaccess
    <Files ~ "^\.ht">
    Order allow,deny
    Deny from all
    </Files>
    UseCanonicalName On
    <IfModule mod_mime.c>
    TypesConfig /orad59/10gAS/infrastructure/Apache/Apache/conf/mime.types
    AddEncoding x-compress Z
    AddEncoding x-gzip gz tgz
    AddLanguage ar .ar
    AddLanguage da .dk .da
    AddLanguage nl .nl
    AddLanguage en .en
    AddLanguage et .ee
    AddLanguage fi .fi
    AddLanguage fr .fr
    AddLanguage de .de
    AddLanguage el .el
    AddLanguage es .es_ES .es
    AddLanguage he .he .iw
    AddLanguage hu .hu
    AddCharset ISO-8859-8 .iso8859-8
    AddLanguage it .it
    AddLanguage ja .ja
    AddCharset ISO-2022-JP .jis
    AddLanguage ko .ko
    AddLanguage kr .kr
    AddCharset ISO-2022-KR .iso-kr
    AddLanguage nn .nn
    AddLanguage no .no
    AddLanguage pl .po
    AddCharset ISO-8859-2 .iso-pl
    AddLanguage pt .pt
    AddLanguage pt-br .pt_BR .pt-br
    AddLanguage ltz .lu
    AddLanguage ca .ca
    AddLanguage sk .sk
    AddLanguage sv .sv
    AddLanguage th .th
    AddLanguage tr .tr
    AddLanguage cz .cz .cs
    AddLanguage ro .ro
    AddLanguage ru .ru
    AddLanguage zh-cn .zh_CN
    AddLanguage zh-tw .zh_TW
    AddCharset Big5 .Big5 .big5
    AddCharset WINDOWS-1251 .cp-1251
    AddCharset CP866 .cp866
    AddCharset ISO-8859-5 .iso-ru
    AddCharset KOI8-R .koi8-r
    AddCharset UCS-2 .ucs2
    AddCharset UCS-4 .ucs4
    AddCharset UTF-8 .utf8
    <IfModule mod_negotiation.c>
    LanguagePriority ar en da nl et fi fr de el it ja ko kr no pl pt pt-br ro ru ltz ca es sk sv th tr zh-cn zh-tw zh-cn
    </IfModule>
    AddType application/x-tar .tgz
    </IfModule>
    DefaultType text/plain
    <IfModule mod_mime_magic.c>
    MIMEMagicFile /orad59/10gAS/infrastructure/Apache/Apache/conf/magic
    </IfModule>
    HostnameLookups Off
    ErrorLog "|/orad59/10gAS/infrastructure/Apache/Apache/bin/rotatelogs /orad59/10gAS/infrastructure/Apache/Apache/logs/error_log 43200"
    LogLevel warn
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
    LogFormat "%h %l %u %t \"%r\" %>s %b" common
    LogFormat "%{Referer}i -> %U" referer
    LogFormat "%{User-agent}i" agent
    CustomLog "|/orad59/10gAS/infrastructure/Apache/Apache/bin/rotatelogs /orad59/10gAS/infrastructure/Apache/Apache/logs/access_log 43200" common
    ServerSignature On
    <IfModule mod_alias.c>
    Alias /icons/ "/orad59/10gAS/infrastructure/Apache/Apache/icons/"
    Alias /jservdocs/ "/orad59/10gAS/infrastructure/Apache/Jserv/docs/"
    Alias /javacachedocs/ "/orad59/10gAS/infrastructure/javacache/javadoc/"
    <IfModule mod_perl.c>
    Alias /perl/ "/orad59/10gAS/infrastructure/Apache/Apache/cgi-bin/"
    </IfModule>
    <Directory "/orad59/10gAS/infrastructure/Apache/Apache/icons">
    Options Indexes MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
    </Directory>
    ScriptAlias /cgi-bin/ "/orad59/10gAS/infrastructure/Apache/Apache/cgi-bin/"
    <Directory "/orad59/10gAS/infrastructure/Apache/Apache/cgi-bin">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
    </Directory>
    </IfModule>
    <IfModule mod_autoindex.c>
    IndexOptions FancyIndexing
    AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip
    AddIconByType (TXT,/icons/text.gif) text/*
    AddIconByType (IMG,/icons/image2.gif) image/*
    AddIconByType (SND,/icons/sound2.gif) audio/*
    AddIconByType (VID,/icons/movie.gif) video/*
    AddIcon /icons/binary.gif .bin .exe
    AddIcon /icons/binhex.gif .hqx
    AddIcon /icons/tar.gif .tar
    AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
    AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
    AddIcon /icons/a.gif .ps .ai .eps
    AddIcon /icons/layout.gif .html .shtml .htm .pdf
    AddIcon /icons/text.gif .txt
    AddIcon /icons/c.gif .c
    AddIcon /icons/p.gif .pl .py
    AddIcon /icons/f.gif .for
    AddIcon /icons/dvi.gif .dvi
    AddIcon /icons/uuencoded.gif .uu
    AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
    AddIcon /icons/tex.gif .tex
    AddIcon /icons/bomb.gif core
    AddIcon /icons/back.gif ..
    AddIcon /icons/hand.right.gif README
    AddIcon /icons/folder.gif ^^DIRECTORY^^
    AddIcon /icons/blank.gif ^^BLANKICON^^
    ReadmeName README
    HeaderName HEADER
    IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
    </IfModule>
    <IfModule mod_setenvif.c>
    BrowserMatch "Mozilla/2" nokeepalive
    BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
    BrowserMatch "RealPlayer 4\.0" force-response-1.0
    BrowserMatch "Java/1\.0" force-response-1.0
    BrowserMatch "JDK/1\.0" force-response-1.0
    </IfModule>
    <Location /server-status>
    SetHandler server-status
    Order deny,allow
    Deny from all
    Allow from localhost ge1ssd04.test.com ge1ssd04
    </Location>
    SetEnv PERL5LIB "/orad59/10gAS/infrastructure/perl/lib/5.6.1:/orad59/10gAS/infrastructure/perl/lib/site_perl/5.6.1"
    <IfModule mod_perl.c>
    PerlModule Apache
    PerlModule Apache::Registry
    <Location /perl>
    SetHandler perl-script
    PerlHandler Apache::Registry
    AddHandler perl-script .pl
    Options +ExecCGI
    PerlSendHeader On
    </Location>
    </IfModule>
    <DirectoryMatch /WEB-INF/>
    Order deny,allow
    Deny from all
    </DirectoryMatch>
    <IfModule mod_fastcgi.c>
    Alias /fastcgi/ "/orad59/10gAS/infrastructure/Apache/fastcgi/"
    ScriptAlias /fcgi-bin/ "/orad59/10gAS/infrastructure/Apache/Apache/fcgi-bin/"
    <Directory "/orad59/10gAS/infrastructure/Apache/Apache/fcgi-bin">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
    SetHandler fastcgi-script
    <IfModule mod_ossl.c>
    SSLOptions +StdEnvVars
    </IfModule>
    </Directory>
    </IfModule>
    PassEnv ORACLE_HOME
    PassEnv LD_LIBRARY_PATH
    PassEnv NLS_LANG
    PassEnv TNS_ADMIN
    <IfModule mod_oprocmgr.c>
    <Location /oprocmgr-service>
    SetHandler oprocmgr-service
    Order deny,allow
    Deny from all
    Allow from localhost ge1ssd04.test.com ge1ssd04
    </Location>
    <Location /oprocmgr-status>
    SetHandler oprocmgr-status
    Order deny,allow
    Deny from all
    Allow from localhost ge1ssd04.test.com ge1ssd04
    </Location>
    </IfModule>
    include "/orad59/10gAS/infrastructure/Apache/Apache/conf/mod_oc4j.conf"
    include "/orad59/10gAS/infrastructure/Apache/Apache/conf/dms.conf"
    LoadModule rewrite_module libexec/mod_rewrite.so
    include "/orad59/10gAS/infrastructure/Apache/Apache/conf/ssl.conf"
    include "/orad59/10gAS/infrastructure/Apache/Apache/conf/mod_osso.conf"
    include "/orad59/10gAS/infrastructure/Apache/Apache/conf/oracle_apache.conf"
    # MY ADDITIONS TO HTTPD.CONF GO BELOW HERE....
    LoadModule my_auth_module /opt/myagent/apache/lib/libmy_apache_agent_mod_ssl.so
    AddModule my_apache_mod.c
    <IfModule my_apache_mod.c>
         MYAgentRoot /opt/myagent/apache
    </IfModule>
    <IfModule my_apache_mod.c>
    <Location />
    AuthType Basic
    Require valid-user
    AuthName MYAUTH
    </Location>
    </IfModule>
    <IfModule my_apache_mod.c>
    Alias /mydir/ "/orad59/10gAS/infrastructure/j2ee/OC4J_SECURITY/applications/sso/web/jsp/myagentdir/"
    <Directory "/orad59/10gAS/infrastructure/j2ee/OC4J_SECURITY/applications/sso/web/jsp/myagentdir/">
    AuthType Basic
    Require valid-user
    AuthName MYAUTH
    </Directory>
    </IfModule>

    Hi,
    I wanted to post what we found on this.
    As indicated in my original msg, we had an Alias directory in the httpd.conf. However, after thinking about the problem a bit, I think that the Alias was not the right thing to do.
    The Alias tells Apache to map a URL fragment to a FILESYSTEM location. Well, obviously, Apache only SERVES pages... it doesn't process JSPs.
    We switched to using a Redirect directive instead of the Alias, and things worked a little better, but we've run into a bit of a problem with "Redirect looping", but that's a different story :)...
    Jim

  • SSAS Deploy returns error on existing database instead of overwriting

    I am aware that this issue has been discussed before. However I have not found a satisfactory answer. I occasionally run into this issue: I have a deployed SSAS database on the server from a project in SSDT. I open the project again at a later
    time in SSDT, make some changes such as adding a new attribute to a dimension and deploy with the same name. I get a metadata engine error "Errors in the metadata manager. The database with the name of 'XYZ' already exists in the 'SERVER' server.".
     Please note that unlike commonly discussed scenarios, I have not renamed anything. The Database Name property in SSDT matches exactly both the Name and ID properties on the server, and the Deploy Changes Only property is set in SSDT. Why doesn't it
    see that I want to overwrite, or at least ask me whether I want to overwrite? Since the ID and Name properties on the server are derived from the Database Name property in SSDT, it is clear I want to overwrite?
    I know I can delete the database on the server and deploy successfully, but I don't want to do this. The only way I found of deploying successfully without deleting the database on the server is to change the Database Name property in SSDT (e.g.
    by adding a 2 to the original name) then deploy, rename back to the original name then deploy with overwriting, then delete the renamed one from the server.
    The fact that I can circumvent the error in this way surely proves the current functionality is a bug?
    Charles
    Charles Kangai, MCT

    Hi Charles,
    For the error message "Errors in the metadata manager. The database with the name of '' already exists in the '' server",
    generally there are two reason that can cause this issue.
    Deploy this solution to a different name than your existing database.
    Rename the previous database before deploying the new version with the new cube
    Please refer to the link below to see the detail information.
    http://geekswithblogs.net/darrengosbell/archive/2008/09/28/ssas-deploying-to-renamed-databases.aspx 
    Hope this helps.
    Regards,
    Charlie Liao
    If you have any feedback on our support, please click
    here.
    Charlie Liao
    TechNet Community Support

  • Mod_osso partner application and webcache site to server mapping

    hi, need advice on the following.
    i have an app server container (only OC4J and no portal,forms etc) hostname abc.test.net installed with the option to registered to the sso server (http://mylogin.test.net), which is on a physically seperate machine.
    i have a java application deployed on a 10g app server container. the log in portion is handle by the login server using the mod_osso.conf file.
    thus when i type http://abc.test.net:7777/myapps, i will be prompted to login via the sso server.
    this is working fine.
    then i put a webcache to front this app server, so that users will use a sitename (http://myapps.abc.com) defined in the webcache (mapped to the app server) to access that application.
    so now when users type http://myapps.abc.com, they are still prompted the sso login screen. but after logging in, they are shown a red coloured bold text error message "ORASSO Failure-Unable to Process Request" page. this error page has the url of app server http://abc.test.net:7777/osso_login_successxxxx.
    if i manually replace the 'acb.test.net' to 'myapps.abc.com', my application will be displayed correctly, and i am logged in.
    how can i resolve this problem?
    question:
    1. do i need to re-register http://myapps.abc.com as a partner application?
    2. if so, do i perform the registration from the webcache, the app server or the login server itself?
    pls advice.
    thx.

    Follow the following notes:
    Note:250532.1 Configuring HTTP Server to Use SSL in Oracle Application Server 10g (9.0.4)
    ===> Note:250532.1 Configuring HTTP Server to Use SSL in Oracle Application Server 10g (9.0.4) <===

  • SSO singe sign on with OC4j

    I used the following steps to enable Sign sign on user authentication for my J2EE application (myapp) deployed in OC4j
    Infrastructure :
    OC4j + HTTP Server (10.1.3.5)
    SSO+OID : in a remote site
    1) I deployed my app to oc4j
    2) registered my HTTP Server with osso (SSO server)
    3) Move osso.conf to the apache folder and ran osso1013 script
    4) enabled security provider SSO in the jazn-data.xml
    <jazn provider="LDAP">
    <jazn-web-app auth-method="SSO"/>
    </jazn>
    security roles and users configured in orion-application.xml, jazn-data.xml.
    My app at http://localhost:7777/myapp/ is not redirecting to the SSO page. It is happening only when I configure
    <Location /myapp >
    AuthType Basic
    require valid-user
    </Location>
    in mod_sso.conf.
    Is it absolutely mandatory ? Is there any other way so that I do not have to configure Location in mod_osso.conf ?
    Kindly advice,
    SR

    Hi
    Please check if it helps
    Note.397180.1          How to configure a J2EE application using OC4J 10.1.3.1 to use Java SSO:
    Note.377271.1          Configure OC4J 10.1.3.0.0 to Use LDAP Authentication Using OID for J2EE Applications:
    Regards
    Priya

Maybe you are looking for

  • Black Screen with curser When Installing Windows 7 on Mavericks

    I have been trying to install windows on my macbook pro via bootcamp all day today, i have put about 7 hours into it and i am very frustrated. I have followed the guides. I have updated my mac, installed the windows support drivers, i have the most r

  • Backup select videos to DVD

    I want to backup to DVD 3 seasons of a TV show I purchased from iTunes and remove them from my laptop. Under the iTunes "Back Up To Disc" there are two choices; "Entire iTunes Library" or "iTunes Store Purchases." I don't want everything backed up. J

  • How do i get my PC and iphone to recognize each other

    how do i sync my iphone to my PC, its recognizing to sync

  • Help: Unicode issue in Snow Leopard not in Leopard?

    Hello All, I've finally switched from Leopard to Snow Leopard. I'm loving the improvements. But, I do have one issue. I like to keep things tidy and orderly on my computer. In Leopard I had been using a number of characters from the Unicode Miscellan

  • Error message: cannot find flash.ocx

    After receiving a POP UP for a free Adobe Flash Player I choose to install it. Since then I get at least 50 POP UP messages saying the same thing..(I have to "X" out of them to continue processing) "Cannot find flash.ocx" - how do I either fix it or